/bionic/tests/ |
D | resolv_test.cpp | 49 ASSERT_EQ(static_cast<int>(strlen("aGVsbG8=")), in TEST() 50 b64_ntop(reinterpret_cast<u_char const*>("hello"), strlen("hello"), in TEST() 58 ASSERT_EQ(static_cast<int>(strlen("hello")), b64_pton("aGVsbG8=", buf, sizeof(buf))); in TEST()
|
D | getcwd_test.cpp | 31 ASSERT_GE(strlen(cwd), 1U); in TEST() 41 ASSERT_GE(strlen(cwd), 1U); in TEST() 86 ASSERT_GE(strlen(cwd), 1U); in TEST()
|
D | iconv_test.cpp | 61 size_t in_bytes = strlen(in); in TEST() 87 size_t in_bytes = strlen(in); in TEST() 116 size_t in_bytes = strlen(in); in TEST() 144 size_t in_bytes = strlen(in); in TEST() 170 size_t in_bytes = strlen(in); in TEST() 203 size_t in_bytes = strlen(in); in TEST() 230 size_t in_bytes = strlen(in); in TEST() 299 size_t in_bytes = strlen(utf8); in RoundTrip()
|
D | sys_un_test.cpp | 26 ASSERT_EQ(2U + strlen("hello"), SUN_LEN(&sun)); in TEST()
|
D | thread_local_test.cpp | 209 ASSERT_TRUE(strlen(tls_value2) <= strlen(tls_value1)); in TEST() 211 {strlen(tls_value1) + 1, 1, {0}, tls_value1}; in TEST() 241 memcpy(p, tls_value2, strlen(tls_value2) + 1); in TEST()
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | strlen.c | 35 strlen(const char *str) in strlen() function 44 DEF_STRONG(strlen);
|
D | strxfrm.c | 49 return (strlen(src)); in strxfrm()
|
D | strdup.c | 44 siz = strlen(str) + 1; in strdup()
|
D | strcasestr.c | 50 len = strlen(find); in strcasestr()
|
/bionic/libc/bionic/ |
D | __bionic_get_shell_path.cpp | 51 char exe_path[strlen(VENDOR_PREFIX)]; in init_sh_path() 53 if (len != -1 && !strncmp(exe_path, VENDOR_PREFIX, strlen(VENDOR_PREFIX))) { in init_sh_path()
|
D | system_property_set.cpp | 63 const size_t namelen = strlen(property_service_socket); in PropertyServiceConnection() 131 uint32_t valuelen = strlen(value); in WriteString() 258 if (strlen(key) >= PROP_NAME_MAX) return -1; in __system_property_set() 259 if (strlen(value) >= PROP_VALUE_MAX) return -1; in __system_property_set() 270 if (strlen(value) >= PROP_VALUE_MAX && strncmp(key, "ro.", 3) != 0) return -1; in __system_property_set()
|
D | mntent.cpp | 79 char* const end = mnt->mnt_opts + strlen(mnt->mnt_opts); in hasmntopt() 80 const size_t optLen = strlen(opt); in hasmntopt()
|
D | getdomainname.cpp | 42 if (strlen(uts.domainname) >= len) { in getdomainname()
|
D | gethostname.cpp | 38 size_t name_length = static_cast<size_t>(strlen(name.nodename) + 1); in gethostname()
|
D | libgen.cpp | 53 endp = path + strlen(path) - 1; in __basename_r() 109 endp = path + strlen(path) - 1; in __dirname_r()
|
/bionic/libc/dns/nameser/ |
D | ns_samedomain.c | 60 la = strlen(a); in ns_samedomain() 61 lb = strlen(b); in ns_samedomain() 171 size_t n = strlen(src); in ns_makecanon()
|
D | ns_print.c | 164 addlen(strlen(buf), &buf, &buflen); in ns_sprintrrf() 326 T(addstr(t, strlen(t), &buf, &buflen)); in ns_sprintrrf() 334 addlen(strlen(buf), &buf, &buflen); in ns_sprintrrf() 342 T(addstr(t, strlen(t), &buf, &buflen)); in ns_sprintrrf() 425 addlen(strlen(buf), &buf, &buflen); in ns_sprintrrf() 493 T(addstr(leader, strlen(leader), &buf, &buflen)); in ns_sprintrrf() 557 T(addstr(leader, strlen(leader), &buf, &buflen)); in ns_sprintrrf() 598 T(addstr(str, strlen(str), &buf, &buflen)); in ns_sprintrrf() 615 T(addstr(leader, strlen(leader), in ns_sprintrrf() 669 addlen(strlen(buf), &buf, &buflen); in ns_sprintrrf() [all …]
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
D | psignal.c | 67 v->iov_len = strlen(s); in __weak_alias() 74 v->iov_len = strlen(v->iov_base); in __weak_alias()
|
/bionic/libc/dns/resolv/ |
D | herror.c | 105 v->iov_len = strlen(t); in herror() 114 v->iov_len = strlen(v->iov_base); in herror()
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 89 len = strlen(data); in Send() 120 len = strlen(data); in Send() 403 slen = strlen(str); in out_vformat() 455 vec[0].iov_len = strlen(tag); in write_stderr() 459 vec[2].iov_len = strlen(msg); in write_stderr() 525 vec[4].iov_len = strlen(tag) + 1; in async_safe_write_log() 527 vec[5].iov_len = strlen(msg) + 1; in async_safe_write_log() 555 os.Send(prefix, strlen(prefix)); in async_safe_fatal_va_list() 563 {msg, strlen(msg)}, {const_cast<char*>("\n"), 1}, in async_safe_fatal_va_list()
|
/bionic/libc/tzcode/ |
D | asctime.c | 107 ((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B), in asctime_r() 112 if (strlen(result) < STD_ASCTIME_BUF_SIZE || buf == buf_asctime) in asctime_r()
|
D | strptime.c | 239 len = strlen(_ctloc(day[i])); in _strptime() 244 len = strlen(_ctloc(abday[i])); in _strptime() 263 len = strlen(_ctloc(mon[i])); in _strptime() 268 len = strlen(_ctloc(abmon[i])); in _strptime() 338 len = strlen(_ctloc(am_pm[0])); in _strptime() 349 len = strlen(_ctloc(am_pm[1])); in _strptime() 620 len = strlen(*n1); in _find_string()
|
/bionic/libc/dns/net/ |
D | getnameinfo.c | 228 if (strlen(sp->s_name) + 1 > (size_t)servlen) in getnameinfo_inet() 233 if (strlen(numserv) + 1 > (size_t)servlen) in getnameinfo_inet() 308 numaddrlen = strlen(numaddr); in getnameinfo_inet() 333 if (strlen(hp->h_name) + 1 > (size_t)hostlen) { in getnameinfo_inet() 379 numaddrlen = strlen(numaddr); in ip6_parsenumeric() 434 return(strlen(p)); in ip6_sa2str()
|
/bionic/libc/include/sys/ |
D | un.h | 43 #define SUN_LEN(__ptr) (offsetof(struct sockaddr_un, sun_path) + strlen((__ptr)->sun_path))
|
/bionic/libc/arch-arm64/ |
D | static_function_dispatch.S | 42 FUNCTION_DELEGATE(strlen, __strlen_aarch64_mte)
|