/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);
|
D | strxfrm.c | 50 return (strlcpy(dst, src, n)); in strxfrm()
|
/bionic/libc/dns/net/ |
D | getnameinfo.c | 158 strlcpy(host, sun->sun_path, in getnameinfo_local() 227 strlcpy(serv, sp->s_name, servlen); in getnameinfo_inet() 232 strlcpy(serv, numserv, servlen); in getnameinfo_inet() 308 strlcpy(host, numaddr, hostlen); in getnameinfo_inet() 333 strlcpy(host, hp->h_name, hostlen); in getnameinfo_inet() 379 strlcpy(host, numaddr, hostlen); in ip6_parsenumeric()
|
D | gethnamaddr.c | 338 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer() 359 strlcpy(bp, tbuf, (size_t)(ep - bp)); in getanswer() 486 strlcpy(bp, qname, (size_t)(ep - bp)); in getanswer()
|
/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/bionic/ |
D | system_property_set.cpp | 66 strlcpy(addr.sun_path, property_service_socket, sizeof(addr.sun_path)); in PropertyServiceConnection() 264 strlcpy(msg.name, key, sizeof msg.name); in __system_property_set() 265 strlcpy(msg.value, value, sizeof msg.value); in __system_property_set()
|
D | strerror.cpp | 194 length = strlcpy(buf, error_name, buf_len); in strerror_r()
|
D | ifaddrs.cpp | 292 strlcpy(ifr.ifr_name, addr->ifa.ifa_name, sizeof(ifr.ifr_name)); in get_interface_flags_via_ioctl()
|
D | fortify.cpp | 313 return strlcpy(dst, src, supplied_size); in __strlcpy_chk()
|
/bionic/libc/arch-x86/generic/string/ |
D | strlcpy.c | 31 #define strlcpy strlcpy_openbsd macro
|
/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/ |
D | static_function_dispatch.S | 52 FUNCTION_DELEGATE(strlcpy, strlcpy_openbsd)
|
D | dynamic_function_dispatch.cpp | 141 DEFINE_IFUNC_FOR(strlcpy) { in DEFINE_IFUNC_FOR() argument
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
D | utmp.c | 103 (void)strlcpy(utfile, fname, sizeof(utfile)); in utmpname()
|
/bionic/linker/ |
D | linker_globals.h | 97 strlcpy(linker_get_error_buffer(), saved_error_msg_.c_str(), linker_get_error_buffer_size()); in ~DlErrorRestorer()
|
D | dlfcn.cpp | 109 strlcpy(buffer, msg, __BIONIC_DLERROR_BUFFER_SIZE); in __bionic_format_dlerror() 335 strlcpy(__libdl_info->old_name_, __libdl_info->soname_, sizeof(__libdl_info->old_name_)); in get_libdl_info()
|
D | linker_utils.cpp | 159 if (strlcpy(buf, path, sizeof(buf)) >= sizeof(buf)) { in parse_zip_path()
|
/bionic/libc/private/ |
D | CachedProperty.h | 104 strlcpy(instance->cached_value_, value, PROP_VALUE_MAX); in Callback()
|
/bionic/libc/include/bits/fortify/ |
D | string.h | 189 size_t strlcpy(char* const dst __pass_object_size, const char* src, size_t size) in strlcpy() function 196 return __call_bypassing_fortify(strlcpy)(dst, src, size); in strlcpy()
|
/bionic/libc/system_properties/ |
D | system_properties.cpp | 177 size_t namelen = strlcpy(name, pi->name, PROP_NAME_MAX); in Read() 259 strlcpy(pi->value, value, len + 1); in Update()
|
/bionic/tests/ |
D | clang_fortify_tests.cpp | 208 EXPECT_FORTIFY_DEATH(strlcpy(small_buffer, large_string, sizeof(large_string))); in FORTIFY_TEST() 269 EXPECT_FORTIFY_DEATH_STRUCT(strlcpy(split.tiny_buffer, small_string, sizeof(small_string))); in FORTIFY_TEST()
|
D | fortify_test.cpp | 231 ASSERT_FORTIFY(strlcpy(myfoo.one, myfoo.a, n)); in TEST_F() 386 ASSERT_FORTIFY(strlcpy(bufb, bufa, n)); in TEST_F()
|
/bionic/libc/tzcode/ |
D | bionic.cpp | 59 strlcpy(buf, name, sizeof(buf)); in tzset_unlocked()
|
/bionic/libc/include/ |
D | string.h | 110 size_t strlcpy(char* __dst, const char* __src, size_t __n);
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 474 strlcpy(u.addrUn.sun_path, "/dev/socket/logdw", sizeof(u.addrUn.sun_path)); in open_log_socket()
|