Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/deps/lua/etc/
H A Dmin.c24 printf("%s",lua_toboolean(L,i) ? "true" : "false"); in print()
/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlbaselib.c336 if (!lua_toboolean(L, 1)) in luaB_assert()
408 lua_pushstring(L, (lua_toboolean(L, 1) ? "true" : "false")); in luaB_tostring()
424 if (lua_toboolean(L, 1) == 0) in luaB_newproxy()
436 validproxy = lua_toboolean(L, -1); in luaB_newproxy()
H A Dloslib.c103 res = lua_isnil(L, -1) ? -1 : lua_toboolean(L, -1); in getboolfield()
H A Dltablib.c185 res = lua_toboolean(L, -1); in sort_comp()
H A Dlua.h148 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
H A Dlstrlib.c502 if (find && (lua_toboolean(L, 4) || /* explicit request? */ in str_find_aux()
634 if (!lua_toboolean(L, -1)) { /* nil or false? */ in add_value()
H A Dlua_cjson.c251 *setting = lua_toboolean(l, optindex) * bool_true; in json_enum_option()
673 if (lua_toboolean(l, -1)) in json_append_data()
H A Dliolib.c401 if (lua_toboolean(L, lua_upvalueindex(2))) { /* generator created file? */ in io_readline()
H A Dloadlib.c457 if (lua_toboolean(L, -1)) { /* is it there? */ in ll_require()
H A Dlua_cmsgpack.c350 unsigned char b = lua_toboolean(L,-1) ? 0xc3 : 0xc2; in mp_encode_lua_bool()
H A Dlapi.c337 LUA_API int lua_toboolean (lua_State *L, int idx) { in lua_toboolean() function
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzcp_synctask.c145 ddsa.ddsa_defer = lua_toboolean(state, 2); in zcp_synctask_destroy()
474 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()
/f-stack/freebsd/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()
/f-stack/freebsd/contrib/openzfs/include/sys/lua/
H A Dlua.h171 LUA_API int (lua_toboolean) (lua_State *L, int idx); variable
/f-stack/app/redis-5.0.5/src/
H A Dscripting.c285 addReply(c,lua_toboolean(lua,-1) ? shared.cone : shared.nullbulk); in luaReplyToRedisReply()
1936 s = sdscat(s,lua_toboolean(lua,idx) ? "true" : "false"); in ldbCatStackValueRec()