Home
last modified time | relevance | path

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

12

/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/arch-x86_64/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/bionic/
Dif_nametoindex.c47 strncpy(ifr.ifr_name, ifname, IFNAMSIZ); in if_nametoindex()
Dif_indextoname.c53 ret = strncpy (ifname, ifr.ifr_name, IFNAMSIZ); in if_indextoname()
D__strncpy_chk.cpp53 return strncpy(dest, src, len); in __strncpy_chk()
/bionic/tests/
Dfortify_test.cpp91 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()
Dstring_test.cpp587 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/
Darm64.mk29 upstream-openbsd/lib/libc/string/strncpy.c \
/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.c1282 strncpy(hbuf, "?", sizeof(hbuf) - 1); in Aerror()
1284 strncpy(sbuf, "?", sizeof(sbuf) - 1); in Aerror()
Dres_debug.c752 strncpy(buf, ret, size - 1); in p_sockun()
/bionic/libc/include/
Dstring.h77 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/
Dsilvermont.mk11 arch-x86/silvermont/string/sse2-strncpy-slm.S \
/bionic/libc/arch-x86/atom/
Datom.mk25 arch-x86/atom/string/ssse3-strncpy-atom.S \
/bionic/libc/arch-mips64/
Dmips64.mk43 upstream-openbsd/lib/libc/string/strncpy.c \
/bionic/libc/arch-x86_64/
Dx86_64.mk61 arch-x86_64/string/sse2-strncpy-slm.S \
/bionic/libstdc++/include/
Dcstring59 using ::strncpy;
/bionic/libc/arch-mips/
Dmips.mk59 upstream-openbsd/lib/libc/string/strncpy.c \
/bionic/libc/arch-arm/
Darm.mk49 upstream-openbsd/lib/libc/string/strncpy.c \
/bionic/libc/arch-x86/generic/
Dgeneric.mk20 arch-x86/silvermont/string/sse2-strncpy-slm.S
/bionic/libc/dns/
Dgethnamaddr.c685 strncpy(rs->hostbuf, name, MAXDNAME); in gethostbyname_internal_real()
719 strncpy(rs->hostbuf, name, MAXDNAME); in gethostbyname_internal_real()
/bionic/libc/tzcode/
Dlocaltime.c1169 (void) strncpy(cp, stdname, stdlen); in tzparse()
1173 (void) strncpy(cp, dstname, dstlen); in tzparse()

12