/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | strncpy.c | 42 strncpy(char *dst, const char *src, size_t n) in strncpy() function 59 DEF_STRONG(strncpy);
|
/bionic/libc/arch-x86_64/string/ |
D | sse2-strncpy-slm.S | 32 #define STRCPY strncpy
|
/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 | 357 return strncpy(dst, src, len); in __strncpy_chk()
|
/bionic/libc/arch-x86/ |
D | static_function_dispatch.S | 42 FUNCTION_DELEGATE(strncpy, strncpy_generic)
|
D | dynamic_function_dispatch.cpp | 89 DEFINE_IFUNC_FOR(strncpy) { in DEFINE_IFUNC_FOR() argument
|
/bionic/tests/headers/posix/ |
D | string_h.c | 60 FUNCTION(strncpy, char* (*f)(char*, const char*, size_t)); in string_h()
|
/bionic/tests/ |
D | fortify_test.cpp | 77 ASSERT_FORTIFY(strncpy(myfoo.a, "01234567890", copy_amt)); in TEST_F() 84 ASSERT_FORTIFY(strncpy(myfoo.b, myfoo.one, sizeof(myfoo.b))); in TEST_F() 260 strncpy(myfoo.a, "012345678", n); in TEST_F() 479 strncpy(buf, "012345678", n); in TEST_F() 539 ASSERT_FORTIFY(strncpy(bufb, bufa, n)); in TEST_F() 547 ASSERT_FORTIFY(strncpy(dest, src, sizeof(dest))); in TEST_F() 871 TEST(TEST_NAME, strncpy) { in TEST() argument 875 strncpy(dst, src, sizeof(dst)); in TEST() 892 strncpy(dst, src, sizeof(dst)); in TEST()
|
D | fortify_filecheck_diagnostics_test.cpp | 119 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 | 1303 strncpy(hbuf, "?", sizeof(hbuf) - 1); in Aerror() 1305 strncpy(sbuf, "?", sizeof(sbuf) - 1); in Aerror()
|
D | res_debug.c | 744 strncpy(buf, ret, size - 1); in p_sockun()
|
/bionic/libc/include/bits/fortify/ |
D | string.h | 143 char* strncpy(char* const dst __pass_object_size, const char* const src __pass_object_size, size_t … in strncpy() function
|
/bionic/libc/include/ |
D | string.h | 107 char* strncpy(char* __dst, const char* __src, size_t __n);
|
/bionic/libc/ |
D | Android.bp | 545 "upstream-openbsd/lib/libc/string/strncpy.c", 587 "upstream-openbsd/lib/libc/string/strncpy.c", 602 "upstream-openbsd/lib/libc/string/strncpy.c", 919 "arch-x86/silvermont/string/sse2-strncpy-slm.S", 949 "arch-x86/atom/string/ssse3-strncpy-atom.S", 969 "arch-x86_64/string/sse2-strncpy-slm.S",
|
D | libc.map.txt | 1020 strncpy;
|
/bionic/libc/tools/ |
D | posix-2013.txt | 1012 strncpy
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 2455 strncpy(nbuf, name, n); in res_querydomainN()
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 1020 strncpy;
|