Home
last modified time | relevance | path

Searched refs:lua_type (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/Include/Lua/
Dlua.h165 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)
Dlauxlib.h122 #define luaL_typename(L,i) lua_typename(L, lua_type(L,(i)))
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlbaselib.c113 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()
Dldblib.c41 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()
Dlauxlib.c48 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()
Dltablib.c30 if (lua_type(L, -1) == LUA_TNUMBER) { in maxn()
Dliolib.c437 if (lua_type(L, n) == LUA_TNUMBER) { in g_read()
518 if (lua_type(L, arg) == LUA_TNUMBER) { in g_write()
Dlua.c151 const char *msg = (lua_type(L, -1) == LUA_TSTRING) ? lua_tostring(L, -1) in finalreport()
Dlapi.c249 LUA_API int lua_type (lua_State *L, int idx) { in lua_type() function
275 int t = lua_type(L, idx); in lua_isstring()
Dlstrlib.c739 int tr = lua_type(L, 3); in str_gsub()