Lines Matching refs:luaL_argcheck
201 luaL_argcheck(L, c <= (lua_Unsigned)UCHAR_MAX, i, "value out of range"); in str_char()
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(L, pos <= ld, 3, "initial position out of string");
1721 luaL_argcheck(L, (size_t)ntoalign + size <= ld - pos, 2,
1755 luaL_argcheck(L, len <= ld - pos - size, 2, "data string too short");
1762 luaL_argcheck(L, pos + len < ld, 2,