Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/lua/src/
H A Dltablib.c132 int tt = !lua_isnoneornil(L, 5) ? 5 : 1; /* destination table */ in tmove()
415 if (!lua_isnoneornil(L, 2)) /* is there a 2nd argument? */ in sort()
H A Dldblib.c351 if (lua_isnoneornil(L, arg+1)) { /* no hook? */ in db_sethook()
421 if (msg == NULL && !lua_isnoneornil(L, arg + 1)) /* non-string 'msg'? */ in db_traceback()
H A Dlauxlib.h137 #define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n)))
H A Dloslib.c327 if (lua_isnoneornil(L, 1)) /* called without args? */ in os_time()
H A Dlmathlib.c182 if (lua_isnoneornil(L, 2)) in math_log()
H A Dlbaselib.c70 if (lua_isnoneornil(L, 2)) { /* standard conversion? */ in luaB_tonumber()
H A Dlua.h359 #define lua_isnoneornil(L, n) (lua_type(L, (n)) <= 0) macro
H A Dliolib.c304 if (!lua_isnoneornil(L, 1)) { in g_iofile()
H A Dlauxlib.c399 if (lua_isnoneornil(L, arg)) { in luaL_optlstring()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlbaselib.c37 if (lua_isnoneornil(L, 2)) { /* standard conversion */ in luaB_tonumber()
H A Dlauxlib.h121 #define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n)))
H A Dltablib.c251 if (!lua_isnoneornil(L, 2)) /* is there a 2nd argument? */ in sort()
H A Dlua.h337 #define lua_isnoneornil(L, n) (lua_type(L, (n)) <= 0) macro
H A Dlauxlib.c327 if (lua_isnoneornil(L, narg)) { in luaL_optlstring()