Searched refs:luaL_argcheck (Results 1 - 17 of 17) sorted by relevance

/freebsd-13-stable/libexec/flua/modules/
H A Dlposix.c52 luaL_argcheck(L, n == 2, n > 2 ? 3 : n,
72 luaL_argcheck(L, n == 0, 1, "too many arguments");
H A Dlfs.c154 luaL_argcheck(L, dp != NULL, 1, "closed directory");
/freebsd-13-stable/contrib/lua/src/
H A Dlutf8lib.c99 luaL_argcheck(L, 1 <= posi && --posi <= (lua_Integer)len, 2,
101 luaL_argcheck(L, --posj < (lua_Integer)len, 3,
130 luaL_argcheck(L, posi >= 1, 2, "out of bounds");
131 luaL_argcheck(L, pose <= (lua_Integer)len, 3, "out of bounds");
153 luaL_argcheck(L, code <= MAXUTF, arg, "value out of range");
189 luaL_argcheck(L, 1 <= posi && --posi <= (lua_Integer)len, 3,
H A Dltablib.c73 luaL_argcheck(L, (lua_Unsigned)pos - 1u < (lua_Unsigned)e, 2,
95 luaL_argcheck(L, (lua_Unsigned)pos - 1u <= (lua_Unsigned)size, 1,
123 luaL_argcheck(L, f > 0 || e < LUA_MAXINTEGER + f, 3,
126 luaL_argcheck(L, t <= LUA_MAXINTEGER - n + 1, 4,
400 luaL_argcheck(L, n < INT_MAX, 1, "array too big");
H A Dlstrlib.c201 luaL_argcheck(L, c <= (lua_Unsigned)UCHAR_MAX, i, "value out of range");
1300 luaL_argcheck(L, l == strlen(s), arg, "string contains zeros");
1585 luaL_argcheck(L, -lim <= n && n < lim, arg, "integer overflow");
1593 luaL_argcheck(L, (lua_Unsigned)n < ((lua_Unsigned)1 << (size * NB)),
1617 luaL_argcheck(L, len <= (size_t)size, arg,
1627 luaL_argcheck(L, size >= (int)sizeof(size_t) ||
1638 luaL_argcheck(L, strlen(s) == len, arg, "string contains zeros");
1663 luaL_argcheck(L, opt != Kstring && opt != Kzstr, 1,
1666 luaL_argcheck(L, totalsize <= MAXSIZE - size, 1,
1716 luaL_argcheck(
[all...]
H A Dlbaselib.c103 luaL_argcheck(L, 2 <= base && base <= 36, 2, "base out of range");
245 luaL_argcheck(L, t != LUA_TNONE, 1, "value expected");
426 luaL_argcheck(L, 1 <= i, 1, "index out of range");
H A Dldblib.c290 luaL_argcheck(L, id != NULL, argnup, "invalid upvalue index");
311 luaL_argcheck(L, !lua_iscfunction(L, 1), 1, "Lua function expected");
312 luaL_argcheck(L, !lua_iscfunction(L, 3), 3, "Lua function expected");
H A Dliolib.c268 luaL_argcheck(L, l_checkmode(md), 2, "invalid mode");
288 luaL_argcheck(L, l_checkmodep(mode), 2, "invalid mode");
359 luaL_argcheck(L, n <= MAXARGLINE, MAXARGLINE + 2, "too many arguments");
697 luaL_argcheck(L, (lua_Integer)offset == p3, 3,
H A Dlmathlib.c121 luaL_argcheck(L, d != 0, 2, "zero");
209 luaL_argcheck(L, n >= 1, 1, "value expected");
223 luaL_argcheck(L, n >= 1, 1, "value expected");
583 luaL_argcheck(L, low <= up, 1, "interval is empty");
H A Dlauxlib.h132 #define luaL_argcheck(L, cond,arg,extramsg) \ macro
H A Dloslib.c295 luaL_argcheck(L, (time_t)t == t, arg, "time out-of-bounds");
/freebsd-13-stable/sys/contrib/openzfs/module/lua/
H A Dlcorolib.c50 luaL_argcheck(L, co, 1, "coroutine expected");
104 luaL_argcheck(L, co, 1, "coroutine expected");
H A Dlbaselib.c46 luaL_argcheck(L, 2 <= base && base <= 36, 2, "base out of range");
97 luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2,
117 luaL_argcheck(L, t == LUA_TTABLE || t == LUA_TSTRING, 1,
244 luaL_argcheck(L, 1 <= i, 1, "index out of range");
H A Dltablib.c51 luaL_argcheck(L, 1 <= pos && pos <= e, 2, "position out of bounds");
71 luaL_argcheck(L, 1 <= pos && pos <= size + 1, 1, "position out of bounds");
H A Dlstrlib.c169 luaL_argcheck(L, uchar(c) == c, i, "value out of range");
756 luaL_argcheck(L, tr == LUA_TNUMBER || tr == LUA_TSTRING ||
932 luaL_argcheck(L, -1 < diff && diff < 1, arg,
942 luaL_argcheck(L, -1 < diff && diff < 1, arg,
/freebsd-13-stable/lib/flua/libjail/
H A Dlua_jail.c112 luaL_argcheck(L, type == LUA_TSTRING || type == LUA_TNUMBER, 1,
231 luaL_argcheck(L, type == LUA_TSTRING || type == LUA_TNUMBER, 1,
/freebsd-13-stable/sys/contrib/openzfs/include/sys/lua/
H A Dlauxlib.h101 #define luaL_argcheck(L, cond,numarg,extramsg) \ macro

Completed in 65 milliseconds