Lines Matching refs:dst_len
132 extern "C" void* __memmove_chk(void* dst, const void* src, size_t len, size_t dst_len) { in __memmove_chk() argument
133 __check_buffer_access("memmove", "write into", len, dst_len); in __memmove_chk()
139 extern "C" void* __memcpy_chk_fail(void* /*dst*/, const void* /*src*/, size_t count, size_t dst_len… in __memcpy_chk_fail() argument
141 __check_buffer_access("memcpy", "write into", count, dst_len); in __memcpy_chk_fail()
152 extern "C" void* __memset_chk_fail(void* /*dst*/, int /*byte*/, size_t count, size_t dst_len) { in __memset_chk_fail() argument
154 __check_buffer_access("memset", "write into", count, dst_len); in __memset_chk_fail()
233 extern "C" char* __stpcpy_chk(char* dst, const char* src, size_t dst_len) { in __stpcpy_chk() argument
236 __check_buffer_access("stpcpy", "write into", src_len, dst_len); in __stpcpy_chk()
241 extern "C" char* __stpncpy_chk(char* dst, const char* src, size_t len, size_t dst_len) { in __stpncpy_chk() argument
242 __check_buffer_access("stpncpy", "write into", len, dst_len); in __stpncpy_chk()
250 char* __stpncpy_chk2(char* dst, const char* src, size_t n, size_t dst_len, size_t src_len) { in __stpncpy_chk2() argument
251 __check_buffer_access("stpncpy", "write into", n, dst_len); in __stpncpy_chk2()
330 size_t dst_len = __strlen_chk(dst, dst_buf_size); in __strncat_chk() local
331 char* d = dst + dst_len; in __strncat_chk()
332 dst_buf_size -= dst_len; in __strncat_chk()
352 extern "C" char* __strncpy_chk(char* dst, const char* src, size_t len, size_t dst_len) { in __strncpy_chk() argument
353 __check_buffer_access("strncpy", "write into", len, dst_len); in __strncpy_chk()
361 char* __strncpy_chk2(char* dst, const char* src, size_t n, size_t dst_len, size_t src_len) { in __strncpy_chk2() argument
362 __check_buffer_access("strncpy", "write into", n, dst_len); in __strncpy_chk2()
463 size_t dst_len = __strlen_chk(dst, dst_buf_size); in __STRCAT_CHK() local
465 dst += dst_len; in __STRCAT_CHK()
466 dst_buf_size -= dst_len; in __STRCAT_CHK()
485 extern "C" char* __STRCPY_CHK(char* dst, const char* src, size_t dst_len) { in __STRCPY_CHK() argument
488 __check_buffer_access("strcpy", "write into", src_len, dst_len); in __STRCPY_CHK()
494 extern "C" void* __memcpy_chk(void* dst, const void* src, size_t count, size_t dst_len) { in __memcpy_chk() argument
496 __check_buffer_access("memcpy", "write into", count, dst_len); in __memcpy_chk()
502 extern "C" void* __mempcpy_chk(void* dst, const void* src, size_t count, size_t dst_len) { in __mempcpy_chk() argument
504 __check_buffer_access("mempcpy", "write into", count, dst_len); in __mempcpy_chk()