/freebsd-12-stable/libexec/flua/modules/ |
H A D | lposix.c | 52 luaL_argcheck(L, n == 2, n > 2 ? 3 : n, 72 luaL_argcheck(L, n == 0, 1, "too many arguments");
|
H A D | lfs.c | 154 luaL_argcheck(L, dp != NULL, 1, "closed directory");
|
/freebsd-12-stable/contrib/lua/src/ |
H A D | lutf8lib.c | 77 luaL_argcheck(L, 1 <= posi && --posi <= (lua_Integer)len, 2, 79 luaL_argcheck(L, --posj < (lua_Integer)len, 3, 107 luaL_argcheck(L, posi >= 1, 2, "out of range"); 108 luaL_argcheck(L, pose <= (lua_Integer)len, 3, "out of range"); 130 luaL_argcheck(L, 0 <= code && code <= MAXUNICODE, arg, "value out of range"); 166 luaL_argcheck(L, 1 <= posi && --posi <= (lua_Integer)len, 3,
|
H A D | lmathlib.c | 131 luaL_argcheck(L, d != 0, 2, "zero"); 219 luaL_argcheck(L, n >= 1, 1, "value expected"); 233 luaL_argcheck(L, n >= 1, 1, "value expected"); 268 luaL_argcheck(L, low <= up, 1, "interval is empty"); 269 luaL_argcheck(L, low >= 0 || up <= LUA_MAXINTEGER + low, 1,
|
H A D | lbaselib.c | 91 luaL_argcheck(L, 2 <= base && base <= 36, 2, "base out of range"); 128 luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, 148 luaL_argcheck(L, t == LUA_TTABLE || t == LUA_TSTRING, 1, 203 luaL_argcheck(L, t != LUA_TNONE, 1, "value expected"); 395 luaL_argcheck(L, 1 <= i, 1, "index out of range");
|
H A D | ltablib.c | 90 luaL_argcheck(L, 1 <= pos && pos <= e, 2, "position out of bounds"); 110 luaL_argcheck(L, 1 <= pos && pos <= size + 1, 1, "position out of bounds"); 137 luaL_argcheck(L, f > 0 || e < LUA_MAXINTEGER + f, 3, 140 luaL_argcheck(L, t <= LUA_MAXINTEGER - n + 1, 4, 414 luaL_argcheck(L, n < INT_MAX, 1, "array too big");
|
H A D | lcorolib.c | 23 luaL_argcheck(L, co, 1, "thread expected");
|
H A D | ldblib.c | 58 luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, 278 luaL_argcheck(L, (lua_getupvalue(L, argf, nup) != NULL), argnup, 294 luaL_argcheck(L, !lua_iscfunction(L, 1), 1, "Lua function expected"); 295 luaL_argcheck(L, !lua_iscfunction(L, 3), 3, "Lua function expected");
|
H A D | lbitlib.c | 171 luaL_argcheck(L, 0 <= f, farg, "field cannot be negative"); 172 luaL_argcheck(L, 0 < w, farg + 1, "width must be positive");
|
H A D | liolib.c | 261 luaL_argcheck(L, l_checkmode(md), 2, "invalid mode"); 280 luaL_argcheck(L, ((mode[0] == 'r' || mode[0] == 'w') && mode[1] == '\0'), 343 luaL_argcheck(L, n <= MAXARGLINE, MAXARGLINE + 2, "too many arguments"); 665 luaL_argcheck(L, (lua_Integer)offset == p3, 3,
|
H A D | lstrlib.c | 174 luaL_argcheck(L, uchar(c) == c, i, "value out of range"); 773 luaL_argcheck(L, tr == LUA_TNUMBER || tr == LUA_TSTRING || 1075 luaL_argcheck(L, l == strlen(s), arg, "string contains zeros"); 1364 luaL_argcheck(L, -lim <= n && n < lim, arg, "integer overflow"); 1372 luaL_argcheck(L, (lua_Unsigned)n < ((lua_Unsigned)1 << (size * NB)), 1396 luaL_argcheck(L, len <= (size_t)size, arg, 1406 luaL_argcheck(L, size >= (int)sizeof(size_t) || 1417 luaL_argcheck(L, strlen(s) == len, arg, "string contains zeros"); 1443 luaL_argcheck(L, totalsize <= MAXSIZE - size, 1, 1500 luaL_argcheck( [all...] |
H A D | lauxlib.h | 122 #define luaL_argcheck(L, cond,arg,extramsg) \ macro
|
H A D | loslib.c | 71 luaL_argcheck(L, (time_t)t == t, arg, "time out-of-bounds");
|
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/ |
H A D | lcorolib.c | 51 luaL_argcheck(L, co, 1, "coroutine expected"); 105 luaL_argcheck(L, co, 1, "coroutine expected");
|
H A D | lbaselib.c | 52 luaL_argcheck(L, 2 <= base && base <= 36, 2, "base out of range"); 103 luaL_argcheck(L, t == LUA_TNIL || t == LUA_TTABLE, 2, 123 luaL_argcheck(L, t == LUA_TTABLE || t == LUA_TSTRING, 1, 250 luaL_argcheck(L, 1 <= i, 1, "index out of range");
|
H A D | lbitlib.c | 158 luaL_argcheck(L, 0 <= f, farg, "field cannot be negative"); 159 luaL_argcheck(L, 0 < w, farg + 1, "width must be positive");
|
H A D | ltablib.c | 52 luaL_argcheck(L, 1 <= pos && pos <= e, 2, "position out of bounds"); 72 luaL_argcheck(L, 1 <= pos && pos <= size + 1, 1, "position out of bounds");
|
H A D | lauxlib.h | 102 #define luaL_argcheck(L, cond,numarg,extramsg) \ macro
|
H A D | lstrlib.c | 188 luaL_argcheck(L, uchar(c) == c, i, "value out of range"); 774 luaL_argcheck(L, tr == LUA_TNUMBER || tr == LUA_TSTRING || 950 luaL_argcheck(L, -1 < diff && diff < 1, arg, 960 luaL_argcheck(L, -1 < diff && diff < 1, arg,
|