Home
last modified time | relevance | path

Searched refs:strncpy (Results 1 – 25 of 33) sorted by relevance

12

/bionic/libc/malloc_debug/tests/
Dproperty_fake.cpp39 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/
Dsse2-strncpy-slm.S32 #define STRCPY strncpy
/bionic/libc/arch-x86/atom/string/
Dssse3-strncpy-atom.S32 #define STRCPY strncpy
/bionic/libc/arch-x86/silvermont/string/
Dsse2-strncpy-slm.S32 #define STRCPY strncpy
/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrncpy.c42 strncpy(char *dst, const char *src, size_t n) in strncpy() function
/bionic/libc/arch-x86/atom/
Datom.mk10 arch-x86/atom/string/ssse3-strncpy-atom.S \
24 arch-x86/silvermont/string/sse2-strncpy-slm.S \
/bionic/libc/bionic/
D__strncpy_chk.cpp53 return strncpy(dest, src, len); in __strncpy_chk()
Dnet_if.cpp58 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/
Dx86_64.mk17 upstream-openbsd/lib/libc/string/strncpy.c \
47 arch-x86_64/string/sse2-strncpy-slm.S \
/bionic/tests/
Dfortify_test.cpp88 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()
Dfortify_compilation_test.cpp120 strncpy(buf, "foobar", sizeof("foobar")); in test_strncpy()
Dstring_test.cpp632 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/
Dres_init.c249 (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()
Dres_query.c406 strncpy(nbuf, name, (size_t)n); in res_nquerydomain()
Dres_send.c1327 strncpy(hbuf, "?", sizeof(hbuf) - 1); in Aerror()
1329 strncpy(sbuf, "?", sizeof(sbuf) - 1); in Aerror()
Dres_debug.c744 strncpy(buf, ret, size - 1); in p_sockun()
/bionic/libc/arch-x86/
Dx86.mk26 arch-x86/silvermont/string/sse2-strncpy-slm.S
88 upstream-openbsd/lib/libc/string/strncpy.c \
/bionic/libstdc++/include/
Dcstring59 using ::strncpy;
/bionic/libc/include/
Dstring.h100 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/
DAndroid.bp620 "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",
Dlibc.mips64.map942 strncpy;
Dlibc.x86_64.map942 strncpy;
Dlibc.arm64.map942 strncpy;
Dlibc.x86.brillo.map998 strncpy;
/bionic/libc/tools/
Dposix-2013.txt1012 strncpy

12