Home
last modified time | relevance | path

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

/external/chromium_org/third_party/skia/third_party/lua/src/
Dloslib.c151 res = lua_isnil(L, -1) ? -1 : lua_toboolean(L, -1); in getboolfield()
290 status = (lua_toboolean(L, 1) ? EXIT_SUCCESS : EXIT_FAILURE); in os_exit()
293 if (lua_toboolean(L, 2)) in os_exit()
Dloadlib.c513 if (lua_toboolean(L, -1)) /* is it there? */ in ll_require()
631 b = lua_toboolean(L, -1); in noenv()
Dltablib.c176 res = lua_toboolean(L, -1); in sort_comp()
Dlbaselib.c347 if (!lua_toboolean(L, 1)) in luaB_assert()
Dlua.c492 result = lua_toboolean(L, -1); /* get result */ in main()
Dlstrlib.c588 if (find && (lua_toboolean(L, 4) || nospecials(p, lp))) { in str_find_aux()
725 if (!lua_toboolean(L, -1)) { /* nil or false? */ in add_value()
Dlua.h171 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
Dliolib.c501 if (lua_toboolean(L, lua_upvalueindex(3))) { /* generator created file? */ in io_readline()
Dlauxlib.c745 lua_pushstring(L, (lua_toboolean(L, idx) ? "true" : "false")); in luaL_tolstring()
Dlapi.c383 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function
/external/skia/src/utils/
DSkLua.cpp79 return !!lua_toboolean(L, index); in lua2bool()
782 if (lua_toboolean(L, 2)) { in lpaint_setStroke()
/external/chromium_org/third_party/skia/src/utils/
DSkLua.cpp82 return !!lua_toboolean(L, index); in lua2bool()
790 if (lua_toboolean(L, 2)) { in lpaint_setStroke()