Searched refs:pid_str (Results 1 – 6 of 6) sorted by relevance
/system/core/init/ |
D | service_utils.cpp | 307 std::string pid_str = std::to_string(getpid()); in WritePidToFiles() local 309 if (!WriteStringToFile(pid_str, file)) { in WritePidToFiles() 310 return ErrnoError() << "couldn't write " << pid_str << " to " << file; in WritePidToFiles()
|
/system/core/logd/ |
D | LogAudit.cpp | 204 static const char pid_str[] = " pid="; in logPrint() local 205 char* pidptr = strstr(str, pid_str); in logPrint() 206 if (pidptr && isdigit(pidptr[sizeof(pid_str) - 1])) { in logPrint() 207 cp = pidptr + sizeof(pid_str) - 1; in logPrint()
|
/system/memory/libmemunreachable/ |
D | ThreadCapture.cpp | 106 char* pid_str = pid_to_str(pid_buf, sizeof(pid_buf), pid_); in ListThreads() local 107 if (!pid_str) { in ListThreads() 110 strlcat(path, pid_str, sizeof(path)); in ListThreads()
|
/system/extras/memtrack/ |
D | memtrack.h | 80 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/logcat/ |
D | logcat.cpp | 551 static const char pid_str[] = "pid"; in Run() local 574 { pid_str, required_argument, nullptr, 0 }, in Run() 596 if (long_options[option_index].name == pid_str) { in Run()
|