Home
last modified time | relevance | path

Searched refs:lua_isnoneornil (Results 1 – 14 of 14) sorted by relevance

/freebsd-13.1/contrib/lua/src/
H A Dltablib.c118 int tt = !lua_isnoneornil(L, 5) ? 5 : 1; /* destination table */ in tmove()
401 if (!lua_isnoneornil(L, 2)) /* is there a 2nd argument? */ in sort()
H A Dldblib.c368 if (lua_isnoneornil(L, arg+1)) { /* no hook? */ in db_sethook()
438 if (msg == NULL && !lua_isnoneornil(L, arg + 1)) /* non-string 'msg'? */ in db_traceback()
H A Dlauxlib.h151 #define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n)))
H A Dloslib.c348 if (lua_isnoneornil(L, 1)) /* called without args? */ in os_time()
H A Dlbaselib.c82 if (lua_isnoneornil(L, 2)) { /* standard conversion? */ in luaB_tonumber()
H A Dlua.h379 #define lua_isnoneornil(L, n) (lua_type(L, (n)) <= 0) macro
H A Dlmathlib.c172 if (lua_isnoneornil(L, 2)) in math_log()
H A Dliolib.c313 if (!lua_isnoneornil(L, 1)) { in g_iofile()
H A Dlauxlib.c411 if (lua_isnoneornil(L, arg)) { in luaL_optlstring()
/freebsd-13.1/sys/contrib/openzfs/module/lua/
H A Dlbaselib.c31 if (lua_isnoneornil(L, 2)) { /* standard conversion */ in luaB_tonumber()
H A Dltablib.c250 if (!lua_isnoneornil(L, 2)) /* is there a 2nd argument? */ in tsort()
H A Dlauxlib.c326 if (lua_isnoneornil(L, narg)) { in luaL_optlstring()
/freebsd-13.1/sys/contrib/openzfs/include/sys/lua/
H A Dlauxlib.h120 #define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n)))
H A Dlua.h338 #define lua_isnoneornil(L, n) (lua_type(L, (n)) <= 0) macro