/external/valgrind/main/gdbserver_tests/ |
D | passsigalrm.c | 34 if (kill(getpid(), SIGALRM) != 0) in main() 43 if (kill(getpid(), SIGALRM) != 0) in main() 61 if (kill(getpid(), SIGRTMIN) != 0) in main()
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | crashtest1.c | 50 srand(getpid()); in do_some_sql() 63 printf("pid %d: cnt=%d\n", getpid(), cnt); in do_some_sql() 72 int parent = getpid(); in main()
|
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/ |
D | baseline_policy_unittest.cc | 94 BPF_ASSERT_LE(1, getpid()); in BPF_TEST_C() 161 BPF_ASSERT_NE(1, getpid()); in BPF_DEATH_TEST_C() 167 int sys_ret = kill(getpid(), 0); in BPF_TEST_C() 314 int rc = getpriority(PRIO_PROCESS, getpid()); in BPF_TEST_C() 317 rc = getpriority(PRIO_PROCESS, getpid() + 1); in BPF_TEST_C() 324 rc = setpriority(PRIO_PROCESS, getpid(), original_prio); in BPF_TEST_C() 328 rc = setpriority(PRIO_PROCESS, getpid() + 1, original_prio); in BPF_TEST_C()
|
/external/valgrind/main/coregrind/m_scheduler/ |
D | ticket-lock-linux.c | 126 VG_(printf)("[%d/%d] acquire: ticket %d\n", VG_(getpid)(), in acquire_sched_lock() 135 " futex[%ld] != %d\n", VG_(getpid)(), in acquire_sched_lock() 176 "\n", VG_(getpid)(), VG_(gettid)(), wakeup_ticket, in release_sched_lock() 185 VG_(getpid)(), VG_(gettid)(), wakeup_ticket); in release_sched_lock()
|
/external/netperf/ |
D | netcpu_looper.c | 110 getpid(), in bind_to_processor() 115 SETPROCESS((child_num % lib_num_loc_cpus), getpid()); in bind_to_processor() 131 getpid(), in bind_to_processor() 137 getpid(), in bind_to_processor() 191 getpid()); in sit_and_spin() 230 pid = getpid(); in sit_and_spin() 240 pid = getpid(); in sit_and_spin()
|
/external/valgrind/main/drd/tests/ |
D | linuxthreads_det.c | 16 if (s_main_thread_pid == getpid()) in thread_func() 31 s_main_thread_pid = getpid(); in main()
|
D | pth_inconsistent_cond_wait.c | 49 snprintf(name_and_pid, sizeof(name_and_pid), "%s-%d", name, getpid()); in create_semaphore() 110 snprintf(semaphore_name, sizeof(semaphore_name), "semaphore-%d", getpid()); in main()
|
/external/compiler-rt/test/asan/TestCases/Android/ |
D | coverage-android.cc | 48 kill(getpid(), SIGKILL); in bar() 55 fprintf(stderr, "PID: %d\n", getpid()); in main()
|
/external/lldb/test/unittest2/test/ |
D | test_break.py | 32 pid = os.getpid() 62 pid = os.getpid() 80 pid = os.getpid() 110 pid = os.getpid() 135 pid = os.getpid() 174 pid = os.getpid()
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | coverage-fork.cc | 25 fprintf(stderr, "Child PID: %d\n", getpid()); in main() 28 fprintf(stderr, "Parent PID: %d\n", getpid()); in main()
|
D | coverage-fork-direct.cc | 25 fprintf(stderr, "Child PID: %d\n", getpid()); in main() 28 fprintf(stderr, "Parent PID: %d\n", getpid()); in main()
|
/external/valgrind/main/none/tests/ |
D | sigstackgrowth.c | 40 kill(getpid(), SIGUSR1); in handler() 56 kill(getpid(), SIGUSR1); in main()
|
D | pending.c | 51 kill(getpid(), SIGUSR1); in main() 52 kill(getpid(), SIGHUP); in main()
|
D | process_vm_readv_writev.c | 33 if (process_vm_readv(getpid(), in test_process_vm_readv() 69 if (process_vm_writev(getpid(), in test_process_vm_writev()
|
D | procfs-cmdline-exe.c | 101 snprintf(path, sizeof(path), "/proc/%d/cmdline", getpid()); in main() 106 snprintf(path, sizeof(path), "/proc/%d/exe", getpid()); in main()
|
/external/libunwind/tests/ |
D | mapper.c | 66 kill (getpid (), SIGUSR1); /* tell test-ptrace to start single-stepping */ in main() 68 kill (getpid (), SIGUSR2); /* tell test-ptrace to stop single-stepping */ in main()
|
D | Gtest-resume-sig.c | 99 kill (getpid (), SIGUSR2); /* pend SIGUSR2 */ in handler() 177 kill (getpid (), SIGUSR1); in main()
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
D | keep-tracking.c | 35 (pid_t)event->comm.pid == getpid() && in find_comm() 36 (pid_t)event->comm.tid == getpid() && in find_comm() 70 threads = thread_map__new(-1, getpid(), UINT_MAX); in test__keep_tracking()
|
D | perf-time-to-tsc.c | 71 threads = thread_map__new(-1, getpid(), UINT_MAX); in test__perf_time_to_tsc() 123 (pid_t)event->comm.pid != getpid() || in test__perf_time_to_tsc() 124 (pid_t)event->comm.tid != getpid()) in test__perf_time_to_tsc()
|
/external/valgrind/main/memcheck/tests/linux/ |
D | sigqueue.c | 30 si->si_pid = getpid(); in main() 32 syscall(__NR_rt_sigqueueinfo, getpid(), SIGWINCH, si); in main()
|
/external/llvm/test/CodeGen/X86/ |
D | 2009-04-13-2AddrAssert.ll | 10 %call = tail call i32 (...)* @getpid() ; <i32> [#uses=1] 16 declare i32 @getpid(...)
|
/external/valgrind/main/none/tests/s390x/ |
D | test_sig.c | 56 kill(getpid(), SIGALRM); in main() 58 kill(getpid(), SIGUSR1); in main()
|
/external/valgrind/main/none/tests/x86-linux/ |
D | sigcontext.c | 68 : "0" (__NR_kill), "b" (getpid()), "c" (SIGUSR1)); in main() 83 : "0" (__NR_kill), "b" (getpid()), "c" (SIGUSR2)); in main()
|
/external/chromium_org/chrome/browser/ |
D | chrome_browser_main_posix.cc | 56 RAW_CHECK(g_pipe_pid == getpid()); in GracefulShutdownHandler() 224 kill(getpid(), signal); in ThreadMain() 270 g_pipe_pid = getpid(); in PostMainMessageLoopStart()
|
/external/oprofile/daemon/ |
D | opd_perfmon.c | 121 if (children[i].pid == getpid()) { in child_sigusr1() 134 if (children[i].pid == getpid()) { in child_sigusr2() 156 err = sched_setaffinity(getpid(), sizeof(set), &set); in set_affinity() 321 self->pid = getpid(); in run_child() 409 xen_ctx->pid = getpid(); in perfmon_init()
|