Home
last modified time | relevance | path

Searched refs:pid_ (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium-trace/catapult/systrace/atrace_helper/jni/
Dprocess_info.cc16 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()
Dprocess_memory_stats.cc55 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()
Dprocess_info.h68 const int pid_; variable
Dprocess_memory_stats.h51 const int pid_; variable
/external/libbrillo/brillo/
Dprocess.cc50 : 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/
Dshared_memory_handle_mac.cc35 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()
Dshared_memory_handle.h76 base::ProcessId pid_; variable
152 base::ProcessId pid_ = 0; variable
/external/regex-re2/util/
Dthread.cc11 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()
Dthread.h20 pthread_t pid_;
/external/google-breakpad/src/client/mac/crash_generation/
Dclient_info.h37 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/
Dclient_info.h41 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/
Dlinux_dumper.cc76 : 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()
Dlinux_dumper.h164 const pid_t pid_; variable
/external/google-breakpad/src/client/solaris/handler/
Dsolaris_lwp.h117 int getpid() const { return this->pid_; } in getpid()
155 int pid_;
Dsolaris_lwp.cc229 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/
Dclient_info.h60 DWORD pid() const { return pid_; } in pid()
109 DWORD pid_; variable
Dclient_info.cc46 pid_(pid), in ClientInfo()
62 process_handle_ = OpenProcess(GENERIC_ALL, FALSE, pid_); in Initialize()
/external/libchrome/base/process/
Dprocess_iterator.h47 ProcessId pid() const { return pid_; }
55 ProcessId pid_;
Dprocess_iterator.cc11 ProcessEntry::ProcessEntry() : pid_(0), ppid_(0), gid_(0) {} in ProcessEntry()
Dprocess_iterator_linux.cc137 entry_.pid_ = pid; in CheckForNextProcess()
/external/v8/src/libplatform/tracing/
Dtrace-object.cc41 pid_ = base::OS::GetCurrentProcessId(); in Initialize()
119 pid_ = pid; in InitializeForTesting()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stoptheworld_linux_libcdep.cc103 , pid_(pid) { in ThreadSuspender()
115 pid_t pid_; member in __sanitizer::ThreadSuspender
191 ThreadLister thread_lister(pid_); in SuspendAllThreads()
Dsanitizer_linux.h71 int pid_; variable
/external/v8/src/
Dd8-posix.cc139 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/
Dv8-tracing.h57 int pid() const { return pid_; } in pid()
81 int pid_;

12