Home
last modified time | relevance | path

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

12

/bionic/libc/bionic/
D__strlcpy_chk.cpp53 return strlcpy(dest, src, supplied_size); in __strlcpy_chk()
Dstrerror_r.cpp53 length = strlcpy(buf, error_name, buf_len); in strerror_r()
Dsyslog.cpp89 size_t n = strlcpy(dst, strerror(caller_errno), dst_len); in vsyslog()
Dsystem_properties.cpp487 strlcpy(addr.sun_path, property_service_socket, sizeof(addr.sun_path)); in send_prop_msg()
643 strlcpy(msg.name, key, sizeof msg.name); in __system_property_set()
644 strlcpy(msg.value, value, sizeof msg.value); in __system_property_set()
Dmalloc_debug_check.cpp610 strlcpy(exe, "<unknown>", sizeof(exe)); in ReportMemoryLeaks()
/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrlcpy.c28 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() function
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregerror.c186 (void)strlcpy(convbuf, r->name, sizeof convbuf); in regerror()
197 (void)strlcpy(errbuf, s, errbuf_size); in regerror()
/bionic/libc/dns/net/
Dgetnameinfo.c154 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()
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Drealpath.c82 left_len = strlcpy(left, path + 1, sizeof(left)); in realpath()
94 left_len = strlcpy(left, path, sizeof(left)); in realpath()
238 left_len = strlcpy(left, symlink, sizeof(left)); in realpath()
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dutmp.c103 (void)strlcpy(utfile, fname, sizeof(utfile)); in utmpname()
/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_ntop.c83 strlcpy(dst, tmp, size); in inet_ntop4()
203 strlcpy(dst, tmp, size); in inet_ntop6()
/bionic/libc/arch-x86/generic/
Dgeneric.mk26 arch-x86/atom/string/ssse3-strlcpy-atom.S \
40 upstream-openbsd/lib/libc/string/strlcpy.c \
/bionic/libc/include/
Dstring.h80 extern size_t strlcpy(char* __restrict, const char* __restrict, size_t);
97 extern size_t __strlcpy_real(char* __restrict, const char* __restrict, size_t) __RENAME(strlcpy);
182 size_t strlcpy(char* __restrict dest, const char* __restrict src, size_t size) { in strlcpy() function
/bionic/libc/arch-arm64/
Darm64.mk27 upstream-openbsd/lib/libc/string/strlcpy.c \
/bionic/libc/arch-x86/silvermont/
Dsilvermont.mk27 arch-x86/atom/string/ssse3-strlcpy-atom.S \
/bionic/libc/arch-x86/atom/
Datom.mk22 arch-x86/atom/string/ssse3-strlcpy-atom.S \
/bionic/libc/arch-mips64/
Dmips64.mk39 upstream-openbsd/lib/libc/string/strlcpy.c \
/bionic/libc/arch-x86_64/
Dx86_64.mk30 upstream-openbsd/lib/libc/string/strlcpy.c \
/bionic/libc/arch-mips/
Dmips.mk56 upstream-openbsd/lib/libc/string/strlcpy.c \
/bionic/libc/arch-arm/
Darm.mk46 upstream-openbsd/lib/libc/string/strlcpy.c \
/bionic/libc/upstream-openbsd/lib/libc/gen/
Dexec.c166 strlcpy(cur, path, len); in execvpe()
/bionic/linker/
Ddlfcn.cpp44 strlcpy(buffer, msg, __BIONIC_DLERROR_BUFFER_SIZE); in __bionic_format_dlerror()
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Dgethex.c61 strlcpy(decimalpoint_cache, s0, strlen(s0) + 1);
/bionic/libc/dns/
Dgethnamaddr.c306 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer()
328 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer()
461 strlcpy(bp, qname, (size_t)(ep - bp)); in getanswer()
550 strlcpy(proxy_addr.sun_path, "/dev/socket/dnsproxyd", sizeof(proxy_addr.sun_path)); in android_open_proxy()
/bionic/tests/
Dfortify_test.cpp299 ASSERT_EXIT(strlcpy(myfoo.one, myfoo.a, n), in TEST_F()
489 ASSERT_EXIT(strlcpy(bufb, bufa, n), testing::KilledBySignal(SIGABRT), ""); in TEST_F()

12