Searched refs:pid_str (Results 1 – 7 of 7) sorted by relevance
/system/core/logd/ |
D | LogAudit.cpp | 270 static const char pid_str[] = " pid="; in logPrint() local 271 char* pidptr = strstr(str, pid_str); in logPrint() 272 if (pidptr && isdigit(pidptr[sizeof(pid_str) - 1])) { in logPrint() 273 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/memtrack/ |
D | memtrack.h | 78 bool getInformation(int pid, char *pid_str, size_t pid_str_len);
|
D | memtrack.cpp | 123 bool ProcessInfo::getInformation(int pid, char *pid_str, size_t pid_str_len) { in getInformation() argument 124 memcpy(proc_file_ + kProcLen, pid_str, pid_str_len); in getInformation()
|
/system/core/init/ |
D | service.cpp | 694 std::string pid_str = StringPrintf("%d", getpid()); in Start() local 696 if (!WriteStringToFile(pid_str, file)) { in Start() 697 PLOG(ERROR) << "couldn't write " << pid_str << " to " << file; in Start()
|
/system/vold/ |
D | CommandListener.cpp | 693 const std::string pid_str = android::base::StringPrintf("%d", pid); in runCommandInNamespace() local 695 openat(dir.get(), pid_str.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in runCommandInNamespace()
|
/system/core/logcat/ |
D | logcat.cpp | 866 static const char pid_str[] = "pid"; in __logcat() local 889 { pid_str, required_argument, nullptr, 0 }, in __logcat() 911 if (long_options[option_index].name == pid_str) { in __logcat()
|