/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/ |
D | 2-2.c | 42 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 …]
|
D | 2-1.c | 47 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 175 bytes = read(read_pipe, reply, 1); in send_receive()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_close/ |
D | 2-1.c | 38 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/ |
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() 594 static char *read_pipe(int fd) in read_pipe() function
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
|
D | driver_ndis.h | 14 struct ndis_events_data * ndis_events_init(HANDLE *read_pipe, HANDLE *event,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
|
D | driver_ndis.h | 14 struct ndis_events_data * ndis_events_init(HANDLE *read_pipe, HANDLE *event,
|
/third_party/boost/tools/build/src/engine/ |
D | execnt.cpp | 770 static void read_pipe in read_pipe() function 829 read_pipe( cmdtab[ i ].pipe_out[ EXECCMD_PIPE_READ ], in read_output() 833 read_pipe( cmdtab[ i ].pipe_err[ EXECCMD_PIPE_READ ], in read_output()
|
/third_party/python/Modules/ |
D | _winapi.c | 728 HANDLE read_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()
|