/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | strlcpy.c | 28 strlcpy(char *dst, const char *src, size_t dsize) in strlcpy() function 51 DEF_WEAK(strlcpy);
|
/bionic/libc/bionic/ |
D | __strlcpy_chk.cpp | 53 return strlcpy(dest, src, supplied_size); in __strlcpy_chk()
|
D | syslog.cpp | 90 size_t n = strlcpy(dst, strerror(caller_errno), dst_len); in vsyslog()
|
D | strerror_r.cpp | 58 length = strlcpy(buf, error_name, buf_len); in strerror_r()
|
D | system_properties.cpp | 544 strlcpy(addr.sun_path, property_service_socket, sizeof(addr.sun_path)); in send_prop_msg() 1156 strlcpy(msg.name, key, sizeof msg.name); in __system_property_set() 1157 strlcpy(msg.value, value, sizeof msg.value); in __system_property_set()
|
D | libc_logging.cpp | 478 strlcpy(u.addrUn.sun_path, "/dev/socket/logdw", sizeof(u.addrUn.sun_path)); in __libc_open_log_socket()
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | regerror.c | 186 (void)strlcpy(convbuf, r->name, sizeof convbuf); in regerror() 197 (void)strlcpy(errbuf, s, errbuf_size); in regerror()
|
/bionic/libc/dns/net/ |
D | getnameinfo.c | 154 strlcpy(host, sun->sun_path, in getnameinfo_local() 223 strlcpy(serv, sp->s_name, servlen); in getnameinfo_inet() 228 strlcpy(serv, numserv, servlen); in getnameinfo_inet() 302 strlcpy(host, numaddr, hostlen); in getnameinfo_inet() 324 strlcpy(host, hp->h_name, hostlen); in getnameinfo_inet() 370 strlcpy(host, numaddr, hostlen); in ip6_parsenumeric()
|
D | gethnamaddr.c | 321 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer() 342 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer() 469 strlcpy(bp, qname, (size_t)(ep - bp)); in getanswer() 581 strlcpy(proxy_addr.sun_path, "/dev/socket/dnsproxyd", sizeof(proxy_addr.sun_path)); in android_open_proxy()
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | realpath.c | 82 left_len = strlcpy(left, path + 1, sizeof(left)); in realpath() 94 left_len = strlcpy(left, path, sizeof(left)); in realpath() 219 left_len = strlcpy(left, symlink, sizeof(left)); in realpath()
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
D | utmp.c | 103 (void)strlcpy(utfile, fname, sizeof(utfile)); in utmpname()
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | inet_ntop.c | 83 strlcpy(dst, tmp, size); in inet_ntop4() 203 strlcpy(dst, tmp, size); in inet_ntop6()
|
/bionic/libc/arch-x86_64/ |
D | x86_64.mk | 14 upstream-openbsd/lib/libc/string/strlcpy.c \ 44 arch-x86_64/string/sse2-strlcpy-slm.S \
|
/bionic/linker/ |
D | dlfcn.cpp | 45 strlcpy(buffer, msg, __BIONIC_DLERROR_BUFFER_SIZE); in __bionic_format_dlerror() 282 strlcpy(__libdl_info->old_name_, __libdl_info->soname_, sizeof(__libdl_info->old_name_)); in get_libdl_info()
|
D | linker_utils.cpp | 104 if (strlcpy(buf, path, sizeof(buf)) >= sizeof(buf)) { in parse_zip_path()
|
/bionic/libc/include/ |
D | string.h | 103 extern size_t strlcpy(char* __restrict, const char* __restrict, size_t); 141 extern size_t __strlcpy_real(char* __restrict, const char* __restrict, size_t) __RENAME(strlcpy); 268 size_t strlcpy(char* __restrict dest, const char* __restrict src, size_t size) { in strlcpy() function
|
/bionic/libc/arch-x86/ |
D | x86.mk | 38 arch-x86/atom/string/ssse3-strlcpy-atom.S \ 93 upstream-openbsd/lib/libc/string/strlcpy.c \
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | exec.c | 166 strlcpy(cur, path, len); in execvpe()
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
D | gethex.c | 61 strlcpy(decimalpoint_cache, s0, strlen(s0) + 1);
|
/bionic/tests/ |
D | fortify_test.cpp | 272 ASSERT_FORTIFY(strlcpy(myfoo.one, myfoo.a, n)); in TEST_F() 444 ASSERT_FORTIFY(strlcpy(bufb, bufa, n)); in TEST_F()
|
D | string_test.cpp | 585 TEST(STRING_TEST, strlcpy) { in TEST() argument 608 ASSERT_EQ(strlcpy(state.ptr2, state.ptr1, state.MAX_LEN), strlen(state.ptr1)); in TEST() 1131 ASSERT_EQ(len-1, strlcpy(reinterpret_cast<char*>(dst), in DoStrlcpyTest()
|
/bionic/libc/ |
D | libc.arm64.map | 936 strlcpy;
|
D | libc.mips64.map | 936 strlcpy;
|
D | libc.x86_64.map | 936 strlcpy;
|
/bionic/libc/dns/resolv/ |
D | res_cache.c | 2036 strlcpy(cache_info->defdname, domains, sizeof(cache_info->defdname)); in _resolv_set_nameservers_for_net() 2246 strlcpy(domains[i], cur_domain, MAXDNSRCHPATH); in android_net_res_stats_get_info_for_net()
|