Searched refs:path_len (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/cmds/dumpstate/
H A DDumpstateInternal.cpp136 size_t path_len = strlen(path); local
137 if ((path_len < 6 || memcmp(path, "/proc/", 6)) &&
138 (path_len < 5 || memcmp(path, "/sys/", 5)) &&
139 (path_len < 3 || memcmp(path, "/d/", 3)) && !fstat(fd, &st)) {
/frameworks/base/core/jni/
H A Dfd_utils.cpp385 size_t path_len = addr_len - offsetof(struct sockaddr_un, sun_path); local
387 if (path_len == 0) {
396 result->append(&unix_addr->sun_path[1], path_len - 1);
403 if (unix_addr->sun_path[path_len - 1] == '\0') {
404 --path_len;
407 result->assign(unix_addr->sun_path, path_len);
H A Dcom_android_internal_os_Zygote.cpp352 size_t path_len = strlen(path); local
365 if (strncmp(mentry->mnt_dir, path, path_len) == 0) {
/frameworks/rs/
H A DrsApiStubs.cpp117 ssize_t path_len = readlink("/proc/self/exe", path, sizeof(path)); local
118 if (path_len == -1) {

Completed in 47 milliseconds