/bionic/tests/ |
D | resolv_test.cpp | 51 ASSERT_EQ(static_cast<int>(strlen("aGVsbG8=")), in TEST() 52 b64_ntop(reinterpret_cast<u_char const*>("hello"), strlen("hello"), in TEST() 60 ASSERT_EQ(static_cast<int>(strlen("hello")), b64_pton("aGVsbG8=", buf, sizeof(buf))); in TEST()
|
D | getcwd_test.cpp | 33 ASSERT_GE(strlen(cwd), 1U); in TEST() 43 ASSERT_GE(strlen(cwd), 1U); in TEST() 88 ASSERT_GE(strlen(cwd), 1U); in TEST()
|
D | iconv_test.cpp | 63 size_t in_bytes = strlen(in); in TEST() 89 size_t in_bytes = strlen(in); in TEST() 118 size_t in_bytes = strlen(in); in TEST() 146 size_t in_bytes = strlen(in); in TEST() 172 size_t in_bytes = strlen(in); in TEST() 205 size_t in_bytes = strlen(in); in TEST() 232 size_t in_bytes = strlen(in); in TEST() 301 size_t in_bytes = strlen(utf8); in RoundTrip()
|
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()
|
D | sys_socket_test.cpp | 130 if (send(fd, g_RecvMsgs[i], strlen(g_RecvMsgs[i]) + 1, 0) < 0) { in SendMultiple() 151 io[i].iov_len = strlen(g_RecvMsgs[i]) + 1; in TestRecvMMsg() 197 io[i].iov_len = strlen(g_SendMsgs[i]) + 1; in SendMMsg() 225 ASSERT_EQ(strlen(g_SendMsgs[i]) + 1, in TestSendMMsg()
|
D | sys_un_test.cpp | 26 ASSERT_EQ(2U + strlen("hello"), SUN_LEN(&sun)); in TEST()
|
/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/bionic/ |
D | system_property_set.cpp | 76 const size_t namelen = strlen(socket); in PropertyServiceConnection() 144 uint32_t valuelen = strlen(value); in WriteString() 286 if (strlen(key) >= PROP_NAME_MAX) return -1; in __system_property_set() 287 if (strlen(value) >= PROP_VALUE_MAX) return -1; in __system_property_set() 298 if (strlen(value) >= PROP_VALUE_MAX && strncmp(key, "ro.", 3) != 0) return -1; in __system_property_set()
|
D | exec.cpp | 139 size_t len = strlen(path) + 1; in execvpe() 153 size_t dir_len = strlen(dir); in execvpe() 154 size_t name_len = strlen(name); in execvpe()
|
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 | libgen.cpp | 53 endp = path + strlen(path) - 1; in __basename_r() 109 endp = path + strlen(path) - 1; in __dirname_r()
|
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()
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 87 len = strlen(data); in Send() 118 len = strlen(data); in Send() 434 slen = strlen(str); in out_vformat() 486 vec[0].iov_len = strlen(tag); in write_stderr() 490 vec[2].iov_len = strlen(msg); in write_stderr() 556 vec[4].iov_len = strlen(tag) + 1; in async_safe_write_log() 558 vec[5].iov_len = strlen(msg) + 1; in async_safe_write_log() 586 os.Send(prefix, strlen(prefix)); in async_safe_fatal_va_list() 594 {msg, strlen(msg)}, {const_cast<char*>("\n"), 1}, in async_safe_fatal_va_list()
|
/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/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/tzcode/ |
D | asctime.c | 99 ((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B), in asctime_r() 104 if (strlen(result) < STD_ASCTIME_BUF_SIZE in asctime_r()
|
D | strptime.c | 222 len = strlen(_ctloc(day[i])); in _strptime() 227 len = strlen(_ctloc(abday[i])); in _strptime() 247 len = strlen(_ctloc(mon[i])); in _strptime() 252 len = strlen(_ctloc(abmon[i])); in _strptime() 329 len = strlen(_ctloc(am_pm[0])); in _strptime() 340 len = strlen(_ctloc(am_pm[1])); in _strptime() 659 len = strlen(*n1); in _find_string()
|
/bionic/libc/include/sys/ |
D | un.h | 43 #define SUN_LEN(__ptr) (offsetof(struct sockaddr_un, sun_path) + strlen((__ptr)->sun_path))
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
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/linker/ |
D | linker_utils.cpp | 82 const size_t len = strlen(path) + 1; in normalize_path() 122 size_t needle_len = strlen(needle); in file_is_in_dir() 132 size_t needle_len = strlen(needle); in file_is_under_dir()
|