Home
last modified time | relevance | path

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

12345678910>>...18

/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dlog.py87 tid = os.getpid()
89 "pid": os.getpid(), "tid": threading.current_thread().ident,
145 if not hasattr(_tls, 'pid') or _tls.pid != os.getpid():
146 _tls.pid = os.getpid()
151 _tls.pid = os.getpid()
155 tid = os.getpid()
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dsyscall_parameters_restrictions_unittests.cc119 return RestrictSchedTarget(getpid(), sysno); in EvaluateSyscall()
131 const pid_t pid = getpid(); in SchedGetParamThread()
185 return RestrictPrlimit64(getpid()); in EvaluateSyscall()
194 BPF_ASSERT_EQ(0, sys_prlimit64(getpid(), RLIMIT_AS, NULL, NULL)); in BPF_TEST_C()
202 BPF_ASSERT_NE(kInitPID, getpid()); in BPF_DEATH_TEST_C()
Dbaseline_policy_unittest.cc80 BPF_ASSERT_LE(1, getpid()); in BPF_TEST_C()
150 BPF_ASSERT_NE(1, getpid()); in BPF_DEATH_TEST_C()
156 int sys_ret = kill(getpid(), 0); in BPF_TEST_C()
303 int rc = getpriority(PRIO_PROCESS, getpid()); in BPF_TEST_C()
306 rc = getpriority(PRIO_PROCESS, getpid() + 1); in BPF_TEST_C()
313 rc = setpriority(PRIO_PROCESS, getpid(), original_prio); in BPF_TEST_C()
317 rc = setpriority(PRIO_PROCESS, getpid() + 1, original_prio); in BPF_TEST_C()
/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/compiler-rt/test/msan/Linux/
Dprocess_vm_readv.cc46 ssize_t res = process_vm_readv(getpid(), iov_b, 2, iov_a, 2, 0); in main()
58 res = process_vm_writev(getpid(), iov_b, 2, iov_a, 2, 0); in main()
62 res = process_vm_writev(getpid(), iov_b, 2, iov_a, 2, 0); in main()
/external/libbrillo/brillo/
Dasynchronous_signal_handler_unittest.cc57 EXPECT_EQ(0, kill(getpid(), SIGTERM)); in TEST_F()
73 EXPECT_EQ(0, kill(getpid(), SIGCHLD)); in TEST_F()
81 EXPECT_EQ(0, kill(getpid(), SIGCHLD)); in TEST_F()
104 EXPECT_EQ(0, kill(getpid(), SIGCHLD)); in TEST_F()
/external/valgrind/coregrind/m_scheduler/
Dticket-lock-linux.c123 VG_(printf)("[%d/%d] acquire: ticket %u\n", VG_(getpid)(), in acquire_sched_lock()
132 " futex[%ld] != %u\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/src/
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/ImageMagick/MagickCore/
Dthread-private.h67 return(getpid()); in GetMagickThreadId()
91 return((size_t) getpid()); in GetMagickThreadSignature()
104 if (id == getpid()) in IsMagickThreadEqual()
/external/autotest/client/site_tests/security_ptraceRestrictions/src/
Dthread-prctl.c70 tracer = getpid(); in tracer_main()
123 tracee = getpid(); in tracee_main()
214 printf("master is %d\n", getpid()); in main()
237 printf("tracer is %d\n", getpid()); in main()
/external/valgrind/drd/tests/
Dlinuxthreads_det.c16 if (s_main_thread_pid == getpid()) in thread_func()
31 s_main_thread_pid = 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.cc24 fprintf(stderr, "Child PID: %d\n", getpid()); in main()
27 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/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()
/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()
/external/libchrome/sandbox/linux/services/
Dnamespace_sandbox_unittest.cc83 CHECK_EQ(1, getpid()); in MULTIPROCESS_TEST_MAIN()
101 CHECK_EQ(1, getpid()); in MULTIPROCESS_TEST_MAIN()
185 CHECK_EQ(1, getpid()); in SANDBOX_TEST()
207 CHECK_EQ(1, getpid()); in SANDBOX_TEST()
/external/valgrind/memcheck/tests/linux/
Dsigqueue.c30 si->si_pid = getpid(); in main()
32 syscall(__NR_rt_sigqueueinfo, getpid(), SIGWINCH, si); in main()
/external/autotest/client/common_lib/
Dpidfile.py14 self.pid_file.write("%s\n" % os.getpid())
16 logging.info("Logged pid %s to %s", os.getpid(), self.path)
/external/autotest/client/tests/kvm/scripts/
Dmulticast_guest.py35 print "join_mcast_pid:%s" % os.getpid()
36 os.kill(os.getpid(), signal.SIGSTOP)
/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()

12345678910>>...18