/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/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); 40 extern bool arch_traceAttach(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/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() 106 int show_tar_registers(pid_t child, unsigned long *out) in show_tar_registers() 151 int write_tar_registers(pid_t child, unsigned long tar, in write_tar_registers() 195 int show_tm_checkpointed_state(pid_t child, unsigned long *out) in show_tm_checkpointed_state() 242 int write_ckpt_tar_registers(pid_t child, unsigned long tar, in write_ckpt_tar_registers() 287 int show_fpr(pid_t child, unsigned long *fpr) in show_fpr() 306 int write_fpr(pid_t child, unsigned long val) in write_fpr() 329 int show_ckpt_fpr(pid_t child, unsigned long *fpr) in show_ckpt_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/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/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 | 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() 120 pid_t pid = ForkChildAndKill(SIGKILL); in TEST_F() 131 pid_t pid = ForkChildAndExit(0); in TEST_F()
|
/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()
|
D | tst_safe_macros.c | 30 int safe_setpgid(const char *file, const int lineno, pid_t pid, pid_t pgid) in safe_setpgid() 44 pid_t safe_getpgid(const char *file, const int lineno, pid_t pid) in safe_getpgid() 46 pid_t pgid; in safe_getpgid()
|
/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/ftrace_reader/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/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/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/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;
|
/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); 79 int64_t ReadProcStatsAndGetFieldAsInt64(pid_t pid, ProcStatsFields field_num); 83 size_t ReadProcStatsAndGetFieldAsSizeT(pid_t pid,
|
/external/ltp/tools/pounder21/ |
D | run.c | 56 static void note_process(pid_t pid, char *name); 57 static void note_daemon(pid_t pid, char *name); 61 static pid_t spawn_test(char *fname); 62 static void note_child(pid_t pid, char *fname, char type); 140 pid_t pid; in main() 309 pid_t pid; in wait_for_pids() 372 pid_t pid; in wait_for_daemons() 413 static void note_process(pid_t pid, char *name) in note_process() 438 static void note_daemon(pid_t pid, char *name) in note_daemon() 464 static pid_t spawn_test(char *fname) in spawn_test() [all …]
|