Searched refs:LUA_TNIL (Results 1 – 14 of 14) sorted by relevance
/external/lua/src/ |
D | lbaselib.c | 128 luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, in luaB_setmetatable() 130 if (luaL_getmetafield(L, 1, "__metatable") != LUA_TNIL) in luaB_setmetatable() 212 if (luaL_getmetafield(L, 1, method) == LUA_TNIL) { /* no metamethod? */ in pairsmeta() 249 return (lua_geti(L, 1, i) == LUA_TNIL) ? 1 : 2; in ipairsaux()
|
D | lauxlib.c | 300 if (luaL_getmetatable(L, tname) != LUA_TNIL) /* name already in use? */ in luaL_newmetatable() 774 return LUA_TNIL; in luaL_getmetafield() 779 if (tt == LUA_TNIL) /* is metafield nil? */ in luaL_getmetafield() 790 if (luaL_getmetafield(L, obj, event) == LUA_TNIL) /* no metafield? */ in luaL_callmeta() 830 case LUA_TNIL: in luaL_tolstring() 838 if (tt != LUA_TNIL) in luaL_tolstring() 863 if (lua_rawget(L, -2) == LUA_TNIL) { /* no such field? */ in luaL_findtable()
|
D | loadlib.c | 563 if (lua_getfield(L, -1, name) == LUA_TNIL) /* not found? */ in searcher_preload() 578 if (lua_rawgeti(L, 3, i) == LUA_TNIL) { /* no more searchers? */ in findloader() 612 if (lua_getfield(L, 2, name) == LUA_TNIL) { /* module set no value? */ in ll_require() 678 if (lua_getfield(L, -1, "_NAME") != LUA_TNIL) in ll_module()
|
D | loslib.c | 228 res = (lua_getfield(L, -1, key) == LUA_TNIL) ? -1 : lua_toboolean(L, -1); in getboolfield() 244 if (t != LUA_TNIL) /* some other value? */ in getfield()
|
D | lobject.h | 120 #define NILCONSTANT {NULL}, LUA_TNIL 145 #define ttisnil(o) checktag((o), LUA_TNIL) 210 #define setnilvalue(obj) settt_(obj, LUA_TNIL)
|
D | ldblib.c | 58 luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, in db_setmetatable() 361 if (lua_rawgetp(L, LUA_REGISTRYINDEX, &HOOKKEY) == LUA_TNIL) { in db_sethook()
|
D | lua.h | 64 #define LUA_TNIL 0 macro 355 #define lua_isnil(L,n) (lua_type(L, (n)) == LUA_TNIL)
|
D | ldump.c | 106 case LUA_TNIL: in DumpConstants()
|
D | lundump.c | 129 case LUA_TNIL: in LoadConstants()
|
D | ltablib.c | 38 return (lua_rawget(L, -n) != LUA_TNIL); in checkfield()
|
D | luac.c | 259 case LUA_TNIL: in PrintConstant()
|
D | ltable.c | 593 case LUA_TNIL: return luaO_nilobject; in luaH_get()
|
D | lstrlib.c | 969 case LUA_TNIL: case LUA_TBOOLEAN: { in addliteral()
|
D | lvm.c | 419 case LUA_TNIL: return 1; in luaV_equalobj()
|