Home
last modified time | relevance | path

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

/system/core/logd/
DLogAudit.cpp270 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/
DThreadCapture.cpp104 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/
Dmemtrack.h78 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/init/
Dservice.cpp694 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/
DCommandListener.cpp693 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/
Dlogcat.cpp866 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()