Lines Matching refs:luaL_argcheck
202 luaL_argcheck(L, c <= (lua_Unsigned)UCHAR_MAX, i, "value out of range"); in str_char()
1363 luaL_argcheck(L, l == strlen(s), arg, "string contains zeros");
1634 luaL_argcheck(L, -lim <= n && n < lim, arg, "integer overflow");
1642 luaL_argcheck(L, (lua_Unsigned)n < ((lua_Unsigned)1 << (size * NB)),
1678 luaL_argcheck(L, len <= (size_t)size, arg,
1688 luaL_argcheck(L, size >= (int)sizeof(size_t) ||
1699 luaL_argcheck(L, strlen(s) == len, arg, "string contains zeros");
1724 luaL_argcheck(L, opt != Kstring && opt != Kzstr, 1,
1727 luaL_argcheck(L, totalsize <= MAXSIZE - size, 1,
1777 luaL_argcheck(L, pos <= ld, 3, "initial position out of string");
1782 luaL_argcheck(L, (size_t)ntoalign + size <= ld - pos, 2,
1824 luaL_argcheck(L, len <= ld - pos - size, 2, "data string too short");
1831 luaL_argcheck(L, pos + len < ld, 2,