Home
last modified time | relevance | path

Searched refs:getpid (Results 1 – 25 of 380) sorted by relevance

12345678910>>...16

/external/valgrind/main/gdbserver_tests/
Dpasssigalrm.c34 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/
Dcrashtest1.c50 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/
Dbaseline_policy_unittest.cc94 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/
Dticket-lock-linux.c126 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/
Dnetcpu_looper.c110 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/
Dlinuxthreads_det.c16 if (s_main_thread_pid == getpid()) in thread_func()
31 s_main_thread_pid = getpid(); in main()
Dpth_inconsistent_cond_wait.c49 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/
Dcoverage-android.cc48 kill(getpid(), SIGKILL); in bar()
55 fprintf(stderr, "PID: %d\n", getpid()); in main()
/external/lldb/test/unittest2/test/
Dtest_break.py32 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/
Dcoverage-fork.cc25 fprintf(stderr, "Child PID: %d\n", getpid()); in main()
28 fprintf(stderr, "Parent PID: %d\n", getpid()); in main()
Dcoverage-fork-direct.cc25 fprintf(stderr, "Child PID: %d\n", getpid()); in main()
28 fprintf(stderr, "Parent PID: %d\n", getpid()); in main()
/external/valgrind/main/none/tests/
Dsigstackgrowth.c40 kill(getpid(), SIGUSR1); in handler()
56 kill(getpid(), SIGUSR1); in main()
Dpending.c51 kill(getpid(), SIGUSR1); in main()
52 kill(getpid(), SIGHUP); in main()
Dprocess_vm_readv_writev.c33 if (process_vm_readv(getpid(), in test_process_vm_readv()
69 if (process_vm_writev(getpid(), in test_process_vm_writev()
Dprocfs-cmdline-exe.c101 snprintf(path, sizeof(path), "/proc/%d/cmdline", getpid()); in main()
106 snprintf(path, sizeof(path), "/proc/%d/exe", getpid()); in main()
/external/libunwind/tests/
Dmapper.c66 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()
DGtest-resume-sig.c99 kill (getpid (), SIGUSR2); /* pend SIGUSR2 */ in handler()
177 kill (getpid (), SIGUSR1); in main()
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
Dkeep-tracking.c35 (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()
Dperf-time-to-tsc.c71 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/
Dsigqueue.c30 si->si_pid = getpid(); in main()
32 syscall(__NR_rt_sigqueueinfo, getpid(), SIGWINCH, si); in main()
/external/llvm/test/CodeGen/X86/
D2009-04-13-2AddrAssert.ll10 %call = tail call i32 (...)* @getpid() ; <i32> [#uses=1]
16 declare i32 @getpid(...)
/external/valgrind/main/none/tests/s390x/
Dtest_sig.c56 kill(getpid(), SIGALRM); in main()
58 kill(getpid(), SIGUSR1); in main()
/external/valgrind/main/none/tests/x86-linux/
Dsigcontext.c68 : "0" (__NR_kill), "b" (getpid()), "c" (SIGUSR1)); in main()
83 : "0" (__NR_kill), "b" (getpid()), "c" (SIGUSR2)); in main()
/external/chromium_org/chrome/browser/
Dchrome_browser_main_posix.cc56 RAW_CHECK(g_pipe_pid == getpid()); in GracefulShutdownHandler()
224 kill(getpid(), signal); in ThreadMain()
270 g_pipe_pid = getpid(); in PostMainMessageLoopStart()
/external/oprofile/daemon/
Dopd_perfmon.c121 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()

12345678910>>...16