Searched refs:lua_toboolean (Results 1 – 17 of 17) sorted by relevance
/external/skqp/samplecode/ |
D | SampleLua.cpp | 87 if (lua_isboolean(L, -1) && lua_toboolean(L, -1)) { in onQuery() 127 if (lua_isboolean(L, -1) && lua_toboolean(L, -1)) { in onFindClickHandler() 154 return lua_isboolean(L, -1) && lua_toboolean(L, -1); in onClick()
|
/external/lua/src/ |
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()
|
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()
|
D | loadlib.c | 286 b = lua_toboolean(L, -1); in noenv() 659 if (lua_toboolean(L, -1)) /* is it there? */ in ll_require()
|
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()
|
D | ltablib.c | 282 res = lua_toboolean(L, -1); /* get result */ in sort_comp()
|
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()
|
D | lbaselib.c | 404 if (lua_toboolean(L, 1)) /* condition is true? */ in luaB_assert()
|
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()
|
D | lua.c | 630 result = lua_toboolean(L, -1); /* get result */ in main()
|
D | lua.h | 192 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
|
D | lapi.c | 375 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function
|
/external/llvm-project/lldb/bindings/lua/ |
D | lua-wrapper.swig | 39 bool stop = lua_toboolean(L, -1);
|
/external/libtextclassifier/native/utils/ |
D | regex-match.cc | 143 *result = lua_toboolean(state_, /*idx=*/-1); in Verify()
|
D | lua-utils.h | 190 return lua_toboolean(state_, /*idx=*/index);
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/ |
D | upb.c | 140 return lua_toboolean(L, narg); in lupb_checkbool()
|
/external/skqp/src/utils/ |
D | SkLua.cpp | 118 return !!lua_toboolean(L, index); in lua2bool() 779 if (lua_toboolean(L, 2)) { in lpaint_setStroke()
|