Searched refs:pipe (Results 1 - 25 of 160) sorted by relevance

1234567

/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...]
H A Ddbus-pipe.h45 void _dbus_pipe_init (DBusPipe *pipe,
47 void _dbus_pipe_init_stdout (DBusPipe *pipe);
48 int _dbus_pipe_write (DBusPipe *pipe,
53 int _dbus_pipe_close (DBusPipe *pipe,
55 dbus_bool_t _dbus_pipe_is_valid (DBusPipe *pipe);
56 void _dbus_pipe_invalidate (DBusPipe *pipe);
57 dbus_bool_t _dbus_pipe_is_stdout_or_stderr (DBusPipe *pipe);
/external/bison/lib/
H A Dunistd--.h27 #undef pipe macro
28 #define pipe pipe_safer macro
H A Dpipe-safer.c1 /* Invoke pipe, but avoid some glitches.
28 /* Like pipe, but ensure that neither of the file descriptors is
34 int fail = pipe (fd);
/external/valgrind/main/coregrind/m_scheduler/
H A Dsema.c41 pipe-based token passing scheme.
44 /* Cycle the char passed through the pipe through 'A' .. 'Z' to make
55 r = VG_(pipe)(sema->pipe);
58 vg_assert(sema->pipe[0] != sema->pipe[1]);
60 sema->pipe[0] = VG_(safe_fd)(sema->pipe[0]);
61 sema->pipe[1] = VG_(safe_fd)(sema->pipe[
[all...]
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:__anon10963
/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
468 NetPipe *pipe; local
[all...]
/external/valgrind/main/none/tests/
H A Dfdleak_pipe.c10 DO( pipe(fds) );
H A Dsyscall-restart1.c20 if (pipe(fds) == -1) {
21 perror("FAIL: pipe\n");
/external/qemu/hw/
H A Dgoldfish_pipe.c46 /* Set to 1 to enable the 'zero' pipe type, useful for debugging */
49 /* Set to 1 to enable the 'pingpong' pipe type, useful for debugging */
52 /* Set to 1 to enable the 'throttle' pipe type, useful for debugging */
85 APANIC("Too many goldfish pipe services (%d)", count);
132 static void* pipeConnector_new(Pipe* pipe);
137 Pipe* pipe; local
138 ANEW0(pipe);
139 pipe->channel = channel;
140 pipe->device = dev;
141 pipe
214 Pipe* pipe; member in struct:__anon8600
222 pipeConnector_new(Pipe* pipe) argument
298 Pipe* pipe = pcon->pipe; local
457 pingPongPipe_init0( PingPongPipe* pipe, void* hwpipe, void* svcOpaque ) argument
491 PingPongPipe* pipe = opaque; local
555 PingPongPipe* pipe = opaque; local
599 PingPongPipe* pipe = opaque; local
614 PingPongPipe* pipe = opaque; local
657 ThrottlePipe* pipe; local
671 ThrottlePipe* pipe = opaque; local
704 ThrottlePipe* pipe = opaque; local
733 ThrottlePipe* pipe = opaque; local
752 ThrottlePipe* pipe = opaque; local
770 ThrottlePipe* pipe = opaque; local
785 ThrottlePipe* pipe = opaque; local
829 Pipe* pipe = *lookup; local
983 Pipe* pipe = dev->signaled_pipes; local
1051 Pipe* pipe = hwpipe; local
1073 Pipe* pipe = hwpipe; local
[all...]
H A Dgoldfish_pipe.h20 * A goldfish pipe is a very fast communication channel between the guest
23 * To open a new pipe to the emulator, a guest client will do the following:
37 * This header provides the interface used by pipe services in the emulator
41 * 1/ Call goldfish_pipe_add_type() to register a new pipe service by name.
43 * during normal pipe operations.
49 * 3/ Call goldfish_pipe_close() to force the closure of a given pipe.
51 * 4/ Call goldfish_pipe_signal() to signal a change of state to the pipe.
66 * to goldfish_pipe_add_type() when registering a given pipe service.
70 /* Called when the guest kernel has finally closed a pipe connection.
75 void (*close)( void* pipe );
[all...]
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
H A DPipeTest.java37 Pipe pipe = Pipe.open();
38 assertNotNull(pipe);
45 Pipe pipe = Pipe.open();
46 SinkChannel sink = pipe.sink();
54 Pipe pipe = Pipe.open();
55 SourceChannel source = pipe.source();
/external/valgrind/main/memcheck/tests/
H A Dpipe.c2 // behaved as if pipe() took an array of 64-bit ints, when it really takes
13 pipe(filedes);
/external/chromium/build/
H A Dcompiler_version.py22 pipe = subprocess.Popen(compiler, stdout=subprocess.PIPE, shell=True)
23 gcc_output = pipe.communicate()[0]
/external/chromium/chrome/browser/cocoa/
H A Dauthorization_util.h16 // tool's stdout (and stdin) via a FILE* pipe. The tool can output its pid
17 // to this pipe, and the main program can read it, and then have something
44 // |pipe| may be NULL, but the tool will always be executed with a pipe in
50 FILE** pipe,
62 FILE** pipe,
/external/kernel-headers/original/linux/
H A Dusb.h684 * @pipe: Holds endpoint number, direction, type, and more.
690 * is a different endpoint (and pipe) from "out" endpoint two.
714 * and is encoded in the pipe. When the length is zero, neither
771 * All URBs submitted must initialize the dev, pipe, transfer_flags (may be
858 unsigned int pipe; /* (in) pipe information */ member in struct:urb
884 * @pipe: the endpoint pipe
896 unsigned int pipe,
905 urb->pipe
894 usb_fill_control_urb(struct urb *urb, struct usb_device *dev, unsigned int pipe, unsigned char *setup_packet, void *transfer_buffer, int buffer_length, usb_complete_t complete, void *context) argument
926 usb_fill_bulk_urb(struct urb *urb, struct usb_device *dev, unsigned int pipe, void *transfer_buffer, int buffer_length, usb_complete_t complete, void *context) argument
961 usb_fill_int_urb(struct urb *urb, struct usb_device *dev, unsigned int pipe, void *transfer_buffer, int buffer_length, usb_complete_t complete, void *context, int interval) argument
1078 int pipe; member in struct:usb_sg_request
1176 usb_maxpacket(struct usb_device *udev, int pipe, int is_out) argument
[all...]
/external/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
549 HANDLE pipe; member in struct:wpa_global_dst
[all...]
H A Dwpa_ctrl.c64 HANDLE pipe; member in struct:wpa_ctrl
405 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE)
434 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0,
437 * Current named pipe server side in wpa_supplicant is
438 * re-opening the pipe for new clients only after the previous
443 if (ctrl->pipe != INVALID_HANDLE_VALUE ||
448 if (ctrl->pipe == INVALID_HANDLE_VALUE) {
454 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) {
455 CloseHandle(ctrl->pipe);
466 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.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/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/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...]

Completed in 497 milliseconds

1234567