HomeSort by: relevance | last modified time | path
    Searched refs:lua_toboolean (Results 1 - 13 of 13) sorted by relevancy

  /src/external/mit/lua/dist/src/
lutf8lib.c 106 int lax = lua_toboolean(L, 4);
135 int lax = lua_toboolean(L, 4);
263 int lax = lua_toboolean(L, 2);
loslib.c 247 res = (lua_getfield(L, -1, key) == LUA_TNIL) ? -1 : lua_toboolean(L, -1);
397 status = (lua_toboolean(L, 1) ? EXIT_SUCCESS : EXIT_FAILURE);
400 if (lua_toboolean(L, 2))
liolib.c 643 if (lua_toboolean(L, -n)) /* read at least one value? */
650 if (lua_toboolean(L, lua_upvalueindex(3))) { /* generator created file? */
loadlib.c 290 b = lua_toboolean(L, -1);
664 if (lua_toboolean(L, -1)) /* is it there? */
lbaselib.c 434 if (l_likely(lua_toboolean(L, 1))) /* condition is true? */
ltablib.c 288 res = lua_toboolean(L, -1); /* get result */
lua.c 676 result = lua_toboolean(L, -1); /* get result */
lauxlib.c 926 lua_pushstring(L, (lua_toboolean(L, idx) ? "true" : "false"));
996 if (!lua_toboolean(L, -1)) { /* package not already loaded? */
lstrlib.c 239 int strip = lua_toboolean(L, 2);
791 if (find && (lua_toboolean(L, 4) || nospecials(p, lp))) {
935 if (!lua_toboolean(L, -1)) { /* nil or false? */
lua.h 211 LUA_API int (lua_toboolean) (lua_State *L, int idx);
lapi.c 407 LUA_API int lua_toboolean (lua_State *L, int idx) { function
  /src/external/bsd/lutok/dist/
state.cpp 561 const bool more = lua_toboolean(_pimpl->lua_state, -1);
807 /// Wrapper around lua_toboolean.
809 /// \param index The second parameter to lua_toboolean.
811 /// \return The return value of lua_toboolean.
816 return lua_toboolean(_pimpl->lua_state, index);
state_test.cpp 840 ATF_REQUIRE(lua_toboolean(raw(state), -1));
843 ATF_REQUIRE(!lua_toboolean(raw(state), -1));
844 ATF_REQUIRE(lua_toboolean(raw(state), -2));
1091 ATF_REQUIRE(lua_toboolean(raw(state), -1));

Completed in 76 milliseconds