HomeSort by: relevance | last modified time | path
    Searched refs:luaL_argcheck (Results 1 - 9 of 9) sorted by relevancy

  /src/external/mit/lua/dist/src/
lutf8lib.c 107 luaL_argcheck(L, 1 <= posi && --posi <= (lua_Integer)len, 2,
109 luaL_argcheck(L, --posj < (lua_Integer)len, 3,
138 luaL_argcheck(L, posi >= 1, 2, "out of bounds");
139 luaL_argcheck(L, pose <= (lua_Integer)len, 3, "out of bounds");
161 luaL_argcheck(L, code <= MAXUTF, arg, "value out of range");
197 luaL_argcheck(L, 1 <= posi && --posi <= (lua_Integer)len, 3,
265 luaL_argcheck(L, !iscontp(s), 1, MSGInvalid);
ltablib.c 78 luaL_argcheck(L, (lua_Unsigned)pos - 1u < (lua_Unsigned)e, 2,
100 luaL_argcheck(L, (lua_Unsigned)pos - 1u <= (lua_Unsigned)size, 2,
128 luaL_argcheck(L, f > 0 || e < LUA_MAXINTEGER + f, 3,
131 luaL_argcheck(L, t <= LUA_MAXINTEGER - n + 1, 4,
406 luaL_argcheck(L, n < INT_MAX, 1, "array too big");
ldblib.c 159 luaL_argcheck(L, options[0] != '>', arg + 2, "invalid option '>'");
295 luaL_argcheck(L, id != NULL, argnup, "invalid upvalue index");
316 luaL_argcheck(L, !lua_iscfunction(L, 1), 1, "Lua function expected");
317 luaL_argcheck(L, !lua_iscfunction(L, 3), 3, "Lua function expected");
lstrlib.c 206 luaL_argcheck(L, c <= (lua_Unsigned)UCHAR_MAX, i, "value out of range");
1371 luaL_argcheck(L, l == strlen(s), arg, "string contains zeros");
1648 luaL_argcheck(L, -lim <= n && n < lim, arg, "integer overflow");
1656 luaL_argcheck(L, (lua_Unsigned)n < ((lua_Unsigned)1 << (size * NB)),
1690 luaL_argcheck(L, len <= (size_t)size, arg,
1700 luaL_argcheck(L, size >= (int)sizeof(size_t) ||
1711 luaL_argcheck(L, strlen(s) == len, arg, "string contains zeros");
1736 luaL_argcheck(L, opt != Kstring && opt != Kzstr, 1,
1739 luaL_argcheck(L, totalsize <= MAXSIZE - size, 1,
1789 luaL_argcheck(L, pos <= ld, 3, "initial position out of string")
    [all...]
lbaselib.c 107 luaL_argcheck(L, 2 <= base && base <= 36, 2, "base out of range");
265 luaL_argcheck(L, t != LUA_TNONE, 1, "value expected");
456 luaL_argcheck(L, 1 <= i, 1, "index out of range");
liolib.c 276 luaL_argcheck(L, l_checkmode(md), 2, "invalid mode");
296 luaL_argcheck(L, l_checkmodep(mode), 2, "invalid mode");
367 luaL_argcheck(L, n <= MAXARGLINE, MAXARGLINE + 2, "too many arguments");
706 luaL_argcheck(L, (lua_Integer)offset == p3, 3,
lmathlib.c 123 luaL_argcheck(L, d != 0, 2, "zero");
212 luaL_argcheck(L, n >= 1, 1, "value expected");
226 luaL_argcheck(L, n >= 1, 1, "value expected");
586 luaL_argcheck(L, low <= up, 1, "interval is empty");
lauxlib.h 146 #define luaL_argcheck(L, cond,arg,extramsg) \
loslib.c 295 luaL_argcheck(L, (time_t)t == t, arg, "time out-of-bounds");

Completed in 18 milliseconds