Searched refs:luaL_argcheck (Results 1 – 9 of 9) sorted by relevance
| /redis-3.2.3/deps/lua/src/ |
| H A D | lbaselib.c | 66 luaL_argcheck(L, 2 <= base && base <= 36, 2, "base out of range"); in luaB_tonumber() 107 luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, in luaB_setmetatable() 122 luaL_argcheck(L, level >= 0, 1, "level must be non-negative"); in getfunc() 368 luaL_argcheck(L, 1 <= i, 1, "index out of range"); in luaB_select() 439 luaL_argcheck(L, validproxy, 1, "boolean or proxy expected"); in luaB_newproxy() 512 luaL_argcheck(L, co, 1, "coroutine expected"); in luaB_costatus() 546 luaL_argcheck(L, co, 1, "coroutine expected"); in luaB_coresume() 578 luaL_argcheck(L, lua_isfunction(L, 1) && !lua_iscfunction(L, 1), 1, in luaB_cocreate()
|
| H A D | lua_struct.c | 249 luaL_argcheck(L, l >= (size_t)size, arg, "string too short"); in b_pack() 305 luaL_argcheck(L, pos+size <= ld, 2, "data string too short"); in b_unpack() 338 luaL_argcheck(L, pos+size <= ld, 2, "data string too short"); in b_unpack()
|
| H A D | lmathlib.c | 192 luaL_argcheck(L, 1<=u, 1, "interval is empty"); in math_random() 199 luaL_argcheck(L, l<=u, 2, "interval is empty"); in math_random()
|
| H A D | lua_cjson.c | 210 luaL_argcheck(l, lua_gettop(l) <= args, args + 1, in json_arg_init() 229 luaL_argcheck(l, min <= value && value <= max, 1, errmsg); in json_integer_option() 711 luaL_argcheck(l, lua_gettop(l) == 1, 1, "expected 1 argument"); in json_encode() 1259 luaL_argcheck(l, lua_gettop(l) == 1, 1, "expected 1 argument"); in json_decode() 1323 luaL_argcheck(l, lua_gettop(l) == 1, 1, "expected 1 argument"); in json_protect_conversion()
|
| H A D | lauxlib.h | 100 #define luaL_argcheck(L, cond,numarg,extramsg) \ macro
|
| H A D | ldblib.c | 39 luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, in db_setmetatable()
|
| H A D | lstrlib.c | 132 luaL_argcheck(L, uchar(c) == c, i, "invalid value"); in str_char() 654 luaL_argcheck(L, tr == LUA_TNUMBER || tr == LUA_TSTRING || in str_gsub()
|
| H A D | liolib.c | 353 luaL_argcheck(L, p && p[0] == '*', n, "invalid option"); in g_read()
|
| /redis-3.2.3/src/ |
| H A D | scripting.c | 1111 luaL_argcheck(L, 1<=u, 1, "interval is empty"); in redis_math_random() 1118 luaL_argcheck(L, l<=u, 2, "interval is empty"); in redis_math_random()
|