Home
last modified time | relevance | path

Searched refs:lua_toboolean (Results 1 – 16 of 16) sorted by relevance

/aosp_15_r20/external/lua/src/
H A Dlutf8lib.c98 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 Dloslib.c245 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 Dloadlib.c286 b = lua_toboolean(L, -1); in noenv()
659 if (lua_toboolean(L, -1)) /* is it there? */ in ll_require()
H A Dliolib.c635 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 Dlstrlib.c234 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 Dlauxlib.c879 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 Dltablib.c282 res = lua_toboolean(L, -1); /* get result */ in sort_comp()
H A Dlbaselib.c404 if (lua_toboolean(L, 1)) /* condition is true? */ in luaB_assert()
H A Dlua.c630 result = lua_toboolean(L, -1); /* get result */ in main()
H A Dlua.h192 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
H A Dlapi.c375 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function
/aosp_15_r20/packages/services/Car/packages/ScriptExecutor/src/
DJniUtils.cpp247 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/
DJniUtilsTestHelper.cpp101 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 Dregex-match.cc143 *result = lua_toboolean(state_, /*idx=*/-1); in Verify()
H A Dlua-utils.h190 return lua_toboolean(state_, /*idx=*/index);
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/lua/
Dupb.c167 return lua_toboolean(L, narg); in lupb_checkbool()