Lines Matching refs:luaL_argcheck
174 luaL_argcheck(L, uchar(c) == c, i, "value out of range"); in str_char()
773 luaL_argcheck(L, tr == LUA_TNUMBER || tr == LUA_TSTRING || in str_gsub()
1070 luaL_argcheck(L, l == strlen(s), arg, "string contains zeros"); in str_format()
1351 luaL_argcheck(L, -lim <= n && n < lim, arg, "integer overflow"); in str_pack()
1359 luaL_argcheck(L, (lua_Unsigned)n < ((lua_Unsigned)1 << (size * NB)), in str_pack()
1379 luaL_argcheck(L, len <= (size_t)size, arg, in str_pack()
1389 luaL_argcheck(L, size >= (int)sizeof(size_t) || in str_pack()
1400 luaL_argcheck(L, strlen(s) == len, arg, "string contains zeros"); in str_pack()
1426 luaL_argcheck(L, totalsize <= MAXSIZE - size, 1, in str_packsize()
1483 luaL_argcheck(L, pos <= ld, 3, "initial position out of string"); in str_unpack()
1518 luaL_argcheck(L, pos + len + size <= ld, 2, "data string too short"); in str_unpack()