Home
last modified time | relevance | path

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

/aosp_15_r20/external/lua/src/
H A Dlstrlib.c157 return luaL_error(L, "resulting string too large"); in str_rep()
185 return luaL_error(L, "string slice too long"); in str_byte()
239 return luaL_error(L, "unable to dump given function"); in str_dump()
279 luaL_error(L, "attempt to %s a '%s' with a '%s'", mtname + 2, in trymt()
387 return luaL_error(ms->L, "invalid capture index %%%d", l + 1); in check_capture()
396 return luaL_error(ms->L, "invalid pattern capture"); in capture_to_close()
404 luaL_error(ms->L, "malformed pattern (ends with '%%')"); in classend()
411 luaL_error(ms->L, "malformed pattern (missing ']')"); in classend()
486 luaL_error(ms->L, "malformed pattern (missing arguments to '%%b')"); in matchbalance()
535 if (level >= LUA_MAXCAPTURES) luaL_error(ms->L, "too many captures"); in start_capture()
[all …]
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()
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 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()
525 return luaL_error(B->L, "buffer too large"); in newbuffsize()
855 luaL_error(L, "object length is not an integer"); in luaL_len()
864 luaL_error(L, "'__tostring' must return a string"); in luaL_tolstring()
1054 luaL_error(L, "core and library have incompatible numeric types"); in luaL_checkversion_()
[all …]
H A Dltablib.c82 return luaL_error(L, "wrong number of arguments to 'insert'"); in tinsert()
149 luaL_error(L, "invalid value (%s) at index %d in table for 'concat'", in addfield()
200 return luaL_error(L, "too many results to unpack"); in tunpack()
304 luaL_error(L, "invalid order function for sorting"); in partition()
311 luaL_error(L, "invalid order function for sorting"); in partition()
H A Dlutf8lib.c134 return luaL_error(L, "string slice too long"); in codepoint()
143 return luaL_error(L, "invalid UTF-8 code"); in codepoint()
197 return luaL_error(L, "initial position is a continuation byte"); in byteoffset()
240 return luaL_error(L, "invalid UTF-8 code"); in iter_aux()
H A Dliolib.c78 luaL_error(L, "'popen' not supported"), \
184 luaL_error(L, "attempt to use a closed file"); in tofile()
259 luaL_error(L, "cannot open file '%s' (%s)", fname, strerror(errno)); in opencheck()
307 luaL_error(L, "default %s file is closed", findex + IOPREF_LEN); in getiofile()
628 return luaL_error(L, "file is already closed"); in io_readline()
640 return luaL_error(L, "%s", lua_tostring(L, -n + 1)); in io_readline()
H A Dloadlib.c181 luaL_error(L, "unable to get ModuleFileName"); in setprogdir()
527 luaL_error(L, "'package.%s' must be a string", pname); in findfile()
538 return luaL_error(L, "error loading module '%s' from file '%s':\n\t%s", in checkload()
627 luaL_error(L, "'package.searchers' must be a table"); in findloader()
636 luaL_error(L, "module '%s' not found:%s", name, lua_tostring(L, -1)); in findloader()
H A Dlbaselib.c142 return luaL_error(L, "cannot change a protected metatable"); in luaB_setmetatable()
359 luaL_error(L, "reader function must return a string"); in generic_reader()
H A Dlua.c46 luaL_error(L, "interrupted!"); in lstop()
210 luaL_error(L, "'arg' is not a table"); in pushargs()
H A Dlcorolib.c184 return luaL_error(L, "cannot close a %s coroutine", statname[status]); in luaB_close()
H A Dlauxlib.h75 LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...); variable
H A Dldblib.c37 luaL_error(L, "stack overflow"); in checkstack()
H A Dlmathlib.c580 default: return luaL_error(L, "wrong number of arguments"); in math_random()
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/upb/lua/
Dupb.c165 luaL_error(L, "must be true or false"); in lupb_checkbool()
174 luaL_error(L, "Expected string"); in lupb_checkstring()
205 luaL_error(L, "number %f was not an integer or out of range for " #type, \
Ddef.c120 return luaL_error(L, "Message fields do not have explicit defaults."); in lupb_FieldDef_Default()
454 luaL_error(L, "No such nested message"); in lupb_MessageDef_index()
715 luaL_error(L, "called into dead object"); in lupb_DefPool_check()
Dmain.c40 luaL_error(L, "SIGINT"); in interrupt()
Dupb.h115 luaL_error(L, "internal error: %s, %s:%d ", #predicate, __FILE__, __LINE__);
Dmsg.c668 luaL_error(L, "no such field '%s'", lua_tostring(L, field)); in lupb_msg_checkfield()
/aosp_15_r20/external/bcc/src/lua/src/
H A Dmain.c42 luaL_error(L, "interrupted!"); in lstop()