/system/core/logd/ |
LogAudit.cpp | 144 static const char pid_str[] = " pid="; local 145 char *pidptr = strstr(str, pid_str); 146 if (pidptr && isdigit(pidptr[sizeof(pid_str) - 1])) { 147 cp = pidptr + sizeof(pid_str) - 1;
|
/system/extras/memtrack/ |
memtrack.h | 78 bool getInformation(int pid, char *pid_str, size_t pid_str_len);
|
memtrack.cpp | 127 bool ProcessInfo::getInformation(int pid, char *pid_str, size_t pid_str_len) { 128 memcpy(proc_file_ + kProcLen, pid_str, pid_str_len);
|
/system/extras/simpleperf/ |
environment.h | 67 bool GetValidThreadsFromProcessString(const std::string& pid_str, std::set<pid_t>* tid_set);
|
environment.cpp | 371 bool GetValidThreadsFromProcessString(const std::string& pid_str, std::set<pid_t>* tid_set) { 372 std::vector<std::string> strs = android::base::Split(pid_str, ",");
|
/external/toybox/toys/pending/ |
lsof.c | 448 char *pid_str; local 451 while ((pid_str = comma_iterate(&TT.pids, &length))) { 452 pid_str[length] = 0; 453 if (!(pid = atoi(pid_str))) error_exit("bad pid '%s'", pid_str);
|
/system/core/libmemunreachable/ |
ThreadCapture.cpp | 104 char* pid_str = pid_to_str(pid_buf, sizeof(pid_buf), pid_); local 105 if (!pid_str) { 108 strlcat(path, pid_str, sizeof(path));
|
/system/core/init/ |
service.cpp | 412 std::string pid_str = StringPrintf("%d", getpid()); local 414 if (!WriteStringToFile(pid_str, file)) { 416 pid_str.c_str(), file.c_str(), strerror(errno));
|
/system/core/logcat/ |
logcat.cpp | 575 static const char pid_str[] = "pid"; local 592 { pid_str, required_argument, NULL, 0 }, 616 if (long_options[option_index].name == pid_str) { [all...] |
/system/vold/ |
CommandListener.cpp | 690 const std::string pid_str = android::base::StringPrintf("%d", pid); local 692 openat(dirfd(dir.get()), pid_str.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC));
|