Searched refs:lua_toboolean (Results 1 – 17 of 17) sorted by relevance
/external/skia/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/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 | loslib.c | 228 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()
|
D | loadlib.c | 281 b = lua_toboolean(L, -1); in noenv() 602 if (lua_toboolean(L, -1)) /* is it there? */ in ll_require()
|
D | liolib.c | 601 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()
|
D | lbaselib.c | 373 if (lua_toboolean(L, 1)) /* condition is true? */ in luaB_assert()
|
D | ltablib.c | 296 res = lua_toboolean(L, -1); /* get result */ in sort_comp()
|
D | lstrlib.c | 191 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()
|
D | lauxlib.c | 828 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()
|
D | lua.c | 607 result = lua_toboolean(L, -1); /* get result */ in main()
|
D | lua.h | 183 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
|
D | lapi.c | 367 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function
|
/external/libtextclassifier/utils/ |
D | regex-match.cc | 140 *result = lua_toboolean(state_, /*idx=*/-1); in Verify()
|
D | lua-utils.cc | 186 static_cast<bool>(lua_toboolean(state_, /*idx=*/-1))); in ReadFlatbuffer()
|
/external/libtextclassifier/utils/intents/ |
D | intent-generator.cc | 626 value = Variant(static_cast<bool>(lua_toboolean(state_, /*idx=*/-1))); in ReadExtras()
|
/external/skqp/src/utils/ |
D | SkLua.cpp | 118 return !!lua_toboolean(L, index); in lua2bool() 779 if (lua_toboolean(L, 2)) { in lpaint_setStroke()
|
/external/skia/src/utils/ |
D | SkLua.cpp | 118 return !!lua_toboolean(L, index); in lua2bool() 779 if (lua_toboolean(L, 2)) { in lpaint_setStroke()
|