Searched refs:path_len (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
D | DumpstateInternal.cpp | 142 size_t path_len = strlen(path); in DumpFileFromFdToFd() local 143 if ((path_len < 6 || memcmp(path, "/proc/", 6)) && in DumpFileFromFdToFd() 144 (path_len < 5 || memcmp(path, "/sys/", 5)) && in DumpFileFromFdToFd() 145 (path_len < 3 || memcmp(path, "/d/", 3)) && !fstat(fd, &st)) { in DumpFileFromFdToFd()
|
/frameworks/base/core/jni/ |
D | fd_utils.cpp | 433 size_t path_len = addr_len - offsetof(struct sockaddr_un, sun_path); in GetSocketName() local 435 if (path_len == 0) { in GetSocketName() 444 result->append(&unix_addr->sun_path[1], path_len - 1); in GetSocketName() 451 if (unix_addr->sun_path[path_len - 1] == '\0') { in GetSocketName() 452 --path_len; in GetSocketName() 455 result->assign(unix_addr->sun_path, path_len); in GetSocketName()
|
D | com_android_internal_os_Zygote.cpp | 704 size_t path_len = strlen(path); in UnmountTree() local 717 if (strncmp(mentry->mnt_dir, path, path_len) == 0) { in UnmountTree()
|
/frameworks/rs/ |
D | rsApiStubs.cpp | 117 ssize_t path_len = readlink("/proc/self/exe", path, sizeof(path)); in isVendorProcess() local 118 if (path_len == -1) { in isVendorProcess()
|