/bionic/libc/arch-x86/atom/string/ |
D | ssse3-strncpy-atom.S | 32 #define STRCPY strncpy
|
/bionic/libc/arch-x86/silvermont/string/ |
D | sse2-strncpy-slm.S | 32 #define STRCPY strncpy
|
/bionic/libc/arch-x86_64/string/ |
D | sse2-strncpy-slm.S | 32 #define STRCPY strncpy
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | strncpy.c | 42 strncpy(char *dst, const char *src, size_t n) in strncpy() function
|
/bionic/libc/bionic/ |
D | if_nametoindex.c | 47 strncpy(ifr.ifr_name, ifname, IFNAMSIZ); in if_nametoindex()
|
D | if_indextoname.c | 53 ret = strncpy (ifname, ifr.ifr_name, IFNAMSIZ); in if_indextoname()
|
D | __strncpy_chk.cpp | 53 return strncpy(dest, src, len); in __strncpy_chk()
|
/bionic/tests/ |
D | fortify_test.cpp | 91 ASSERT_EXIT(strncpy(myfoo.a, "01234567890", copy_amt), in TEST_F() 104 ASSERT_EXIT(strncpy(myfoo.b, myfoo.one, sizeof(myfoo.b)), in TEST_F() 332 strncpy(myfoo.a, "012345678", n); in TEST_F() 583 strncpy(buf, "012345678", n); in TEST_F() 644 ASSERT_EXIT(strncpy(bufb, bufa, n), testing::KilledBySignal(SIGABRT), ""); in TEST_F() 653 ASSERT_EXIT(strncpy(dest, src, sizeof(dest)), testing::KilledBySignal(SIGABRT), ""); in TEST_F() 914 TEST(TEST_NAME, strncpy) { in TEST() argument 918 strncpy(dst, src, sizeof(dst)); in TEST() 935 strncpy(dst, src, sizeof(dst)); in TEST()
|
D | string_test.cpp | 587 strncpy(state.ptr + state.MAX_LEN - 1, state.ptr1, std::min(actual, pos)); in TEST() 672 TEST(string, strncpy) { in TEST() argument
|
/bionic/libc/arch-arm64/ |
D | arm64.mk | 29 upstream-openbsd/lib/libc/string/strncpy.c \
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 249 (void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 307 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 323 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 573 strncpy(ext->nsuffix, cp, (size_t)i); in res_setoptions() 581 strncpy(ext->nsuffix2, cp, (size_t)i); in res_setoptions()
|
D | res_query.c | 406 strncpy(nbuf, name, (size_t)n); in res_nquerydomain()
|
D | res_send.c | 1282 strncpy(hbuf, "?", sizeof(hbuf) - 1); in Aerror() 1284 strncpy(sbuf, "?", sizeof(sbuf) - 1); in Aerror()
|
D | res_debug.c | 752 strncpy(buf, ret, size - 1); in p_sockun()
|
/bionic/libc/include/ |
D | string.h | 77 extern char* strncpy(char* __restrict, const char* __restrict, size_t); 146 char* strncpy(char* __restrict dest, const char* __restrict src, size_t n) { in strncpy() function
|
/bionic/libc/arch-x86/silvermont/ |
D | silvermont.mk | 11 arch-x86/silvermont/string/sse2-strncpy-slm.S \
|
/bionic/libc/arch-x86/atom/ |
D | atom.mk | 25 arch-x86/atom/string/ssse3-strncpy-atom.S \
|
/bionic/libc/arch-mips64/ |
D | mips64.mk | 43 upstream-openbsd/lib/libc/string/strncpy.c \
|
/bionic/libc/arch-x86_64/ |
D | x86_64.mk | 61 arch-x86_64/string/sse2-strncpy-slm.S \
|
/bionic/libstdc++/include/ |
D | cstring | 59 using ::strncpy;
|
/bionic/libc/arch-mips/ |
D | mips.mk | 59 upstream-openbsd/lib/libc/string/strncpy.c \
|
/bionic/libc/arch-arm/ |
D | arm.mk | 49 upstream-openbsd/lib/libc/string/strncpy.c \
|
/bionic/libc/arch-x86/generic/ |
D | generic.mk | 20 arch-x86/silvermont/string/sse2-strncpy-slm.S
|
/bionic/libc/dns/ |
D | gethnamaddr.c | 685 strncpy(rs->hostbuf, name, MAXDNAME); in gethostbyname_internal_real() 719 strncpy(rs->hostbuf, name, MAXDNAME); in gethostbyname_internal_real()
|
/bionic/libc/tzcode/ |
D | localtime.c | 1169 (void) strncpy(cp, stdname, stdlen); in tzparse() 1173 (void) strncpy(cp, dstname, dstlen); in tzparse()
|