Home
last modified time | relevance | path

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

/external/skqp/samplecode/
DSampleLua.cpp87 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/
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()
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()
Dloadlib.c286 b = lua_toboolean(L, -1); in noenv()
659 if (lua_toboolean(L, -1)) /* is it there? */ in ll_require()
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()
Dltablib.c282 res = lua_toboolean(L, -1); /* get result */ in sort_comp()
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()
Dlbaselib.c404 if (lua_toboolean(L, 1)) /* condition is true? */ in luaB_assert()
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()
Dlua.c630 result = lua_toboolean(L, -1); /* get result */ in main()
Dlua.h192 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
Dlapi.c375 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function
/external/llvm-project/lldb/bindings/lua/
Dlua-wrapper.swig39 bool stop = lua_toboolean(L, -1);
/external/libtextclassifier/native/utils/
Dregex-match.cc143 *result = lua_toboolean(state_, /*idx=*/-1); in Verify()
Dlua-utils.h190 return lua_toboolean(state_, /*idx=*/index);
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/
Dupb.c140 return lua_toboolean(L, narg); in lupb_checkbool()
/external/skqp/src/utils/
DSkLua.cpp118 return !!lua_toboolean(L, index); in lua2bool()
779 if (lua_toboolean(L, 2)) { in lpaint_setStroke()