/freebsd/contrib/lua/src/ |
H A D | lutf8lib.c | 102 int lax = lua_toboolean(L, 4); in utflen() 131 int lax = lua_toboolean(L, 4); in codepoint() 259 int lax = lua_toboolean(L, 2); in iter_codes()
|
H A D | loslib.c | 245 res = (lua_getfield(L, -1, key) == LUA_TNIL) ? -1 : lua_toboolean(L, -1); in getboolfield() 395 status = (lua_toboolean(L, 1) ? EXIT_SUCCESS : EXIT_FAILURE); in os_exit() 398 if (lua_toboolean(L, 2)) in os_exit()
|
H A D | loadlib.c | 288 b = lua_toboolean(L, -1); in noenv() 662 if (lua_toboolean(L, -1)) /* is it there? */ in ll_require()
|
H A D | liolib.c | 641 if (lua_toboolean(L, -n)) /* read at least one value? */ in io_readline() 648 if (lua_toboolean(L, lua_upvalueindex(3))) { /* generator created file? */ in io_readline()
|
H A D | ltablib.c | 284 res = lua_toboolean(L, -1); /* get result */ in sort_comp()
|
H A D | lauxlib.c | 908 lua_pushstring(L, (lua_toboolean(L, idx) ? "true" : "false")); in luaL_tolstring() 978 if (!lua_toboolean(L, -1)) { /* package not already loaded? */ in luaL_requiref()
|
H A D | lbaselib.c | 426 if (l_likely(lua_toboolean(L, 1))) /* condition is true? */ in luaB_assert()
|
H A D | lua.c | 674 result = lua_toboolean(L, -1); /* get result */ in main()
|
H A D | lstrlib.c | 235 int strip = lua_toboolean(L, 2); in str_dump() 783 if (find && (lua_toboolean(L, 4) || nospecials(p, lp))) { in str_find_aux() 927 if (!lua_toboolean(L, -1)) { /* nil or false? */ in add_value()
|
H A D | lua.h | 203 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
|
H A D | ltests.c | 126 if (!lua_toboolean(L, -1)) in warnf() 1660 lua_pushboolean(L, lua_toboolean(L1, idx)); in runC() 1723 lua_pushboolean(L1, lua_toboolean(L1, getindex)); in runC()
|
H A D | lapi.c | 399 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function
|
/freebsd/contrib/llvm-project/lldb/bindings/lua/ |
H A D | lua-wrapper.swig | 38 bool stop = lua_toboolean(L, -1); 68 bool stop = lua_toboolean(L, -1);
|
/freebsd/contrib/lutok/ |
H A D | state.cpp | 561 const bool more = lua_toboolean(_pimpl->lua_state, -1); in next() 828 return lua_toboolean(_pimpl->lua_state, index); in to_boolean()
|
H A D | state_test.cpp | 746 ATF_REQUIRE(lua_toboolean(raw(state), -1)); in ATF_TEST_CASE_BODY() 749 ATF_REQUIRE(!lua_toboolean(raw(state), -1)); in ATF_TEST_CASE_BODY() 750 ATF_REQUIRE(lua_toboolean(raw(state), -2)); in ATF_TEST_CASE_BODY() 945 ATF_REQUIRE(lua_toboolean(raw(state), -1)); in ATF_TEST_CASE_BODY()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zcp_synctask.c | 151 ddsa.ddsa_defer = lua_toboolean(state, 2); in zcp_synctask_destroy() 517 boolean_t sync = lua_toboolean(state, lua_upvalueindex(2)); in zcp_synctask_wrapper()
|
H A D | zcp.c | 273 key = (lua_toboolean(state, -2) == B_TRUE ? in zcp_table_to_nvlist() 388 lua_toboolean(state, index)); in zcp_lua_to_nvlist_impl()
|
/freebsd/contrib/libucl/lua/ |
H A D | lua_ucl.c | 498 obj = ucl_object_frombool (lua_toboolean (L, idx)); in ucl_object_lua_fromelt() 1333 if (lua_toboolean (L, 2)) { in lua_ucl_to_json() 1438 sort = lua_toboolean (L, 3); in lua_ucl_to_format()
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lbaselib.c | 227 if (!lua_toboolean(L, 1)) in luaB_assert()
|
H A D | ltablib.c | 175 res = lua_toboolean(L, -1); in sort_comp()
|
H A D | lstrlib.c | 598 if (find && (lua_toboolean(L, 4) || nospecials(p, lp))) { in str_find_aux() 735 if (!lua_toboolean(L, -1)) { /* nil or false? */ in add_value()
|
H A D | lapi.c | 381 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function 1316 EXPORT_SYMBOL(lua_toboolean);
|
H A D | lauxlib.c | 600 lua_pushstring(L, (lua_toboolean(L, idx) ? "true" : "false")); in luaL_tolstring()
|
/freebsd/lib/clang/liblldb/ |
H A D | LLDBWrapLua.cpp | 2274 const int is_inheritable = lua_toboolean(L,-2); in SWIG_Lua_add_class_user_metamethods() 3831 bool stop = lua_toboolean(L, -1); in LLDBSwigLuaBreakpointCallbackFunction() 3861 bool stop = lua_toboolean(L, -1); in LLDBSwigLuaWatchpointCallbackFunction() 5640 arg2 = (lua_toboolean(L, 2)!=0); in _wrap_new_SBAttachInfo__SWIG_2() 5665 arg2 = (lua_toboolean(L, 2)!=0); in _wrap_new_SBAttachInfo__SWIG_3() 5666 arg3 = (lua_toboolean(L, 3)!=0); in _wrap_new_SBAttachInfo__SWIG_3() 5985 arg2 = (lua_toboolean(L, 2)!=0); in _wrap_SBAttachInfo_SetWaitForLaunch__SWIG_0() 6013 arg2 = (lua_toboolean(L, 2)!=0); in _wrap_SBAttachInfo_SetWaitForLaunch__SWIG_1() 6014 arg3 = (lua_toboolean(L, 3)!=0); in _wrap_SBAttachInfo_SetWaitForLaunch__SWIG_1() 6123 arg2 = (lua_toboolean(L, 2)!=0); in _wrap_SBAttachInfo_SetIgnoreExisting() [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/lua/ |
H A D | lua.h | 170 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
|