Lines Matching defs:count
293 __errordecl(__fread_too_big_error, "fread called with size * count bigger than buffer");
294 __errordecl(__fread_overflow, "fread called with overflowing size * count");
298 __errordecl(__fwrite_too_big_error, "fwrite called with size * count bigger than buffer");
299 __errordecl(__fwrite_overflow, "fwrite called with overflowing size * count");
348 size_t fread(void * __restrict buf, size_t size, size_t count, FILE * __restrict stream) {
353 return __fread_real(buf, size, count, stream);
356 if (__builtin_constant_p(size) && __builtin_constant_p(count)) {
358 if (__size_mul_overflow(size, count, &total)) {
366 return __fread_real(buf, size, count, stream);
370 return __fread_chk(buf, size, count, stream, bos);
374 size_t fwrite(const void * __restrict buf, size_t size, size_t count, FILE * __restrict stream) {
379 return __fwrite_real(buf, size, count, stream);
382 if (__builtin_constant_p(size) && __builtin_constant_p(count)) {
384 if (__size_mul_overflow(size, count, &total)) {
392 return __fwrite_real(buf, size, count, stream);
396 return __fwrite_chk(buf, size, count, stream, bos);