/third_party/curl/tests/ |
H A D | processhelp.pm | 90 # pidfromfile returns the pid stored in the given pidfile. The value 91 # of the returned pid will never be a negative value. It will be zero 92 # on any file related error or if a pid can not be extracted from the 97 my $pid = 0; 100 $pid = 0 + <$pidfh>; 102 $pid = 0 if($pid < 0); 104 return $pid; 108 # pidexists checks if a process with a given pid exists and is alive. 109 # This will return the positive pid i [all...] |
H A D | servers.pm | 116 my %serverpidfile; # all server pid file names, identified by server id 280 if($tryhandle =~ /^(\S+)\s+pid:\s+(\d+)\s+type:\s+(\w+)\s+([0-9A-F]+):\s+(.+)\r\r/) { 299 my $pid = $_[0]; 300 if((not defined $pid) || $pid <= 0) { 304 my $rc = pidwait($pid, &WNOHANG); 305 return ($rc == $pid)?1:0; 385 # Ugly hack but ssh client and gnutls-serv don't support pid files 390 logmsg "startnew: $pidfile faked with pid=$child\n" if($verbose); 393 logmsg "startnew: failed to write fake $pidfile with pid [all...] |
/third_party/musl/libc-test/src/functionalext/fortify/ |
H A D | invalid_param.c | 41 pid_t pid = fork(); in clearerr_0100() local 42 if (pid == -1) { in clearerr_0100() 44 } else if (pid == 0) { in clearerr_0100() 48 waitpid(pid, &status, 0); in clearerr_0100() 63 pid_t pid = fork(); in feof_0100() local 64 if (pid == -1) { in feof_0100() 66 } else if (pid == 0) { in feof_0100() 70 waitpid(pid, &status, 0); in feof_0100() 85 pid_t pid = fork(); in ferror_0100() local 86 if (pid in ferror_0100() 107 pid_t pid = fork(); fgetc_0100() local 129 pid_t pid = fork(); fgets_0100() local 152 pid_t pid = fork(); fprintf_0100() local 175 pid_t pid = fork(); fputc_0100() local 197 pid_t pid = fork(); fputs_0100() local 219 pid_t pid = fork(); fread_0600() local 242 pid_t pid = fork(); fscanf_0100() local 265 pid_t pid = fork(); fseek_0100() local 288 pid_t pid = fork(); fseeko_0100() local 310 pid_t pid = fork(); ftell_0100() local 332 pid_t pid = fork(); fwrite_0100() local 355 pid_t pid = fork(); getc_0100() local 377 pid_t pid = fork(); pclose_0100() local 399 pid_t pid = fork(); rewind_0100() local 421 pid_t pid = fork(); setvbuf_0100() local 444 pid_t pid = fork(); wcsnrtombs_0100() local 472 pid_t pid = fork(); unsetenv_0100() local 494 pid_t pid = fork(); readdir_0100() local 516 pid_t pid = fork(); pthread_join_0100() local 540 pid_t pid = fork(); pthread_kill_0100() local 564 pid_t pid = fork(); pthread_setschedparam_0100() local [all...] |
H A D | unistd.c | 42 int pid = fork(); in unistd_dynamic_chk_001() local 43 switch (pid) { in unistd_dynamic_chk_001() 51 waitpid(pid, &status, WUNTRACED); in unistd_dynamic_chk_001() 55 kill(pid, SIGCONT); in unistd_dynamic_chk_001() 81 int pid = fork(); in unistd_dynamic_chk_002() local 82 switch (pid) { in unistd_dynamic_chk_002() 90 waitpid(pid, &status, WUNTRACED); in unistd_dynamic_chk_002() 94 kill(pid, SIGCONT); in unistd_dynamic_chk_002() 121 int pid = fork(); in unistd_dynamic_chk_003() local 122 switch (pid) { in unistd_dynamic_chk_003() 162 int pid = fork(); unistd_dynamic_chk_004() local 202 int pid = fork(); unistd_dynamic_chk_005() local 241 int pid = fork(); unistd_dynamic_chk_006() local 280 int pid = fork(); unistd_dynamic_chk_007() local 321 int pid = fork(); unistd_dynamic_chk_008() local 361 int pid = fork(); unistd_dynamic_chk_009() local 399 int pid = fork(); unistd_dynamic_chk_010() local 437 int pid = fork(); unistd_dynamic_chk_011() local 477 int pid = fork(); unistd_dynamic_chk_012() local 517 int pid = fork(); unistd_dynamic_chk_013() local 555 int pid = fork(); unistd_dynamic_chk_014() local 592 int pid = fork(); unistd_dynamic_chk_015() local 629 int pid = fork(); unistd_dynamic_chk_016() local 667 int pid = fork(); unistd_dynamic_chk_017() local [all...] |
H A D | string_ext.c | 80 int pid = fork(); in test_strcat_0020() local 81 switch (pid) { in test_strcat_0020() 89 waitpid(pid, &status, WUNTRACED); in test_strcat_0020() 93 kill(pid, SIGCONT); in test_strcat_0020() 131 int pid = fork(); in test_strncat_0020() local 132 switch (pid) { in test_strncat_0020() 140 waitpid(pid, &status, WUNTRACED); in test_strncat_0020() 144 kill(pid, SIGCONT); in test_strncat_0020() 179 int pid = fork(); in test_stpcpy_0020() local 180 switch (pid) { in test_stpcpy_0020() 230 int pid = fork(); test_stpncpy_0020() local 280 int pid = fork(); test_strncpy_0020() local 327 int pid = fork(); test_memchr_0020() local 374 int pid = fork(); test_memrchr_0020() local 420 int pid = fork(); test_strchr_0020() local 468 int pid = fork(); test_strrchr_0020() local 517 int pid = fork(); test_strlcat_0020() local 569 int pid = fork(); test_strlcpy_0020() local 617 int pid = fork(); test_mempcpy_0020() local 652 int pid = fork(); test_mempcpy_0030() local 698 int pid = fork(); test_strcpy_0020() local 745 int pid = fork(); test_memmove_0020() local 791 int pid = fork(); test_memcpy_0020() local 838 int pid = fork(); test_memset_0020() local 872 int pid = fork(); test_strlen_0010() local 904 int pid = fork(); test_strlen_0020() local [all...] |
H A D | fcntl_ext.c | 63 int pid = fork(); in open_0020() local 64 switch (pid) { in open_0020() 72 waitpid(pid, &status, WUNTRACED); in open_0020() 76 kill(pid, SIGCONT); in open_0020() 97 int pid = fork(); in open_0030() local 98 switch (pid) { in open_0030() 106 waitpid(pid, &status, WUNTRACED); in open_0030() 110 kill(pid, SIGCONT); in open_0030() 159 int pid = fork(); in openat_0020() local 160 switch (pid) { in openat_0020() 193 int pid = fork(); openat_0030() local 256 int pid = fork(); open64_0020() local 290 int pid = fork(); open64_0030() local 352 int pid = fork(); openat64_0020() local 386 int pid = fork(); openat64_0030() local [all...] |
/third_party/backends/sanei/ |
H A D | sanei_thread.c | 118 sanei_thread_set_invalid( SANE_Pid *pid ) in sanei_thread_set_invalid() 123 *pid = (pthread_t) 0; in sanei_thread_set_invalid() 125 pid->p = 0; in sanei_thread_set_invalid() 128 *pid = (pthread_t) -1; in sanei_thread_set_invalid() 135 sanei_thread_is_valid( SANE_Pid pid ) in sanei_thread_is_valid() 141 if (pid == 0) in sanei_thread_is_valid() 143 if (pid.p == 0) in sanei_thread_is_valid() 147 if (pid == (SANE_Pid) -1) in sanei_thread_is_valid() 159 sanei_thread_pid_to_long( SANE_Pid pid ) in sanei_thread_pid_to_long() 165 rc = (long) pid; in sanei_thread_pid_to_long() 218 SANE_Pid pid; sanei_thread_begin() local 234 sanei_thread_waitpid( SANE_Pid pid, int *status ) sanei_thread_waitpid() argument 242 sanei_thread_sendsig( SANE_Pid pid, int sig ) sanei_thread_sendsig() argument 271 SANE_Pid pid; sanei_thread_begin() local 291 sanei_thread_waitpid( SANE_Pid pid, int *status ) sanei_thread_waitpid() argument 302 sanei_thread_sendsig( SANE_Pid pid, int sig ) sanei_thread_sendsig() argument 388 eval_wp_result( SANE_Pid pid, int wpres, int pf ) eval_wp_result() argument 472 sanei_thread_sendsig( SANE_Pid pid, int sig ) sanei_thread_sendsig() argument 484 sanei_thread_waitpid( SANE_Pid pid, int *status ) sanei_thread_waitpid() argument [all...] |
/third_party/ltp/testcases/kernel/controllers/cpuctl_fj/ |
H A D | run_cpuctl_test_fj.sh | 132 ps -eo pid,rtprio > /tmp/pids_file1 & 138 while read pid 140 task=`cat $CPUCTL/tasks | grep "\b$pid\b"` 285 pid=$! 287 echo $pid > $CPUCTL/tmp/tasks 289 /bin/kill -s SIGUSR1 $pid 291 /bin/kill -s SIGUSR1 $pid 292 wait $pid 313 pid=$! 315 echo $pid > [all...] |
/test/xts/acts/kernel_lite/process_posix/src/ |
H A D | ProcessTest.cpp | 42 pid_t pid; in HWTEST_F() local 46 pid = fork(); in HWTEST_F() 47 ASSERT_TRUE(pid >= 0) << "> parent: fork errno = " << errno; in HWTEST_F() 48 if (pid == 0) { in HWTEST_F() 53 ASSERT_EQ(CheckProcStatus(pid, &exitCode, 0), 1); in HWTEST_F() 68 pid_t pid; in HWTEST_F() local 70 pid = fork(); in HWTEST_F() 71 ASSERT_TRUE(pid >= 0) << "> parent: fork errno = " << errno; in HWTEST_F() 72 if (pid == 0) { in HWTEST_F() 84 WaitProcExitedOK(pid); in HWTEST_F() 124 pid_t pid = fork(); HWTEST_F() local 152 pid_t pid; HWTEST_F() local 178 pid_t pid; HWTEST_F() local 234 pid_t pid = fork(); HWTEST_F() local 262 pid_t pid; HWTEST_F() local 284 pid_t pid = fork(); HWTEST_F() local 296 pid_t pid = fork(); FunctionAssertFalse() local 323 pid_t pid = fork(); HWTEST_F() local 363 pid_t pid = fork(); HWTEST_F() local 390 pid_t pid = fork(); HWTEST_F() local 417 pid_t pid = fork(); HWTEST_F() local 437 pid_t pid = fork(); HWTEST_F() local 462 pid_t pid = fork(); HWTEST_F() local 484 pid_t pid = fork(); HWTEST_F() local [all...] |
/third_party/ltp/testcases/kernel/numa/ |
H A D | numa01.sh | 30 local pid=$1 32 echo $(numastat -p $pid | sed '3q;d' | awk -F '[[:space:]][[:space:]]+' \ 43 local pid=$1 44 local index=$(echo "$(get_node_index $pid $2)") 46 local numstat=$(numastat -p $pid |awk '/^Total/ {print $'$index'}') 58 local pid=$1 60 local state=$(awk '{print $3}' /proc/$pid/stat) 96 pid=$! 98 TST_RETRY_FUNC "check_for_support_numa $pid" 0 100 mem_curr=$(get_mem_cur $pid [all...] |
/test/xts/acts/kernel_lite/dyload_posix/ |
H A D | ExecApiTest.cpp | 39 pid_t pid = fork();
in HWTEST_F() local 40 ASSERT_TRUE(pid >= 0) << "======== Fork Error! =========";
in HWTEST_F() 41 if (pid == 0) { // child
in HWTEST_F() 49 WaitProcExitedOK(pid);
in HWTEST_F() 59 pid_t pid = fork();
in HWTEST_F() local 60 ASSERT_TRUE(pid >= 0) << "======== Fork Error! =========";
in HWTEST_F() 61 if (pid == 0) { // child
in HWTEST_F() 71 WaitProcExitedOK(pid);
in HWTEST_F() 84 pid_t pid = fork();
in HWTEST_F() local 85 ASSERT_TRUE(pid > in HWTEST_F() 108 pid_t pid = fork(); HWTEST_F() local 133 pid_t pid = fork(); HWTEST_F() local [all...] |
/third_party/ltp/include/ |
H A D | tst_sched.h | 21 static inline int sys_sched_setparam(pid_t pid, const struct sched_param *param) in sys_sched_setparam() argument 23 return tst_syscall(__NR_sched_setparam, pid, param); in sys_sched_setparam() 26 static inline int sys_sched_getparam(pid_t pid, struct sched_param *param) in sys_sched_getparam() argument 28 return tst_syscall(__NR_sched_getparam, pid, param); in sys_sched_getparam() 31 static inline int sys_sched_setscheduler(pid_t pid, int policy, const struct sched_param *param) in sys_sched_setscheduler() argument 33 return tst_syscall(__NR_sched_setscheduler, pid, policy, param); in sys_sched_setscheduler() 36 static inline int sys_sched_getscheduler(pid_t pid) in sys_sched_getscheduler() argument 38 return tst_syscall(__NR_sched_getscheduler, pid); in sys_sched_getscheduler() 41 static inline int libc_sched_setparam(pid_t pid, const struct sched_param *param) in libc_sched_setparam() argument 43 return TST_LIBC_SCHED_SCALL_(sched_setparam, pid, para in libc_sched_setparam() 46 libc_sched_getparam(pid_t pid, struct sched_param *param) libc_sched_getparam() argument 51 libc_sched_setscheduler(pid_t pid, int policy, const struct sched_param *param) libc_sched_setscheduler() argument 56 libc_sched_getscheduler(pid_t pid) libc_sched_getscheduler() argument [all...] |
/third_party/cups-filters/filter/foomatic-rip/ |
H A D | process.c | 37 pid_t pid; member 49 void add_process(const char *name, int pid, int isgroup) in add_process() argument 53 if (procs[i].pid == -1) { in add_process() 55 procs[i].pid = pid; in add_process() 63 int find_process(int pid) in find_process() argument 67 if (procs[i].pid == pid) in find_process() 76 procs[i].pid = -1; in clear_proc_list() 84 if (procs[i].pid in kill_all_processes() 99 pid_t pid; _start_process() local 202 wait_for_process(int pid) wait_for_process() argument 226 int pid = start_system_process(name, command, NULL, NULL); run_system_process() local [all...] |
/test/xts/hats/kernel/posix_interface/interface_gn/utils/ |
H A D | utils.cpp | 70 int CheckProcStatus(pid_t pid, int *code, int flag)
in CheckProcStatus() argument 73 int rt = waitpid(pid, &status, flag);
in CheckProcStatus() 81 } else if (rt != pid) { // waitpid return error
in CheckProcStatus() 107 void AssertProcAlive(pid_t pid)
in AssertProcAlive() argument 110 int procStat = CheckProcStatus(pid, &exitCode);
in AssertProcAlive() 114 void ExpectProcAlive(pid_t pid)
in ExpectProcAlive() argument 117 int procStat = CheckProcStatus(pid, &exitCode);
in ExpectProcAlive() 121 void AssertProcExitedOK(pid_t pid)
in AssertProcExitedOK() argument 125 int procStat = CheckProcStatus(pid, &exitCode);
in AssertProcExitedOK() 130 void ExpectProcExitedOK(pid_t pid)
in ExpectProcExitedOK() argument 139 WaitProcExitedOK(pid_t pid) WaitProcExitedOK() argument 148 ExpectProcKilled(pid_t pid, int signum) ExpectProcKilled() argument 157 AssertProcKilled(pid_t pid, int signum) AssertProcKilled() argument 166 WaitProcKilled(pid_t pid, int signum) WaitProcKilled() argument 177 int pid = fork(); StartElf() local 206 int pid = StartElf(fname, argv, envp); RunElf() local 243 pid_t pid = fork(); StartExecveError() local 278 pid_t pid = fork(); GetNonExistPid() local [all...] |
/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/ |
H A D | ht_affinity.c | 29 int set_affinity(pid_t pid, unsigned int len, unsigned long *mask_ptr) 30 pid - pid of the process whose affinity is desired to be set. 34 int get_affinity(pid_t pid, unsigned int len, unsigned long *mask_ptr) 35 pid - pid of the process whose affinity is being read. 43 #define sched_setaffinity(pid, cpusetsize, mask) syscall(__NR_sched_setaffinity, pid, cpusetsize, mask) 44 #define sched_getaffinity(pid, cpusetsize, mask) syscall(__NR_sched_getaffinity, pid, cpusetsiz 52 pid_t pid; HT_SetAffinity() local 129 get_porc_affinity(pid_t pid) get_porc_affinity() argument 151 pid_t pid; HT_GetAffinity() local 183 pid_t pid; HT_InheritAffinity() local [all...] |
/test/testfwk/arkxtest/uitest/test/ |
H A D | ipc_transactor_test.cpp | 42 static string WaitPidAndReadPipe(pid_t pid, PipeFds fds) in WaitPidAndReadPipe() argument 48 waitpid(pid, &status, 0); in WaitPidAndReadPipe() 86 auto pid = fork(); in TEST_P() local 87 ASSERT_NE(pid, -1); in TEST_P() 88 if (pid == 0) { in TEST_P() 97 pid = fork(); in TEST_P() 98 ASSERT_NE(pid, -1); in TEST_P() 99 if (pid == 0) { in TEST_P() 112 auto clientOutput = WaitPidAndReadPipe(pid, fds); in TEST_P() 124 auto pid in TEST() local 179 auto pid = fork(); TEST() local 232 auto pid = fork(); TEST() local 279 auto pid = fork(); TEST() local [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | wait4.c | 36 pid_t pid = fork(); in wait4_0100() local 37 if (pid > 0) { in wait4_0100() 41 pid_t wait4_for_pind = wait4(pid, &status, options, &ru); in wait4_0100() 42 if (wait4_for_pind != pid) { in wait4_0100() 43 t_error("%s wait4 get pid is %d are not want %d\n", __func__, wait4_for_pind, pid); in wait4_0100() 48 } else if (pid == 0) { in wait4_0100() 63 pid_t pid = fork(); in wait4_0200() local 64 if (pid > 0) { in wait4_0200() 68 pid_t wait4_for_pind = wait4(pid, in wait4_0200() 90 pid_t pid = fork(); wait4_time64_0100() local [all...] |
/test/xts/acts/commonlibrary/thirdparty/ubsan/entry/src/main/cpp/ |
H A D | napi_init.cpp | 42 int pid = fork();
in MisAlign() local 44 switch (pid) {
in MisAlign() 57 waitpid(pid, &status, WUNTRACED);
in MisAlign() 59 kill(pid, SIGCONT);
in MisAlign() 79 int pid = fork();
in Bounds() local 81 switch (pid) {
in Bounds() 93 waitpid(pid, &status, WUNTRACED);
in Bounds() 95 kill(pid, SIGCONT);
in Bounds() 116 int pid = fork();
in IntegerDivBy0() local 118 switch (pid) {
in IntegerDivBy0() 159 int pid = fork(); EnumSan() local 196 int pid = fork(); FloatCastOverflow() local 233 int pid = fork(); SignedIntegerOverflow() local 290 int pid = fork(); VptrCheck() local 328 int pid = fork(); NonnullAttribute() local 371 int pid = fork(); NullSanitize() local 426 int pid = fork(); PointerOverflow() local 466 int pid = fork(); ReturnNonnullAttribute() local 505 int pid = fork(); ShiftBase() local 542 int pid = fork(); ShiftExponent() local 577 int pid = fork(); UndefinedBool() local 619 int pid = fork(); VlaBound() local [all...] |
/third_party/ltp/testcases/kernel/syscalls/waitpid/ |
H A D | waitpid09.c | 8 * waitpid(pid, WNOHANG) should return 0 if there is a running child 10 * waitpid(pid, WNOHANG) should return the pid of the child if 28 static void cleanup_pid(pid_t pid) in cleanup_pid() argument 30 if (pid > 0) { in cleanup_pid() 31 kill(pid, SIGKILL); in cleanup_pid() 32 waitpid(pid, NULL, 0); in cleanup_pid() 38 pid_t pid, ret; in case0() local 41 pid = SAFE_FORK(); in case0() 42 if (pid in case0() 71 pid_t pid, ret; case1() local [all...] |
/third_party/rust/crates/nix/src/sys/ptrace/ |
H A D | linux.rs | 193 pid: Pid, in ptrace_peek() 199 libc::ptrace(request as RequestType, libc::pid_t::from(pid), addr, data) in ptrace_peek() 218 pub fn getregs(pid: Pid) -> Result<user_regs_struct> { in getregs() 219 ptrace_get_data::<user_regs_struct>(Request::PTRACE_GETREGS, pid) in getregs() 233 pub fn setregs(pid: Pid, regs: user_regs_struct) -> Result<()> { in setregs() 237 libc::pid_t::from(pid), in setregs() 249 fn ptrace_get_data<T>(request: Request, pid: Pid) -> Result<T> { in ptrace_get_data() 254 libc::pid_t::from(pid), in ptrace_get_data() 265 pid: Pid, in ptrace_other() 271 libc::pid_t::from(pid), in ptrace_other() [all...] |
/test/xts/acts/kernel_lite/utils/ |
H A D | utils.h | 45 * input: pid -- target pid 49 * -2 -- waitpid return value error(not -1 and not pid) 56 int CheckProcStatus(pid_t pid, int* code, int flag = WNOHANG); 59 #define AssertProcAlive(pid) do { \ 61 int procStat = CheckProcStatus(pid, &exitCode); \ 64 #define ExpectProcAlive(pid) do { \ 66 int procStat = CheckProcStatus(pid, &exitCode); \ 71 #define AssertProcExitedOK(pid) do { \ 73 int procStat = CheckProcStatus(pid, [all...] |
H A D | utils.cpp | 71 int CheckProcStatus(pid_t pid, int *code, int flag)
in CheckProcStatus() argument 74 int rt = waitpid(pid, &status, flag);
in CheckProcStatus() 81 } else if (rt != pid) { // waitpid return error
in CheckProcStatus() 109 int pid = fork();
in StartElf() local 110 if (pid == -1) {
in StartElf() 113 } else if (pid == 0) { // child
in StartElf() 123 return pid;
in StartElf() 137 int pid = StartElf(fname, argv, envp);
in RunElf() local 138 if (pid == -1) { // fork error
in RunElf() 151 if (kill(pid, SIGKIL in RunElf() 171 pid_t pid = fork(); StartExecveError() local 202 pid_t pid = fork(); GetNonExistPid() local [all...] |
/test/xts/hats/kernel/syscalls/process/processid/ |
H A D | ProcessApiTest.cpp | 80 int pid = -1; in HWTEST_F() local 98 pid = clone(CloneTest, &stack[STACK_SIZE - 1], cloneFlag[i].flag, nullptr); in HWTEST_F() 99 EXPECT_TRUE(pid > 0); in HWTEST_F() 100 waitpid(pid, nullptr, 0); in HWTEST_F() 117 pid_t pid = clone(CloneTest, &stack[STACK_SIZE - 1], -1, nullptr); in HWTEST_F() local 118 EXPECT_EQ(pid, -1); in HWTEST_F() 133 pid_t pid = fork(); in HWTEST_F() local 134 if (pid == 0) { in HWTEST_F() 143 waitpid(pid, nullptr, 0); in HWTEST_F() 185 pid_t pid in HWTEST_F() local 211 pid_t pid = fork(); HWTEST_F() local 233 pid_t pid; HWTEST_F() local 254 pid_t pid = getpid(); HWTEST_F() local 282 pid_t pid = getpid(); HWTEST_F() local [all...] |
/test/xts/acts/kernel_lite/ipc_posix/signal/ |
H A D | SignalTest.cpp | 90 pid_t pid = fork();
in HWTEST_P() local 91 ASSERT_TRUE(pid >= 0) << "======== Fork Error! =========";
in HWTEST_P() 92 if (pid == 0) { // child
in HWTEST_P() 103 WaitProcExitedOK(pid);
in HWTEST_P() 116 pid_t pid = fork();
in HWTEST_F() local 117 ASSERT_TRUE(pid >= 0) << "======== Fork Error! =========";
in HWTEST_F() 118 if (pid > 0) { // parent
in HWTEST_F() 122 kill(pid, SIGKILL);
in HWTEST_F() 124 WaitProcKilled(pid, SIGKILL);
in HWTEST_F() 145 pid_t pid in HWTEST_F() local 187 pid_t pid = fork(); HWTEST_F() local 239 pid_t pid = fork(); HWTEST_F() local 270 pid_t pid = fork(); HWTEST_F() local 310 pid_t pid = fork(); HWTEST_F() local 346 pid_t pid = fork(); HWTEST_F() local 403 pid_t pid = fork(); HWTEST_F() local 441 pid_t pid = fork(); HWTEST_F() local 506 pid_t pid = fork(); HWTEST_F() local 553 pid_t pid = fork(); HWTEST_F() local 591 pid_t pid = fork(); HWTEST_F() local 646 pid_t pid = fork(); HWTEST_F() local 692 pid_t pid = fork(); HWTEST_F() local 774 pid_t pid = fork(); HWTEST_F() local 835 pid_t pid = fork(); HWTEST_F() local 1006 pid_t pid = fork(); HWTEST_F() local 1042 pid_t pid = fork(); HWTEST_F() local 1070 pid_t pid = fork(); HWTEST_F() local 1100 pid_t pid = fork(); HWTEST_F() local 1143 pid_t pid = fork(); HWTEST_F() local 1228 pid_t pid = fork(); HWTEST_F() local 1721 pid_t pid = fork(); HWTEST_F() local 1745 pid_t pid = fork(); HWTEST_F() local 1768 pid_t pid = fork(); HWTEST_F() local [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/process/ |
H A D | waitpid.c | 31 pid_t pid = fork(); in waitpid_0100() local 32 if (pid > 0) { in waitpid_0100() 35 pid_t waitpid_for_pind = waitpid(pid, &status, options); in waitpid_0100() 36 if (waitpid_for_pind != pid) { in waitpid_0100() 37 t_error("%s waitpid get pid is %d are not want %d\n", __func__, waitpid_for_pind, pid); in waitpid_0100() 42 } else if (pid == 0) { in waitpid_0100() 57 pid_t pid = fork(); in waitpid_0200() local 58 if (pid > 0) { in waitpid_0200() 61 pid_t waitpid_for_pind = waitpid(pid, in waitpid_0200() [all...] |