Home
last modified time | relevance | path

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

12

/freebsd/libexec/flua/libjail/
H A Dlua_jail.c53 LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...) __dead2; variable
103 return (luaL_error(L, "jailparam_import_raw: %s", jail_errmsg)); in l_jail_iter_next()
120 return (luaL_error(L, "jailparam_get: %s", in l_jail_iter_next()
180 return (luaL_error(L, "malloc: %s", strerror(errno))); in l_list()
190 return (luaL_error(L, "malloc params: %s", strerror(errno))); in l_list()
197 return (luaL_error(L, "jailparam_init: %s", jail_errmsg)); in l_list()
204 return (luaL_error(L, "jailparam_init: %s", in l_list()
211 return (luaL_error(L, "jailparam_init: %s", in l_list()
343 luaL_error(L, "jailparam_init: %s", jail_errmsg); in getparam_table()
390 return (luaL_error(L, "malloc: %s", strerror(errno))); in l_getparams()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp_iter.c64 return (luaL_error(state, in zcp_clones_iter()
84 return (luaL_error(state, in zcp_clones_iter()
97 return (luaL_error(state, in zcp_clones_iter()
170 return (luaL_error(state, in zcp_snapshots_iter()
188 return (luaL_error(state, in zcp_snapshots_iter()
254 return (luaL_error(state, in zcp_children_iter()
274 return (luaL_error(state, in zcp_children_iter()
490 return (luaL_error(state, in zcp_system_props_list()
512 return (luaL_error(state, in zcp_bookmarks_iter()
527 return (luaL_error(state, in zcp_bookmarks_iter()
[all …]
H A Dzcp_get.c131 return (luaL_error(state, in zcp_handle_error()
135 return (luaL_error(state, in zcp_handle_error()
139 return (luaL_error(state, "unexpected error %d while " in zcp_handle_error()
477 return (luaL_error(state, in get_zap_prop()
781 return (luaL_error(state, in zcp_get_prop()
800 return (luaL_error(state, in zcp_get_prop()
H A Dzcp_synctask.c93 return (luaL_error(state, "running functions from the zfs.sync " in zcp_sync_task()
103 return (luaL_error(state, in zcp_sync_task()
107 return (luaL_error(state, in zcp_sync_task()
142 return (luaL_error(state, in zcp_synctask_destroy()
H A Dzcp.c607 (void) luaL_error(state, in zcp_dataset_hold_error()
611 (void) luaL_error(state, in zcp_dataset_hold_error()
695 return (luaL_error(state, "dataset '%s' is not in the " in zcp_exists()
698 return (luaL_error(state, "I/O error opening dataset '%s'", in zcp_exists()
701 return (luaL_error(state, "unexpected error %d", error)); in zcp_exists()
1272 (void) luaL_error(state, errmsg); in zcp_args_error()
1300 (void) luaL_error(state, errmsg); in zcp_args_error()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlstrlib.c124 return luaL_error(L, "resulting string too large"); in str_rep()
153 return luaL_error(L, "string slice too long"); in str_byte()
190 return luaL_error(L, "unable to dump given function"); in str_dump()
239 return luaL_error(ms->L, "invalid capture index %%%d", l + 1); in check_capture()
248 return luaL_error(ms->L, "invalid pattern capture"); in capture_to_close()
256 luaL_error(ms->L, "malformed pattern (ends with " LUA_QL("%%") ")"); in classend()
263 luaL_error(ms->L, "malformed pattern (missing " LUA_QL("]") ")"); in classend()
338 luaL_error(ms->L, "malformed pattern " in matchbalance()
388 if (level >= LUA_MAXCAPTURES) luaL_error(ms->L, "too many captures"); in start_capture()
422 luaL_error(ms->L, "pattern too complex"); in match()
[all …]
H A Dlauxlib.c149 return luaL_error(L, "bad argument #%d (%s)", narg, extramsg); in luaL_argerror()
154 return luaL_error(L, "calling " LUA_QS " on bad self (%s)", in luaL_argerror()
159 return luaL_error(L, "bad argument #%d to " LUA_QS " (%s)", in luaL_argerror()
189 LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) { in luaL_error() function
297 luaL_error(L, "stack overflow (%s)", msg); in luaL_checkstack()
299 luaL_error(L, "stack overflow"); in luaL_checkstack()
404 luaL_error(L, "buffer too large"); in luaL_prepbuffsize()
586 luaL_error(L, "object length is not a number"); in luaL_len()
674 luaL_error(L, "name conflict for module " LUA_QS, modname); in luaL_pushmodule()
777 luaL_error(L, "multiple Lua VMs detected"); in luaL_checkversion_()
[all …]
H A Dltablib.c58 return luaL_error(L, "wrong number of arguments to " LUA_QL("insert")); in tinsert()
85 luaL_error(L, "invalid value (%s) at index %d in table for " in addfield()
143 return luaL_error(L, "too many results to unpack"); in unpack()
217 if (i>=u) luaL_error(L, "invalid order function for sorting"); in auxsort()
222 if (j<=l) luaL_error(L, "invalid order function for sorting"); in auxsort()
H A Dlbaselib.c99 return luaL_error(L, "cannot change a protected metatable"); in luaB_setmetatable()
228 return luaL_error(L, "%s", luaL_optstring(L, 2, "assertion failed!")); in luaB_assert()
/freebsd/contrib/lua/src/
H A Dloslib.c174 return luaL_error(L, "unable to generate a unique filename"); in os_tmpname()
212 luaL_error(L, "field '%s' is out-of-bound", key); in setfield()
257 return luaL_error(L, "field '%s' is not an integer", key); in getfield()
259 return luaL_error(L, "field '%s' missing in date table", key); in getfield()
264 return luaL_error(L, "field '%s' is out-of-bound", key); in getfield()
315 return luaL_error(L, in os_date()
363 return luaL_error(L, in os_time()
H A Dlstrlib.c158 return luaL_error(L, "resulting string too large"); in str_rep()
186 return luaL_error(L, "string slice too long"); in str_byte()
240 return luaL_error(L, "unable to dump given function"); in str_dump()
281 luaL_error(L, "attempt to %s a '%s' with a '%s'", mtname + 2, in trymt()
390 return luaL_error(ms->L, "invalid capture index %%%d", l + 1); in check_capture()
399 return luaL_error(ms->L, "invalid pattern capture"); in capture_to_close()
407 luaL_error(ms->L, "malformed pattern (ends with '%%')"); in classend()
414 luaL_error(ms->L, "malformed pattern (missing ']')"); in classend()
489 luaL_error(ms->L, "malformed pattern (missing arguments to '%%b')"); in matchbalance()
538 if (level >= LUA_MAXCAPTURES) luaL_error(ms->L, "too many captures"); in start_capture()
[all …]
H A Dlutf8lib.c138 return luaL_error(L, "string slice too long"); in codepoint()
147 return luaL_error(L, MSGInvalid); in codepoint()
201 return luaL_error(L, "initial position is a continuation byte"); in byteoffset()
241 return luaL_error(L, MSGInvalid); in iter_aux()
H A Dlauxlib.c178 return luaL_error(L, "bad argument #%d (%s)", arg, extramsg); in luaL_argerror()
183 return luaL_error(L, "calling '%s' on bad self (%s)", in luaL_argerror()
188 return luaL_error(L, "bad argument #%d to '%s' (%s)", in luaL_argerror()
234 LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) { in luaL_error() function
383 luaL_error(L, "stack overflow (%s)", msg); in luaL_checkstack()
385 luaL_error(L, "stack overflow"); in luaL_checkstack()
535 return luaL_error(B->L, "buffer too large"); in newbuffsize()
883 luaL_error(L, "object length is not an integer"); in luaL_len()
893 luaL_error(L, "'__tostring' must return a string"); in luaL_tolstring()
1107 luaL_error(L, "core and library have incompatible numeric types"); in luaL_checkversion_()
[all …]
H A Dltablib.c83 return luaL_error(L, "wrong number of arguments to 'insert'"); in tinsert()
150 luaL_error(L, "invalid value (%s) at index %I in table for 'concat'", in addfield()
202 return luaL_error(L, "too many results to unpack"); in tunpack()
306 luaL_error(L, "invalid order function for sorting"); in partition()
313 luaL_error(L, "invalid order function for sorting"); in partition()
H A Dloadlib.c183 luaL_error(L, "unable to get ModuleFileName"); in setprogdir()
529 luaL_error(L, "'package.%s' must be a string", pname); in findfile()
540 return luaL_error(L, "error loading module '%s' from file '%s':\n\t%s", in checkload()
630 luaL_error(L, "'package.searchers' must be a table"); in findloader()
639 luaL_error(L, "module '%s' not found:%s", name, lua_tostring(L, -1)); in findloader()
H A Dliolib.c78 luaL_error(L, "'popen' not supported"), \
190 luaL_error(L, "attempt to use a closed file"); in tofile()
265 luaL_error(L, "cannot open file '%s' (%s)", fname, strerror(errno)); in opencheck()
313 luaL_error(L, "default %s file is closed", findex + IOPREF_LEN); in getiofile()
634 return luaL_error(L, "file is already closed"); in io_readline()
646 return luaL_error(L, "%s", lua_tostring(L, -n + 1)); in io_readline()
H A Dltests.c860 return luaL_error(L, "unknown type '%s'", t); in mem_query()
952 luaL_error(L, "cannot change states in generational mode"); in gc_state()
1326 luaL_error(L, "number expected (%s)", *pc); in getnum_aux()
1337 if (**pc == '\0') luaL_error(L, "unfinished string in C script"); in getstring_aux()
1355 case 'G': return luaL_error(L, "deprecated index 'G'"); in getindex_aux()
1401 if (pc == NULL) return luaL_error(L, "attempt to runC null script"); in runC()
1718 luaL_error(L1, "C++"); in runC()
1778 else luaL_error(L, "unknown instruction %s", buff); in runC()
H A Dlbaselib.c142 return luaL_error(L, "cannot change a protected metatable"); in luaB_setmetatable()
381 luaL_error(L, "reader function must return a string"); in generic_reader()
H A Dlua.c66 luaL_error(L, "interrupted!"); in lstop()
238 luaL_error(L, "'arg' is not a table"); in pushargs()
H A Dlcorolib.c187 return luaL_error(L, "cannot close a %s coroutine", statname[status]); in luaB_close()
H A Dlauxlib.h76 LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...); variable
/freebsd/contrib/llvm-project/lldb/bindings/lua/
H A Dlua-typemaps.swig81 return luaL_error(L, "Positive integer expected");
119 return luaL_error(L, "Positive integer expected");
207 return luaL_error(L, "List should only contain strings");
217 return luaL_error(L, "A list of strings expected");
238 return luaL_error(L, "Invalid file");
279 return luaL_error(L, "List should only contain numbers");
290 return luaL_error(L, "A list of numbers expected.");
H A Dlua-wrapper.swig86 return luaL_error(L, "You cannot close a file handle used by lldb.");
/freebsd/sys/contrib/openzfs/include/sys/lua/
H A Dlauxlib.h57 LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...); variable
/freebsd/libexec/flua/modules/
H A Dlfs.c346 return luaL_error(L, "invalid attribute name '%s'", member); in lua_attributes()

12