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/skia/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/
Dloslib.c228 res = (lua_getfield(L, -1, key) == LUA_TNIL) ? -1 : lua_toboolean(L, -1); in getboolfield()
376 status = (lua_toboolean(L, 1) ? EXIT_SUCCESS : EXIT_FAILURE); in os_exit()
379 if (lua_toboolean(L, 2)) in os_exit()
Dloadlib.c281 b = lua_toboolean(L, -1); in noenv()
602 if (lua_toboolean(L, -1)) /* is it there? */ in ll_require()
Dliolib.c601 if (lua_toboolean(L, -n)) /* read at least one value? */ in io_readline()
608 if (lua_toboolean(L, lua_upvalueindex(3))) { /* generator created file? */ in io_readline()
Dlbaselib.c373 if (lua_toboolean(L, 1)) /* condition is true? */ in luaB_assert()
Dltablib.c296 res = lua_toboolean(L, -1); /* get result */ in sort_comp()
Dlstrlib.c191 int strip = lua_toboolean(L, 2); in str_dump()
618 if (find && (lua_toboolean(L, 4) || nospecials(p, lp))) { in str_find_aux()
752 if (!lua_toboolean(L, -1)) { /* nil or false? */ in add_value()
Dlauxlib.c828 lua_pushstring(L, (lua_toboolean(L, idx) ? "true" : "false")); in luaL_tolstring()
975 if (!lua_toboolean(L, -1)) { /* package not already loaded? */ in luaL_requiref()
Dlua.c607 result = lua_toboolean(L, -1); /* get result */ in main()
Dlua.h183 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
Dlapi.c367 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function
/external/libtextclassifier/utils/
Dregex-match.cc140 *result = lua_toboolean(state_, /*idx=*/-1); in Verify()
Dlua-utils.cc186 static_cast<bool>(lua_toboolean(state_, /*idx=*/-1))); in ReadFlatbuffer()
/external/libtextclassifier/utils/intents/
Dintent-generator.cc626 value = Variant(static_cast<bool>(lua_toboolean(state_, /*idx=*/-1))); in ReadExtras()
/external/skqp/src/utils/
DSkLua.cpp118 return !!lua_toboolean(L, index); in lua2bool()
779 if (lua_toboolean(L, 2)) { in lpaint_setStroke()
/external/skia/src/utils/
DSkLua.cpp118 return !!lua_toboolean(L, index); in lua2bool()
779 if (lua_toboolean(L, 2)) { in lpaint_setStroke()