Searched refs:lua_isnoneornil (Results 1 – 9 of 9) sorted by relevance
/external/lua/src/ |
D | ltablib.c | 132 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()
|
D | ldblib.c | 351 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()
|
D | lauxlib.h | 137 #define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n)))
|
D | loslib.c | 327 if (lua_isnoneornil(L, 1)) /* called without args? */ in os_time()
|
D | lmathlib.c | 182 if (lua_isnoneornil(L, 2)) in math_log()
|
D | lbaselib.c | 70 if (lua_isnoneornil(L, 2)) { /* standard conversion? */ in luaB_tonumber()
|
D | lua.h | 359 #define lua_isnoneornil(L, n) (lua_type(L, (n)) <= 0) macro
|
D | liolib.c | 304 if (!lua_isnoneornil(L, 1)) { in g_iofile()
|
D | lauxlib.c | 399 if (lua_isnoneornil(L, arg)) { in luaL_optlstring()
|