/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | getpid.c | 25 * @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 D | audio_capturer_extra_plus_unit_test.cpp | 100 STREAM_MUSIC, getpid()); in HWTEST() 162 tempParams, STREAM_MUSIC, getpid()); in HWTEST()
|
/kernel/linux/build/test/fuzztest/accesstokenid/src/ |
H A D | accesstokenidcommon.cpp | 96 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 D | gzip_vas.c | 248 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 D | augmented_raw_syscalls.c | 253 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 D | ptrace.c | 235 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 D | global_map_resize.c | 67 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 D | isst-daemon.c | 214 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 D | gzip_vas.c | 248 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 D | seccomp_benchmark.c | 29 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 D | liteipc_test_002.cpp | 64 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 D | test-setjmp.c | 252 kill (getpid (), SIGTERM); in main() 276 kill (getpid (), SIGTERM); in main()
|
H A D | ia64-test-dyn1.c | 195 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 D | openbsd.c | 72 mypid = getpid(); in uv_exepath() 156 mib[3] = getpid(); in uv_resident_set_memory()
|
/third_party/musl/porting/linux/user/src/hilog/ |
H A D | hilog_adapter.c | 141 header.pid = getpid(); in HiLogAdapterPrintArgs() 175 if (getpid() == 1) { in is_musl_log_enable()
|
/third_party/musl/src/hilog/linux/ |
H A D | hilog_adapter.c | 204 header.pid = getpid(); in HiLogAdapterPrintArgs() 238 if (getpid() == 1) { in is_musl_log_enable()
|
/third_party/ltp/testcases/kernel/syscalls/cma/ |
H A D | process_vm01.c | 56 sane_params->pid = getpid(); in alloc_params() 232 parent_pid = getpid(); in test_invalid_perm()
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl31.c | 113 pid = getpid(); in setup() 300 getpid(), strerror(errno)); in signal_parent()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
H A D | semctl06.c | 171 srand(getpid()); in dotest() 261 srand(getpid()); in dosemas()
|
/third_party/ltp/testcases/kernel/syscalls/madvise/ |
H A D | madvise09.c | 164 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 D | openbsd.c | 72 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 D | silence_update_strategy.cpp | 65 want.SetParam("servicePid", getpid()); in NotifyUpdateFail()
|
/foundation/CastEngine/castengine_wifi_display/services/interaction/interprocess/ |
H A D | inter_ipc_service.cpp | 82 int32_t pid = getpid(); in RecordProcessIdByKvStore()
|
/foundation/multimodalinput/input/util/common/src/ |
H A D | klog.cpp | 83 kLevel, 0x0D002800, getpid(), fileName, line, "klog", "info", tmpFmt) == -1) { in kMsgLog()
|
/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_process_skeleton.cpp | 36 pid_t pid = getpid();
in NAPI_getCallingPid()
|