Home
last modified time | relevance | path

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

12

/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrlcpy.c28 strlcpy(char *dst, const char *src, size_t dsize) in strlcpy() function
51 DEF_WEAK(strlcpy);
Dstrxfrm.c50 return (strlcpy(dst, src, n)); in strxfrm()
/bionic/libc/dns/net/
Dgetnameinfo.c158 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()
Dgethnamaddr.c338 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/
Dregerror.c186 (void)strlcpy(convbuf, r->name, sizeof convbuf); in regerror()
197 (void)strlcpy(errbuf, s, errbuf_size); in regerror()
/bionic/libc/bionic/
Dsystem_property_set.cpp66 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()
Dstrerror.cpp194 length = strlcpy(buf, error_name, buf_len); in strerror_r()
Difaddrs.cpp292 strlcpy(ifr.ifr_name, addr->ifa.ifa_name, sizeof(ifr.ifr_name)); in get_interface_flags_via_ioctl()
Dfortify.cpp313 return strlcpy(dst, src, supplied_size); in __strlcpy_chk()
/bionic/libc/arch-x86/generic/string/
Dstrlcpy.c31 #define strlcpy strlcpy_openbsd macro
/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/
Dstatic_function_dispatch.S52 FUNCTION_DELEGATE(strlcpy, strlcpy_openbsd)
Ddynamic_function_dispatch.cpp141 DEFINE_IFUNC_FOR(strlcpy) { in DEFINE_IFUNC_FOR() argument
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dutmp.c103 (void)strlcpy(utfile, fname, sizeof(utfile)); in utmpname()
/bionic/linker/
Dlinker_globals.h97 strlcpy(linker_get_error_buffer(), saved_error_msg_.c_str(), linker_get_error_buffer_size()); in ~DlErrorRestorer()
Ddlfcn.cpp109 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()
Dlinker_utils.cpp159 if (strlcpy(buf, path, sizeof(buf)) >= sizeof(buf)) { in parse_zip_path()
/bionic/libc/private/
DCachedProperty.h104 strlcpy(instance->cached_value_, value, PROP_VALUE_MAX); in Callback()
/bionic/libc/include/bits/fortify/
Dstring.h189 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/
Dsystem_properties.cpp177 size_t namelen = strlcpy(name, pi->name, PROP_NAME_MAX); in Read()
259 strlcpy(pi->value, value, len + 1); in Update()
/bionic/tests/
Dclang_fortify_tests.cpp208 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()
Dfortify_test.cpp231 ASSERT_FORTIFY(strlcpy(myfoo.one, myfoo.a, n)); in TEST_F()
386 ASSERT_FORTIFY(strlcpy(bufb, bufa, n)); in TEST_F()
/bionic/libc/tzcode/
Dbionic.cpp59 strlcpy(buf, name, sizeof(buf)); in tzset_unlocked()
/bionic/libc/include/
Dstring.h110 size_t strlcpy(char* __dst, const char* __src, size_t __n);
/bionic/libc/async_safe/
Dasync_safe_log.cpp474 strlcpy(u.addrUn.sun_path, "/dev/socket/logdw", sizeof(u.addrUn.sun_path)); in open_log_socket()

12