/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | getprocpid.c | 32 pid_t pid1 = getprocpid(); in getprocpid_0100() 34 pid_t pid2 = getprocpid(); in getprocpid_0100() 46 pid_t pid1 = getprocpid(); in getprocpid_0200() 49 pid_t child = fork(); in getprocpid_0200() 51 pid_t pid2 = getprocpid(); in getprocpid_0200() 67 pid_t parent = *(pid_t *)arg; in child_func() 72 pid_t pid = getprocpid(); in child_func() 86 pid_t pid1 = getprocpid(); in getprocpid_0300() 89 pid_t chil in getprocpid_0300() [all...] |
H A D | wait4.c | 27 extern pid_t __wait4_time64(pid_t, int *, int, struct rusage *); 36 pid_t pid = fork(); in wait4_0100() 41 pid_t wait4_for_pind = wait4(pid, &status, options, &ru); in wait4_0100() 63 pid_t pid = fork(); in wait4_0200() 68 pid_t wait4_for_pind = wait4(pid, &status, options, &ru); in wait4_0200() 90 pid_t pid = fork(); in wait4_time64_0100() 95 pid_t wait4_for_pind = __wait4_time64(pid, &status, options, &ru); in wait4_time64_0100()
|
/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() 26 static inline int sys_sched_getparam(pid_t pid, struct sched_param *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() 36 static inline int sys_sched_getscheduler(pid_t pid) in sys_sched_getscheduler() 41 static inline int libc_sched_setparam(pid_t pid, const struct sched_param *param) in libc_sched_setparam() 46 static inline int libc_sched_getparam(pid_t pid, struct sched_param *param) in libc_sched_getparam() 51 static inline int libc_sched_setscheduler(pid_t pid, int policy, const struct sched_param *param) in libc_sched_setscheduler() 56 static inline int libc_sched_getscheduler(pid_t pid) in libc_sched_getscheduler() 64 int (*sched_setparam)(pid_t pid, const struct sched_param *param); 65 int (*sched_getparam)(pid_t pi [all...] |
/third_party/musl/libc-test/src/functionalext/fortify/ |
H A D | invalid_param.c | 41 pid_t pid = fork(); in clearerr_0100() 63 pid_t pid = fork(); in feof_0100() 85 pid_t pid = fork(); in ferror_0100() 107 pid_t pid = fork(); in fgetc_0100() 129 pid_t pid = fork(); in fgets_0100() 152 pid_t pid = fork(); in fprintf_0100() 175 pid_t pid = fork(); in fputc_0100() 197 pid_t pid = fork(); in fputs_0100() 219 pid_t pid = fork(); in fread_0600() 242 pid_t pi in fscanf_0100() [all...] |
/third_party/musl/porting/linux/user/include/ |
H A D | unistd.h | 88 pid_t fork(void); 89 pid_t _Fork(void); 108 pid_t getprocpid(void); 119 pid_t getproctid(void); 120 pid_t getpid(void); 121 pid_t getppid(void); 122 pid_t getpgrp(void); 123 pid_t getpgid(pid_t); 124 int setpgid(pid_t, pid_ [all...] |
/third_party/musl/include/ |
H A D | unistd.h | 123 pid_t fork(void); 125 pid_t _Fork(void); 145 pid_t getprocpid(void); 156 pid_t getproctid(void); 157 pid_t getpid(void); 158 pid_t getppid(void); 159 pid_t getpgrp(void); 160 pid_t getpgid(pid_t); 161 int setpgid(pid_t, pid_ [all...] |
/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
H A D | test_proxies.c | 30 #include <sys/types.h> /* pid_t */ 34 #include <sys/wait.h> /* pid_t */ 47 pid_t parent; 48 pid_t child_mhd; 49 pid_t child_spdy2http; 50 pid_t child_mhd2spdy; 51 pid_t child_curl; 77 pid_t au_fork() in au_fork() 79 pid_t child = fork(); in au_fork() 93 //pid_t chil in main() [all...] |
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | unistd.h | 82 pid_t fork(void); 83 pid_t _Fork(void); 93 pid_t getpid(void); 94 pid_t getppid(void); 95 pid_t getpgrp(void); 96 pid_t getpgid(pid_t); 97 int setpgid(pid_t, pid_t); 98 pid_t setsi [all...] |
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | unistd.h | 82 pid_t fork(void); 83 pid_t _Fork(void); 93 pid_t getpid(void); 94 pid_t getppid(void); 95 pid_t getpgrp(void); 96 pid_t getpgid(pid_t); 97 int setpgid(pid_t, pid_t); 98 pid_t setsi [all...] |
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | unistd.h | 87 pid_t fork(void); 88 pid_t _Fork(void); 98 pid_t getpid(void); 99 pid_t getppid(void); 100 pid_t getpgrp(void); 101 pid_t getpgid(pid_t); 102 int setpgid(pid_t, pid_t); 103 pid_t setsi [all...] |
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | unistd.h | 82 pid_t fork(void); 83 pid_t _Fork(void); 93 pid_t getpid(void); 94 pid_t getppid(void); 95 pid_t getpgrp(void); 96 pid_t getpgid(pid_t); 97 int setpgid(pid_t, pid_t); 98 pid_t setsi [all...] |
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
H A D | cpuset.h | 218 char *cpuset_getcpusetpath(pid_t pid, char *buf, size_t size); 219 int cpuset_cpusetofpid(struct cpuset *cp, pid_t pid); 227 pid_t cpuset_get_pidlist(const struct cpuset_pidlist *pl, int i); 230 int cpuset_move(pid_t pid, const char *cpusetpath); 233 int cpuset_migrate(pid_t pid, const char *cpusetpath); 242 int cpuset_p_rel_to_sys_cpu(pid_t pid, int cpu); 243 int cpuset_p_sys_to_rel_cpu(pid_t pid, int cpu); 244 int cpuset_p_rel_to_sys_mem(pid_t pid, int mem); 245 int cpuset_p_sys_to_rel_mem(pid_t pid, int mem); 247 struct cpuset_placement *cpuset_get_placement(pid_t pi [all...] |
/third_party/ltp/testcases/kernel/syscalls/getpid/ |
H A D | getpid02.c | 19 static pid_t *child_pid; 23 pid_t proc_id; in verify_getpid() 24 pid_t pid; in verify_getpid() 25 pid_t pproc_id; in verify_getpid() 55 child_pid = SAFE_MMAP(NULL, sizeof(pid_t), PROT_READ | PROT_WRITE, in setup() 61 SAFE_MUNMAP(child_pid, sizeof(pid_t)); in cleanup()
|
/third_party/musl/porting/liteos_a/user/include/ |
H A D | unistd.h | 108 pid_t fork(void); 118 pid_t getpid(void); 119 pid_t getppid(void); 120 pid_t getpgrp(void); 121 pid_t getpgid(pid_t); 122 int setpgid(pid_t, pid_t); 123 pid_t setsid(void); 124 pid_t getsi [all...] |
/third_party/musl/porting/liteos_m/user/include/ |
H A D | unistd.h | 108 pid_t fork(void); 118 pid_t getpid(void); 119 pid_t getppid(void); 120 pid_t getpgrp(void); 121 pid_t getpgid(pid_t); 122 int setpgid(pid_t, pid_t); 123 pid_t setsid(void); 124 pid_t getsi [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | pid.c | 50 * pid could be read, return 0, on failure (pid_t) -1 */ 51 static pid_t read_pid(const char *fn, int fd) { in read_pid() 61 return (pid_t) -1; in read_pid() 65 return (pid_t) 0; in read_pid() 74 return (pid_t) -1; in read_pid() 77 return (pid_t) pid; in read_pid() 136 static int proc_name_ours(pid_t pid, const char *procname) { in proc_name_ours() 189 pid_t pid; 203 if ((pid = read_pid(fn, fd)) == (pid_t) -1) 268 pid_t pi [all...] |
/third_party/musl/libc-test/src/api/ |
H A D | sched.c | 22 T(pid_t) in f() 23 {int(*p)(pid_t,struct sched_param*) = sched_getparam;} in f() 24 {int(*p)(pid_t) = sched_getscheduler;} in f() 25 {int(*p)(pid_t,const struct sched_param*) = sched_setparam;} in f() 26 {int(*p)(pid_t,int,const struct sched_param*) = sched_setscheduler;} in f() 33 {int(*p)(pid_t,struct timespec*) = sched_rr_get_interval;} in f()
|
/third_party/ltp/testcases/kernel/containers/pidns/ |
H A D | pidns05.c | 25 static pid_t pid_max; 29 pid_t cpid, ppid; in child_func() 52 static int find_cinit_pids(pid_t *pids) in find_cinit_pids() 56 pid_t parentpid, pgid, pgid2; in find_cinit_pids() 85 pid_t pids_new[MAX_DEPTH]; in run() 86 pid_t pids[MAX_DEPTH]; in run() 87 pid_t pid; in run()
|
/third_party/ltp/testcases/kernel/syscalls/waitpid/ |
H A D | waitpid_common.h | 17 static pid_t *fork_kid_pid; 18 static pid_t child_1_pid; 76 int waitpid_ret_test(pid_t wp_pid, int *wp_status, int wp_opts, in waitpid_ret_test() 77 pid_t wp_ret, int wp_errno) in waitpid_ret_test() 79 pid_t ret; in waitpid_ret_test() 94 static int reap_children(pid_t wp_pid, int wp_opts, pid_t *children, int len) in reap_children() 96 pid_t pid; in reap_children()
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | wait.h | 20 pid_t wait (int *); 21 pid_t waitpid (pid_t, int *, int ); 32 pid_t wait3 (int *, int, struct rusage *); 33 pid_t wait4 (pid_t, int *, int, struct rusage *);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | wait.h | 20 pid_t wait (int *); 21 pid_t waitpid (pid_t, int *, int ); 32 pid_t wait3 (int *, int, struct rusage *); 33 pid_t wait4 (pid_t, int *, int, struct rusage *);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | wait.h | 20 pid_t wait (int *); 21 pid_t waitpid (pid_t, int *, int ); 32 pid_t wait3 (int *, int, struct rusage *); 33 pid_t wait4 (pid_t, int *, int, struct rusage *);
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | wait.h | 24 pid_t wait (int *); 25 pid_t waitpid (pid_t, int *, int ); 36 pid_t wait3 (int *, int, struct rusage *); 37 pid_t wait4 (pid_t, int *, int, struct rusage *);
|
/third_party/musl/libc-test/src/functionalext/supplement/legacy/ |
H A D | daemon.c | 30 pid_t pid; in daemon_0100() 42 pid_t pid; in daemon_0200() 57 pid_t pid; in daemon_0300() 70 pid_t pid; in daemon_0400() 84 pid_t pid; in daemon_0500() 98 pid_t pid; in daemon_0600()
|
/third_party/musl/include/sys/ |
H A D | wait.h | 20 pid_t wait (int *); 21 pid_t waitpid (pid_t, int *, int ); 32 pid_t wait3 (int *, int, struct rusage *); 33 pid_t wait4 (pid_t, int *, int, struct rusage *);
|