/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/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace.h | 64 int start_trace(pid_t child) in start_trace() 81 int stop_trace(pid_t child) in stop_trace() 93 int cont_trace(pid_t child) in cont_trace() 105 int ptrace_read_regs(pid_t child, unsigned long type, unsigned long regs[], in ptrace_read_regs() 125 long ptrace_write_regs(pid_t child, unsigned long type, unsigned long regs[], in ptrace_write_regs() 144 int show_tar_registers(pid_t child, unsigned long *out) in show_tar_registers() 189 int write_tar_registers(pid_t child, unsigned long tar, in write_tar_registers() 233 int show_tm_checkpointed_state(pid_t child, unsigned long *out) in show_tm_checkpointed_state() 280 int write_ckpt_tar_registers(pid_t child, unsigned long tar, in write_ckpt_tar_registers() 325 int show_fpr(pid_t child, unsigned long *fpr) in show_fpr() [all …]
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
D | cpuset.h | 218 char *cpuset_getcpusetpath(pid_t pid, char *buf, size_t size); 219 int cpuset_cpusetofpid(struct cpuset *cp, pid_t pid); 227 pid_t cpuset_get_pidlist(const struct cpuset_pidlist *pl, int i); 230 int cpuset_move(pid_t pid, const char *cpusetpath); 233 int cpuset_migrate(pid_t pid, const char *cpusetpath); 242 int cpuset_p_rel_to_sys_cpu(pid_t pid, int cpu); 243 int cpuset_p_sys_to_rel_cpu(pid_t pid, int cpu); 244 int cpuset_p_rel_to_sys_mem(pid_t pid, int mem); 245 int cpuset_p_sys_to_rel_mem(pid_t pid, int mem); 247 struct cpuset_placement *cpuset_get_placement(pid_t pid); [all …]
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
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 | 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_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/ltp/testcases/kernel/syscalls/setpgid/ |
D | setpgid02.c | 63 static pid_t pgid, pid; 64 static pid_t bad_pid = -1; 65 static pid_t zero_pid; 66 static pid_t unused_pid; 67 static pid_t inval_pid = 99999; 70 pid_t *pid; 71 pid_t *pgid;
|
/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 …]
|
/external/honggfuzz/linux/ |
D | trace.h | 36 extern bool arch_traceWaitForPidStop(pid_t pid); 38 extern void arch_traceAnalyze(run_t* run, int status, pid_t pid); 39 extern void arch_traceExitAnalyze(run_t* run, pid_t pid); 41 extern void arch_traceDetach(pid_t pid); 42 extern void arch_traceGetCustomPerf(run_t* run, pid_t pid, uint64_t* cnt); 43 extern void arch_traceSetCustomPerf(run_t* run, pid_t pid, uint64_t cnt);
|
/external/honggfuzz/netbsd/ |
D | trace.h | 36 extern bool arch_traceWaitForPidStop(pid_t pid); 38 extern void arch_traceAnalyze(run_t* run, int status, pid_t pid); 39 extern void arch_traceExitAnalyze(run_t* run, pid_t pid); 41 extern void arch_traceDetach(pid_t pid); 42 extern void arch_traceGetCustomPerf(run_t* run, pid_t pid, uint64_t* cnt); 43 extern void arch_traceSetCustomPerf(run_t* run, pid_t pid, uint64_t cnt);
|
/external/ltp/testcases/kernel/syscalls/waitpid/ |
D | waitpid_common.h | 30 static pid_t *fork_kid_pid; 31 static pid_t child_1_pid; 89 int waitpid_ret_test(pid_t wp_pid, int *wp_status, int wp_opts, in waitpid_ret_test() 90 pid_t wp_ret, int wp_errno) in waitpid_ret_test() 92 pid_t ret; in waitpid_ret_test() 107 static int reap_children(pid_t wp_pid, int wp_opts, pid_t *children, int len) in reap_children() 109 pid_t pid; in reap_children()
|
/external/libbrillo/brillo/ |
D | process.h | 138 virtual pid_t pid() = 0; 149 virtual void Reset(pid_t new_pid) = 0; 156 virtual pid_t Release() = 0; 159 static bool ProcessExists(pid_t pid); 189 virtual pid_t pid(); 191 virtual void Reset(pid_t pid); 193 virtual pid_t Release(); 209 void UpdatePid(pid_t new_pid); 221 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() 112 pid_t pid = ForkChildAndKill(SIGKILL); in TEST_F() 123 pid_t pid = ForkChildAndExit(0); in TEST_F()
|
/external/perfetto/src/profiling/memory/ |
D | heapprofd_producer.h | 43 pid_t pid; 129 pid_t, 135 pid_t, 139 void SetTargetProcess(pid_t target_pid, 182 std::set<pid_t> signaled_pids; 183 std::set<pid_t> rejected_pids; 184 std::map<pid_t, ProcessState> process_states; 209 UnwindingWorker& UnwinderForPID(pid_t); 210 bool IsPidProfiled(pid_t); 239 std::map<pid_t, PendingProcess> pending_processes_;
|
/external/elfutils/libdwfl/ |
D | linux-pid-attach.c | 49 linux_proc_pid_is_stopped (pid_t pid) in linux_proc_pid_is_stopped() 74 __libdwfl_ptrace_attach (pid_t tid, bool *tid_was_stoppedp) in __libdwfl_ptrace_attach() 195 pid_t tid = pid_arg->tid_attached; in pid_memory_read() 239 static pid_t 272 pid_t tid = tidl; in pid_next_thread() 284 pid_getthread (Dwfl *dwfl __attribute__ ((unused)), pid_t tid, in pid_getthread() 319 pid_t tid = INTUSE(dwfl_thread_tid) (thread); in pid_set_initial_registers() 343 __libdwfl_ptrace_detach (pid_t tid, bool tid_was_stopped) in __libdwfl_ptrace_detach() 358 pid_t tid = INTUSE(dwfl_thread_tid) (thread); in pid_thread_detach() 377 dwfl_linux_proc_attach (Dwfl *dwfl, pid_t pid, bool assume_ptrace_stopped) in dwfl_linux_proc_attach() [all …]
|
/external/ltp/lib/ |
D | cloner.c | 50 pid_t *parent_tid, void *tls, pid_t *child_tid); 66 size_t stack_size, void *stack, pid_t *ptid, void *tls, pid_t *ctid) in ltp_clone_() 102 pid_t *ptid, *ctid; in ltp_clone7() 107 ptid = va_arg(arg_clone, pid_t *); in ltp_clone7() 109 ctid = va_arg(arg_clone, pid_t *); in ltp_clone7()
|
/external/ltp/testcases/kernel/syscalls/fork/ |
D | fork13.c | 69 static int pid_distance(pid_t first, pid_t second); 85 pid_t last_pid = 0; in check() 86 pid_t pid; in check() 151 static int pid_distance(pid_t first, pid_t second) in pid_distance()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/sched/sched_swap_numa/ |
D | format | 9 field:pid_t src_pid; offset:8; size:4; signed:1; 10 field:pid_t src_tgid; offset:12; size:4; signed:1; 11 field:pid_t src_ngid; offset:16; size:4; signed:1; 14 field:pid_t dst_pid; offset:28; size:4; signed:1; 15 field:pid_t dst_tgid; offset:32; size:4; signed:1; 16 field:pid_t dst_ngid; offset:36; size:4; signed:1;
|
/external/libchrome/base/process/ |
D | internal_aix.h | 28 base::FilePath GetProcPidDir(pid_t pid); 34 pid_t ProcDirSlotToPid(const char* d_name); 38 bool ReadProcStats(pid_t pid, std::string* buffer); 76 int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num); 79 size_t ReadProcStatsAndGetFieldAsSizeT(pid_t pid, ProcStatsFields field_num);
|
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); 81 int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num); 85 size_t ReadProcStatsAndGetFieldAsSizeT(pid_t pid,
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/getpid/ |
D | 1-1.c | 52 static pid_t *sharedpid; 64 *(pid_t *) arg = getpid(); in threaded() 72 pid_t mypid, hispid, ctlpid; in main() 147 sharedpid = (pid_t *) mmaped; in main() 156 if (hispid == (pid_t) - 1) { in main() 161 if (hispid == (pid_t) 0) in main()
|
/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 | 72 bool Minijail::Run(struct minijail* jail, vector<char*> args, pid_t* pid) { in Run() 77 pid_t pid; in RunSync() 87 pid_t* pid, in RunPipe() 100 pid_t* pid, in RunPipes() 115 pid_t* pid) { in RunAndDestroy() 131 pid_t* pid, in RunPipeAndDestroy() 140 pid_t* pid, in RunPipesAndDestroy()
|
/external/linux-kselftest/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 15 static int sys_rt_sigqueueinfo(pid_t tgid, int sig, siginfo_t *uinfo) in sys_rt_sigqueueinfo() 20 static int sys_rt_tgsigqueueinfo(pid_t tgid, pid_t tid, in sys_rt_tgsigqueueinfo() 26 static int sys_ptrace(int request, pid_t pid, void *addr, void *data) in sys_ptrace() 44 static int check_error_paths(pid_t child) in check_error_paths() 105 int check_direct_path(pid_t child, int shared, int nr) in check_direct_path() 157 pid_t child; in main() 168 pid_t ppid = getppid(); in main()
|
/external/kernel-headers/original/uapi/linux/ |
D | elfcore.h | 52 pid_t pr_pid; 53 pid_t pr_ppid; 54 pid_t pr_pgrp; 55 pid_t pr_sid; 88 pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid;
|