Home
last modified time | relevance | path

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

/external/lua/src/
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()
344 luaL_error(ms->L, "malformed pattern (missing arguments to '%%b')"); in matchbalance()
393 if (level >= LUA_MAXCAPTURES) luaL_error(ms->L, "too many captures"); in start_capture()
427 luaL_error(ms->L, "pattern too complex"); in match()
[all …]
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()
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 …]
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()
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()
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()
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()
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()
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()
Dlua.c114 luaL_error(L, "interrupted!"); in lstop()
427 luaL_error(L, "'arg' is not a table"); in pushargs()
Dlauxlib.h68 LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...); variable
Dlmathlib.c265 default: return luaL_error(L, "wrong number of arguments"); in math_random()
Dldblib.c37 luaL_error(L, "stack overflow"); in checkstack()
/external/bcc/src/lua/src/
Dmain.c42 luaL_error(L, "interrupted!"); in lstop()