Searched refs:pid_str (Results 1 – 9 of 9) sorted by relevance
/system/core/logd/ |
D | LogAudit.cpp | 144 static const char pid_str[] = " pid="; in logPrint() local 145 char *pidptr = strstr(str, pid_str); in logPrint() 146 if (pidptr && isdigit(pidptr[sizeof(pid_str) - 1])) { in logPrint() 147 cp = pidptr + sizeof(pid_str) - 1; in logPrint()
|
/system/core/libmemunreachable/ |
D | ThreadCapture.cpp | 104 char* pid_str = pid_to_str(pid_buf, sizeof(pid_buf), pid_); in ListThreads() local 105 if (!pid_str) { in ListThreads() 108 strlcat(path, pid_str, sizeof(path)); in ListThreads()
|
/system/extras/simpleperf/ |
D | environment.h | 67 bool GetValidThreadsFromProcessString(const std::string& pid_str, std::set<pid_t>* tid_set);
|
D | environment.cpp | 371 bool GetValidThreadsFromProcessString(const std::string& pid_str, std::set<pid_t>* tid_set) { in GetValidThreadsFromProcessString() argument 372 std::vector<std::string> strs = android::base::Split(pid_str, ","); in GetValidThreadsFromProcessString()
|
/system/extras/memtrack/ |
D | memtrack.h | 78 bool getInformation(int pid, char *pid_str, size_t pid_str_len);
|
D | memtrack.cpp | 127 bool ProcessInfo::getInformation(int pid, char *pid_str, size_t pid_str_len) { in getInformation() argument 128 memcpy(proc_file_ + kProcLen, pid_str, pid_str_len); in getInformation()
|
/system/core/logcat/ |
D | logcat.cpp | 577 static const char pid_str[] = "pid"; in main() local 594 { pid_str, required_argument, NULL, 0 }, in main() 618 if (long_options[option_index].name == pid_str) { in main()
|
/system/core/init/ |
D | service.cpp | 412 std::string pid_str = StringPrintf("%d", getpid()); in Start() local 414 if (!WriteStringToFile(pid_str, file)) { in Start() 416 pid_str.c_str(), file.c_str(), strerror(errno)); in Start()
|
/system/vold/ |
D | CommandListener.cpp | 690 const std::string pid_str = android::base::StringPrintf("%d", pid); in runCommandInNamespace() local 692 openat(dirfd(dir.get()), pid_str.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in runCommandInNamespace()
|