Home
last modified time | relevance | path

Searched refs:luaL_error (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlstrlib.c138 return luaL_error(L, "resulting string too large"); in str_rep()
167 return luaL_error(L, "string slice too long"); in str_byte()
203 return luaL_error(L, "unable to dump given function"); in str_dump()
252 return luaL_error(ms->L, "invalid capture index %%%d", l + 1); in check_capture()
261 return luaL_error(ms->L, "invalid pattern capture"); in capture_to_close()
358 luaL_error(ms->L, "malformed pattern " in matchbalance()
442 luaL_error(ms->L, "pattern too complex"); in match()
476 luaL_error(ms->L, "missing " LUA_QL("[") " after " in match()
572 luaL_error(ms->L, "invalid capture index"); in push_onecapture()
719 luaL_error(ms->L, "invalid use of " LUA_QL("%c") in add_s()
[all …]
H A Dlauxlib.c151 return luaL_error(L, "bad argument #%d (%s)", narg, extramsg); in luaL_argerror()
156 return luaL_error(L, "calling " LUA_QS " on bad self (%s)", in luaL_argerror()
161 return luaL_error(L, "bad argument #%d to " LUA_QS " (%s)", in luaL_argerror()
191 LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) { in luaL_error() function
299 luaL_error(L, "stack overflow (%s)", msg); in luaL_checkstack()
301 luaL_error(L, "stack overflow"); in luaL_checkstack()
406 luaL_error(L, "buffer too large"); in luaL_prepbuffsize()
588 luaL_error(L, "object length is not a number"); in luaL_len()
676 luaL_error(L, "name conflict for module " LUA_QS, modname); in luaL_pushmodule()
779 luaL_error(L, "multiple Lua VMs detected"); in luaL_checkversion_()
[all …]
H A Dltablib.c60 return luaL_error(L, "wrong number of arguments to " LUA_QL("insert")); in tinsert()
87 luaL_error(L, "invalid value (%s) at index %d in table for " in addfield()
145 return luaL_error(L, "too many results to unpack"); in unpack()
219 if (i>=u) luaL_error(L, "invalid order function for sorting"); in auxsort()
224 if (j<=l) luaL_error(L, "invalid order function for sorting"); in auxsort()
H A Dlbaselib.c102 return luaL_error(L, "cannot change a protected metatable"); in luaB_setmetatable()
231 return luaL_error(L, "%s", luaL_optstring(L, 2, "assertion failed!")); in luaB_assert()
H A Dlbitlib.c161 luaL_error(L, "trying to access non-existent bits"); in fieldargs()
H A Dlauxlib.h59 LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...); variable
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzcp_iter.c61 return (luaL_error(state, in zcp_clones_iter()
79 return (luaL_error(state, in zcp_clones_iter()
91 return (luaL_error(state, in zcp_clones_iter()
166 return (luaL_error(state, in zcp_snapshots_iter()
184 return (luaL_error(state, in zcp_snapshots_iter()
264 return (luaL_error(state, in zcp_children_iter()
284 return (luaL_error(state, in zcp_children_iter()
477 return (luaL_error(state, in zcp_system_props_list()
H A Dzcp_synctask.c88 return (luaL_error(state, "running functions from the zfs.sync " in zcp_sync_task()
98 return (luaL_error(state, in zcp_sync_task()
102 return (luaL_error(state, in zcp_sync_task()
137 return (luaL_error(state, in zcp_synctask_destroy()
H A Dzcp_get.c130 return (luaL_error(state, in zcp_handle_error()
134 return (luaL_error(state, in zcp_handle_error()
138 return (luaL_error(state, "unexpected error %d while " in zcp_handle_error()
836 return (luaL_error(state, in zcp_get_prop()
855 return (luaL_error(state, in zcp_get_prop()
H A Dzcp.c603 (void) luaL_error(state, in zcp_dataset_hold_error()
607 (void) luaL_error(state, in zcp_dataset_hold_error()
690 return (luaL_error(state, "dataset '%s' is not in the " in zcp_exists()
693 return (luaL_error(state, "I/O error opening dataset '%s'", in zcp_exists()
696 return (luaL_error(state, "unexpected error %d", error)); in zcp_exists()
1253 (void) luaL_error(state, errmsg); in zcp_args_error()
1281 (void) luaL_error(state, errmsg); in zcp_args_error()