Home
last modified time | relevance | path

Searched refs:luaL_error (Results 1 – 25 of 34) 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.c65 return (luaL_error(state, in zcp_clones_iter()
85 return (luaL_error(state, in zcp_clones_iter()
98 return (luaL_error(state, in zcp_clones_iter()
171 return (luaL_error(state, in zcp_snapshots_iter()
189 return (luaL_error(state, in zcp_snapshots_iter()
255 return (luaL_error(state, in zcp_children_iter()
275 return (luaL_error(state, in zcp_children_iter()
491 return (luaL_error(state, in zcp_system_props_list()
513 return (luaL_error(state, in zcp_bookmarks_iter()
528 return (luaL_error(state, in zcp_bookmarks_iter()
[all …]
H A Dzcp_get.c132 return (luaL_error(state, in zcp_handle_error()
136 return (luaL_error(state, in zcp_handle_error()
140 return (luaL_error(state, "unexpected error %d while " in zcp_handle_error()
504 return (luaL_error(state, in get_zap_prop()
808 return (luaL_error(state, in zcp_get_prop()
827 return (luaL_error(state, in zcp_get_prop()
H A Dzcp_synctask.c95 return (luaL_error(state, "running functions from the zfs.sync " in zcp_sync_task()
105 return (luaL_error(state, in zcp_sync_task()
109 return (luaL_error(state, in zcp_sync_task()
186 return (luaL_error(state, in zcp_synctask_destroy()
H A Dzcp.c608 (void) luaL_error(state, in zcp_dataset_hold_error()
612 (void) luaL_error(state, in zcp_dataset_hold_error()
696 return (luaL_error(state, "dataset '%s' is not in the " in zcp_exists()
699 return (luaL_error(state, "I/O error opening dataset '%s'", in zcp_exists()
702 return (luaL_error(state, "unexpected error %d", error)); in zcp_exists()
1277 (void) luaL_error(state, errmsg); in zcp_args_error()
1305 (void) luaL_error(state, errmsg); in zcp_args_error()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlstrlib.c125 return luaL_error(L, "resulting string too large"); in str_rep()
154 return luaL_error(L, "string slice too long"); in str_byte()
191 return luaL_error(L, "unable to dump given function"); in str_dump()
240 return luaL_error(ms->L, "invalid capture index %%%d", l + 1); in check_capture()
249 return luaL_error(ms->L, "invalid pattern capture"); in capture_to_close()
257 luaL_error(ms->L, "malformed pattern (ends with " LUA_QL("%%") ")"); in classend()
264 luaL_error(ms->L, "malformed pattern (missing " LUA_QL("]") ")"); in classend()
339 luaL_error(ms->L, "malformed pattern " in matchbalance()
389 if (level >= LUA_MAXCAPTURES) luaL_error(ms->L, "too many captures"); in start_capture()
423 luaL_error(ms->L, "pattern too complex"); in match()
[all …]
H A Dlauxlib.c150 return luaL_error(L, "bad argument #%d (%s)", narg, extramsg); in luaL_argerror()
155 return luaL_error(L, "calling " LUA_QS " on bad self (%s)", in luaL_argerror()
160 return luaL_error(L, "bad argument #%d to " LUA_QS " (%s)", in luaL_argerror()
190 LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) { in luaL_error() function
298 luaL_error(L, "stack overflow (%s)", msg); in luaL_checkstack()
300 luaL_error(L, "stack overflow"); in luaL_checkstack()
405 luaL_error(L, "buffer too large"); in luaL_prepbuffsize()
587 luaL_error(L, "object length is not a number"); in luaL_len()
675 luaL_error(L, "name conflict for module " LUA_QS, modname); in luaL_pushmodule()
778 luaL_error(L, "multiple Lua VMs detected"); in luaL_checkversion_()
[all …]
H A Dltablib.c59 return luaL_error(L, "wrong number of arguments to " LUA_QL("insert")); in tinsert()
86 luaL_error(L, "invalid value (%s) at index %d in table for " in addfield()
144 return luaL_error(L, "too many results to unpack"); in unpack()
218 if (i>=u) luaL_error(L, "invalid order function for sorting"); in auxsort()
223 if (j<=l) luaL_error(L, "invalid order function for sorting"); in auxsort()
H A Dlbaselib.c100 return luaL_error(L, "cannot change a protected metatable"); in luaB_setmetatable()
229 return luaL_error(L, "%s", luaL_optstring(L, 2, "assertion failed!")); in luaB_assert()
/freebsd/contrib/lua/src/
H A Dloslib.c176 return luaL_error(L, "unable to generate a unique filename"); in os_tmpname()
214 luaL_error(L, "field '%s' is out-of-bound", key); in setfield()
259 return luaL_error(L, "field '%s' is not an integer", key); in getfield()
261 return luaL_error(L, "field '%s' missing in date table", key); in getfield()
266 return luaL_error(L, "field '%s' is out-of-bound", key); in getfield()
317 return luaL_error(L, in os_date()
365 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.c179 return luaL_error(L, "bad argument #%d (%s)", arg, extramsg); in luaL_argerror()
184 return luaL_error(L, "calling '%s' on bad self (%s)", in luaL_argerror()
189 return luaL_error(L, "bad argument #%d to '%s' (%s)", in luaL_argerror()
235 LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) { in luaL_error() function
386 luaL_error(L, "stack overflow (%s)", msg); in luaL_checkstack()
388 luaL_error(L, "stack overflow"); in luaL_checkstack()
538 return luaL_error(B->L, "buffer too large"); in newbuffsize()
892 luaL_error(L, "object length is not an integer"); in luaL_len()
902 luaL_error(L, "'__tostring' must return a string"); in luaL_tolstring()
1121 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.c174 luaL_error(L, "unable to get ModuleFileName"); in setprogdir()
520 luaL_error(L, "'package.%s' must be a string", pname); in findfile()
531 return luaL_error(L, "error loading module '%s' from file '%s':\n\t%s", in checkload()
621 luaL_error(L, "'package.searchers' must be a table"); in findloader()
630 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()
316 luaL_error(L, "default %s file is closed", findex + IOPREF_LEN); in getiofile()
638 return luaL_error(L, "file is already closed"); in io_readline()
650 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 Dlcorolib.c187 return luaL_error(L, "cannot close a %s coroutine", statname[status]); in luaB_close()
H A Dlua.c66 luaL_error(L, "interrupted!"); in lstop()
247 luaL_error(L, "'arg' is not a table"); in pushargs()
/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/contrib/lyaml/ext/yaml/
H A Dlyaml.h140 return luaL_error (L, "%s must be a table", _k); \
/freebsd/contrib/libucl/lua/
H A Dlua_ucl.c784 return luaL_error (L, "invalid arguments"); in lua_ucl_parser_register_variable()
821 return luaL_error (L, "invalid arguments"); in lua_ucl_parser_register_variables()
899 return luaL_error(L, "invalid argument as input, expected userdata or a string"); in lua_ucl_parser_parse_text()
/freebsd/sys/contrib/openzfs/include/sys/lua/
H A Dlauxlib.h58 LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...); variable

12