Lines Matching refs:process_
226 Process::Process(ProcessHandle handle) : process_(handle) { in Process()
232 Process::Process(Process&& other) : process_(other.process_) { in Process()
238 process_ = other.process_; in operator =()
277 return process_ != kNullProcessHandle; in IsValid()
281 return process_; in Handle()
288 return Process(process_); in Duplicate()
293 return GetProcId(process_); in Pid()
297 return process_ == GetCurrentProcessHandle(); in is_current()
301 process_ = kNullProcessHandle; in Close()
311 CHECK_GT(process_, 0); in Terminate()
313 bool result = kill(process_, SIGTERM) == 0; in Terminate()
322 pid_t pid = HANDLE_EINTR(waitpid(process_, NULL, WNOHANG)); in Terminate()
323 if (pid == process_) { in Terminate()
334 DPLOG(ERROR) << "Error waiting for process " << process_; in Terminate()
346 result = kill(process_, SIGKILL) == 0; in Terminate()
350 DPLOG(ERROR) << "Unable to terminate process " << process_; in Terminate()
382 return getpriority(PRIO_PROCESS, process_); in GetPriority()