/bionic/libc/arch-x86_64/string/ |
D | sse2-strncpy-slm.S | 32 #define STRCPY strncpy
|
/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/upstream-openbsd/lib/libc/string/ |
D | strncpy.c | 42 strncpy(char *dst, const char *src, size_t n) __overloadable in strncpy() function
|
/bionic/libc/bionic/ |
D | getdomainname.cpp | 47 strncpy(name, uts.domainname, len); in getdomainname()
|
D | net_if.cpp | 58 return (rc == -1) ? nullptr : strncpy(ifname, ifr.ifr_name, IFNAMSIZ); in if_indextoname() 67 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in if_nametoindex()
|
D | fortify.cpp | 360 return strncpy(dst, src, len); in __strncpy_chk()
|
/bionic/tests/ |
D | fortify_test.cpp | 88 ASSERT_FORTIFY(strncpy(myfoo.a, "01234567890", copy_amt)); in TEST_F() 99 ASSERT_FORTIFY(strncpy(myfoo.b, myfoo.one, sizeof(myfoo.b))); in TEST_F() 301 strncpy(myfoo.a, "012345678", n); in TEST_F() 529 strncpy(buf, "012345678", n); in TEST_F() 589 ASSERT_FORTIFY(strncpy(bufb, bufa, n)); in TEST_F() 597 ASSERT_FORTIFY(strncpy(dest, src, sizeof(dest))); in TEST_F() 921 TEST(TEST_NAME, strncpy) { in TEST() argument 925 strncpy(dst, src, sizeof(dst)); in TEST() 942 strncpy(dst, src, sizeof(dst)); in TEST()
|
D | fortify_compilation_test.cpp | 120 strncpy(buf, "foobar", sizeof("foobar")); in test_strncpy()
|
D | string_test.cpp | 632 strncpy(state.ptr + state.MAX_LEN - 1, state.ptr1, std::min(actual, pos)); in TEST() 711 TEST(STRING_TEST, strncpy) { in TEST() argument
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 250 (void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 308 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 324 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 574 strncpy(ext->nsuffix, cp, (size_t)i); in res_setoptions() 582 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 | 1317 strncpy(hbuf, "?", sizeof(hbuf) - 1); in Aerror() 1319 strncpy(sbuf, "?", sizeof(sbuf) - 1); in Aerror()
|
D | res_debug.c | 744 strncpy(buf, ret, size - 1); in p_sockun()
|
/bionic/libc/include/ |
D | string.h | 114 char* strncpy(char* _Nonnull __restrict, const char* _Nonnull __restrict, size_t) 115 __overloadable __RENAME_CLANG(strncpy); 292 char* strncpy(char* __restrict const _Nonnull dst __pass_object_size, in strncpy() function 421 extern char* __strncpy_real(char* __restrict, const char*, size_t) __RENAME(strncpy); 494 char* strncpy(char* _Nonnull __restrict dst, const char* _Nonnull __restrict src, size_t n) { in strncpy() function
|
/bionic/libc/ |
D | Android.bp | 561 "upstream-openbsd/lib/libc/string/strncpy.c", 661 "upstream-openbsd/lib/libc/string/strncpy.c", 683 "upstream-openbsd/lib/libc/string/strncpy.c", 1136 "arch-x86/silvermont/string/sse2-strncpy-slm.S", 1160 "arch-x86/atom/string/ssse3-strncpy-atom.S", 1170 "arch-x86/silvermont/string/sse2-strncpy-slm.S", 1213 "arch-x86_64/string/sse2-strncpy-slm.S",
|
D | libc.mips64.map | 935 strncpy;
|
D | libc.arm64.map | 935 strncpy;
|
D | libc.x86_64.map | 935 strncpy;
|
D | libc.mips.map | 992 strncpy;
|
D | libc.x86.map | 990 strncpy;
|
D | libc.map.txt | 1019 strncpy;
|
D | libc.arm.map | 994 strncpy;
|
/bionic/libc/tools/ |
D | posix-2013.txt | 1012 strncpy
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 2434 strncpy(nbuf, name, n); in res_querydomainN()
|