Home
last modified time | relevance | path

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

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