/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 | 247 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 | 279 b = lua_toboolean(L, -1); in noenv() 653 if (lua_toboolean(L, -1)) /* is it there? */ in ll_require()
|
H A D | liolib.c | 645 if (lua_toboolean(L, -n)) /* read at least one value? */ in io_readline() 652 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 | 917 lua_pushstring(L, (lua_toboolean(L, idx) ? "true" : "false")); in luaL_tolstring() 987 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 | 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.c | 682 result = lua_toboolean(L, -1); /* get result */ in main()
|
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()
|
/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/lyaml/ext/yaml/ |
H A D | lyaml.h | 87 _k = 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 | 195 ddsa.ddsa_defer = lua_toboolean(state, 2); in zcp_synctask_destroy() 559 boolean_t sync = lua_toboolean(state, lua_upvalueindex(2)); in zcp_synctask_wrapper()
|
H A D | zcp.c | 274 key = (lua_toboolean(state, -2) == B_TRUE ? in zcp_table_to_nvlist() 389 lua_toboolean(state, index)); in zcp_lua_to_nvlist_impl()
|
/freebsd/libexec/flua/modules/ |
H A D | lfbsd.c | 100 capture_stdout = lua_toboolean(L, 2); in lua_exec()
|
/freebsd/contrib/libucl/lua/ |
H A D | lua_ucl.c | 511 obj = ucl_object_frombool (lua_toboolean (L, idx)); in ucl_object_lua_fromelt() 1375 if (lua_toboolean (L, 2)) { in lua_ucl_to_json() 1481 sort = lua_toboolean (L, 3); in lua_ucl_to_format()
|
/freebsd/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 | 382 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function 1317 EXPORT_SYMBOL(lua_toboolean);
|
/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 | 171 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
|