Searched refs:procdir (Results 1 – 3 of 3) sorted by relevance
68 constexpr char procdir[] = "/proc/"; variable221 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 …]
167 std::unique_ptr<DIR, int (*)(DIR*)> procdir(opendir("/proc"), closedir); in read_all_pids() local168 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() local466 if (access(procdir.c_str(), F_OK | R_OK)) return true; in main()
165 std::unique_ptr<DIR, int (*)(DIR*)> procdir(opendir("/proc"), closedir); in read_all_pids() local166 if (!procdir) return false; in read_all_pids()170 while ((dir = readdir(procdir.get()))) { in read_all_pids()