Searched refs:lua_toboolean (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zcp_synctask.c | 146 ddsa.ddsa_defer = lua_toboolean(state, 2); in zcp_synctask_destroy() 488 boolean_t sync = lua_toboolean(state, lua_upvalueindex(2)); in zcp_synctask_wrapper()
|
H A D | zcp.c | 269 key = (lua_toboolean(state, -2) == B_TRUE ? in zcp_table_to_nvlist() 384 lua_toboolean(state, index)); in zcp_lua_to_nvlist_impl()
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lbaselib.c | 230 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 | 618 if (find && (lua_toboolean(L, 4) || nospecials(p, lp))) { in str_find_aux() 755 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
|