/bionic/libc/bionic/ |
D | __bionic_get_shell_path.cpp | 47 char exe_path[strlen(VENDOR_PREFIX)]; in init_sh_path() 49 if (len != -1 && !strncmp(exe_path, VENDOR_PREFIX, strlen(VENDOR_PREFIX))) { in init_sh_path()
|
D | icu.cpp | 56 char versioned_symbol_name[strlen(symbol_name) + strlen("_android") + 1]; in __find_icu_symbol()
|
D | getdomainname.cpp | 42 if (strlen(uts.domainname) >= len) { in getdomainname()
|
D | gethostname.cpp | 40 size_t name_length = static_cast<size_t>(strlen(name.nodename) + 1); in gethostname()
|
D | system_property_set.cpp | 62 const size_t namelen = strlen(property_service_socket); in PropertyServiceConnection() 136 uint32_t valuelen = strlen(value); in WriteString() 264 if (strlen(key) >= PROP_NAME_MAX) return -1; in __system_property_set() 265 if (strlen(value) >= PROP_VALUE_MAX) return -1; in __system_property_set() 276 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 | exec.cpp | 136 size_t len = strlen(path) + 1; in execvpe() 150 size_t dir_len = strlen(dir); in execvpe() 151 size_t name_len = strlen(name); in execvpe()
|
/bionic/libc/private/ |
D | bionic_string_utils.h | 23 size_t s1_length = strlen(s1); in ends_with() 24 size_t s2_length = strlen(s2); in ends_with()
|
/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 | sys_un_test.cpp | 26 ASSERT_EQ(2U + strlen("hello"), SUN_LEN(&sun)); in TEST()
|
/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/include/sys/ |
D | un.h | 43 #define SUN_LEN(__ptr) (offsetof(struct sockaddr_un, sun_path) + strlen((__ptr)->sun_path))
|
/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()
|
/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/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 | strstr.c | 46 len = strlen(find); in strstr()
|
D | strcasestr.c | 50 len = strlen(find); in strcasestr()
|
D | strlcat.c | 44 return(dlen + strlen(src)); in strlcat()
|
/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 | 225 len = strlen(_ctloc(day[i])); in _strptime() 230 len = strlen(_ctloc(abday[i])); in _strptime() 249 len = strlen(_ctloc(mon[i])); in _strptime() 254 len = strlen(_ctloc(abmon[i])); in _strptime() 324 len = strlen(_ctloc(am_pm[0])); in _strptime() 335 len = strlen(_ctloc(am_pm[1])); in _strptime()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | tempnam.c | 56 f[strlen(f) - 1] == '/' ? "" : "/", pfx); in tempnam() 68 f[strlen(f) - 1] == '/' ? "" : "/", pfx); in tempnam()
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 78 len = strlen(data); in Send() 109 len = strlen(data); in Send() 392 slen = strlen(str); in out_vformat() 444 vec[0].iov_len = strlen(tag); in write_stderr() 448 vec[2].iov_len = strlen(msg); in write_stderr() 514 vec[4].iov_len = strlen(tag) + 1; in async_safe_write_log() 516 vec[5].iov_len = strlen(msg) + 1; in async_safe_write_log() 544 os.Send(prefix, strlen(prefix)); in async_safe_fatal_va_list() 552 {msg, strlen(msg)}, {const_cast<char*>("\n"), 1}, in async_safe_fatal_va_list()
|
/bionic/libc/arch-arm/ |
D | static_function_dispatch.S | 46 FUNCTION_DELEGATE(strlen, strlen_generic)
|