Home
last modified time | relevance | path

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

/redis-3.2.3/deps/lua/src/
H A Dlstrlib.c117 luaL_error(L, "string slice too long"); in str_byte()
153 luaL_error(L, "unable to dump given function"); in str_dump()
189 return luaL_error(ms->L, "invalid capture index"); in check_capture()
198 return luaL_error(ms->L, "invalid pattern capture"); in capture_to_close()
284 luaL_error(ms->L, "unbalanced pattern"); in matchbalance()
388 luaL_error(ms->L, "missing " LUA_QL("[") " after " in match()
472 luaL_error(ms->L, "invalid capture index"); in push_onecapture()
476 if (l == CAP_UNFINISHED) luaL_error(ms->L, "unfinished capture"); in push_onecapture()
585 return luaL_error(L, LUA_QL("string.gfind") " was renamed to " in gfind_nodef()
729 luaL_error(L, "invalid format (repeated flags)"); in scanformat()
[all …]
H A Dlbaselib.c42 return luaL_error(L, LUA_QL("tostring") " must return a string to " in luaB_print()
110 luaL_error(L, "cannot change a protected metatable"); in luaB_setmetatable()
127 luaL_error(L, "no function environment for tail call at level %d", in getfunc()
155 luaL_error(L, in luaB_setfenv()
310 else luaL_error(L, "reader function must return a string"); in generic_reader()
337 return luaL_error(L, "%s", luaL_optstring(L, 2, "assertion failed!")); in luaB_assert()
350 return luaL_error(L, "too many results to unpack"); in luaB_unpack()
521 luaL_error(L, "too many arguments to resume"); in auxresume()
532 luaL_error(L, "too many results to resume"); in auxresume()
H A Dltablib.c83 luaL_error(L, LUA_QL("setn") " is obsolete"); in setn()
109 return luaL_error(L, "wrong number of arguments to " LUA_QL("insert")); in tinsert()
138 luaL_error(L, "invalid value (%s) at index %d in table for " in addfield()
227 if (i>u) luaL_error(L, "invalid order function for sorting"); in auxsort()
232 if (j<l) luaL_error(L, "invalid order function for sorting"); in auxsort()
H A Dloadlib.c103 luaL_error(L, "unable to get ModuleFileName"); in setprogdir()
358 luaL_error(L, LUA_QL("package.%s") " must be a string", pname); in findfile()
375 luaL_error(L, "error loading module " LUA_QS " from file " LUA_QS ":\n\t%s", in loaderror()
439 luaL_error(L, LUA_QL("package.preload") " must be a table"); in loader_preload()
459 luaL_error(L, "loop or previous error loading module " LUA_QS, name); in ll_require()
465 luaL_error(L, LUA_QL("package.loaders") " must be a table"); in ll_require()
470 luaL_error(L, "module " LUA_QS " not found:%s", in ll_require()
512 luaL_error(L, LUA_QL("module") " not called from a Lua function"); in setfenv()
553 return luaL_error(L, "name conflict for module " LUA_QS, modname); in ll_module()
H A Dlua_struct.c99 luaL_error(L, "integral size overflow"); in getnum()
124 luaL_error(L, "integral size %d is larger than limit of %d", in optsize()
157 luaL_error(L, "alignment %d is not a power of 2", a); in controloptions()
335 luaL_error(L, "format `c0' needs a previous size"); in b_unpack()
346 luaL_error(L, "unfinished string in data"); in b_unpack()
H A Dlauxlib.c46 return luaL_error(L, "bad argument #%d (%s)", narg, extramsg); in luaL_argerror()
51 return luaL_error(L, "calling " LUA_QS " on bad self (%s)", in luaL_argerror()
56 return luaL_error(L, "bad argument #%d to " LUA_QS " (%s)", in luaL_argerror()
86 LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) { in luaL_error() function
142 luaL_error(L, "stack overflow (%s)", mes); in luaL_checkstack()
253 luaL_error(L, "name conflict for module " LUA_QS, libname); in luaI_openlib()
H A Dlua_cjson.c200 luaL_error(l, "BUG: Unable to fetch CJSON configuration"); in json_fetch_config()
331 luaL_error(l, "Infinity, NaN, and/or hexadecimal numbers are not supported."); in json_verify_invalid_number_setting()
453 luaL_error(l, "Cannot serialise %s: %s", in json_encode_exception()
555 luaL_error(l, "Cannot serialise, excessive nesting (%d)", in json_check_encode_depth()
1112 luaL_error(l, "Expected %s but found %s at character %d", in json_throw_parse_error()
1131 luaL_error(l, "Found too many nested data structures (%d) at character %d", in json_decode_descend()
1272 luaL_error(l, "JSON parser does not support UTF-16 or UTF-32"); in json_decode()
1340 return luaL_error(l, "Memory allocation error in CJSON protected call"); in json_protect_conversion()
H A Dliolib.c75 luaL_error(L, "attempt to use a closed file"); in tofile()
195 luaL_error(L, "standard %s file is closed", fnames[findex - 1]); in getiofile()
395 luaL_error(L, "file is already closed"); in io_readline()
398 return luaL_error(L, "%s", strerror(errno)); in io_readline()
H A Dloslib.c62 return luaL_error(L, "unable to generate a unique filename"); in os_tmpname()
116 return luaL_error(L, "field " LUA_QS " missing in date table", key); in getfield()
H A Dlua_cmsgpack.c796 return luaL_error(L, in mp_unpack_full()
800 return luaL_error(L, in mp_unpack_full()
813 return luaL_error(L,"Missing bytes in input."); in mp_unpack_full()
815 return luaL_error(L,"Bad data format in input."); in mp_unpack_full()
H A Dlua_bit.c180 luaL_error(L, "bit library self-test failed (%s)", msg); in luaopen_bit()
H A Dlmathlib.c203 default: return luaL_error(L, "wrong number of arguments"); in math_random()
H A Dlauxlib.h69 LUALIB_API int (luaL_error) (lua_State *L, const char *fmt, ...); variable
H A Dluaconf.h681 luaL_error(L, LUA_QL("popen") " not supported"), (FILE*)0)
H A Dlua.c31 luaL_error(L, "interrupted!"); in lstop()
H A Dldblib.c58 luaL_error(L, LUA_QL("setfenv") in db_setfenv()
/redis-3.2.3/src/
H A Dscripting.c1122 default: return luaL_error(L, "wrong number of arguments"); in redis_math_random()