Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/lua/src/
H A Dlutf8lib.c98 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 Dloslib.c245 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 Dloadlib.c286 b = lua_toboolean(L, -1); in noenv()
659 if (lua_toboolean(L, -1)) /* is it there? */ in ll_require()
H A Dliolib.c635 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 Dltablib.c282 res = lua_toboolean(L, -1); /* get result */ in sort_comp()
H A Dlauxlib.c879 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 Dlbaselib.c404 if (lua_toboolean(L, 1)) /* condition is true? */ in luaB_assert()
H A Dlstrlib.c234 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 Dlua.c634 result = lua_toboolean(L, -1); /* get result */ in main()
H A Dlua.h192 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
H A Dlapi.c375 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 Dlua-wrapper.swig50 bool stop = lua_toboolean(L, -1);
85 bool stop = lua_toboolean(L, -1);
/freebsd-13.1/contrib/lutok/
H A Dstate.cpp561 const bool more = lua_toboolean(_pimpl->lua_state, -1); in next()
828 return lua_toboolean(_pimpl->lua_state, index); in to_boolean()
H A Dstate_test.cpp746 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 Dzcp_synctask.c151 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 Dzcp.c273 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 Dlua_ucl.c498 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 Dlbaselib.c228 if (!lua_toboolean(L, 1)) in luaB_assert()
H A Dltablib.c176 res = lua_toboolean(L, -1); in sort_comp()
H A Dlstrlib.c599 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 Dlapi.c380 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function
1339 EXPORT_SYMBOL(lua_toboolean);
H A Dlauxlib.c601 lua_pushstring(L, (lua_toboolean(L, idx) ? "true" : "false")); in luaL_tolstring()
/freebsd-13.1/lib/clang/liblldb/
H A DLLDBWrapLua.cpp4731 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 Dlua.h171 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable