Home
last modified time | relevance | path

Searched refs:src_len (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/bionic/
D__strcpy_chk.cpp48 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.cpp48 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.cpp65 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.cpp65 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/
Dwchar_test.cpp491 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/
Dfib_rules.h36 __u8 src_len; member