HomeSort by relevance Sort by last modified time
    Searched defs:read_pipe (Results 1 - 15 of 15) sorted by null

  /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. */
309 if ((array = (int *)read_pipe(pipe_fd[0])) == NULL) {
310 /* read_pipe() failed. */
345 if ((str = read_pipe(pipe_fd[0])) == NULL) {
346 /* read_pipe() failed. */
460 if ((str = read_pipe(pipe_fd2[0])) == NULL) {
461 /* read_pipe() failed. *
596 static char *read_pipe(int fd) function
    [all...]
  /external/minijail/
libminijail_unittest.cc 331 int read_pipe[2]; local
337 status = pipe(read_pipe);
344 status = minijail_preserve_fd(j, read_pipe[1], STDOUT_FILENO);
358 close(read_pipe[1]);
359 status = read(read_pipe[0], buf, 8);
  /system/core/debuggerd/
debuggerd_test.cpp 201 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;
  /external/python/cpython3/Modules/
_winapi.c 659 HANDLE read_pipe; local
664 result = CreatePipe(&read_pipe, &write_pipe, NULL, size);
671 "NN", HANDLE_TO_PYNUM(read_pipe), HANDLE_TO_PYNUM(write_pipe));
    [all...]

Completed in 194 milliseconds