/external/libchrome/base/memory/ |
shared_memory_helper.cc | 124 char fd_path[PATH_MAX]; local 134 memset(fd_path, 0, arraysize(fd_path)); 135 snprintf(fd_path, arraysize(fd_path) - 1, "/proc/self/fd/%d", i); 136 ssize_t count = readlink(fd_path, buf, arraysize(buf) - 1); 138 PLOG(ERROR) << "readlink failed for: " << fd_path;
|
/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 | 63 std::string fd_path = path + fdde->d_name; local 66 int count = readlink(fd_path.c_str(), link, sizeof(link)-1);
|
/external/linux-kselftest/tools/testing/selftests/exec/ |
execveat.c | 237 int fd_path = open_or_die("execveat", O_RDONLY|O_PATH); local 275 fail += check_execveat(fd_path, "", AT_EMPTY_PATH);
|
/external/libchrome/base/process/ |
process_metrics_linux.cc | 262 FilePath fd_path = internal::GetProcPidDir(process_).Append("fd"); local 264 DirReaderPosix dir_reader(fd_path.value().c_str()); 280 FilePath fd_path = internal::GetProcPidDir(process_).Append("limits"); local 283 if (!ReadFileToString(fd_path, &limits_contents))
|
/external/minijail/ |
libminijail.c | 1018 char *fd_path, *path; local 1029 if (asprintf(&fd_path, "/proc/self/fd/%d", fd) == -1) 1031 path = realpath(fd_path, NULL); 1034 free(fd_path); [all...] |
/art/profman/ |
profman.cc | 501 std::string fd_path = "/proc/self/fd/" + std::to_string(apks_fd_[i]); 502 ssize_t len = readlink(fd_path.c_str(), buffer.data(), buffer.size() - 1); [all...] |