Home
last modified time | relevance | path

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

12345678910>>...14

/external/valgrind/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/valgrind/coregrind/m_scheduler/
Dticket-lock-linux.c123 VG_(printf)("[%d/%d] acquire: ticket %d\n", VG_(getpid)(), in acquire_sched_lock()
132 " futex[%ld] != %d\n", VG_(getpid)(), in acquire_sched_lock()
173 "\n", VG_(getpid)(), VG_(gettid)(), wakeup_ticket, in release_sched_lock()
182 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/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/valgrind/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/google-breakpad/src/client/linux/minidump_writer/
Dlinux_core_dumper_unittest.cc43 const pid_t pid = getpid(); in TEST()
45 LinuxCoreDumper dumper(getpid(), "core_file", procfs_path); in TEST()
116 EXPECT_EQ(getpid(), info.ppid); in TEST()
/external/compiler-rt/test/asan/TestCases/Posix/
Dcoverage-fork-direct.cc25 fprintf(stderr, "Child PID: %d\n", getpid()); in main()
28 fprintf(stderr, "Parent PID: %d\n", getpid()); in main()
Dcoverage-fork.cc25 fprintf(stderr, "Child PID: %d\n", getpid()); in main()
28 fprintf(stderr, "Parent PID: %d\n", getpid()); in main()
/external/compiler-rt/test/asan/TestCases/Android/
Dcoverage-android.cc116 kill(getpid(), SIGKILL); in bar()
125 fprintf(stderr, "PID: %d\n", getpid()); in main()
/external/libvncserver/x11vnc/
Dsslhelper.c276 snprintf(line, 1024, "x11vnc-SELF-SIGNED-CERT-%d", getpid()); in create_tmp_pem()
279 getpid()); in create_tmp_pem()
573 sprintf(tfile, "%s/sslverify-tmp-load-%d.crts.XXXXXX", tmp, getpid()); in get_ssl_verify_file()
1918 rfbLog("SSL: ssl_helper[%d]: Cipher: %s %s Proto: %s\n", getpid(), in pr_ssl_info()
1921 rfbLog("SSL: ssl_helper[%d]: Proto: %s\n", getpid(), in pr_ssl_info()
1928 rfbLog("sig: %d, ssl_init[%d] timed out.\n", sig, getpid()); in ssl_timeout()
1956 rfbLog("SSL: ssl_init[%d]: detected 'repeater' in connect string.\n", getpid()); in ssl_init()
1966 getpid()); in ssl_init()
1971 getpid(), s_in, s_out, timeout); in ssl_init()
2044 getpid(), ssl_client_mode ? "SSL_connect" : "SSL_accept", name, peerport); in ssl_init()
[all …]
/external/valgrind/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/src/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/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/none/tests/s390x/
Dtest_sig.c56 kill(getpid(), SIGALRM); in main()
58 kill(getpid(), SIGUSR1); in main()
/external/valgrind/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/selinux/libselinux/src/
Dprocattr.c59 cpid = getpid(); in free_procattr()
92 if (cpid != getpid()) in openattr()
123 if (cpid != getpid()) in getprocattrcon_raw()
223 if (cpid != getpid()) in setprocattrcon_raw()
/external/toybox/toys/pending/
Dgetty.c128 if ((setsid() < 0) && (getpid() != getsid(0))) in open_tty()
267 pid_t pid = getpid(); in utmp_entry()
276 entry.ut_pid = getpid(); in utmp_entry()
300 pid_t pid = getpid(); in getty_main()

12345678910>>...14