/external/libbrillo/brillo/ |
D | process.cc | 52 : pid_(0), in ProcessImpl() 330 if (pid_ == 0) { in Wait() 334 if (HANDLE_EINTR(waitpid(pid_, &status, 0)) < 0) { in Wait() 336 LOG(ERROR) << "Problem waiting for pid " << pid_ << ": " << saved_errno; in Wait() 339 pid_t old_pid = pid_; in Wait() 361 return pid_; in pid() 365 if (pid_ == 0) { in Kill() 370 if (kill(pid_, signal) < 0) { in Kill() 371 PLOG(ERROR) << "Unable to send signal to " << pid_; in Kill() 377 pid_t w = waitpid(pid_, &status, WNOHANG); in Kill() [all …]
|
/external/libchrome/base/debug/ |
D | activity_analyzer.h | 40 ThreadKey(int64_t pid, int64_t tid) : pid_(pid), tid_(tid) {} in ThreadKey() 43 if (pid_ != rhs.pid_) 44 return pid_ < rhs.pid_; 49 return (pid_ == rhs.pid_ && tid_ == rhs.tid_); 53 int64_t pid_;
|
/external/bcc/src/cc/usdt/ |
D | usdt.cc | 64 pid_(pid), in Probe() 78 return (pid_ && in resolve_global_address() 79 !bcc_resolve_global_addr(*pid_, bin_path.c_str(), addr, mod_match_inode_only_, global)); in resolve_global_address() 87 assert(pid_); in add_to_semaphore() 98 std::string procmem = tfm::format("/proc/%d/mem", pid_.value()); in add_to_semaphore() 128 if (!pid_) in enable() 146 assert(pid_); in disable() 197 pid_)) in usdt_getarg() 218 pid_)) in usdt_getarg() 260 if (ctx->pid_ && *ctx->pid_ != -1 && enter_ns) { in _each_module() [all …]
|
/external/perfetto/src/profiling/symbolizer/ |
D | subprocess_posix.cc | 40 if ((pid_ = fork()) == 0) { in Subprocess() 49 PERFETTO_CHECK(pid_ != -1); in Subprocess() 55 if (pid_ != -1) { in ~Subprocess() 56 kill(pid_, SIGKILL); in ~Subprocess() 58 PERFETTO_EINTR(waitpid(pid_, &wstatus, 0)); in ~Subprocess()
|
/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/bcc/tests/cc/ |
D | test_usdt_probes.cc | 165 pid_t pid_; member in ChildProcess 169 pid_ = fork(); in ChildProcess() 170 if (pid_ == 0) { in ChildProcess() 176 if (kill(pid_, 0) < 0) in ChildProcess() 177 pid_ = -1; in ChildProcess() 184 kill(pid_, SIGKILL); in ~ChildProcess() 185 if (waitpid(pid_, &status, 0) != pid_) in ~ChildProcess() 190 bool spawned() const { return pid_ > 0; } in spawned() 191 pid_t pid() const { return pid_; } in pid()
|
/external/tensorflow/tensorflow/tsl/platform/default/ |
D | subprocess.cc | 82 : running_(false), pid_(-1), exec_path_(nullptr), exec_argv_(nullptr) { in SubProcess() 95 pid_ = -1; in ~SubProcess() 301 ret = posix_spawnp(&pid_, exec_path_, &file_actions, nullptr, exec_argv_, in Start() 380 pid_ = fork(); in Start() 381 if (pid_ < 0) { in Start() 387 if (pid_ > 0) { in Start() 478 pid_t pid = pid_; in WaitInternal() 499 if ((running_ == running) && (pid_ == pid)) { in WaitInternal() 501 pid_ = -1; in WaitInternal() 510 pid_t pid = pid_; in Kill()
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/ |
D | handshake_util.cc | 327 ScopedProcess() : pid_(-1) {} in ScopedProcess() 332 Reset(other.pid_); in operator =() 333 other.pid_ = -1; in operator =() 337 pid_t pid() const { return pid_; } in pid() 340 if (pid_ >= 0) { in Reset() 341 kill(pid_, SIGTERM); in Reset() 345 pid_ = pid; in Reset() 349 if (pid_ < 0) { in Wait() 352 if (waitpid_eintr(pid_, out_status, 0) != pid_) { in Wait() 355 pid_ = -1; in Wait() [all …]
|
/external/cronet/third_party/boringssl/src/ssl/test/ |
D | handshake_util.cc | 327 ScopedProcess() : pid_(-1) {} in ScopedProcess() 332 Reset(other.pid_); in operator =() 333 other.pid_ = -1; in operator =() 337 pid_t pid() const { return pid_; } in pid() 340 if (pid_ >= 0) { in Reset() 341 kill(pid_, SIGTERM); in Reset() 345 pid_ = pid; in Reset() 349 if (pid_ < 0) { in Wait() 352 if (waitpid_eintr(pid_, out_status, 0) != pid_) { in Wait() 355 pid_ = -1; in Wait() [all …]
|
/external/boringssl/src/ssl/test/ |
D | handshake_util.cc | 327 ScopedProcess() : pid_(-1) {} in ScopedProcess() 332 Reset(other.pid_); in operator =() 333 other.pid_ = -1; in operator =() 337 pid_t pid() const { return pid_; } in pid() 340 if (pid_ >= 0) { in Reset() 341 kill(pid_, SIGTERM); in Reset() 345 pid_ = pid; in Reset() 349 if (pid_ < 0) { in Wait() 352 if (waitpid_eintr(pid_, out_status, 0) != pid_) { in Wait() 355 pid_ = -1; in Wait() [all …]
|
/external/perfetto/include/perfetto/ext/ipc/ |
D | client_info.h | 32 : client_id_(client_id), uid_(uid), pid_(pid) {} in ClientInfo() 54 int32_t pid() const { return pid_; } in pid() 59 pid_t pid_ = base::kInvalidPid; variable
|
/external/angle/src/libANGLE/renderer/metal/ |
D | process.cpp | 210 Process::Process(const std::vector<std::string> &argv) : pid_(LaunchProcess(argv)) {} in Process() 219 ASSERT(pid_ != kNullProcessId); in WaitForExit() 220 return WaitForExitImpl(pid_, exit_code); in WaitForExit() 225 return pid_ != kNullProcessId; in DidLaunch()
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | packet_sequence_state.h | 90 pid_ = pid; in SetThreadDescriptor() 126 int32_t pid() const { return pid_; } in pid() 152 int32_t pid_ = 0; variable
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_dumper.cc | 282 : pid_(pid), in LinuxDumper() 328 if (pid_ == sys_getpid()) { in ElfFileIdentifierForMapping() 332 CopyFromProcess(linux_gate, pid_, in ElfFileIdentifierForMapping() 517 if (!BuildProcPath(auxv_path, pid_, "auxv")) { in ReadAuxv() 543 if (!BuildProcPath(maps_path, pid_, "maps")) in EnumerateMappings() 652 CopyFromProcess(ehdr, pid_, in GetLoadedElfHeader() 672 CopyFromProcess(&phdr, pid_, in ParseLoadedElfProgramHeaders() 696 CopyFromProcess(&dyn, pid_, in HasAndroidPackedRelocations() 944 if (!BuildProcPath(exe_link, pid_, "exe")) in HandleDeletedFileInMapping()
|
D | linux_dumper.h | 107 if (threads_[i] == pid_) return i; in GetMainThreadIndex() 236 const pid_t pid_; variable
|
/external/bcc/src/cc/api/ |
D | BPF.cc | 930 pid_(-1), in USDT() 940 pid_(pid), in USDT() 951 pid_(pid), in USDT() 960 pid_(usdt.pid_), in USDT() 969 pid_(usdt.pid_), in USDT() 981 (binary_path_ == other.binary_path_) && (pid_ == other.pid_) && in operator ==() 995 if (!binary_path_.empty() && pid_ > 0) in init() 996 ctx.reset(new ::USDT::Context(pid_, binary_path_, mod_match_inode_only_)); in init() 999 else if (pid_ > 0) in init() 1000 ctx.reset(new ::USDT::Context(pid_, mod_match_inode_only_)); in init()
|
/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/strace/ |
D | kcmp.c | 49 #define PRINT_FIELD_PIDFD(prefix_, where_, field_, tcp_, pid_) \ argument 52 printpidfd((tcp_), (pid_), (where_).field_); \
|
/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_;
|
/external/cronet/base/process/ |
D | process_iterator.h | 49 ProcessId pid() const { return pid_; } 57 ProcessId pid_;
|
/external/mesa3d/include/android_stub/backtrace/ |
D | Backtrace.h | 161 pid_t Pid() const { return pid_; } in Pid() 200 pid_t pid_; variable
|