HomeSort by relevance Sort by last modified time
    Searched defs:write_pipe (Results 1 - 13 of 13) 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)
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_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_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));
  /external/linux-kselftest/tools/testing/selftests/powerpc/pmu/
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/kernel/syscalls/sigrelse/
sigrelse01.c 132 static int write_pipe(int fd, char *msg);
286 if (write_pipe(pipe_fd2[1], READY) < 0) {
359 /* the write() call failed in child's write_pipe */
426 if (write_pipe(pipe_fd[1], note) < 0) {
428 * write_pipe() failed. Set exit value to WRITE_BROK to let
510 if (write_pipe(pipe_fd[1], note) < 0) {
512 * write_pipe() failed. Set exit value to WRITE_BROK to let
631 * write_pipe(msg) : write msg to pipe. If it fails, put message in
634 static int write_pipe(int fd, char *msg) function
638 printf("write_pipe: pid=%d, sending %s.\n", getpid(), msg)
    [all...]
  /external/minijail/
libminijail_unittest.cc 332 int write_pipe[2]; local
339 status = pipe(write_pipe);
342 status = minijail_preserve_fd(j, write_pipe[0], STDIN_FILENO);
353 close(write_pipe[0]);
354 status = write(write_pipe[1], teststr, teststr_len);
356 close(write_pipe[1]);
  /external/python/cpython2/PC/
_subprocess.c 268 HANDLE write_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)) {
133 CloseHandle(events->write_pipe);
144 CloseHandle(events->write_pipe);
217 if (WriteFile(events->write_pipe, buf, pos - buf, &written, NULL)) {
  /external/python/cpython3/Modules/
_winapi.c 660 HANDLE write_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 178 milliseconds