/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
ebb_on_willing_child_test.c | 23 static int victim_child(union pipe read_pipe, union pipe write_pipe) 25 FAIL_IF(wait_for_parent(read_pipe)); 53 union pipe read_pipe, write_pipe; local 59 FAIL_IF(pipe(read_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 52 FAIL_IF(pipe(read_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 50 FAIL_IF(pipe(read_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_on_child_test.c | 23 static int victim_child(union pipe read_pipe, union pipe write_pipe) 27 FAIL_IF(wait_for_parent(read_pipe)); 32 FAIL_IF(wait_for_parent(read_pipe)); 46 union pipe read_pipe, write_pipe; local 52 FAIL_IF(pipe(read_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_vs_cpu_event_test.c | 39 union pipe read_pipe, write_pipe; local 50 FAIL_IF(pipe(read_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 47 FAIL_IF(pipe(read_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 45 FAIL_IF(pipe(read_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));
|
/external/autotest/client/common_lib/ |
logging_manager_test.py | 13 call read_pipe() (or the classmethod read_all_pipes()) periodically to read 45 self.read_pipe() 49 def read_pipe(self): member in class:PipedStringIO 60 instance.read_pipe()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ |
lib.c | 33 int sync_with_child(union pipe read_pipe, union pipe write_pipe) 38 FAIL_IF(read(read_pipe.read_fd, &c, 1) != 1); 45 int wait_for_parent(union pipe read_pipe) 49 FAIL_IF(read(read_pipe.read_fd, &c, 1) != 1); 97 static int eat_cpu_child(union pipe read_pipe, union pipe write_pipe) 108 wait_for_parent(read_pipe); 118 union pipe read_pipe, write_pipe; local 126 if (pipe(read_pipe.fds) == -1) 134 exit(eat_cpu_child(write_pipe, read_pipe)); 136 if (sync_with_child(read_pipe, write_pipe)) [all...] |
/external/ltp/testcases/kernel/syscalls/sigrelse/ |
sigrelse01.c | 131 static char *read_pipe(int fd); 245 char *str; /* string returned from read_pipe() */ 252 if ((str = read_pipe(pipe_fd[0])) == NULL) { 253 /* read_pipe() failed. */ 310 if ((array = (int *)read_pipe(pipe_fd[0])) == NULL) { 311 /* read_pipe() failed. */ 346 if ((str = read_pipe(pipe_fd[0])) == NULL) { 347 /* read_pipe() failed. */ 461 if ((str = read_pipe(pipe_fd2[0])) == NULL) { 462 /* read_pipe() failed. * 597 static char *read_pipe(int fd) function [all...] |
/system/core/debuggerd/ |
debuggerd_test.cpp | 210 unique_fd read_pipe; local
|
/external/python/cpython2/PC/ |
_subprocess.c | 267 HANDLE read_pipe; local 278 result = CreatePipe(&read_pipe, &write_pipe, NULL, size); 285 "NN", sp_handle_new(read_pipe), sp_handle_new(write_pipe));
|
/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)) { 132 CloseHandle(events->read_pipe); 143 CloseHandle(events->read_pipe); 702 ndis_events_init(HANDLE *read_pipe, HANDLE *event_avail, 798 *read_pipe = events->read_pipe;
|