Home
last modified time | relevance | path

Searched refs:lua_isnone (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/lua/src/
H A Dlbaselib.c343 int env = (!lua_isnone(L, 3) ? 3 : 0); /* 'env' index or 0 if no 'env' */ in luaB_loadfile()
392 int env = (!lua_isnone(L, 4) ? 4 : 0); /* 'env' index or 0 if no 'env' */ in luaB_load()
H A Dlcorolib.c157 lua_State *co = lua_isnone(L, 1) ? L : getco(L); in luaB_yieldable()
H A Dltests.c839 if (lua_isnone(L, 1)) { in mem_query()
866 if (lua_isnone(L, 1)) in alloc_count()
966 if (lua_isnone(L, 2)) { in hash_query()
1083 if (lua_isnone(L, 3)) { in upvalue()
1223 while (!lua_isnone(L1, ++i)) in doremote()
1496 lua_pushboolean(L1, lua_isnone(L1, getindex)); in runC()
H A Dliolib.c229 if (lua_isnone(L, 1)) /* no argument? */ in io_close()
388 if (lua_isnone(L, 1)) lua_pushnil(L); /* at least one argument */ in io_lines()
H A Dlua.h390 #define lua_isnone(L,n) (lua_type(L, (n)) == LUA_TNONE) macro
H A Dlmathlib.c620 if (lua_isnone(L, 1)) { in math_randomseed()
/freebsd/sys/contrib/openzfs/include/sys/lua/
H A Dlua.h336 #define lua_isnone(L,n) (lua_type(L, (n)) == LUA_TNONE) macro