/external/chromium-trace/catapult/systrace/atrace_helper/jni/ |
D | process_info.cc | 16 ProcessInfo::ProcessInfo(int pid) : memory_(pid), pid_(pid) {} in ProcessInfo() 33 if (!file_utils::ReadProcFileTrimmed(pid_, "cmdline", name_, sizeof(name_))) in ReadProcessName() 38 if (!file_utils::ReadProcFileTrimmed(pid_, "comm", name_, sizeof(name_))) in ReadProcessName() 44 sprintf(exe_path, "/proc/%d/exe", pid_); in ReadProcessName() 55 sprintf(tasks_path, "/proc/%d/task", pid_); in ReadThreadNames() 58 const int pid = pid_; in ReadThreadNames() 74 if (file_utils::ReadProcFileTrimmed(pid_, "oom_adj", buf, sizeof(buf))) in ReadOOMStats() 79 if (file_utils::ReadProcFileTrimmed(pid_, "oom_score", buf, sizeof(buf))) in ReadOOMStats() 84 if (file_utils::ReadProcFileTrimmed(pid_, "oom_score_adj", buf, sizeof(buf))) in ReadOOMStats() 94 if (!file_utils::ReadProcFileTrimmed(pid_, "stat", buf, sizeof(buf))) in ReadPageFaultsAndCPUTimeStats()
|
D | process_memory_stats.cc | 55 ProcessMemoryStats::ProcessMemoryStats(int pid) : pid_(pid) {} in ProcessMemoryStats() 59 if (file_utils::ReadProcFile(pid_, "statm", buf, sizeof(buf)) <= 0) in ReadLightStats() 73 ssize_t rsize = file_utils::ReadProcFile(pid_, "smaps", &buf[0], kBufSize); in ReadFullStats()
|
D | process_info.h | 68 const int pid_; variable
|
D | process_memory_stats.h | 51 const int pid_; variable
|
/external/libbrillo/brillo/ |
D | process.cc | 50 : pid_(0), in ProcessImpl() 321 if (pid_ == 0) { in Wait() 325 if (HANDLE_EINTR(waitpid(pid_, &status, 0)) < 0) { in Wait() 327 LOG(ERROR) << "Problem waiting for pid " << pid_ << ": " << saved_errno; in Wait() 330 pid_t old_pid = pid_; in Wait() 352 return pid_; in pid() 356 if (pid_ == 0) { in Kill() 361 if (kill(pid_, signal) < 0) { in Kill() 362 PLOG(ERROR) << "Unable to send signal to " << pid_; in Kill() 368 pid_t w = waitpid(pid_, &status, WNOHANG); in Kill() [all …]
|
/external/libchrome/base/memory/ |
D | shared_memory_handle_mac.cc | 35 pid_ = GetCurrentProcId(); in SharedMemoryHandle() 44 pid_(pid), in SharedMemoryHandle() 78 pid_ == handle.pid_; in operator ==() 108 DCHECK_EQ(pid_, GetCurrentProcId()); in MapAt() 142 pid_ = handle.pid_; in CopyRelevantData()
|
D | shared_memory_handle.h | 76 base::ProcessId pid_; variable 152 base::ProcessId pid_ = 0; variable
|
/external/regex-re2/util/ |
D | thread.cc | 11 pid_ = 0; in Thread() 27 pthread_create(&pid_, 0, startThread, this); in Start() 30 pthread_detach(pid_); in Start() 37 pthread_join(pid_, &val); in Join()
|
D | thread.h | 20 pthread_t pid_;
|
/external/google-breakpad/src/client/mac/crash_generation/ |
D | client_info.h | 37 explicit ClientInfo(pid_t pid) : pid_(pid) {} in ClientInfo() 39 pid_t pid() const { return pid_; } in pid() 42 pid_t pid_;
|
/external/google-breakpad/src/client/linux/crash_generation/ |
D | client_info.h | 41 pid_(pid) {} in ClientInfo() 44 pid_t pid() const { return pid_; } in pid() 48 pid_t pid_; variable
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_dumper.cc | 76 : pid_(pid), in LinuxDumper() 108 if (pid_ == sys_getpid()) { in ElfFileIdentifierForMapping() 112 CopyFromProcess(linux_gate, pid_, in ElfFileIdentifierForMapping() 259 if (!BuildProcPath(auxv_path, pid_, "auxv")) { in ReadAuxv() 285 if (!BuildProcPath(maps_path, pid_, "maps")) in EnumerateMappings() 454 if (!BuildProcPath(exe_link, pid_, "exe")) in HandleDeletedFileInMapping()
|
D | linux_dumper.h | 164 const pid_t pid_; variable
|
/external/google-breakpad/src/client/solaris/handler/ |
D | solaris_lwp.h | 117 int getpid() const { return this->pid_; } in getpid() 155 int pid_;
|
D | solaris_lwp.cc | 229 SolarisLwp::SolarisLwp(int pid) : pid_(pid) { in SolarisLwp() 237 return IterateLwpAll(pid_, &callback_param); in ControlAllLwps() 241 return IterateLwpAll(pid_, NULL); in GetLwpCount()
|
/external/google-breakpad/src/client/windows/crash_generation/ |
D | client_info.h | 60 DWORD pid() const { return pid_; } in pid() 109 DWORD pid_; variable
|
D | client_info.cc | 46 pid_(pid), in ClientInfo() 62 process_handle_ = OpenProcess(GENERIC_ALL, FALSE, pid_); in Initialize()
|
/external/libchrome/base/process/ |
D | process_iterator.h | 47 ProcessId pid() const { return pid_; } 55 ProcessId pid_;
|
D | process_iterator.cc | 11 ProcessEntry::ProcessEntry() : pid_(0), ppid_(0), gid_(0) {} in ProcessEntry()
|
D | process_iterator_linux.cc | 137 entry_.pid_ = pid; in CheckForNextProcess()
|
/external/v8/src/libplatform/tracing/ |
D | trace-object.cc | 41 pid_ = base::OS::GetCurrentProcessId(); in Initialize() 119 pid_ = pid; in InitializeForTesting()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stoptheworld_linux_libcdep.cc | 103 , pid_(pid) { in ThreadSuspender() 115 pid_t pid_; member in __sanitizer::ThreadSuspender 191 ThreadLister thread_lister(pid_); in SuspendAllThreads()
|
D | sanitizer_linux.h | 71 int pid_; variable
|
/external/v8/src/ |
D | d8-posix.cc | 139 explicit ZombieProtector(int pid): pid_(pid) { } in ZombieProtector() 140 ~ZombieProtector() { if (pid_ != 0) waitpid(pid_, NULL, 0); } in ~ZombieProtector() 141 void ChildIsDeadNow() { pid_ = 0; } in ChildIsDeadNow() 143 int pid_; member in v8::ZombieProtector
|
/external/v8/include/libplatform/ |
D | v8-tracing.h | 57 int pid() const { return pid_; } in pid() 81 int pid_;
|