/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_linux_test.cc | 47 pid_t reported_tid; 66 pid_t tid; in SetUp() 83 void SpawnTidReporter(pthread_t *pthread_id, pid_t *tid); 88 std::vector<pid_t> tids_; 110 pid_t *tid) { in SpawnTidReporter() 123 static std::vector<pid_t> ReadTidsToVector(ThreadLister *thread_lister) { in ReadTidsToVector() 124 std::vector<pid_t> listed_tids; in ReadTidsToVector() 125 pid_t tid; in ReadTidsToVector() 132 static bool Includes(std::vector<pid_t> first, std::vector<pid_t> second) { in Includes() 139 static bool HasElement(std::vector<pid_t> vector, pid_t element) { in HasElement() [all …]
|
/external/libmicrohttpd/src/testspdy/ |
D | test_proxies.c | 47 pid_t parent; 48 pid_t child_mhd; 49 pid_t child_spdy2http; 50 pid_t child_mhd2spdy; 51 pid_t child_curl; 77 pid_t au_fork() in au_fork() 79 pid_t child = fork(); in au_fork() 95 pid_t wpid; in main() 106 pid_t devnull; in main() 130 pid_t devnull; in main() [all …]
|
/external/ltrace/ |
D | backend.h | 47 char *pid2name(pid_t pid); 50 pid_t process_leader(pid_t pid); 57 int process_tasks(pid_t pid, pid_t **ret_tasks, size_t *ret_n); 61 int process_stopped(pid_t pid); 64 enum process_status process_status(pid_t pid); 67 int wait_for_proc(pid_t pid); 70 int task_kill(pid_t pid, int sig); 81 int trace_pid(pid_t pid); 84 void untrace_pid(pid_t pid); 124 void continue_process(pid_t pid); [all …]
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | minidump_writer.h | 80 bool WriteMinidump(const char* minidump_path, pid_t crashing_process, 83 bool WriteMinidump(int minidump_fd, pid_t crashing_process, 91 bool WriteMinidump(const char* minidump_path, pid_t process, 92 pid_t process_blamed_thread); 96 bool WriteMinidump(const char* minidump_path, pid_t crashing_process, 100 bool WriteMinidump(int minidump_fd, pid_t crashing_process, 107 pid_t crashing_process, 112 pid_t crashing_process,
|
D | linux_dumper.h | 72 explicit LinuxDumper(pid_t pid); 91 const wasteful_vector<pid_t> &threads() { return threads_; } in threads() 106 virtual bool CopyFromProcess(void* dest, pid_t child, const void* src, 113 virtual bool BuildProcPath(char* path, pid_t pid, const char* node) const = 0; 131 pid_t crash_thread() const { return crash_thread_; } in crash_thread() 132 void set_crash_thread(pid_t crash_thread) { crash_thread_ = crash_thread; } in set_crash_thread() 164 const pid_t pid_; 173 pid_t crash_thread_; 178 wasteful_vector<pid_t> threads_;
|
D | linux_ptrace_dumper_unittest.cc | 112 pid_t child_pid_; 247 const pid_t pid = getppid(); in TEST_F() 376 pid_t child_pid = fork(); 439 pid_t* process_tid_location = (pid_t*)(one_thread.regs.uregs[3]); 441 pid_t* process_tid_location = (pid_t*)(one_thread.regs.regs[3]); 443 pid_t* process_tid_location = (pid_t*)(one_thread.regs.ecx); 445 pid_t* process_tid_location = (pid_t*)(one_thread.regs.rcx); 447 pid_t* process_tid_location = 448 reinterpret_cast<pid_t*>(one_thread.regs.regs[1]); 452 pid_t one_thread_id;
|
/external/google-breakpad/src/common/linux/tests/ |
D | crash_generator.cc | 59 pid_t* thread_id_ptr; 73 int tkill(pid_t tid, int sig) { in tkill() 83 volatile pid_t thread_id = gettid(); in thread_function() 123 pid_t CrashGenerator::GetThreadId(unsigned index) const { in GetThreadId() 124 return reinterpret_cast<pid_t*>(shared_memory_)[index]; in GetThreadId() 127 pid_t* CrashGenerator::GetThreadIdPointer(unsigned index) { in GetThreadIdPointer() 128 return reinterpret_cast<pid_t*>(shared_memory_) + index; in GetThreadIdPointer() 173 pid_t* child_pid) { in CreateChildCrash() 180 if (!MapSharedMemory(num_threads * sizeof(pid_t))) { in CreateChildCrash() 185 pid_t pid = fork(); in CreateChildCrash() [all …]
|
D | crash_generator.h | 73 int crash_signal, pid_t* child_pid); 77 pid_t GetThreadId(unsigned index) const; 83 bool CopyProcFiles(pid_t pid, const char* path) const; 102 pid_t* GetThreadIdPointer(unsigned index);
|
/external/elfutils/libdwfl/ |
D | linux-pid-attach.c | 47 linux_proc_pid_is_stopped (pid_t pid) in linux_proc_pid_is_stopped() 72 __libdwfl_ptrace_attach (pid_t tid, bool *tid_was_stoppedp) in __libdwfl_ptrace_attach() 121 pid_t tid = pid_arg->tid_attached; in pid_memory_read() 159 static pid_t 192 pid_t tid = tidl; in pid_next_thread() 204 pid_getthread (Dwfl *dwfl __attribute__ ((unused)), pid_t tid, in pid_getthread() 239 pid_t tid = INTUSE(dwfl_thread_tid) (thread); in pid_set_initial_registers() 262 __libdwfl_ptrace_detach (pid_t tid, bool tid_was_stopped) in __libdwfl_ptrace_detach() 277 pid_t tid = INTUSE(dwfl_thread_tid) (thread); in pid_thread_detach() 295 dwfl_linux_proc_attach (Dwfl *dwfl, pid_t pid, bool assume_ptrace_stopped) in dwfl_linux_proc_attach() [all …]
|
/external/libbrillo/brillo/ |
D | process.h | 132 virtual pid_t pid() = 0; 143 virtual void Reset(pid_t new_pid) = 0; 150 virtual pid_t Release() = 0; 153 static bool ProcessExists(pid_t pid); 182 virtual pid_t pid(); 184 virtual void Reset(pid_t pid); 186 virtual pid_t Release(); 202 void UpdatePid(pid_t new_pid); 214 pid_t pid_;
|
D | process_reaper_unittest.cc | 21 pid_t ForkChildAndExit(int exit_code) { in ForkChildAndExit() 22 pid_t pid = fork(); in ForkChildAndExit() 30 pid_t ForkChildAndKill(int sig) { in ForkChildAndKill() 31 pid_t pid = fork(); in ForkChildAndKill() 76 pid_t pid = ForkChildAndExit(123); in TEST_F() 93 pid_t pid = ForkChildAndExit(exit_value); in TEST_F() 111 pid_t pid = ForkChildAndKill(SIGKILL); in TEST_F() 122 pid_t pid = ForkChildAndExit(0); in TEST_F()
|
/external/kernel-headers/original/uapi/linux/ |
D | elfcore.h | 51 pid_t pr_pid; 52 pid_t pr_ppid; 53 pid_t pr_pgrp; 54 pid_t pr_sid; 87 pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid;
|
/external/libchrome/base/process/ |
D | internal_linux.h | 31 base::FilePath GetProcPidDir(pid_t pid); 37 pid_t ProcDirSlotToPid(const char* d_name); 41 bool ReadProcStats(pid_t pid, std::string* buffer); 77 int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num); 80 size_t ReadProcStatsAndGetFieldAsSizeT(pid_t pid,
|
D | kill_posix.cc | 31 const pid_t result = HANDLE_EINTR(waitpid(handle, &status, in GetTerminationStatusImpl() 139 static bool IsChildDead(pid_t child) { in IsChildDead() 140 const pid_t result = HANDLE_EINTR(waitpid(child, NULL, WNOHANG)); in IsChildDead() 156 BackgroundReaper(pid_t child, unsigned timeout) in BackgroundReaper() 170 pid_t r = HANDLE_EINTR(waitpid(child_, NULL, 0)); in WaitForChildToDie() 200 const pid_t child_;
|
/external/libbrillo/brillo/minijail/ |
D | minijail.h | 62 virtual bool Run(struct minijail* jail, std::vector<char*> args, pid_t* pid); 72 pid_t* pid, 78 pid_t* pid, 86 pid_t* pid); 96 pid_t* pid, 102 pid_t* pid,
|
D | minijail.cc | 73 bool Minijail::Run(struct minijail* jail, vector<char*> args, pid_t* pid) { in Run() 78 pid_t pid; in RunSync() 88 pid_t* pid, in RunPipe() 101 pid_t* pid, in RunPipes() 116 pid_t* pid) { in RunAndDestroy() 132 pid_t* pid, in RunPipeAndDestroy() 141 pid_t* pid, in RunPipesAndDestroy()
|
/external/libchrome/sandbox/linux/services/ |
D | syscall_wrappers.h | 27 SANDBOX_EXPORT pid_t sys_getpid(void); 29 SANDBOX_EXPORT pid_t sys_gettid(void); 38 pid_t* ptid, 39 pid_t* ctid, 51 SANDBOX_EXPORT int sys_prlimit64(pid_t pid,
|
/external/selinux/libselinux/src/ |
D | procattr.c | 25 static pid_t gettid(void) in gettid() 67 static int openattr(pid_t pid, const char *attr, int flags) in openattr() 71 pid_t tid; in openattr() 96 pid_t pid, const char *attr) in getprocattrcon_raw() 179 pid_t pid, const char *attr) in getprocattrcon() 195 pid_t pid, const char *attr) in setprocattrcon_raw() 264 pid_t pid, const char *attr) in setprocattrcon() 304 int get##fn##_raw(pid_t pid, char **c) \ 308 int get##fn(pid_t pid, char **c) \
|
/external/bison/lib/ |
D | spawn.in.h | 90 pid_t _pgrp; 178 (pid_t *_Restrict_ __pid, 186 (pid_t *_Restrict_ __pid, 195 (pid_t *_Restrict_ __pid, 204 (pid_t *_Restrict_ __pid, 230 (pid_t *__pid, const char *__file, 236 (pid_t *__pid, const char *__file, 243 (pid_t *__pid, const char *__file, 250 (pid_t *__pid, const char *__file, 525 pid_t *_Restrict_ __pgroup) [all …]
|
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
D | syscall_parameters_restrictions.h | 60 SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictKillTarget(pid_t target_pid, 68 SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictGetSetpriority(pid_t target_pid); 78 SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictSchedTarget(pid_t target_pid, 83 SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictPrlimit64(pid_t target_pid);
|
/external/libmicrohttpd/src/testcurl/ |
D | test_concurrent_stop.c | 101 static pid_t 104 pid_t ret; in do_gets() 109 pid_t par[PAR]; in do_gets() 157 join_gets (pid_t pid) in join_gets() 172 pid_t p; in testMultithreadedGet() 190 pid_t p; in testMultithreadedPoolGet()
|
D | test_get_response_cleanup.c | 65 static pid_t 68 pid_t ret; in fork_curl() 81 kill_curl (pid_t pid) in kill_curl() 150 pid_t curl; in testInternalGet() 172 pid_t curl; in testMultithreadedGet() 208 pid_t curl; in testMultithreadedPoolGet() 237 pid_t curl; in testExternalGet()
|
/external/libdaemon/libdaemon/ |
D | dpid.c | 99 pid_t daemon_pid_file_is_running(void) { in daemon_pid_file_is_running() 103 pid_t ret = (pid_t) -1, pid; in daemon_pid_file_is_running() 138 pid = (pid_t) lpid; in daemon_pid_file_is_running() 171 pid_t pid; in daemon_pid_file_kill() 173 if ((pid = daemon_pid_file_is_running()) == (pid_t) -1) in daemon_pid_file_kill() 183 pid_t pid; in daemon_pid_file_kill_wait()
|
/external/google-breakpad/src/common/android/include/sys/ |
D | procfs.h | 77 pid_t pr_pid; 78 pid_t pr_ppid; 79 pid_t pr_pgrp; 80 pid_t pd_sid;
|
/external/compiler-rt/test/msan/ |
D | fork.cc | 69 pid_t pid = fork(); in test() 73 pid_t p; in test() 84 pid_t pid = fork(); in main() 94 pid_t p; in main()
|