Home
last modified time | relevance | path

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

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlstrlib.c144 return luaL_error(L, "resulting string too large"); in str_rep()
173 return luaL_error(L, "string slice too long"); in str_byte()
209 return luaL_error(L, "unable to dump given function"); in str_dump()
258 return luaL_error(ms->L, "invalid capture index %%%d", l + 1); in check_capture()
267 return luaL_error(ms->L, "invalid pattern capture"); in capture_to_close()
357 luaL_error(ms->L, "malformed pattern " in matchbalance()
441 luaL_error(ms->L, "pattern too complex"); in match()
475 luaL_error(ms->L, "missing " LUA_QL("[") " after " in match()
571 luaL_error(ms->L, "invalid capture index"); in push_onecapture()
718 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.c106 return luaL_error(L, "cannot change a protected metatable"); in luaB_setmetatable()
235 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
/freebsd-12.1/contrib/lua/src/
H A Dlstrlib.c129 return luaL_error(L, "resulting string too large"); in str_rep()
158 return luaL_error(L, "string slice too long"); in str_byte()
196 return luaL_error(L, "unable to dump given function"); in str_dump()
245 return luaL_error(ms->L, "invalid capture index %%%d", l + 1); in check_capture()
254 return luaL_error(ms->L, "invalid pattern capture"); in capture_to_close()
262 luaL_error(ms->L, "malformed pattern (ends with '%%')"); in classend()
269 luaL_error(ms->L, "malformed pattern (missing ']')"); in classend()
427 luaL_error(ms->L, "pattern too complex"); in match()
556 luaL_error(ms->L, "invalid capture index %%%d", i + 1); in push_onecapture()
990 luaL_error(L, "invalid format (repeated flags)");
[all …]
H A Dloslib.c171 return luaL_error(L, "unable to generate a unique filename"); in os_tmpname()
245 return luaL_error(L, "field '%s' is not an integer", key); in getfield()
247 return luaL_error(L, "field '%s' missing in date table", key); in getfield()
252 return luaL_error(L, "field '%s' is out-of-bound", key); in getfield()
296 return luaL_error(L, in os_date()
344 return luaL_error(L, in os_time()
H A Dlauxlib.c167 return luaL_error(L, "bad argument #%d (%s)", arg, extramsg); in luaL_argerror()
172 return luaL_error(L, "calling '%s' on bad self (%s)", in luaL_argerror()
177 return luaL_error(L, "bad argument #%d to '%s' (%s)", in luaL_argerror()
223 LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) { in luaL_error() function
371 luaL_error(L, "stack overflow (%s)", msg); in luaL_checkstack()
373 luaL_error(L, "stack overflow"); in luaL_checkstack()
468 luaL_error(L, "not enough memory for buffer allocation"); in resizebox()
513 luaL_error(L, "buffer too large"); in luaL_prepbuffsize()
804 luaL_error(L, "object length is not an integer"); in luaL_len()
813 luaL_error(L, "'__tostring' must return a string"); in luaL_tolstring()
[all …]
H A Dlutf8lib.c111 return luaL_error(L, "string slice too long"); in codepoint()
120 return luaL_error(L, "invalid UTF-8 code"); in codepoint()
174 return luaL_error(L, "initial position is a continuation byte"); in byteoffset()
217 return luaL_error(L, "invalid UTF-8 code"); in iter_aux()
H A Dltablib.c98 return luaL_error(L, "wrong number of arguments to 'insert'"); in tinsert()
163 luaL_error(L, "invalid value (%s) at index %d in table for 'concat'", in addfield()
214 return luaL_error(L, "too many results to unpack"); in unpack()
318 luaL_error(L, "invalid order function for sorting"); in partition()
325 luaL_error(L, "invalid order function for sorting"); in partition()
H A Dloadlib.c174 luaL_error(L, "unable to get ModuleFileName"); in setprogdir()
479 luaL_error(L, "'package.%s' must be a string", pname); in findfile()
490 return luaL_error(L, "error loading module '%s' from file '%s':\n\t%s", in checkload()
575 luaL_error(L, "'package.searchers' must be a table"); in findloader()
581 luaL_error(L, "module '%s' not found:%s", name, lua_tostring(L, -1)); in findloader()
639 luaL_error(L, "'module' not called from a Lua function"); in set_env()
H A Dliolib.c72 luaL_error(L, "'popen' not supported"), \
177 luaL_error(L, "attempt to use a closed file"); in tofile()
252 luaL_error(L, "cannot open file '%s' (%s)", fname, strerror(errno)); in opencheck()
298 luaL_error(L, "standard %s file is closed", findex + IOPREF_LEN); in getiofile()
594 return luaL_error(L, "file is already closed"); in io_readline()
606 return luaL_error(L, "%s", lua_tostring(L, -n + 1)); in io_readline()
H A Dlbitlib.c174 luaL_error(L, "trying to access non-existent bits"); in fieldargs()
230 return luaL_error(L, "library 'bit32' has been deprecated"); in luaopen_bit32()
H A Dlbaselib.c36 return luaL_error(L, "'tostring' must return a string to 'print'"); in luaB_print()
131 return luaL_error(L, "cannot change a protected metatable"); in luaB_setmetatable()
328 luaL_error(L, "reader function must return a string"); in generic_reader()
H A Dlua.c114 luaL_error(L, "interrupted!"); in lstop()
427 luaL_error(L, "'arg' is not a table"); in pushargs()
H A Dlauxlib.h68 LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...); variable
H A Dlmathlib.c265 default: return luaL_error(L, "wrong number of arguments"); in math_random()
H A Dldblib.c37 luaL_error(L, "stack overflow"); in checkstack()
/freebsd-12.1/sys/cddl/contrib/opensolaris/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.c78 return (luaL_error(state, "running functions from the zfs.sync " in zcp_sync_task()
88 return (luaL_error(state, in zcp_sync_task()
92 return (luaL_error(state, in zcp_sync_task()
127 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()
835 return (luaL_error(state, in zcp_get_prop()
854 return (luaL_error(state, in zcp_get_prop()
H A Dzcp.c625 (void) luaL_error(state, in zcp_dataset_hold_error()
629 (void) luaL_error(state, in zcp_dataset_hold_error()
712 return (luaL_error(state, "dataset '%s' is not in the " in zcp_exists()
715 return (luaL_error(state, "I/O error opening dataset '%s'", in zcp_exists()
718 return (luaL_error(state, "unexpected error %d", error)); in zcp_exists()
1249 (void) luaL_error(state, errmsg); in zcp_args_error()
1277 (void) luaL_error(state, errmsg); in zcp_args_error()
/freebsd-12.1/stand/liblua/
H A Dlfs.c311 return luaL_error(L, "invalid attribute name '%s'", member); in lua_attributes()