| /freebsd-13.1/contrib/lua/src/ |
| H A D | lutf8lib.c | 98 int lax = lua_toboolean(L, 4); in utflen() 127 int lax = lua_toboolean(L, 4); in codepoint() 258 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() 397 status = (lua_toboolean(L, 1) ? EXIT_SUCCESS : EXIT_FAILURE); in os_exit() 400 if (lua_toboolean(L, 2)) in os_exit()
|
| H A D | loadlib.c | 286 b = lua_toboolean(L, -1); in noenv() 659 if (lua_toboolean(L, -1)) /* is it there? */ in ll_require()
|
| H A D | liolib.c | 635 if (lua_toboolean(L, -n)) /* read at least one value? */ in io_readline() 642 if (lua_toboolean(L, lua_upvalueindex(3))) { /* generator created file? */ in io_readline()
|
| H A D | ltablib.c | 282 res = lua_toboolean(L, -1); /* get result */ in sort_comp()
|
| H A D | lauxlib.c | 879 lua_pushstring(L, (lua_toboolean(L, idx) ? "true" : "false")); in luaL_tolstring() 949 if (!lua_toboolean(L, -1)) { /* package not already loaded? */ in luaL_requiref()
|
| H A D | lbaselib.c | 404 if (lua_toboolean(L, 1)) /* condition is true? */ in luaB_assert()
|
| H A D | lstrlib.c | 234 int strip = lua_toboolean(L, 2); in str_dump() 780 if (find && (lua_toboolean(L, 4) || nospecials(p, lp))) { in str_find_aux() 924 if (!lua_toboolean(L, -1)) { /* nil or false? */ in add_value()
|
| H A D | lua.c | 634 result = lua_toboolean(L, -1); /* get result */ in main()
|
| H A D | lua.h | 192 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
|
| H A D | lapi.c | 375 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function
|
| /freebsd-13.1/contrib/llvm-project/lldb/bindings/lua/ |
| H A D | lua-wrapper.swig | 50 bool stop = lua_toboolean(L, -1); 85 bool stop = lua_toboolean(L, -1);
|
| /freebsd-13.1/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-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | zcp_synctask.c | 151 ddsa.ddsa_defer = lua_toboolean(state, 2); in zcp_synctask_destroy() 481 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-13.1/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-13.1/sys/contrib/openzfs/module/lua/ |
| H A D | lbaselib.c | 228 if (!lua_toboolean(L, 1)) in luaB_assert()
|
| H A D | ltablib.c | 176 res = lua_toboolean(L, -1); in sort_comp()
|
| H A D | lstrlib.c | 599 if (find && (lua_toboolean(L, 4) || nospecials(p, lp))) { in str_find_aux() 736 if (!lua_toboolean(L, -1)) { /* nil or false? */ in add_value()
|
| H A D | lapi.c | 380 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function 1339 EXPORT_SYMBOL(lua_toboolean);
|
| H A D | lauxlib.c | 601 lua_pushstring(L, (lua_toboolean(L, idx) ? "true" : "false")); in luaL_tolstring()
|
| /freebsd-13.1/lib/clang/liblldb/ |
| H A D | LLDBWrapLua.cpp | 4731 arg2 = (lua_toboolean(L, 2)!=0); in _wrap_new_SBAttachInfo__SWIG_2() 4756 arg2 = (lua_toboolean(L, 2)!=0); in _wrap_new_SBAttachInfo__SWIG_3() 4757 arg3 = (lua_toboolean(L, 3)!=0); in _wrap_new_SBAttachInfo__SWIG_3() 5076 arg2 = (lua_toboolean(L, 2)!=0); in _wrap_SBAttachInfo_SetWaitForLaunch__SWIG_0() 5104 arg2 = (lua_toboolean(L, 2)!=0); in _wrap_SBAttachInfo_SetWaitForLaunch__SWIG_1() 5105 arg3 = (lua_toboolean(L, 3)!=0); in _wrap_SBAttachInfo_SetWaitForLaunch__SWIG_1() 5214 arg2 = (lua_toboolean(L, 2)!=0); in _wrap_SBAttachInfo_SetIgnoreExisting() 6333 arg3 = (lua_toboolean(L, 3)!=0); in _wrap_SBBlock_GetVariables__SWIG_0() 6334 arg4 = (lua_toboolean(L, 4)!=0); in _wrap_SBBlock_GetVariables__SWIG_0() 6335 arg5 = (lua_toboolean(L, 5)!=0); in _wrap_SBBlock_GetVariables__SWIG_0() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/include/sys/lua/ |
| H A D | lua.h | 171 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
|