Lines Matching refs:size
98 __fortify_fatal("fgets: buffer size %d < 0", supplied_size);
104 size_t __fread_chk(void* buf, size_t size, size_t count, FILE* stream, size_t buf_size) {
106 if (__predict_false(__size_mul_overflow(size, count, &total))) {
108 return fread(buf, size, count, stream);
111 return fread(buf, size, count, stream);
114 size_t __fwrite_chk(const void* buf, size_t size, size_t count, FILE* stream, size_t buf_size) {
116 if (__predict_false(__size_mul_overflow(size, count, &total))) {
118 return fwrite(buf, size, count, stream);
121 return fwrite(buf, size, count, stream);
204 ssize_t __readlinkat_chk(int dirfd, const char* path, char* buf, size_t size, size_t buf_size) {
205 __check_count("readlinkat", "size", size);
206 __check_buffer_access("readlinkat", "write into", size, buf_size);
207 return readlinkat(dirfd, path, buf, size);
210 ssize_t __readlink_chk(const char* path, char* buf, size_t size, size_t buf_size) {
211 __check_count("readlink", "size", size);
212 __check_buffer_access("readlink", "write into", size, buf_size);
213 return readlink(path, buf, size);