Lines Matching refs:p_size

138 	size_t p_size = __member_size(p);  in strncpy()  local
140 if (__compiletime_lessthan(p_size, size)) in strncpy()
142 if (p_size < size) in strncpy()
150 size_t p_size = __member_size(p); in strcat() local
152 if (p_size == SIZE_MAX) in strcat()
154 if (strlcat(p, q, p_size) >= p_size) in strcat()
162 size_t p_size = __member_size(p); in strnlen() local
169 if (maxlen >= p_size) in strnlen()
174 ret = __real_strnlen(p, maxlen < p_size ? maxlen : p_size); in strnlen()
175 if (p_size <= ret && maxlen != ret) in strnlen()
192 size_t p_size = __member_size(p); in __fortify_strlen() local
195 if (p_size == SIZE_MAX) in __fortify_strlen()
197 ret = strnlen(p, p_size); in __fortify_strlen()
198 if (p_size <= ret) in __fortify_strlen()
207 size_t p_size = __member_size(p); in strlcpy() local
212 if (p_size == SIZE_MAX && q_size == SIZE_MAX) in strlcpy()
218 if (len >= p_size) in strlcpy()
222 if (len >= p_size) in strlcpy()
236 size_t p_size = __member_size(p); in strscpy() local
240 if (p_size == SIZE_MAX && q_size == SIZE_MAX) in strscpy()
247 if (__compiletime_lessthan(p_size, size)) in strscpy()
266 if (len > p_size) in strscpy()
282 size_t p_size = __member_size(p); in strncat() local
285 if (p_size == SIZE_MAX && q_size == SIZE_MAX) in strncat()
289 if (p_size < p_len + copy_len + 1) in strncat()
297 const size_t p_size, in fortify_memset_chk() argument
308 if (__compiletime_lessthan(p_size_field, p_size) && in fortify_memset_chk()
309 __compiletime_lessthan(p_size, size)) in fortify_memset_chk()
330 if (p_size != SIZE_MAX && p_size < size) in fortify_memset_chk()
334 #define __fortify_memset_chk(p, c, size, p_size, p_size_field) ({ \ argument
336 fortify_memset_chk(__fortify_size, p_size, p_size_field), \
381 const size_t p_size, in fortify_memcpy_chk() argument
395 if (__compiletime_lessthan(p_size_field, p_size) && in fortify_memcpy_chk()
396 __compiletime_lessthan(p_size, size)) in fortify_memcpy_chk()
429 if ((p_size != SIZE_MAX && p_size < size) || in fortify_memcpy_chk()
449 p_size != p_size_field && p_size_field < size) in fortify_memcpy_chk()
455 #define __fortify_memcpy_chk(p, q, size, p_size, q_size, \ argument
458 const size_t __p_size = (p_size); \
526 size_t p_size = __struct_size(p); in memscan() local
528 if (__compiletime_lessthan(p_size, size)) in memscan()
530 if (p_size < size) in memscan()
538 size_t p_size = __struct_size(p); in memcmp() local
542 if (__compiletime_lessthan(p_size, size)) in memcmp()
547 if (p_size < size || q_size < size) in memcmp()
555 size_t p_size = __struct_size(p); in memchr() local
557 if (__compiletime_lessthan(p_size, size)) in memchr()
559 if (p_size < size) in memchr()
567 size_t p_size = __struct_size(p); in memchr_inv() local
569 if (__compiletime_lessthan(p_size, size)) in memchr_inv()
571 if (p_size < size) in memchr_inv()
579 size_t p_size = __struct_size(p); in kmemdup() local
581 if (__compiletime_lessthan(p_size, size)) in kmemdup()
583 if (p_size < size) in kmemdup()
592 size_t p_size = __member_size(p); in strcpy() local
597 if (__builtin_constant_p(p_size) && in strcpy()
599 p_size == SIZE_MAX && q_size == SIZE_MAX) in strcpy()
603 if (__compiletime_lessthan(p_size, size)) in strcpy()
606 if (p_size < size) in strcpy()