/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
ebb_on_child_test.c | 23 static int victim_child(union pipe read_pipe, union pipe write_pipe) 28 FAIL_IF(notify_parent(write_pipe)); 33 FAIL_IF(notify_parent(write_pipe)); 46 union pipe read_pipe, write_pipe; local 53 FAIL_IF(pipe(write_pipe.fds) == -1); 58 exit(victim_child(write_pipe, read_pipe)); 61 FAIL_IF(sync_with_child(read_pipe, write_pipe)); 75 FAIL_IF(sync_with_child(read_pipe, write_pipe));
|
ebb_on_willing_child_test.c | 23 static int victim_child(union pipe read_pipe, union pipe write_pipe) 32 FAIL_IF(notify_parent(write_pipe)); 53 union pipe read_pipe, write_pipe; local 60 FAIL_IF(pipe(write_pipe.fds) == -1); 65 exit(victim_child(write_pipe, read_pipe)); 69 FAIL_IF(sync_with_child(read_pipe, write_pipe));
|
cpu_event_pinned_vs_ebb_test.c | 41 union pipe read_pipe, write_pipe; local 53 FAIL_IF(pipe(write_pipe.fds) == -1); 58 exit(ebb_child(write_pipe, read_pipe)); 69 if (sync_with_child(read_pipe, write_pipe)) 74 FAIL_IF(sync_with_child(read_pipe, write_pipe));
|
cpu_event_vs_ebb_test.c | 39 union pipe read_pipe, write_pipe; local 51 FAIL_IF(pipe(write_pipe.fds) == -1); 56 exit(ebb_child(write_pipe, read_pipe)); 67 if (sync_with_child(read_pipe, write_pipe)) 72 FAIL_IF(sync_with_child(read_pipe, write_pipe));
|
ebb_vs_cpu_event_test.c | 39 union pipe read_pipe, write_pipe; local 51 FAIL_IF(pipe(write_pipe.fds) == -1); 56 exit(ebb_child(write_pipe, read_pipe)); 60 FAIL_IF(sync_with_child(read_pipe, write_pipe)); 70 FAIL_IF(sync_with_child(read_pipe, write_pipe));
|
task_event_pinned_vs_ebb_test.c | 40 union pipe read_pipe, write_pipe; local 48 FAIL_IF(pipe(write_pipe.fds) == -1); 53 exit(ebb_child(write_pipe, read_pipe)); 64 if (sync_with_child(read_pipe, write_pipe)) 69 FAIL_IF(sync_with_child(read_pipe, write_pipe));
|
task_event_vs_ebb_test.c | 38 union pipe read_pipe, write_pipe; local 46 FAIL_IF(pipe(write_pipe.fds) == -1); 51 exit(ebb_child(write_pipe, read_pipe)); 62 if (sync_with_child(read_pipe, write_pipe)) 67 FAIL_IF(sync_with_child(read_pipe, write_pipe));
|
ebb.h | 74 int ebb_child(union pipe read_pipe, union pipe write_pipe);
|
ebb.c | 349 int ebb_child(union pipe read_pipe, union pipe write_pipe) 377 notify_parent_of_error(write_pipe); 383 FAIL_IF(notify_parent(write_pipe)); 385 FAIL_IF(notify_parent(write_pipe));
|
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ |
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);
|
lib.c | 33 int sync_with_child(union pipe read_pipe, union pipe write_pipe) 37 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); 55 int notify_parent(union pipe write_pipe) 59 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); 64 int notify_parent_of_error(union pipe write_pipe) 68 FAIL_IF(write(write_pipe.write_fd, &c, 1) != 1); 97 static int eat_cpu_child(union pipe read_pipe, union pipe write_pipe) 107 notify_parent(write_pipe); 118 union pipe read_pipe, write_pipe; local 129 if (pipe(write_pipe.fds) == -1 [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_close/ |
2-1.c | 38 int parent_process(char *qname, int read_pipe, int write_pipe, int 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, int child_pid) 117 rval = send_receive(read_pipe, write_pipe, 'a', &reply); 138 rval = send_receive(read_pipe, write_pipe, 'c', &reply); 155 int child_process(char *qname, int read_pipe, int write_pipe) 163 rval = send_receive(read_pipe, write_pipe, 0, &reply); 184 rval = send_receive(read_pipe, write_pipe, 'b', &reply); 199 send_receive(read_pipe, write_pipe, rval ? 'e' : 'd', NULL) [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/ |
2-2.c | 42 int parent_process(char *mqname, int read_pipe, int write_pipe, int 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, int child_pid) 103 rval = send_receive(read_pipe, write_pipe, 'a', &reply); 112 rval = send_receive(read_pipe, write_pipe, 'c', &reply); 140 int child_process(char *mqname, int read_pipe, int write_pipe) 146 rval = send_receive(read_pipe, write_pipe, 0, &reply); 159 rval = send_receive(read_pipe, write_pipe, 'b', &reply); 171 rval = send_receive(read_pipe, write_pipe, 'd', NULL) [all...] |
2-1.c | 47 int parent_process(char *mqname, int read_pipe, int write_pipe, int 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, int child_pid) 108 rval = send_receive(read_pipe, write_pipe, 'a', &reply); 138 int child_process(char *mqname, int read_pipe, int write_pipe) 144 rval = send_receive(read_pipe, write_pipe, 0, &reply); 157 rval = send_receive(read_pipe, write_pipe, 'b', NULL); 162 int send_receive(int read_pipe, int write_pipe, char send, char *reply) 167 bytes = write(write_pipe, &send, 1) [all...] |
/external/ltp/testcases/kernel/syscalls/sigrelse/ |
sigrelse01.c | 132 static int write_pipe(int fd, char *msg); 286 if (write_pipe(pipe_fd2[1], READY) < 0) { 360 /* the write() call failed in child's write_pipe */ 427 if (write_pipe(pipe_fd[1], note) < 0) { 429 * write_pipe() failed. Set exit value to WRITE_BROK to let 509 if (write_pipe(pipe_fd[1], note) < 0) { 511 * write_pipe() failed. Set exit value to WRITE_BROK to let 630 * write_pipe(msg) : write msg to pipe. If it fails, put message in 633 static int write_pipe(int fd, char *msg) function 637 printf("write_pipe: pid=%d, sending %s.\n", getpid(), msg) [all...] |
/external/wpa_supplicant_8/src/drivers/ |
ndis_events.c | 31 HANDLE read_pipe, write_pipe, event_avail; member in struct:ndis_events_data 123 if (!CreatePipe(&events->read_pipe, &events->write_pipe, NULL, 512)) { 133 CloseHandle(events->write_pipe); 144 CloseHandle(events->write_pipe); 217 if (WriteFile(events->write_pipe, buf, pos - buf, &written, NULL)) {
|
/external/autotest/server/site_tests/network_WiFi_RoamOnLowPower/ |
network_WiFi_RoamOnLowPower.py | 29 def __init__(self, write_pipe): 32 @param write_pipe: the place to send output. 35 self._write_pipe = write_pipe
|
/external/spirv-llvm/lib/SPIRV/ |
OCLUtil.h | 199 const static char WritePipe[] = "write_pipe"; 576 _SPIRV_OP(write_pipe, WritePipe)
|