Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dlbaselib.c66 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 Dlua_struct.c247 luaL_argcheck(L, l >= (size_t)size, arg, "string too short"); in b_pack()
297 luaL_argcheck(L, pos > 0, 3, "offset must be 1 or greater"); in b_unpack()
306 luaL_argcheck(L, size <= ld && pos <= ld - size, in b_unpack()
341 luaL_argcheck(L, size <= ld && pos <= ld - size, in b_unpack()
H A Dlmathlib.c192 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 Dlua_cjson.c210 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 Dlauxlib.h100 #define luaL_argcheck(L, cond,numarg,extramsg) \ macro
H A Dldblib.c39 luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, in db_setmetatable()
H A Dlstrlib.c132 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 Dliolib.c353 luaL_argcheck(L, p && p[0] == '*', n, "invalid option"); in g_read()
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dlbaselib.c46 luaL_argcheck(L, 2 <= base && base <= 36, 2, "base out of range"); in luaB_tonumber()
97 luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, in luaB_setmetatable()
117 luaL_argcheck(L, t == LUA_TTABLE || t == LUA_TSTRING, 1, in luaB_rawlen()
244 luaL_argcheck(L, 1 <= i, 1, "index out of range"); in luaB_select()
H A Dlcorolib.c50 luaL_argcheck(L, co, 1, "coroutine expected"); in luaB_coresume()
104 luaL_argcheck(L, co, 1, "coroutine expected"); in luaB_costatus()
H A Dltablib.c51 luaL_argcheck(L, 1 <= pos && pos <= e, 2, "position out of bounds"); in tinsert()
71 luaL_argcheck(L, 1 <= pos && pos <= size + 1, 1, "position out of bounds"); in tremove()
H A Dlstrlib.c169 luaL_argcheck(L, uchar(c) == c, i, "value out of range"); in str_char()
756 luaL_argcheck(L, tr == LUA_TNUMBER || tr == LUA_TSTRING || in str_gsub()
932 luaL_argcheck(L, -1 < diff && diff < 1, arg, in str_format()
942 luaL_argcheck(L, -1 < diff && diff < 1, arg, in str_format()
/f-stack/freebsd/contrib/openzfs/include/sys/lua/
H A Dlauxlib.h101 #define luaL_argcheck(L, cond,numarg,extramsg) \ macro
/f-stack/app/redis-5.0.5/src/
H A Dscripting.c1138 luaL_argcheck(L, 1<=u, 1, "interval is empty"); in redis_math_random()
1145 luaL_argcheck(L, l<=u, 2, "interval is empty"); in redis_math_random()