Home
last modified time | relevance | path

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

/netbsd-src/lib/lua/libm/
H A Dlibm.c57 return luaL_error(L, badarg); \
69 return luaL_error(L, badarg); \
82 return luaL_error(L, badarg); \
96 return luaL_error(L, badarg); \
170 return luaL_error(L, badarg); in DFUNC_DBL()
185 return luaL_error(L, badarg); in libm_nan()
196 return luaL_error(L, badarg); in libm_scalbn()
208 return luaL_error(L, badarg); in libm_ilogb()
/netbsd-src/external/mit/lua/dist/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.c162 return luaL_error(L, "resulting string too large"); in str_rep()
190 return luaL_error(L, "string slice too long"); in str_byte()
244 return luaL_error(L, "unable to dump given function"); in str_dump()
285 luaL_error(L, "attempt to %s a '%s' with a '%s'", mtname + 2, in trymt()
398 return luaL_error(ms->L, "invalid capture index %%%d", l + 1); in check_capture()
407 return luaL_error(ms->L, "invalid pattern capture"); in capture_to_close()
415 luaL_error(ms->L, "malformed pattern (ends with '%%')"); in classend()
422 luaL_error(ms->L, "malformed pattern (missing ']')"); in classend()
497 luaL_error(ms->L, "malformed pattern (missing arguments to '%%b')"); in matchbalance()
546 if (level >= LUA_MAXCAPTURES) luaL_error(ms->L, "too many captures"); in start_capture()
[all …]
H A Dlutf8lib.c142 return luaL_error(L, "string slice too long"); in codepoint()
151 return luaL_error(L, MSGInvalid); in codepoint()
205 return luaL_error(L, "initial position is a continuation byte"); in byteoffset()
245 return luaL_error(L, MSGInvalid); in iter_aux()
H A Dlauxlib.c184 return luaL_error(L, "bad argument #%d (%s)", arg, extramsg); in luaL_argerror()
189 return luaL_error(L, "calling '%s' on bad self (%s)", in luaL_argerror()
194 return luaL_error(L, "bad argument #%d to '%s' (%s)", in luaL_argerror()
240 LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) { in luaL_error() function
393 luaL_error(L, "stack overflow (%s)", msg); in luaL_checkstack()
395 luaL_error(L, "stack overflow"); in luaL_checkstack()
547 return luaL_error(B->L, "buffer too large"); in newbuffsize()
897 luaL_error(L, "object length is not an integer"); in luaL_len()
907 luaL_error(L, "'__tostring' must return a string"); in luaL_tolstring()
1127 luaL_error(L, "core and library have incompatible numeric types"); in luaL_checkversion_()
[all …]
H A Dltablib.c87 return luaL_error(L, "wrong number of arguments to 'insert'"); in tinsert()
154 luaL_error(L, "invalid value (%s) at index %I in table for 'concat'", in addfield()
206 return luaL_error(L, "too many results to unpack"); in tunpack()
310 luaL_error(L, "invalid order function for sorting"); in partition()
317 luaL_error(L, "invalid order function for sorting"); in partition()
H A Dloadlib.c185 luaL_error(L, "unable to get ModuleFileName"); in setprogdir()
531 luaL_error(L, "'package.%s' must be a string", pname); in findfile()
542 return luaL_error(L, "error loading module '%s' from file '%s':\n\t%s", in checkload()
632 luaL_error(L, "'package.searchers' must be a table"); in findloader()
641 luaL_error(L, "module '%s' not found:%s", name, lua_tostring(L, -1)); in findloader()
H A Dliolib.c80 luaL_error(L, "'popen' not supported"), \
192 luaL_error(L, "attempt to use a closed file"); in tofile()
267 luaL_error(L, "cannot open file '%s' (%s)", fname, strerror(errno)); in opencheck()
315 luaL_error(L, "default %s file is closed", findex + IOPREF_LEN); in getiofile()
636 return luaL_error(L, "file is already closed"); in io_readline()
648 return luaL_error(L, "%s", lua_tostring(L, -n + 1)); in io_readline()
H A Dlbaselib.c146 return luaL_error(L, "cannot change a protected metatable"); in luaB_setmetatable()
387 luaL_error(L, "reader function must return a string"); in generic_reader()
H A Dlua.c68 luaL_error(L, "interrupted!"); in lstop()
240 luaL_error(L, "'arg' is not a table"); in pushargs()
H A Dlcorolib.c191 return luaL_error(L, "cannot close a %s coroutine", statname[status]); in luaB_close()
H A Dlauxlib.h85 LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...); variable
H A Dldblib.c41 luaL_error(L, "stack overflow"); in checkstack()
H A Dlmathlib.c583 default: return luaL_error(L, "wrong number of arguments"); in math_random()
/netbsd-src/external/bsd/lutok/dist/
H A Dstate.cpp158 return luaL_error(raw_state, "%s", error_buf); in call_cxx_function_from_c()