Searched refs:lua_type (Results 1 – 10 of 10) sorted by relevance
/device/linaro/bootloader/edk2/StdLib/Include/Lua/ |
D | lua.h | 165 LUA_API int (lua_type) (lua_State *L, int idx); variable 331 #define lua_isfunction(L,n) (lua_type(L, (n)) == LUA_TFUNCTION) 332 #define lua_istable(L,n) (lua_type(L, (n)) == LUA_TTABLE) 333 #define lua_islightuserdata(L,n) (lua_type(L, (n)) == LUA_TLIGHTUSERDATA) 334 #define lua_isnil(L,n) (lua_type(L, (n)) == LUA_TNIL) 335 #define lua_isboolean(L,n) (lua_type(L, (n)) == LUA_TBOOLEAN) 336 #define lua_isthread(L,n) (lua_type(L, (n)) == LUA_TTHREAD) 337 #define lua_isnone(L,n) (lua_type(L, (n)) == LUA_TNONE) 338 #define lua_isnoneornil(L, n) (lua_type(L, (n)) <= 0)
|
D | lauxlib.h | 122 #define luaL_typename(L,i) lua_typename(L, lua_type(L,(i)))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | ldblib.c | 41 int t = lua_type(L, 2); in db_setmetatable() 51 if (lua_type(L, 1) != LUA_TUSERDATA) in db_getuservalue() 60 if (lua_type(L, 1) == LUA_TLIGHTUSERDATA) in db_setuservalue()
|
D | lbaselib.c | 113 int t = lua_type(L, 2); in luaB_setmetatable() 134 int t = lua_type(L, 1); in luaB_rawlen() 355 if (lua_type(L, 1) == LUA_TSTRING && *lua_tostring(L, 1) == '#') { in luaB_select()
|
D | lauxlib.c | 48 if (lua_type(L, -2) == LUA_TSTRING) { /* ignore non-string keys */ in findfield() 346 if (lua_type(L, narg) != t) in luaL_checktype() 352 if (lua_type(L, narg) == LUA_TNONE) in luaL_checkany() 739 switch (lua_type(L, idx)) { in luaL_tolstring()
|
D | ltablib.c | 30 if (lua_type(L, -1) == LUA_TNUMBER) { in maxn()
|
D | liolib.c | 437 if (lua_type(L, n) == LUA_TNUMBER) { in g_read() 518 if (lua_type(L, arg) == LUA_TNUMBER) { in g_write()
|
D | lua.c | 151 const char *msg = (lua_type(L, -1) == LUA_TSTRING) ? lua_tostring(L, -1) in finalreport()
|
D | lapi.c | 249 LUA_API int lua_type (lua_State *L, int idx) { in lua_type() function 275 int t = lua_type(L, idx); in lua_isstring()
|
D | lstrlib.c | 739 int tr = lua_type(L, 3); in str_gsub()
|