Home
last modified time | relevance | path

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

/external/lua/src/
Dlbaselib.c128 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()
Dlauxlib.c300 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()
Dloadlib.c563 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()
Dloslib.c228 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()
Dlobject.h120 #define NILCONSTANT {NULL}, LUA_TNIL
145 #define ttisnil(o) checktag((o), LUA_TNIL)
210 #define setnilvalue(obj) settt_(obj, LUA_TNIL)
Dldblib.c58 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()
Dlua.h64 #define LUA_TNIL 0 macro
355 #define lua_isnil(L,n) (lua_type(L, (n)) == LUA_TNIL)
Dldump.c106 case LUA_TNIL: in DumpConstants()
Dlundump.c129 case LUA_TNIL: in LoadConstants()
Dltablib.c38 return (lua_rawget(L, -n) != LUA_TNIL); in checkfield()
Dluac.c259 case LUA_TNIL: in PrintConstant()
Dltable.c593 case LUA_TNIL: return luaO_nilobject; in luaH_get()
Dlstrlib.c969 case LUA_TNIL: case LUA_TBOOLEAN: { in addliteral()
Dlvm.c419 case LUA_TNIL: return 1; in luaV_equalobj()