Lines Matching refs:p_size
145 const size_t p_size = __member_size(p); in strncpy() local
147 if (__compiletime_lessthan(p_size, size)) in strncpy()
149 if (p_size < size) in strncpy()
167 const size_t p_size = __member_size(p); in strnlen() local
174 if (maxlen >= p_size) in strnlen()
179 ret = __real_strnlen(p, maxlen < p_size ? maxlen : p_size); in strnlen()
180 if (p_size <= ret && maxlen != ret) in strnlen()
209 const size_t p_size = __member_size(p); in __fortify_strlen() local
213 if (p_size == SIZE_MAX) in __fortify_strlen()
215 ret = strnlen(p, p_size); in __fortify_strlen()
216 if (p_size <= ret) in __fortify_strlen()
243 const size_t p_size = __member_size(p); in strlcpy() local
248 if (p_size == SIZE_MAX && q_size == SIZE_MAX) in strlcpy()
254 if (len >= p_size) in strlcpy()
258 if (len >= p_size) in strlcpy()
295 const size_t p_size = __member_size(p); in strscpy() local
300 if (p_size == SIZE_MAX && q_size == SIZE_MAX) in strscpy()
307 if (__compiletime_lessthan(p_size, size)) in strscpy()
311 if (__compiletime_lessthan(p_size, SIZE_MAX)) { in strscpy()
336 if (len > p_size) in strscpy()
376 const size_t p_size = __member_size(p); in strlcat() local
382 if (p_size == SIZE_MAX && q_size == SIZE_MAX) in strlcat()
394 if (p_size <= p_len) in strlcat()
403 if (p_size <= actual) in strlcat()
430 const size_t p_size = __member_size(p); in strcat() local
432 if (strlcat(p, q, p_size) >= p_size) in strcat()
460 const size_t p_size = __member_size(p); in strncat() local
464 if (p_size == SIZE_MAX && q_size == SIZE_MAX) in strncat()
468 if (p_size < p_len + copy_len + 1) in strncat()
476 const size_t p_size, in fortify_memset_chk() argument
487 if (__compiletime_lessthan(p_size_field, p_size) && in fortify_memset_chk()
488 __compiletime_lessthan(p_size, size)) in fortify_memset_chk()
509 if (p_size != SIZE_MAX && p_size < size) in fortify_memset_chk()
513 #define __fortify_memset_chk(p, c, size, p_size, p_size_field) ({ \ argument
515 fortify_memset_chk(__fortify_size, p_size, p_size_field), \
560 const size_t p_size, in fortify_memcpy_chk() argument
574 if (__compiletime_lessthan(p_size_field, p_size) && in fortify_memcpy_chk()
575 __compiletime_lessthan(p_size, size)) in fortify_memcpy_chk()
608 if ((p_size != SIZE_MAX && p_size < size) || in fortify_memcpy_chk()
628 p_size != p_size_field && p_size_field < size) in fortify_memcpy_chk()
634 #define __fortify_memcpy_chk(p, q, size, p_size, q_size, \ argument
637 const size_t __p_size = (p_size); \
705 const size_t p_size = __struct_size(p); in memscan() local
707 if (__compiletime_lessthan(p_size, size)) in memscan()
709 if (p_size < size) in memscan()
717 const size_t p_size = __struct_size(p); in memcmp() local
721 if (__compiletime_lessthan(p_size, size)) in memcmp()
726 if (p_size < size || q_size < size) in memcmp()
734 const size_t p_size = __struct_size(p); in memchr() local
736 if (__compiletime_lessthan(p_size, size)) in memchr()
738 if (p_size < size) in memchr()
746 const size_t p_size = __struct_size(p); in memchr_inv() local
748 if (__compiletime_lessthan(p_size, size)) in memchr_inv()
750 if (p_size < size) in memchr_inv()
759 const size_t p_size = __struct_size(p); in kmemdup() local
761 if (__compiletime_lessthan(p_size, size)) in kmemdup()
763 if (p_size < size) in kmemdup()
786 const size_t p_size = __member_size(p); in strcpy() local
791 if (__builtin_constant_p(p_size) && in strcpy()
793 p_size == SIZE_MAX && q_size == SIZE_MAX) in strcpy()
797 if (__compiletime_lessthan(p_size, size)) in strcpy()
800 if (p_size < size) in strcpy()