Searched refs:lua_toboolean (Results 1 – 10 of 10) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | loslib.c | 151 res = lua_isnil(L, -1) ? -1 : lua_toboolean(L, -1); in getboolfield() 290 status = (lua_toboolean(L, 1) ? EXIT_SUCCESS : EXIT_FAILURE); in os_exit() 293 if (lua_toboolean(L, 2)) in os_exit()
|
D | loadlib.c | 513 if (lua_toboolean(L, -1)) /* is it there? */ in ll_require() 631 b = lua_toboolean(L, -1); in noenv()
|
D | ltablib.c | 176 res = lua_toboolean(L, -1); in sort_comp()
|
D | lbaselib.c | 347 if (!lua_toboolean(L, 1)) in luaB_assert()
|
D | lua.c | 492 result = lua_toboolean(L, -1); /* get result */ in main()
|
D | lstrlib.c | 588 if (find && (lua_toboolean(L, 4) || nospecials(p, lp))) { in str_find_aux() 725 if (!lua_toboolean(L, -1)) { /* nil or false? */ in add_value()
|
D | liolib.c | 502 if (lua_toboolean(L, lua_upvalueindex(3))) { /* generator created file? */ in io_readline()
|
D | lauxlib.c | 745 lua_pushstring(L, (lua_toboolean(L, idx) ? "true" : "false")); in luaL_tolstring()
|
D | lapi.c | 383 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function
|
/device/linaro/bootloader/edk2/StdLib/Include/Lua/ |
D | lua.h | 171 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
|