Lines Matching refs:__n
53 extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag,
56 extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag,
62 __NTH (snprintf (char *__restrict __s, size_t __n, in __NTH() argument
65 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, in __NTH()
75 __NTH (vsnprintf (char *__restrict __s, size_t __n, in __NTH() argument
78 return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, in __NTH()
233 extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n,
236 (char *__restrict __s, int __n,
239 (char *__restrict __s, size_t __size, int __n,
245 fgets (char *__restrict __s, int __n, FILE *__restrict __stream) in fgets() argument
249 if (!__builtin_constant_p (__n) || __n <= 0) in fgets()
250 return __fgets_chk (__s, __bos (__s), __n, __stream); in fgets()
252 if ((size_t) __n > __bos (__s)) in fgets()
253 return __fgets_chk_warn (__s, __bos (__s), __n, __stream); in fgets()
255 return __fgets_alias (__s, __n, __stream); in fgets()
259 size_t __size, size_t __n,
263 size_t __n, FILE *__restrict __stream),
267 size_t __size, size_t __n,
274 fread (void *__restrict __ptr, size_t __size, size_t __n, in fread() argument
280 || !__builtin_constant_p (__n) in fread()
281 || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) in fread()
282 return __fread_chk (__ptr, __bos0 (__ptr), __size, __n, __stream); in fread()
284 if (__size * __n > __bos0 (__ptr)) in fread()
285 return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream); in fread()
287 return __fread_alias (__ptr, __size, __n, __stream); in fread()
292 int __n, FILE *__restrict __stream) __wur;
294 (char *__restrict __s, int __n,
297 (char *__restrict __s, size_t __size, int __n,
303 fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) in fgets_unlocked() argument
307 if (!__builtin_constant_p (__n) || __n <= 0) in fgets_unlocked()
308 return __fgets_unlocked_chk (__s, __bos (__s), __n, __stream); in fgets_unlocked()
310 if ((size_t) __n > __bos (__s)) in fgets_unlocked()
311 return __fgets_unlocked_chk_warn (__s, __bos (__s), __n, __stream); in fgets_unlocked()
313 return __fgets_unlocked_alias (__s, __n, __stream); in fgets_unlocked()
320 size_t __size, size_t __n,
324 size_t __n, FILE *__restrict __stream),
328 size_t __size, size_t __n,
335 fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, in fread_unlocked() argument
341 || !__builtin_constant_p (__n) in fread_unlocked()
342 || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) in fread_unlocked()
343 return __fread_unlocked_chk (__ptr, __bos0 (__ptr), __size, __n, in fread_unlocked()
346 if (__size * __n > __bos0 (__ptr)) in fread_unlocked()
347 return __fread_unlocked_chk_warn (__ptr, __bos0 (__ptr), __size, __n, in fread_unlocked()
353 && __builtin_constant_p (__n) in fread_unlocked()
354 && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2)) in fread_unlocked()
355 && __size * __n <= 8) in fread_unlocked()
357 size_t __cnt = __size * __n; in fread_unlocked()
372 return __fread_unlocked_alias (__ptr, __size, __n, __stream); in fread_unlocked()