Searched refs:strncpy (Results 1 – 17 of 17) sorted by relevance
/bionic/libc/bionic/ |
D | __strncpy_chk.cpp | 52 return strncpy(dest, src, len); in __strncpy_chk()
|
D | if_nametoindex.c | 47 strncpy(ifr.ifr_name, ifname, IFNAMSIZ); in if_nametoindex()
|
D | if_indextoname.c | 54 ret = strncpy (ifname, ifr.ifr_name, IFNAMSIZ); in if_indextoname()
|
/bionic/libc/string/ |
D | strncpy.c | 46 strncpy(char *dst, const char *src, size_t n) in strncpy() function
|
/bionic/libc/netbsd/resolv/ |
D | res_init.c | 238 (void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 296 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 312 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 562 strncpy(ext->nsuffix, cp, (size_t)i); in res_setoptions() 570 strncpy(ext->nsuffix2, cp, (size_t)i); in res_setoptions() 802 strncpy(statp->iface, iface, len - 1); in res_setiface()
|
D | res_query.c | 396 strncpy(nbuf, name, (size_t)n); in res_nquerydomain()
|
D | res_cache.c | 1901 strncpy(cache_info->ifname, ifname, len - 1); in _get_res_cache_for_iface_locked() 2072 strncpy(_res_default_ifname, ifname, size - 1); in _resolv_set_default_iface() 2221 strncpy(addr, ns, len); in _get_nameserver_locked() 2357 strncpy(pidiface_info->ifname, ifname, len - 1); in _resolv_set_iface_for_pid() 2402 strncpy(buff, pidiface_info->ifname, len); in _resolv_get_pids_associated_interface() 2438 strncpy(buff, ifname, len); in _resolv_get_default_iface()
|
D | res_send.c | 1264 strncpy(hbuf, "?", sizeof(hbuf) - 1); in Aerror() 1266 strncpy(sbuf, "?", sizeof(sbuf) - 1); in Aerror()
|
D | res_debug.c | 690 strncpy(buf, ret, size - 1); in p_sockun()
|
/bionic/libc/include/ |
D | string.h | 72 extern char* strncpy(char *, const char *, size_t); 123 char *strncpy(char *dest, const char *src, size_t n) { in strncpy() function
|
/bionic/libstdc++/include/ |
D | cstring | 59 using ::strncpy;
|
/bionic/tests/ |
D | string_test.cpp | 423 strncpy(state.ptr + state.MAX_LEN - 1, state.ptr1, std::min(actual, pos)); in TEST() 469 TEST(string, strncpy) { in TEST() argument 490 ASSERT_TRUE(strncpy(state.ptr2, state.ptr1, state.MAX_LEN) == state.ptr2); in TEST()
|
/bionic/libc/netbsd/net/ |
D | getnameinfo.c | 170 if (nameBuf) strncpy(nameBuf, hostResult->h_name, nameBufLen); in android_gethostbyaddr_proxy()
|
D | getaddrinfo.c | 2425 strncpy(nbuf, name, n); in res_querydomainN()
|
/bionic/libc/netbsd/ |
D | gethnamaddr.c | 680 strncpy(rs->hostbuf, name, MAXDNAME); in gethostbyname_internal_real() 714 strncpy(rs->hostbuf, name, MAXDNAME); in gethostbyname_internal_real()
|
/bionic/libc/tzcode/ |
D | localtime.c | 1183 (void) strncpy(cp, stdname, stdlen); 1187 (void) strncpy(cp, dstname, dstlen);
|
/bionic/libc/ |
D | Android.mk | 106 string/strncpy.c \
|