Home
last modified time | relevance | path

Searched refs:write_pipe (Results 1 – 7 of 7) sorted by relevance

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/
D2-2.c42 static int parent_process(char *mqname, int read_pipe, int write_pipe, pid_t child_pid);
43 static int child_process(char *mqname, int read_pipe, int write_pipe);
44 static int send_receive(int read_pipe, int write_pipe, char send, char *reply);
91 static 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 static 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 …]
D2-1.c47 static int parent_process(char *mqname, int read_pipe, int write_pipe, pid_t child_pid);
48 static int child_process(char *mqname, int read_pipe, int write_pipe);
49 static int send_receive(int read_pipe, int write_pipe, char send, char *reply);
96 static 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 static 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 static 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()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_close/
D2-1.c38 static int parent_process(char *qname, int read_pipe, int write_pipe, pid_t child_pid);
39 static int child_process(char *qname, int read_pipe, int write_pipe);
41 static int send_receive(int read_pipe, int write_pipe, char send, char *reply);
95 static 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 static 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 …]
/third_party/ltp/testcases/kernel/syscalls/sigrelse/
Dsigrelse01.c132 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()
508 if (write_pipe(pipe_fd[1], note) < 0) { in child()
632 static int write_pipe(int fd, char *msg) in write_pipe() function
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dndis_events.c31 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Dndis_events.c31 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()
/third_party/python/Modules/
D_winapi.c729 HANDLE write_pipe; in _winapi_CreatePipe_impl() local
737 result = CreatePipe(&read_pipe, &write_pipe, NULL, size); in _winapi_CreatePipe_impl()
744 "NN", HANDLE_TO_PYNUM(read_pipe), HANDLE_TO_PYNUM(write_pipe)); in _winapi_CreatePipe_impl()