Searched refs:lua_toboolean (Results 1 – 16 of 16) sorted by relevance
/aosp_15_r20/external/lua/src/ |
H A D | lutf8lib.c | 98 int lax = lua_toboolean(L, 4); in utflen() 127 int lax = lua_toboolean(L, 4); in codepoint() 258 int lax = lua_toboolean(L, 2); in iter_codes()
|
H A D | loslib.c | 245 res = (lua_getfield(L, -1, key) == LUA_TNIL) ? -1 : lua_toboolean(L, -1); in getboolfield() 397 status = (lua_toboolean(L, 1) ? EXIT_SUCCESS : EXIT_FAILURE); in os_exit() 400 if (lua_toboolean(L, 2)) in os_exit()
|
H A D | loadlib.c | 286 b = lua_toboolean(L, -1); in noenv() 659 if (lua_toboolean(L, -1)) /* is it there? */ in ll_require()
|
H A D | liolib.c | 635 if (lua_toboolean(L, -n)) /* read at least one value? */ in io_readline() 642 if (lua_toboolean(L, lua_upvalueindex(3))) { /* generator created file? */ in io_readline()
|
H A D | lstrlib.c | 234 int strip = lua_toboolean(L, 2); in str_dump() 780 if (find && (lua_toboolean(L, 4) || nospecials(p, lp))) { in str_find_aux() 924 if (!lua_toboolean(L, -1)) { /* nil or false? */ in add_value()
|
H A D | lauxlib.c | 879 lua_pushstring(L, (lua_toboolean(L, idx) ? "true" : "false")); in luaL_tolstring() 949 if (!lua_toboolean(L, -1)) { /* package not already loaded? */ in luaL_requiref()
|
H A D | ltablib.c | 282 res = lua_toboolean(L, -1); /* get result */ in sort_comp()
|
H A D | lbaselib.c | 404 if (lua_toboolean(L, 1)) /* condition is true? */ in luaB_assert()
|
H A D | lua.c | 630 result = lua_toboolean(L, -1); /* get result */ in main()
|
H A D | lua.h | 192 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
|
H A D | lapi.c | 375 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function
|
/aosp_15_r20/packages/services/Car/packages/ScriptExecutor/src/ |
D | JniUtils.cpp | 247 lua_toboolean(lua, /* index = */ -1))); in convertLuaTableToBundle() 312 static_cast<unsigned char>(lua_toboolean(lua, /* index = */ -1))); in convertLuaTableToBundle()
|
/aosp_15_r20/packages/services/Car/packages/ScriptExecutor/tests/unit/src/com/android/car/scriptexecutortest/unit/ |
D | JniUtilsTestHelper.cpp | 101 lua_toboolean(luaState, /* idx = */ -1) == in hasValidBooleanArray() 170 result = static_cast<bool>(lua_toboolean(luaState, -1)) == static_cast<bool>(value); in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeHasBooleanValue()
|
/aosp_15_r20/external/libtextclassifier/native/utils/ |
H A D | regex-match.cc | 143 *result = lua_toboolean(state_, /*idx=*/-1); in Verify()
|
H A D | lua-utils.h | 190 return lua_toboolean(state_, /*idx=*/index);
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/lua/ |
D | upb.c | 167 return lua_toboolean(L, narg); in lupb_checkbool()
|