/external/clang/test/SemaOpenCL/ |
D | invalid-pipe-builtin-cl2.0.cl | 7 // read/write_pipe 16 write_pipe(p, ptr); // expected-error {{invalid pipe access modifier (expecting write_only)}} 17 …write_pipe(p, rid, tmp, ptr); // expected-error {{invalid pipe access modifier (expecting write… 19 // reserve_read/write_pipe 25 // commit_read/write_pipe 36 // read/write_pipe 37 write_pipe(p, &tmp); 38 write_pipe(p, ptr); 39 write_pipe(tmp, p); // expected-error {{first argument to 'write_pipe' must be a pipe type}} 40 write_pipe(p); // expected-error {{invalid number of arguments to function: 'write_pipe'}} [all …]
|
D | clang-builtin-version.cl | 22 …write_pipe(tmp, tmp); // expected-warning{{implicit declaration of function 'write_pipe' is invali…
|
/external/llvm-project/clang/test/SemaOpenCL/ |
D | invalid-pipe-builtin-cl2.0.cl | 9 // read/write_pipe 18 write_pipe(p, ptr); // expected-error {{invalid pipe access modifier (expecting write_only)}} 19 …write_pipe(p, rid, tmp, ptr); // expected-error {{invalid pipe access modifier (expecting write… 21 // reserve_read/write_pipe 27 // commit_read/write_pipe 38 // read/write_pipe 39 write_pipe(p, &tmp); 40 write_pipe(p, ptr); 41 write_pipe(tmp, p); // expected-error {{first argument to 'write_pipe' must be a pipe type}} 42 write_pipe(p); // expected-error {{invalid number of arguments to function: 'write_pipe'}} [all …]
|
/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 168 bytes = write(write_pipe, &send, 1); in send_receive()
|
/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 37 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); in sync_with_child() 55 int notify_parent(union pipe write_pipe) in notify_parent() argument 59 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); in notify_parent() 64 int notify_parent_of_error(union pipe write_pipe) in notify_parent_of_error() argument 68 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); in notify_parent_of_error() 97 static int eat_cpu_child(union pipe read_pipe, union pipe write_pipe) in eat_cpu_child() argument 107 notify_parent(write_pipe); in eat_cpu_child() 118 union pipe read_pipe, write_pipe; in eat_cpu() local 129 if (pipe(write_pipe.fds) == -1) in eat_cpu() [all …]
|
D | lib.h | 25 extern int sync_with_child(union pipe read_pipe, union pipe write_pipe); 27 extern int notify_parent(union pipe write_pipe); 28 extern int notify_parent_of_error(union pipe write_pipe);
|
/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 28 FAIL_IF(notify_parent(write_pipe)); in victim_child() 33 FAIL_IF(notify_parent(write_pipe)); in victim_child() 46 union pipe read_pipe, write_pipe; in ebb_on_child() local 53 FAIL_IF(pipe(write_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 32 FAIL_IF(notify_parent(write_pipe)); in victim_child() 53 union pipe read_pipe, write_pipe; in ebb_on_willing_child() local 60 FAIL_IF(pipe(write_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 46 FAIL_IF(pipe(write_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 51 FAIL_IF(pipe(write_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 51 FAIL_IF(pipe(write_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 48 FAIL_IF(pipe(write_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 53 FAIL_IF(pipe(write_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()
|
D | ebb.c | 349 int ebb_child(union pipe read_pipe, union pipe write_pipe) in ebb_child() argument 377 notify_parent_of_error(write_pipe); in ebb_child() 383 FAIL_IF(notify_parent(write_pipe)); in ebb_child() 385 FAIL_IF(notify_parent(write_pipe)); in ebb_child()
|
D | ebb.h | 74 int ebb_child(union pipe read_pipe, union pipe write_pipe);
|
/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/ltp/testcases/kernel/syscalls/sigrelse/ |
D | sigrelse01.c | 132 static int write_pipe(int fd, char *msg); 286 if (write_pipe(pipe_fd2[1], READY) < 0) { in parent() 426 if (write_pipe(pipe_fd[1], note) < 0) { in child() 510 if (write_pipe(pipe_fd[1], note) < 0) { in child() 634 static int write_pipe(int fd, char *msg) in write_pipe() function
|
/external/crosvm/sys_util/src/ |
D | file_flags.rs | 43 let (read_pipe, write_pipe) = pipe(true).unwrap(); in pipe_pair() 45 assert_eq!(FileFlags::from_file(&write_pipe).unwrap(), FileFlags::Write); in pipe_pair()
|
/external/crosvm/src/plugin/ |
D | vcpu.rs | 353 write_pipe: File, field 365 write_pipe: File, in new() 371 write_pipe, in new() 470 let mut write_pipe = &self.write_pipe; in process() localVariable 471 match write_pipe.write(&response_buffer[..]) { in process() 756 let mut write_pipe = &self.write_pipe; in handle_request() localVariable 757 write_pipe in handle_request()
|
/external/deqp-deps/amber/tests/cases/ |
D | opencl_read_and_write_image3d_rgba32i.amber | 52 PIPELINE compute write_pipe 64 RUN write_pipe 2 2 2
|
D | glsl_read_and_write_image3d_rgba32i.amber | 54 PIPELINE compute write_pipe 66 RUN write_pipe 2 2 2
|
/external/clang/test/CodeGenOpenCL/ |
D | pipe_builtin.cl | 19 write_pipe(p, ptr); 23 write_pipe(p, rid, 2, ptr);
|
/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() 133 CloseHandle(events->write_pipe); in ndis_events_constructor() 144 CloseHandle(events->write_pipe); in ndis_events_destructor() 217 if (WriteFile(events->write_pipe, buf, pos - buf, &written, NULL)) { in ndis_events_send_event()
|
/external/llvm-project/clang/test/CodeGenOpenCL/ |
D | pipe_builtin.cl | 24 write_pipe(p, ptr); 28 write_pipe(p, rid, 2, ptr);
|