Searched refs:src_len (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/bionic/ |
D | __strcpy_chk.cpp | 48 size_t src_len = strlen(src) + 1; in __strcpy_chk() local 49 if (__predict_false(src_len > dest_len)) { in __strcpy_chk()
|
D | __stpcpy_chk.cpp | 48 size_t src_len = strlen(src) + 1; in __stpcpy_chk() local 49 if (__predict_false(src_len > dest_len)) { in __stpcpy_chk()
|
D | __stpncpy_chk.cpp | 65 size_t n, size_t dest_len, size_t src_len) in __stpncpy_chk2() argument 86 if (__predict_false(s_copy_len > src_len)) { in __stpncpy_chk2()
|
D | __strncpy_chk.cpp | 65 size_t n, size_t dest_len, size_t src_len) in __strncpy_chk2() argument 86 if (__predict_false(s_copy_len > src_len)) { in __strncpy_chk2()
|
/bionic/tests/ |
D | wchar_test.cpp | 491 size_t src_len = NUM_WCHARS(sizeof(src)) - 1; in TEST() local 492 EXPECT_EQ(dst + src_len, wcpncpy(dst, src, src_len + 1)); in TEST() 500 EXPECT_EQ(dst + src_len, wcpncpy(dst, src, src_len + 4)); in TEST() 502 EXPECT_EQ(dst[src_len], L'\0'); in TEST() 503 EXPECT_EQ(dst[src_len+1], L'\0'); in TEST() 504 EXPECT_EQ(dst[src_len+2], L'\0'); in TEST() 505 EXPECT_EQ(dst[src_len+3], L'\0'); in TEST() 506 EXPECT_EQ(dst[src_len+4], L'x'); in TEST() 521 size_t src_len = NUM_WCHARS(sizeof(src)) - 1; in TEST() local 522 EXPECT_EQ(dst, wcsncpy(dst, src, src_len + 1)); in TEST() [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | fib_rules.h | 36 __u8 src_len; member
|