/bionic/libc/malloc_debug/tests/ |
D | property_fake.cpp | 39 strncpy(value, default_value, PROP_VALUE_MAX-1); in property_get() 41 strncpy(value, g_properties[key].c_str(), PROP_VALUE_MAX-1); in property_get() 51 strncpy(value, g_properties[key].c_str(), PROP_VALUE_MAX-1); in __system_property_get()
|
/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) in strncpy() function
|
/bionic/libc/arch-x86/atom/ |
D | atom.mk | 10 arch-x86/atom/string/ssse3-strncpy-atom.S \ 24 arch-x86/silvermont/string/sse2-strncpy-slm.S \
|
/bionic/libc/bionic/ |
D | __strncpy_chk.cpp | 53 return strncpy(dest, src, len); in __strncpy_chk()
|
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()
|
/bionic/libc/arch-x86_64/ |
D | x86_64.mk | 17 upstream-openbsd/lib/libc/string/strncpy.c \ 47 arch-x86_64/string/sse2-strncpy-slm.S \
|
/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() 583 ASSERT_FORTIFY(strncpy(bufb, bufa, n)); in TEST_F() 591 ASSERT_FORTIFY(strncpy(dest, src, sizeof(dest))); in TEST_F() 909 TEST(TEST_NAME, strncpy) { in TEST() argument 913 strncpy(dst, src, sizeof(dst)); in TEST() 930 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 | 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 | 1327 strncpy(hbuf, "?", sizeof(hbuf) - 1); in Aerror() 1329 strncpy(sbuf, "?", sizeof(sbuf) - 1); in Aerror()
|
D | res_debug.c | 744 strncpy(buf, ret, size - 1); in p_sockun()
|
/bionic/libc/arch-x86/ |
D | x86.mk | 26 arch-x86/silvermont/string/sse2-strncpy-slm.S 88 upstream-openbsd/lib/libc/string/strncpy.c \
|
/bionic/libstdc++/include/ |
D | cstring | 59 using ::strncpy;
|
/bionic/libc/include/ |
D | string.h | 100 extern char* strncpy(char* __restrict, const char* __restrict, size_t); 232 char* strncpy(char* __restrict dest, const char* __restrict src, size_t n) { in strncpy() function
|
/bionic/libc/ |
D | Android.bp | 620 "upstream-openbsd/lib/libc/string/strncpy.c", 711 "upstream-openbsd/lib/libc/string/strncpy.c", 733 "upstream-openbsd/lib/libc/string/strncpy.c", 1172 "arch-x86/silvermont/string/sse2-strncpy-slm.S", 1198 "arch-x86/atom/string/ssse3-strncpy-atom.S", 1210 "arch-x86/silvermont/string/sse2-strncpy-slm.S", 1253 "arch-x86_64/string/sse2-strncpy-slm.S",
|
D | libc.mips64.map | 942 strncpy;
|
D | libc.x86_64.map | 942 strncpy;
|
D | libc.arm64.map | 942 strncpy;
|
D | libc.x86.brillo.map | 998 strncpy;
|
/bionic/libc/tools/ |
D | posix-2013.txt | 1012 strncpy
|