/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/ |
D | 2-2.c | 42 int parent_process(char *mqname, int read_pipe, int write_pipe, pid_t child_pid); 43 int child_process(char *mqname, int read_pipe, int write_pipe); 44 int send_receive(int read_pipe, int write_pipe, char send, char *reply); 91 int parent_process(char *mqname, int read_pipe, int write_pipe, in parent_process() argument 104 rval = send_receive(read_pipe, write_pipe, 'a', &reply); in parent_process() 113 rval = send_receive(read_pipe, write_pipe, 'c', &reply); in parent_process() 141 int child_process(char *mqname, int read_pipe, int write_pipe) in child_process() argument 147 rval = send_receive(read_pipe, write_pipe, 0, &reply); in child_process() 160 rval = send_receive(read_pipe, write_pipe, 'b', &reply); in child_process() 172 rval = send_receive(read_pipe, write_pipe, 'd', NULL); in child_process() [all …]
|
D | 2-1.c | 47 int parent_process(char *mqname, int read_pipe, int write_pipe, pid_t child_pid); 48 int child_process(char *mqname, int read_pipe, int write_pipe); 49 int send_receive(int read_pipe, int write_pipe, char send, char *reply); 96 int parent_process(char *mqname, int read_pipe, int write_pipe, in parent_process() argument 109 rval = send_receive(read_pipe, write_pipe, 'a', &reply); in parent_process() 139 int child_process(char *mqname, int read_pipe, int write_pipe) in child_process() argument 145 rval = send_receive(read_pipe, write_pipe, 0, &reply); in child_process() 158 rval = send_receive(read_pipe, write_pipe, 'b', NULL); in child_process() 163 int send_receive(int read_pipe, int write_pipe, char send, char *reply) in send_receive() argument 175 bytes = read(read_pipe, reply, 1); in send_receive()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
D | ebb_on_child_test.c | 23 static int victim_child(union pipe read_pipe, union pipe write_pipe) in victim_child() argument 27 FAIL_IF(wait_for_parent(read_pipe)); in victim_child() 32 FAIL_IF(wait_for_parent(read_pipe)); in victim_child() 46 union pipe read_pipe, write_pipe; in ebb_on_child() local 52 FAIL_IF(pipe(read_pipe.fds) == -1); in ebb_on_child() 58 exit(victim_child(write_pipe, read_pipe)); in ebb_on_child() 61 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in ebb_on_child() 75 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in ebb_on_child()
|
D | ebb_on_willing_child_test.c | 23 static int victim_child(union pipe read_pipe, union pipe write_pipe) in victim_child() argument 25 FAIL_IF(wait_for_parent(read_pipe)); in victim_child() 53 union pipe read_pipe, write_pipe; in ebb_on_willing_child() local 59 FAIL_IF(pipe(read_pipe.fds) == -1); in ebb_on_willing_child() 65 exit(victim_child(write_pipe, read_pipe)); in ebb_on_willing_child() 69 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in ebb_on_willing_child()
|
D | task_event_vs_ebb_test.c | 38 union pipe read_pipe, write_pipe; in task_event_vs_ebb() local 45 FAIL_IF(pipe(read_pipe.fds) == -1); in task_event_vs_ebb() 51 exit(ebb_child(write_pipe, read_pipe)); in task_event_vs_ebb() 62 if (sync_with_child(read_pipe, write_pipe)) in task_event_vs_ebb() 67 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in task_event_vs_ebb()
|
D | ebb_vs_cpu_event_test.c | 39 union pipe read_pipe, write_pipe; in ebb_vs_cpu_event() local 50 FAIL_IF(pipe(read_pipe.fds) == -1); in ebb_vs_cpu_event() 56 exit(ebb_child(write_pipe, read_pipe)); in ebb_vs_cpu_event() 60 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in ebb_vs_cpu_event() 70 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in ebb_vs_cpu_event()
|
D | cpu_event_vs_ebb_test.c | 39 union pipe read_pipe, write_pipe; in cpu_event_vs_ebb() local 50 FAIL_IF(pipe(read_pipe.fds) == -1); in cpu_event_vs_ebb() 56 exit(ebb_child(write_pipe, read_pipe)); in cpu_event_vs_ebb() 67 if (sync_with_child(read_pipe, write_pipe)) in cpu_event_vs_ebb() 72 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in cpu_event_vs_ebb()
|
D | task_event_pinned_vs_ebb_test.c | 40 union pipe read_pipe, write_pipe; in task_event_pinned_vs_ebb() local 47 FAIL_IF(pipe(read_pipe.fds) == -1); in task_event_pinned_vs_ebb() 53 exit(ebb_child(write_pipe, read_pipe)); in task_event_pinned_vs_ebb() 64 if (sync_with_child(read_pipe, write_pipe)) in task_event_pinned_vs_ebb() 69 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in task_event_pinned_vs_ebb()
|
D | cpu_event_pinned_vs_ebb_test.c | 41 union pipe read_pipe, write_pipe; in cpu_event_pinned_vs_ebb() local 52 FAIL_IF(pipe(read_pipe.fds) == -1); in cpu_event_pinned_vs_ebb() 58 exit(ebb_child(write_pipe, read_pipe)); in cpu_event_pinned_vs_ebb() 69 if (sync_with_child(read_pipe, write_pipe)) in cpu_event_pinned_vs_ebb() 74 FAIL_IF(sync_with_child(read_pipe, write_pipe)); in cpu_event_pinned_vs_ebb()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_close/ |
D | 2-1.c | 38 int parent_process(char *qname, int read_pipe, int write_pipe, pid_t child_pid); 39 int child_process(char *qname, int read_pipe, int write_pipe); 41 int send_receive(int read_pipe, int write_pipe, char send, char *reply); 95 int parent_process(char *qname, int read_pipe, int write_pipe, in parent_process() argument 118 rval = send_receive(read_pipe, write_pipe, 'a', &reply); in parent_process() 139 rval = send_receive(read_pipe, write_pipe, 'c', &reply); in parent_process() 156 int child_process(char *qname, int read_pipe, int write_pipe) in child_process() argument 164 rval = send_receive(read_pipe, write_pipe, 0, &reply); in child_process() 185 rval = send_receive(read_pipe, write_pipe, 'b', &reply); in child_process() 200 send_receive(read_pipe, write_pipe, rval ? 'e' : 'd', NULL); in child_process() [all …]
|
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ |
D | lib.c | 33 int sync_with_child(union pipe read_pipe, union pipe write_pipe) in sync_with_child() argument 38 FAIL_IF(read(read_pipe.read_fd, &c, 1) != 1); in sync_with_child() 45 int wait_for_parent(union pipe read_pipe) in wait_for_parent() argument 49 FAIL_IF(read(read_pipe.read_fd, &c, 1) != 1); in wait_for_parent() 97 static int eat_cpu_child(union pipe read_pipe, union pipe write_pipe) in eat_cpu_child() argument 108 wait_for_parent(read_pipe); in eat_cpu_child() 118 union pipe read_pipe, write_pipe; in eat_cpu() local 126 if (pipe(read_pipe.fds) == -1) in eat_cpu() 134 exit(eat_cpu_child(write_pipe, read_pipe)); in eat_cpu() 136 if (sync_with_child(read_pipe, write_pipe)) { in eat_cpu()
|
D | lib.h | 25 extern int sync_with_child(union pipe read_pipe, union pipe write_pipe); 26 extern int wait_for_parent(union pipe read_pipe);
|
/external/clang/test/SemaOpenCL/ |
D | invalid-pipe-builtin-cl2.0.cl | 8 read_pipe(p, &tmp); 9 read_pipe(p, ptr); 10 read_pipe(tmp, p); // expected-error {{first argument to 'read_pipe' must be a pipe type}} 11 read_pipe(p); // expected-error {{invalid number of arguments to function: 'read_pipe'}} 12 read_pipe(p, rid, tmp, ptr); 13 …read_pipe(p, tmp, tmp, ptr); // expected-error {{invalid argument type to function 'read_pipe' (… 14 …read_pipe(p, rid, rid, ptr); // expected-error {{invalid argument type to function 'read_pipe' (… 15 …read_pipe(p, tmp); // expected-error {{invalid argument type to function 'read_pipe' (expecting … 45 read_pipe(p, ptr); // expected-error {{invalid pipe access modifier (expecting read_only)}} 46 …read_pipe(p, rid, tmp, ptr); // expected-error {{invalid pipe access modifier (expecting read_o…
|
/external/llvm-project/clang/test/SemaOpenCL/ |
D | invalid-pipe-builtin-cl2.0.cl | 10 read_pipe(p, &tmp); 11 read_pipe(p, ptr); 12 read_pipe(tmp, p); // expected-error {{first argument to 'read_pipe' must be a pipe type}} 13 read_pipe(p); // expected-error {{invalid number of arguments to function: 'read_pipe'}} 14 read_pipe(p, rid, tmp, ptr); 15 …read_pipe(p, tmp, tmp, ptr); // expected-error {{invalid argument type to function 'read_pipe' (… 16 …read_pipe(p, rid, rid, ptr); // expected-error {{invalid argument type to function 'read_pipe' (… 17 …read_pipe(p, tmp); // expected-error {{invalid argument type to function 'read_pipe' (expecting … 47 read_pipe(p, ptr); // expected-error {{invalid pipe access modifier (expecting read_only)}} 48 …read_pipe(p, rid, tmp, ptr); // expected-error {{invalid pipe access modifier (expecting read_o…
|
/external/ltp/testcases/kernel/syscalls/sigrelse/ |
D | sigrelse01.c | 131 static char *read_pipe(int fd); 252 if ((str = read_pipe(pipe_fd[0])) == NULL) { in parent() 309 if ((array = (int *)read_pipe(pipe_fd[0])) == NULL) { in parent() 345 if ((str = read_pipe(pipe_fd[0])) == NULL) { in parent() 460 if ((str = read_pipe(pipe_fd2[0])) == NULL) { in child() 596 static char *read_pipe(int fd) in read_pipe() function
|
/external/deqp-deps/amber/tests/cases/ |
D | opencl_write_image.amber | 34 PIPELINE compute read_pipe 40 RUN read_pipe 2 2 1
|
D | opencl_read_image_literal_sampler.amber | 46 PIPELINE compute read_pipe 63 RUN read_pipe 2 2 1
|
D | opencl_read_image.amber | 45 PIPELINE compute read_pipe 63 RUN read_pipe 2 2 1
|
D | opencl_read_and_write_image3d_rgba32i.amber | 57 PIPELINE compute read_pipe 65 RUN read_pipe 2 2 2
|
D | glsl_read_and_write_image3d_rgba32i.amber | 59 PIPELINE compute read_pipe 67 RUN read_pipe 2 2 2
|
/external/crosvm/sys_util/src/ |
D | file_flags.rs | 43 let (read_pipe, write_pipe) = pipe(true).unwrap(); in pipe_pair() 44 assert_eq!(FileFlags::from_file(&read_pipe).unwrap(), FileFlags::Read); in pipe_pair()
|
/external/clang/test/CodeGenOpenCL/ |
D | pipe_types.cl | 43 read_pipe (SPipe, SDst); 45 read_pipe (SPipe, SDst);
|
/external/llvm-project/clang/test/CodeGenOpenCL/ |
D | pipe_types.cl | 44 read_pipe (SPipe, SDst); 46 read_pipe (SPipe, SDst);
|
/external/wpa_supplicant_8/src/drivers/ |
D | ndis_events.c | 31 HANDLE read_pipe, write_pipe, event_avail; member 123 if (!CreatePipe(&events->read_pipe, &events->write_pipe, NULL, 512)) { in ndis_events_constructor() 132 CloseHandle(events->read_pipe); in ndis_events_constructor() 143 CloseHandle(events->read_pipe); in ndis_events_destructor() 702 ndis_events_init(HANDLE *read_pipe, HANDLE *event_avail, in ndis_events_init() argument 798 *read_pipe = events->read_pipe; in ndis_events_init()
|
/external/autotest/client/common_lib/ |
D | logging_manager_test.py | 48 self.read_pipe() 52 def read_pipe(self): member in PipedStringIO 66 instance.read_pipe()
|