Home
last modified time | relevance | path

Searched refs:strlen (Results 1 – 25 of 95) sorted by relevance

1234

/bionic/libc/bionic/
D__bionic_get_shell_path.cpp47 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()
Dicu.cpp56 char versioned_symbol_name[strlen(symbol_name) + strlen("_android") + 1]; in __find_icu_symbol()
Dgetdomainname.cpp42 if (strlen(uts.domainname) >= len) { in getdomainname()
Dgethostname.cpp40 size_t name_length = static_cast<size_t>(strlen(name.nodename) + 1); in gethostname()
Dsystem_property_set.cpp62 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()
Dmntent.cpp79 char* const end = mnt->mnt_opts + strlen(mnt->mnt_opts); in hasmntopt()
80 const size_t optLen = strlen(opt); in hasmntopt()
Dexec.cpp136 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/
Dbionic_string_utils.h23 size_t s1_length = strlen(s1); in ends_with()
24 size_t s2_length = strlen(s2); in ends_with()
/bionic/tests/
Dresolv_test.cpp49 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()
Dgetcwd_test.cpp31 ASSERT_GE(strlen(cwd), 1U); in TEST()
41 ASSERT_GE(strlen(cwd), 1U); in TEST()
86 ASSERT_GE(strlen(cwd), 1U); in TEST()
Dsys_un_test.cpp26 ASSERT_EQ(2U + strlen("hello"), SUN_LEN(&sun)); in TEST()
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dpsignal.c67 v->iov_len = strlen(s); in __weak_alias()
74 v->iov_len = strlen(v->iov_base); in __weak_alias()
/bionic/libc/include/sys/
Dun.h43 #define SUN_LEN(__ptr) (offsetof(struct sockaddr_un, sun_path) + strlen((__ptr)->sun_path))
/bionic/libc/dns/nameser/
Dns_samedomain.c60 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/
Dherror.c105 v->iov_len = strlen(t); in herror()
114 v->iov_len = strlen(v->iov_base); in herror()
/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrxfrm.c49 return (strlen(src)); in strxfrm()
Dstrdup.c44 siz = strlen(str) + 1; in strdup()
Dstrstr.c46 len = strlen(find); in strstr()
Dstrcasestr.c50 len = strlen(find); in strcasestr()
Dstrlcat.c44 return(dlen + strlen(src)); in strlcat()
/bionic/libc/tzcode/
Dasctime.c107 ((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()
Dstrptime.c225 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/
Dtempnam.c56 f[strlen(f) - 1] == '/' ? "" : "/", pfx); in tempnam()
68 f[strlen(f) - 1] == '/' ? "" : "/", pfx); in tempnam()
/bionic/libc/async_safe/
Dasync_safe_log.cpp78 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/
Dstatic_function_dispatch.S46 FUNCTION_DELEGATE(strlen, strlen_generic)

1234