Searched refs:lua_isnoneornil (Results 1 – 16 of 16) sorted by relevance
/freebsd/contrib/lua/src/ |
H A D | ltablib.c | 119 int tt = !lua_isnoneornil(L, 5) ? 5 : 1; /* destination table */ in tmove() 403 if (!lua_isnoneornil(L, 2)) /* is there a 2nd argument? */ in sort()
|
H A D | ldblib.c | 369 if (lua_isnoneornil(L, arg+1)) { /* no hook? */ in db_sethook() 439 if (msg == NULL && !lua_isnoneornil(L, arg + 1)) /* non-string 'msg'? */ in db_traceback()
|
H A D | lauxlib.h | 152 #define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n)))
|
H A D | loslib.c | 348 if (lua_isnoneornil(L, 1)) /* called without args? */ in os_time()
|
H A D | lbaselib.c | 82 if (lua_isnoneornil(L, 2)) { /* standard conversion? */ in luaB_tonumber()
|
H A D | lua.h | 391 #define lua_isnoneornil(L, n) (lua_type(L, (n)) <= 0) macro
|
H A D | lmathlib.c | 172 if (lua_isnoneornil(L, 2)) in math_log()
|
H A D | liolib.c | 322 if (!lua_isnoneornil(L, 1)) { in g_iofile()
|
H A D | lauxlib.c | 414 if (lua_isnoneornil(L, arg)) { in luaL_optlstring()
|
H A D | ltests.c | 1873 if (lua_isnoneornil(L, 1)) in sethook()
|
/freebsd/libexec/flua/modules/ |
H A D | lposix.c | 112 } else if (!lua_isnoneornil(L, 2)) { in lua_chown() 133 } else if (!lua_isnoneornil(L, 3)) { in lua_chown()
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lbaselib.c | 31 if (lua_isnoneornil(L, 2)) { /* standard conversion */ in luaB_tonumber()
|
H A D | ltablib.c | 250 if (!lua_isnoneornil(L, 2)) /* is there a 2nd argument? */ in tsort()
|
H A D | lauxlib.c | 326 if (lua_isnoneornil(L, narg)) { in luaL_optlstring()
|
/freebsd/sys/contrib/openzfs/include/sys/lua/ |
H A D | lauxlib.h | 120 #define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n)))
|
H A D | lua.h | 338 #define lua_isnoneornil(L, n) (lua_type(L, (n)) <= 0) macro
|