Searched defs:pipe (Results 1 - 25 of 36) sorted by relevance

12

/external/bison/lib/
H A Dunistd--.h27 #undef pipe macro
28 #define pipe pipe_safer macro
/external/valgrind/main/coregrind/m_scheduler/
H A Dpriv_sema.h34 /* Not really a semaphore, but use a pipe for a token-passing scheme */
36 Int pipe[2]; member in struct:__anon12306
/external/clang/test/CodeGen/
H A D2008-07-31-asm-labels.c2 // RUN: grep "@pipe()" %t | count 0
7 // RUN: grep "@pipe()" %t | count 0
11 void pipe() asm("_thisIsNotAPipe");
14 pipe();
17 void pipe(int);
20 pipe(1);
24 void pipe(int arg) { function
/external/dbus/dbus/
H A Ddbus-pipe.c2 /* dbus-pipe.c pipe implementation (internal to D-Bus implementation)
26 #include "dbus-pipe.h"
29 * init a pipe instance.
31 * @param pipe the pipe
35 _dbus_pipe_init (DBusPipe *pipe, argument
38 pipe->fd_or_handle = fd;
42 * init a pipe with stdout
44 * @param pipe th
47 _dbus_pipe_init_stdout(DBusPipe *pipe) argument
60 _dbus_pipe_is_valid(DBusPipe *pipe) argument
72 _dbus_pipe_is_stdout_or_stderr(DBusPipe *pipe) argument
82 _dbus_pipe_invalidate(DBusPipe *pipe) argument
[all...]
H A Ddbus-pipe-unix.c2 /* dbus-pipe-unix.c unix related pipe implementation
29 #include "dbus-pipe.h"
35 * write data to a pipe.
37 * @param pipe the pipe instance
45 _dbus_pipe_write (DBusPipe *pipe, argument
53 written = _dbus_write (pipe->fd_or_handle, buffer, start, len);
57 "Writing to pipe: %s\n",
64 * close a pipe
71 _dbus_pipe_close(DBusPipe *pipe, DBusError *error) argument
[all...]
H A Ddbus-pipe-win.c2 /* dbus-pipe-win.c windows related pipe implementation
29 #include "dbus-pipe.h"
34 * write data to a pipe.
36 * @param pipe the pipe instance
44 _dbus_pipe_write (DBusPipe *pipe, argument
55 res = WriteFile ((HANDLE) pipe->fd_or_handle, buffer_c + start, len, &written, NULL);
59 "Writing to pipe: %s\n",
66 * close a pipe
73 _dbus_pipe_close(DBusPipe *pipe, DBusError *error) argument
[all...]
/external/openfst/src/script/
H A Dinfo.cc28 bool pipe, bool verify) {
29 InfoArgs args(f, test_properties, arc_filter, info_type, pipe, verify);
26 PrintFstInfo(const FstClass &f, bool test_properties, const string &arc_filter, const string &info_type, bool pipe, bool verify) argument
/external/bluetooth/glib/tests/
H A Dspawn-test.c38 #define pipe(fds) _pipe(fds, 4096, _O_BINARY) macro
203 if (pipe (pipedown) < 0 ||
204 pipe (pipeup) < 0)
H A Dgio-test.c42 #define pipe(fds) _pipe(fds, 4096, _O_BINARY) macro
334 if (pipe (pipe_to_sub) == -1 ||
335 pipe (pipe_from_sub) == -1)
336 perror ("pipe"), exit (1);
H A Dmainloop-test.c13 #include <fcntl.h> /* For _O_BINARY used by pipe() macro */
15 #define pipe(fds) _pipe(fds, 4096, _O_BINARY) macro
200 if (pipe(fds) < 0)
202 g_warning ("Cannot create pipe %s\n", g_strerror (errno));
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
H A DSourceChannelTest.java36 private Pipe pipe; field in class:SourceChannelTest
48 pipe = Pipe.open();
49 sink = pipe.sink();
50 source = pipe.source();
158 // open new pipe everytime, will be closed in finally block
159 pipe = Pipe.open();
160 sink = pipe.sink();
161 source = pipe.source();
194 // close pipe everytime
301 Pipe pipe
[all...]
H A DSinkChannelTest.java40 private Pipe pipe; field in class:SinkChannelTest
52 pipe = Pipe.open();
53 sink = pipe.sink();
54 source = pipe.source();
/external/bluetooth/glib/gio/
H A Dgcancellable.c31 #ifndef pipe
32 #define pipe(fds) _pipe(fds, 4096, _O_BINARY) macro
195 if (pipe (cancellable->cancel_pipe) == 0)
204 g_warning ("Failed to create pipe for GCancellable. Out of file descriptors?");
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DPipeline.java52 private InputStream pipe; field in class:Pipeline
122 public Pipeline(InputStream pipe, int readTimeout, Timer timer) { argument
123 // pipe is the Socket stream
126 this.pipe = pipe;
159 this.pipe.close();
/external/protobuf/src/google/protobuf/io/
H A Dzero_copy_stream_unittest.cc80 #define pipe(fds) _pipe(fds, 4096, O_BINARY) macro
586 // different things to handle them. We'll test by writing to a pipe and
593 // Need to create a new pipe each time because ReadStuff() expects
595 ASSERT_EQ(pipe(files), 0);
/external/qemu/android/
H A Dhw-pipe-net.c17 /* This file implements the 'tcp:' goldfish pipe type which allows
30 /* Implement the OpenGL fast-pipe */
75 netPipe_free( NetPipe* pipe )
80 fd = pipe->io->fd;
81 loopIo_done(pipe->io);
84 /* Release the pipe object */
85 AFREE(pipe);
90 netPipe_resetState( NetPipe* pipe )
92 if ((pipe->wakeWanted & PIPE_WAKE_WRITE) != 0) {
93 loopIo_wantWrite(pipe
112 NetPipe* pipe = opaque; local
140 NetPipe* pipe = opaque; local
189 NetPipe* pipe; local
233 NetPipe* pipe = opaque; local
241 NetPipe* pipe = opaque; local
295 NetPipe* pipe = opaque; local
348 NetPipe* pipe = opaque; local
363 NetPipe* pipe = opaque; local
472 NetPipe *pipe; local
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/common/
H A Dwpa_ctrl.c66 HANDLE pipe; member in struct:wpa_ctrl
435 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE)
468 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0,
471 * Current named pipe server side in wpa_supplicant is
472 * re-opening the pipe for new clients only after the previous
477 if (ctrl->pipe != INVALID_HANDLE_VALUE ||
482 if (ctrl->pipe == INVALID_HANDLE_VALUE) {
488 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) {
489 CloseHandle(ctrl->pipe);
500 CloseHandle(ctrl->pipe);
[all...]
/external/wpa_supplicant_8/hostapd/src/common/
H A Dwpa_ctrl.c54 HANDLE pipe; member in struct:wpa_ctrl
430 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE)
463 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0,
466 * Current named pipe server side in wpa_supplicant is
467 * re-opening the pipe for new clients only after the previous
472 if (ctrl->pipe != INVALID_HANDLE_VALUE ||
477 if (ctrl->pipe == INVALID_HANDLE_VALUE) {
483 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) {
484 CloseHandle(ctrl->pipe);
495 CloseHandle(ctrl->pipe);
[all...]
/external/wpa_supplicant_8/src/common/
H A Dwpa_ctrl.c54 HANDLE pipe; member in struct:wpa_ctrl
430 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE)
463 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0,
466 * Current named pipe server side in wpa_supplicant is
467 * re-opening the pipe for new clients only after the previous
472 if (ctrl->pipe != INVALID_HANDLE_VALUE ||
477 if (ctrl->pipe == INVALID_HANDLE_VALUE) {
483 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) {
484 CloseHandle(ctrl->pipe);
495 CloseHandle(ctrl->pipe);
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dwpa_ctrl.c54 HANDLE pipe; member in struct:wpa_ctrl
430 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE)
463 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0,
466 * Current named pipe server side in wpa_supplicant is
467 * re-opening the pipe for new clients only after the previous
472 if (ctrl->pipe != INVALID_HANDLE_VALUE ||
477 if (ctrl->pipe == INVALID_HANDLE_VALUE) {
483 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) {
484 CloseHandle(ctrl->pipe);
495 CloseHandle(ctrl->pipe);
[all...]
/external/wpa_supplicant_6/wpa_supplicant/
H A Dctrl_iface_named_pipe.c50 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE)
71 HANDLE pipe; member in struct:wpa_ctrl_dst
106 static int ctrl_broken_pipe(HANDLE pipe, int used) argument
110 if (PeekNamedPipe(pipe, NULL, 0, NULL, NULL, NULL))
128 if (ctrl_broken_pipe(dst->pipe, dst->used)) {
129 wpa_printf(MSG_DEBUG, "CTRL: closing broken pipe %p",
147 wpa_printf(MSG_DEBUG, "CTRL: Open pipe %p", dst);
151 dst->pipe = INVALID_HANDLE_VALUE;
172 /* TODO: add support for configuring access list for the pipe */
173 dst->pipe
550 HANDLE pipe; member in struct:wpa_global_dst
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dctrl_iface_named_pipe.c44 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE)
65 HANDLE pipe; member in struct:wpa_ctrl_dst
100 static int ctrl_broken_pipe(HANDLE pipe, int used) argument
104 if (PeekNamedPipe(pipe, NULL, 0, NULL, NULL, NULL))
122 if (ctrl_broken_pipe(dst->pipe, dst->used)) {
123 wpa_printf(MSG_DEBUG, "CTRL: closing broken pipe %p",
141 wpa_printf(MSG_DEBUG, "CTRL: Open pipe %p", dst);
145 dst->pipe = INVALID_HANDLE_VALUE;
166 /* TODO: add support for configuring access list for the pipe */
167 dst->pipe
544 HANDLE pipe; member in struct:wpa_global_dst
[all...]
/external/blktrace/
H A Dblkiomon.c71 int pipe; member in struct:output
244 if (binary.pipe && fflush(binary.fp))
440 if (drvdata.pipe && fflush(drvdata.fp))
537 out->pipe = 1;
542 out->pipe = 0;
/external/dnsmasq/src/
H A Ddnsmasq.c64 static void async_event(int pipe, time_t now);
272 /* Use a pipe to carry signals and other events back to the event loop
278 /* prime the pipe to load stuff first time. */
300 /* pipe to carry errors back to original process.
753 /* error pipe, debug mode. */
757 /* pipe is non-blocking and struct event_desc is smaller than
797 static void async_event(int pipe, time_t now) argument
803 if (read_write(pipe, (unsigned char *)&ev, sizeof(ev), 1))
/external/chromium/net/tools/dump_cache/
H A Dupgrade.cc26 const wchar_t kPipePrefix[] = L"\\\\.\\pipe\\dump_cache_";
900 int CopyCache(const std::wstring& output_path, HANDLE pipe, bool copy_to_text) { argument
903 MasterSM master(output_path, pipe, copy_to_text);
917 base::win::ScopedHandle pipe(OpenServer(pipe_number));
918 if (!pipe.IsValid()) {
919 printf("Unable to open the server pipe\n");
923 SlaveSM slave(input_path, pipe);

Completed in 685 milliseconds

12