Searched refs:path_len (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/libs/binder/tests/ |
D | FileUtils.cpp | 72 uint32_t path_len = sizeof(path); in GetExecutablePath2() 73 int rc = _NSGetExecutablePath(path, &path_len); in GetExecutablePath2() 75 std::unique_ptr<char> path_buf(new char[path_len]); in GetExecutablePath2() 76 _NSGetExecutablePath(path_buf.get(), &path_len); in GetExecutablePath2()
|
/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 | 438 size_t path_len = addr_len - offsetof(struct sockaddr_un, sun_path); in GetSocketName() local 440 if (path_len == 0) { in GetSocketName() 449 result->append(&unix_addr->sun_path[1], path_len - 1); in GetSocketName() 456 if (unix_addr->sun_path[path_len - 1] == '\0') { in GetSocketName() 457 --path_len; in GetSocketName() 460 result->assign(unix_addr->sun_path, path_len); in GetSocketName()
|
D | com_android_internal_os_Zygote.cpp | 770 size_t path_len = strlen(path); in UnmountTree() local 783 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()
|