/system/vold/ |
Process.cpp | 99 auto fd_path = path + "/fd"; local 100 auto fd_d = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(fd_path.c_str()), closedir); 102 PLOG(WARNING) << "Failed to open " << fd_path; 107 found |= checkSymlink(fd_path + "/" + fd_de->d_name, prefix);
|
/external/iproute2/ip/ |
iptuntap.c | 312 char **fd_path; local 320 fd_path = globbuf.gl_pathv; 321 while (*fd_path) { 328 if (sscanf(*fd_path, "/proc/%d/fd/%d", &pid, &fd) != 2) 334 err = readlink(*fd_path, linkbuf, linkbuf_len - 1); 377 ++fd_path;
|
/bootable/recovery/applypatch/ |
freecache.cpp | 59 std::string fd_path = path + fdde->d_name; local 62 int count = readlink(fd_path.c_str(), link, sizeof(link)-1);
|
/frameworks/base/core/jni/ |
fd_utils.cpp | 214 const std::string fd_path = android::base::StringPrintf("/proc/self/fd/%d", fd); local 215 if (!android::base::Readlink(fd_path, &file_path)) { 217 fd_path.c_str(),
|
/system/extras/simpleperf/ |
environment.cpp | 498 std::string fd_path = "/proc/" + std::to_string(pid) + "/fd/"; local 499 std::vector<std::string> files = GetEntriesInDir(fd_path); 502 if (!android::base::Readlink(fd_path + file, &real_path)) {
|
/external/linux-kselftest/tools/testing/selftests/exec/ |
execveat.c | 235 int fd_path = open_or_die("execveat", O_RDONLY|O_PATH); local 273 fail += check_execveat(fd_path, "", AT_EMPTY_PATH);
|
/system/core/debuggerd/tombstoned/ |
tombstoned.cpp | 355 std::string fd_path = StringPrintf("/proc/self/fd/%d", crash->crash_tombstone_fd.get()); local 365 rc = linkat(AT_FDCWD, fd_path.c_str(), AT_FDCWD, tombstone_path.c_str(), AT_SYMLINK_FOLLOW);
|
/external/libchrome/base/process/ |
process_metrics_linux.cc | 299 FilePath fd_path = internal::GetProcPidDir(process_).Append("fd"); local 301 DirReaderPosix dir_reader(fd_path.value().c_str()); 317 FilePath fd_path = internal::GetProcPidDir(process_).Append("limits"); local 320 if (!ReadFileToString(fd_path, &limits_contents))
|
/external/minijail/ |
libminijail.c | 899 char *fd_path, *path; local 910 if (asprintf(&fd_path, "/proc/self/fd/%d", fd) == -1) 912 path = realpath(fd_path, NULL); 915 free(fd_path); [all...] |
/art/profman/ |
profman.cc | 460 std::string fd_path = "/proc/self/fd/" + std::to_string(apks_fd_[i]); local 461 ssize_t len = readlink(fd_path.c_str(), buffer.data(), buffer.size() - 1); [all...] |