/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_yield/ |
H A D | 1-1.c | 84 rc = sched_setscheduler(getpid(), SCHED_FIFO, &sp); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
H A D | 23-1.c | 65 //fprintf(stderr, "%d: %d\n", getpid(), *create_cnt); in child_func() 82 snprintf(semname, 20, "/sem23-1_%d", getpid()); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
H A D | 29-1.c | 165 ret = sigqueue(getpid(), SIGRTMAX, sv); in main()
|
/third_party/musl/libc-test/src/functional/ |
H A D | sem_open.c | 23 snprintf(buf, sizeof buf, "/testsuite-%d-%d", (int)getpid(), (int)ts.tv_nsec); in main()
|
/third_party/node/deps/openssl/openssl/providers/implementations/rands/seeding/ |
H A D | rand_vxworks.c | 114 data.pid = getpid(); in ossl_pool_add_nonce_data()
|
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | threads_none.c | 160 return getpid(); in openssl_get_fork_id()
|
/third_party/python/Lib/test/ |
H A D | fork_wait.py | 41 self.alive[id] = os.getpid()
|
H A D | signalinterproctester.py | 56 pid = str(os.getpid())
|
/third_party/openssl/crypto/ |
H A D | threads_none.c | 160 return getpid(); in openssl_get_fork_id()
|
/third_party/openssl/providers/implementations/rands/seeding/ |
H A D | rand_vxworks.c | 114 data.pid = getpid(); in ossl_pool_add_nonce_data()
|
/third_party/toybox/toys/lsb/ |
H A D | mktemp.c | 70 rr = ts.tv_nsec*65537+(long)template+getpid()+(long)&template; in mktemp_main()
|
/third_party/toybox/toys/other/ |
H A D | switch_root.c | 51 if (getpid() != 1) error_exit("not pid 1"); in switch_root_main()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | semaphore-osx.c | 49 pa_snprintf(fn, l, "/pulse-sem-%u-%u", getpid(), id); in sem_name()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/ |
H A D | address_is_readable.cc | 85 int current_pid = getpid() & 0xffff; // we use only the low order 16 bits in AddressIsReadable()
|
/third_party/rust/crates/rustix/tests/process/ |
H A D | rlimit.rs | 49 rustix::process::prlimit(Some(rustix::process::getpid()), Resource::Core, other) in test_setrlimit()
|
/third_party/vk-gl-cts/framework/delibs/dethread/unix/ |
H A D | deNamedSemaphoreUnix.c | 41 deSprintf(buf, bufSize, "/desem-%d-%p", getpid(), (void*)sem); in NamedSemaphore_getName()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/ |
H A D | context_switch.c | 495 setpgid(getpid(), getpid()); in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/capabilities/ |
H A D | test_execve.c | 196 if (getpid() != mpid) in fork_wait() 443 mpid = getpid(); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/af_unix/ |
H A D | test_unix_oob.c | 190 sprintf(sock_name, "unix_oob_%d", getpid()); in main() 214 fcntl(pfd, F_SETOWN, getpid()); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/ |
H A D | za-ptrace.c | 311 ksft_print_msg("Parent is %d, child is %d\n", getpid(), child); in do_parent() 345 srandom(getpid()); in main()
|
H A D | zt-ptrace.c | 316 ksft_print_msg("Parent is %d, child is %d\n", getpid(), child); in do_parent() 336 srandom(getpid()); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | cgroup_helpers.c | 43 format_cgroup_path_pid(buf, path, getpid()) 240 pid_t pid = getpid(); in join_cgroup_from_top()
|
/kernel/linux/linux-6.6/tools/testing/selftests/capabilities/ |
H A D | test_execve.c | 196 if (getpid() != mpid) in fork_wait() 443 mpid = getpid(); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/connector/ |
H A D | proc_filter.c | 54 hdr->nlmsg_pid = getpid(); in send_message() 98 sa_nl.nl_pid = getpid(); in register_proc_netlink()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/benchmarks/ |
H A D | context_switch.c | 495 setpgid(getpid(), getpid()); in main()
|