Home
last modified time | relevance | path

Searched refs:getpid (Results 526 - 550 of 1689) sorted by relevance

1...<<21222324252627282930>>...68

/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dgetpid.c25 * @tc.desc : Verify to get the current process ID (shell command and call getpid function).
33 snprintf(cmd, sizeof(cmd), "ps -eo command,pid | grep -E \"PID|getpid\" > %s", ptr); in getpid_0100()
49 pid_t uid = getpid(); in getpid_0100()
/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/unittest/capturer_test/src/
H A Daudio_capturer_extra_plus_unit_test.cpp100 STREAM_MUSIC, getpid()); in HWTEST()
162 tempParams, STREAM_MUSIC, getpid()); in HWTEST()
/kernel/linux/build/test/fuzztest/accesstokenid/src/
H A Daccesstokenidcommon.cpp96 pid_t pid = getpid(); in SetRandTokenAndCheck()
219 pid_t pid = getpid(); in SetRandfTokenAndCheck()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/nx-gzip/
H A Dgzip_vas.c248 getpid()); in nxu_run_job()
277 fprintf(stderr, "%d: Got signal %d si_code %d, si_addr %p\n", getpid(), in nxu_sigsegv_handler()
/kernel/linux/linux-5.10/tools/perf/examples/bpf/
H A Daugmented_raw_syscalls.c253 if (pid_filter__has(&pids_filtered, getpid())) in sys_enter()
278 if (pid_filter__has(&pids_filtered, getpid())) in sys_exit()
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/abi/
H A Dptrace.c235 ksft_print_msg("Parent is %d, child is %d\n", getpid(), child); in do_parent()
255 srandom(getpid()); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dglobal_map_resize.c67 skel->rodata->pid = getpid(); in global_map_resize_bss_subtest()
137 skel->rodata->pid = getpid(); in global_map_resize_data_subtest()
/kernel/linux/linux-6.6/tools/power/x86/intel-speed-select/
H A Disst-daemon.c214 fprintf(stderr, "Couldn't get lock file %d\n", getpid());
217 snprintf(str, sizeof(str), "%d\n", getpid());
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/nx-gzip/
H A Dgzip_vas.c248 getpid()); in nxu_run_job()
277 fprintf(stderr, "%d: Got signal %d si_code %d, si_addr %p\n", getpid(), in nxu_sigsegv_handler()
/kernel/linux/linux-6.6/tools/testing/selftests/seccomp/
H A Dseccomp_benchmark.c29 pid = getpid(); in timing()
59 pid = getpid(); in calibrate()
165 printf("getpid native: %llu ns\n", native); in main()
175 printf("getpid RET_ALLOW 1 filter (bitmap): %llu ns\n", bitmap1); in main()
182 printf("getpid RET_ALLOW 2 filters (bitmap): %llu ns\n", bitmap2); in main()
189 printf("getpid RET_ALLOW 3 filters (full): %llu ns\n", filter1); in main()
196 printf("getpid RET_ALLOW 4 filters (full): %llu ns\n", filter2); in main()
/kernel/liteos_a/testsuites/unittest/extended/liteipc/smoke/
H A Dliteipc_test_002.cpp64 printf("i am the client%d process, my process id is %d\n", id, getpid()); in CallTestServiceLoop()
140 printf("i am the test service process, my process id is %d\n", getpid()); in TestServiceLoop()
/third_party/libunwind/libunwind/tests/
H A Dtest-setjmp.c252 kill (getpid (), SIGTERM); in main()
276 kill (getpid (), SIGTERM); in main()
H A Dia64-test-dyn1.c195 kill (getpid (), SIGUSR1); /* do something ptmon can latch onto */ in main()
215 kill (getpid (), SIGUSR2); /* do something ptmon can latch onto */ in main()
/third_party/libuv/src/unix/
H A Dopenbsd.c72 mypid = getpid(); in uv_exepath()
156 mib[3] = getpid(); in uv_resident_set_memory()
/third_party/musl/porting/linux/user/src/hilog/
H A Dhilog_adapter.c141 header.pid = getpid(); in HiLogAdapterPrintArgs()
175 if (getpid() == 1) { in is_musl_log_enable()
/third_party/musl/src/hilog/linux/
H A Dhilog_adapter.c204 header.pid = getpid(); in HiLogAdapterPrintArgs()
238 if (getpid() == 1) { in is_musl_log_enable()
/third_party/ltp/testcases/kernel/syscalls/cma/
H A Dprocess_vm01.c56 sane_params->pid = getpid(); in alloc_params()
232 parent_pid = getpid(); in test_invalid_perm()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl31.c113 pid = getpid(); in setup()
300 getpid(), strerror(errno)); in signal_parent()
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
H A Dsemctl06.c171 srand(getpid()); in dotest()
261 srand(getpid()); in dosemas()
/third_party/ltp/testcases/kernel/syscalls/madvise/
H A Dmadvise09.c164 SAFE_FILE_PRINTF(tasks_path, "%i", getpid()); in child()
279 setup_cgroup_paths(getpid()); in run()
/third_party/node/deps/uv/src/unix/
H A Dopenbsd.c72 mypid = getpid(); in uv_exepath()
151 mib[3] = getpid(); in uv_resident_set_memory()
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/update/controller/strategy/
H A Dsilence_update_strategy.cpp65 want.SetParam("servicePid", getpid()); in NotifyUpdateFail()
/foundation/CastEngine/castengine_wifi_display/services/interaction/interprocess/
H A Dinter_ipc_service.cpp82 int32_t pid = getpid(); in RecordProcessIdByKvStore()
/foundation/multimodalinput/input/util/common/src/
H A Dklog.cpp83 kLevel, 0x0D002800, getpid(), fileName, line, "klog", "info", tmpFmt) == -1) { in kMsgLog()
/foundation/communication/ipc/ipc/native/src/napi_common/source/
H A Dnapi_process_skeleton.cpp36 pid_t pid = getpid(); in NAPI_getCallingPid()

Completed in 11 milliseconds

1...<<21222324252627282930>>...68