/third_party/ltp/testcases/kernel/syscalls/getppid/ |
D | getppid01.c | 17 pid_t ppid, pid_max; in verify_getppid() local 21 ppid = getppid(); in verify_getppid() 22 if (ppid > pid_max) in verify_getppid() 23 tst_res(TFAIL, "getppid() returned %d, out of range!", ppid); in verify_getppid() 25 tst_res(TPASS, "getppid() returned %d", ppid); in verify_getppid()
|
/third_party/ltp/testcases/kernel/controllers/cgroup_fj/ |
D | cgroup_fj_stress.sh | 101 local ppid="$3" 108 if [ -z "$ppid" ]; then 113 pid="$ppid" 122 attach_task "$new_path" $((cur_depth+1)) "$ppid" 125 if [ -n "$ppid" ]; then
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/sctp/ |
D | sctpreceivemeta.c | 69 gst_sctp_receive_meta->ppid = 0; in gst_sctp_receive_meta_init() 78 gst_sctp_buffer_add_receive_meta (transbuf, gst_sctp_receive_meta->ppid); in gst_sctp_receive_meta_transform() 83 gst_sctp_buffer_add_receive_meta (GstBuffer * buffer, guint32 ppid) in gst_sctp_buffer_add_receive_meta() argument 91 gst_sctp_receive_meta->ppid = ppid; in gst_sctp_buffer_add_receive_meta()
|
D | sctpsendmeta.c | 69 gst_sctp_send_meta->ppid = 0; in gst_sctp_send_meta_init() 81 gst_sctp_buffer_add_send_meta (transbuf, gst_sctp_send_meta->ppid, in gst_sctp_send_meta_transform() 88 gst_sctp_buffer_add_send_meta (GstBuffer * buffer, guint32 ppid, in gst_sctp_buffer_add_send_meta() argument 97 gst_sctp_send_meta->ppid = ppid; in gst_sctp_buffer_add_send_meta()
|
/third_party/ltp/utils/sctp/func_tests/ |
D | test_inaddr_any.c | 84 uint32_t ppid; in main() local 168 ppid = rand(); /* Choose an arbitrary value. */ in main() 170 sinfo->sinfo_ppid = ppid; in main() 202 MSG_EOR, stream, ppid); in main() 216 ppid++; in main() 218 sinfo->sinfo_ppid = ppid; in main() 232 MSG_EOR, stream, ppid); in main() 237 MSG_EOR, stream, ppid); in main()
|
D | test_sctp_sendrecvmsg.c | 82 uint32_t ppid; in main() local 170 ppid = rand(); in main() 174 ppid, 0, stream, 0, 0); in main() 224 strlen(message) + 1, MSG_EOR, stream, ppid); in main() 244 ppid++; in main() 248 ppid, 0, stream, 0, 0); in main() 253 ppid, 0, stream, 2000, 0); in main() 260 ppid, 0, stream, 0, 0); in main() 269 ppid, 0, stream, 2000, 0); in main() 295 strlen(nottlmsg) + 1, MSG_EOR, stream, ppid); in main()
|
D | test_timetolive.c | 106 uint32_t ppid; in main() local 210 ppid = rand(); /* Choose an arbitrary value. */ in main() 212 sinfo->sinfo_ppid = ppid; in main() 259 MSG_EOR, stream, ppid); in main() 284 ppid++; in main() 286 sinfo->sinfo_ppid = ppid; in main() 300 sinfo->sinfo_ppid = ppid; in main() 313 sinfo->sinfo_ppid = ppid; in main() 326 sinfo->sinfo_ppid = ppid; in main() 354 MSG_EOR, stream, ppid); in main()
|
D | test_fragments.c | 91 uint32_t ppid; in main() local 160 ppid = rand(); /* Choose an arbitrary value. */ in main() 162 sinfo->sinfo_ppid = ppid; in main() 203 test_check_msg_data(&inmessage, error, msg_len, MSG_EOR, stream, ppid); in main() 265 MSG_EOR, stream, ppid); in main() 271 stream, ppid); in main() 279 MSG_EOR, stream, ppid); in main()
|
D | test_peeloff.c | 77 uint32_t ppid; in main() local 149 ppid = rand(); /* Choose an arbitrary value. */ in main() 151 sinfo->sinfo_ppid = ppid; in main() 196 MSG_EOR, stream, ppid); in main() 237 MSG_EOR, stream, ppid); in main() 258 MSG_EOR, stream, ppid); in main() 277 MSG_EOR, stream, ppid); in main()
|
D | test_basic.c | 84 uint32_t ppid; in main() local 185 ppid = rand(); /* Choose an arbitrary value. */ in main() 187 sinfo->sinfo_ppid = ppid; in main() 257 MSG_EOR, stream, ppid); in main() 300 ppid++; in main() 302 sinfo->sinfo_ppid = ppid; in main() 341 MSG_EOR, stream, ppid); in main() 346 MSG_EOR, stream, ppid); in main()
|
D | test_1_to_1_events.c | 69 uint32_t ppid; in main() local 128 ppid = rand(); /* Choose an arbitrary value. */ in main() 131 sinfo->sinfo_ppid = ppid; in main() 177 MSG_EOR, stream, ppid); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
D | 1-1.c | 35 int ret, ppid; in main() local 56 ppid = getpid(); in main() 58 if (pid != ppid) { in main() 59 printf("Test FAILED: Pids are different %i != %i\n", pid, ppid); in main()
|
/third_party/ltp/testcases/kernel/containers/pidns/ |
D | pidns01.c | 72 pid_t cpid, ppid; in child_fn1() local 74 ppid = getppid(); in child_fn1() 77 if (cpid == CHILD_PID && ppid == PARENT_PID) { in child_fn1() 82 cpid, ppid); in child_fn1()
|
D | pidns06.c | 62 int cpid, ppid, *par_pid; in kill_pid_in_childfun() local 65 ppid = getppid(); in kill_pid_in_childfun() 69 if (cpid != CINIT_PID || ppid != PARENT_PID) { in kill_pid_in_childfun() 71 "pid=%d ppid=%d\n", cpid, ppid); in kill_pid_in_childfun()
|
D | pidns04.c | 77 pid_t cpid, ppid; in child_fn1() local 79 ppid = getppid(); in child_fn1() 85 if ((cpid == CHILD_PID) && (ppid == PARENT_PID)) { in child_fn1() 96 cpid, ppid); in child_fn1()
|
D | pidns10.c | 61 pid_t pid, ppid; in child_fn() local 65 ppid = getppid(); in child_fn() 66 if (pid != CHILD_PID || ppid != PARENT_PID) { in child_fn()
|
D | pidns05.c | 113 pid_t cpid, ppid; in create_nested_container() local 115 ppid = getppid(); in create_nested_container() 125 if (cpid != CINIT_PID || ppid != PARENT_PID) { in create_nested_container() 127 cpid, ppid); in create_nested_container()
|
D | pidns16.c | 93 pid_t pid, ppid; in child_fn() local 97 ppid = getppid(); in child_fn() 99 if ((pid != CHILD_PID) || (ppid != PARENT_PID)) in child_fn()
|
D | pidns17.c | 62 pid_t pid, ppid; in child_fn() local 66 ppid = getppid(); in child_fn() 67 if (pid != CHILD_PID || ppid != PARENT_PID) { in child_fn()
|
D | pidns12.c | 75 pid_t pid, ppid; in child_fn() local 79 ppid = getppid(); in child_fn() 80 if (pid != CHILD_PID || ppid != PARENT_PID) { in child_fn()
|
D | pidns13.c | 54 pid_t pid, ppid; in child_fn() local 58 ppid = getppid(); in child_fn() 59 if (pid != CHILD_PID || ppid != PARENT_PID) in child_fn()
|
/third_party/elfutils/tests/ |
D | run-readelf-mixed-corenote.sh | 31 pid: 11087, ppid: 11063, pgrp: 11087, sid: 11063 42 uid: 0, gid: 0, pid: 11087, ppid: 11063, pgrp: 11087, sid: 11063 97 pid: 805, ppid: 804, pgrp: 804, sid: 699 115 uid: 0, gid: 0, pid: 805, ppid: 804, pgrp: 804, sid: 699 162 pid: 839, ppid: 838, pgrp: 838, sid: 699 176 uid: 0, gid: 0, pid: 839, ppid: 838, pgrp: 838, sid: 699 234 pid: 9664, ppid: 2868, pgrp: 9664, sid: 2868 250 uid: 1000, gid: 1000, pid: 9664, ppid: 2868, pgrp: 9664, sid: 2868 301 pid: 16547, ppid: 3822, pgrp: 16547, sid: 3822 322 uid: 0, gid: 0, pid: 16547, ppid: 3822, pgrp: 16547, sid: 3822 [all …]
|
/third_party/libevdev/test/ |
D | test-main.c | 37 int ppid = getppid(); in is_debugger_attached() local 38 if (ptrace(PTRACE_ATTACH, ppid, NULL, NULL) == 0) { in is_debugger_attached() 39 waitpid(ppid, NULL, 0); in is_debugger_attached() 41 ptrace(PTRACE_DETACH, ppid, NULL, NULL); in is_debugger_attached()
|
/third_party/openssl/ |
D | e_os.h | 359 int ppid; in nssgetpid() member 360 } ppid = { 0 }; in nssgetpid() local 362 PROCESSHANDLE_DECOMPOSE_(phandle, &ppid.cpu_pin.cpu, &ppid.cpu_pin.pin); in nssgetpid() 363 return ppid.ppid; in nssgetpid()
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/ |
D | gstsctpenc.c | 97 guint32 ppid; member 164 guint32 * reliability_param, guint32 * ppid, gboolean * ppid_available); 435 sctpenc_pad->ppid = DEFAULT_SCTP_PPID; in gst_sctp_enc_request_new_pad() 445 sctpenc_pad->ppid = new_ppid; in gst_sctp_enc_request_new_pad() 567 guint32 ppid; in gst_sctp_enc_sink_chain() local 589 ppid = sctpenc_pad->ppid; in gst_sctp_enc_sink_chain() 598 ppid = sctp_send_meta->ppid; in gst_sctp_enc_sink_chain() 621 " with ppid %u ordered %d pr %d pr_param %u", buffer, ppid, ordered, pr, in gst_sctp_enc_sink_chain() 640 length, sctpenc_pad->stream_id, ppid, ordered, pr, pr_param, in gst_sctp_enc_sink_chain() 705 sctpenc_pad->ppid = new_ppid; in gst_sctp_enc_sink_event() [all …]
|