Home
last modified time | relevance | path

Searched refs:pid_str (Results 1 – 6 of 6) sorted by relevance

/system/core/init/
Dservice_utils.cpp307 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/
DLogAudit.cpp204 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/
DThreadCapture.cpp106 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/
Dmemtrack.h80 bool getInformation(int pid, char *pid_str, size_t pid_str_len);
Dmemtrack.cpp123 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/
Dlogcat.cpp551 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()