Home
last modified time | relevance | path

Searched refs:procdir (Results 1 – 3 of 3) sorted by relevance

/system/core/llkd/
Dlibllkd.cpp68 constexpr char procdir[] = "/proc/"; variable
221 auto ret = ::readlink((procdir + std::to_string(tid) + "/exe").c_str(), &c, sizeof(c)); in llkIsMissingExeLink()
237 std::string content = ReadFile(procdir + std::to_string(tid) + node); in llkProcGetName()
254 std::string content = ReadFile(procdir + std::to_string(tid) + "/status"); in llkProcGetUid()
559 auto piddir = procdir + std::to_string(tid) + "/stat"; in llkPanicKernel()
768 *piddir = procdir; in getValidTidDir()
775 *piddir = procdir; in getValidTidDir()
978 LOG(VERBOSE) << "opendir(\"" << procdir << "\")"; in llkCheck()
981 llkTopDirectory.reset(procdir); in llkCheck()
987 LOG(DEBUG) << "opendir(\"" << procdir << "\") failed"; in llkCheck()
[all …]
/system/memory/libmeminfo/tools/
Dprocrank.cpp167 std::unique_ptr<DIR, int (*)(DIR*)> procdir(opendir("/proc"), closedir); in read_all_pids() local
168 if (!procdir) return false; in read_all_pids()
172 while ((dir = readdir(procdir.get()))) { in read_all_pids()
465 std::string procdir = ::android::base::StringPrintf("/proc/%d", pid); in main() local
466 if (access(procdir.c_str(), F_OK | R_OK)) return true; in main()
Dlibrank.cpp165 std::unique_ptr<DIR, int (*)(DIR*)> procdir(opendir("/proc"), closedir); in read_all_pids() local
166 if (!procdir) return false; in read_all_pids()
170 while ((dir = readdir(procdir.get()))) { in read_all_pids()