| /freebsd-12.1/contrib/lua/src/ |
| H A D | loslib.c | 228 res = (lua_getfield(L, -1, key) == LUA_TNIL) ? -1 : lua_toboolean(L, -1); in getboolfield() 376 status = (lua_toboolean(L, 1) ? EXIT_SUCCESS : EXIT_FAILURE); in os_exit() 379 if (lua_toboolean(L, 2)) in os_exit()
|
| H A D | loadlib.c | 281 b = lua_toboolean(L, -1); in noenv() 602 if (lua_toboolean(L, -1)) /* is it there? */ in ll_require()
|
| H A D | liolib.c | 601 if (lua_toboolean(L, -n)) /* read at least one value? */ in io_readline() 608 if (lua_toboolean(L, lua_upvalueindex(3))) { /* generator created file? */ in io_readline()
|
| H A D | ltablib.c | 296 res = lua_toboolean(L, -1); /* get result */ in sort_comp()
|
| H A D | lbaselib.c | 373 if (lua_toboolean(L, 1)) /* condition is true? */ in luaB_assert()
|
| H A D | lstrlib.c | 191 int strip = lua_toboolean(L, 2); in str_dump() 618 if (find && (lua_toboolean(L, 4) || nospecials(p, lp))) { in str_find_aux() 752 if (!lua_toboolean(L, -1)) { /* nil or false? */ in add_value()
|
| H A D | lauxlib.c | 828 lua_pushstring(L, (lua_toboolean(L, idx) ? "true" : "false")); in luaL_tolstring() 975 if (!lua_toboolean(L, -1)) { /* package not already loaded? */ in luaL_requiref()
|
| H A D | lua.c | 607 result = lua_toboolean(L, -1); /* get result */ in main()
|
| H A D | lua.h | 183 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
|
| H A D | lapi.c | 367 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | zcp_synctask.c | 136 ddsa.ddsa_defer = lua_toboolean(state, 2); in zcp_synctask_destroy() 294 boolean_t sync = lua_toboolean(state, lua_upvalueindex(2)); in zcp_synctask_wrapper()
|
| H A D | zcp.c | 291 key = (lua_toboolean(state, -2) == B_TRUE ? in zcp_table_to_nvlist() 406 lua_toboolean(state, index)); in zcp_lua_to_nvlist_impl()
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
| H A D | lbaselib.c | 234 if (!lua_toboolean(L, 1)) in luaB_assert()
|
| H A D | ltablib.c | 177 res = lua_toboolean(L, -1); in sort_comp()
|
| H A D | lstrlib.c | 617 if (find && (lua_toboolean(L, 4) || nospecials(p, lp))) { in str_find_aux() 754 if (!lua_toboolean(L, -1)) { /* nil or false? */ in add_value()
|
| H A D | lua.h | 170 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
|
| H A D | lauxlib.c | 602 lua_pushstring(L, (lua_toboolean(L, idx) ? "true" : "false")); in luaL_tolstring()
|
| H A D | lapi.c | 382 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function
|
| /freebsd-12.1/contrib/libucl/lua/ |
| H A D | lua_ucl.c | 393 obj = ucl_object_frombool (lua_toboolean (L, idx)); in ucl_object_lua_fromelt() 1031 if (lua_toboolean (L, 2)) { in lua_ucl_to_json()
|