HomeSort by relevance Sort by last modified time
    Searched defs:pipe (Results 1 - 25 of 60) sorted by null

1 2 3

  /bionic/libc/arch-arm/syscalls/
pipe.S 6 ENTRY(pipe) function
15 END(pipe)
  /bionic/libc/arch-mips/bionic/
pipe.S 30 * The MIPS pipe syscall returns results in two registers, which
39 /* int pipe(int[]) */
41 .type pipe,@function
42 .global pipe
44 .ent pipe
45 pipe: label
60 .end pipe
  /bionic/libc/arch-x86/syscalls/
pipe.S 6 ENTRY(pipe) function
21 END(pipe)
  /external/bison/lib/
unistd--.h 26 #undef pipe macro
27 #define pipe pipe_safer macro
  /external/clang/test/CodeGen/
2008-07-31-asm-labels.c 2 // 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/valgrind/main/coregrind/m_scheduler/
priv_sema.h 34 /* Not really a semaphore, but use a pipe for a token-passing scheme */
36 Int pipe[2]; member in struct:__anon16798
  /device/generic/goldfish/libqemu/
test_guest_1.c 17 /* This program uses a QEMUD pipe to exchange data with a test
42 Pipe pipe[1]; local
47 if (pipe_openSocket(pipe, port) < 0) {
53 if (pipe_openQemuPipe(pipe, PIPE_NAME) < 0) {
54 fprintf(stderr, "Could not open '%s' pipe: %s\n", PIPE_NAME, strerror(errno));
57 printf("Connected to '%s' pipe\n", PIPE_NAME);
70 int ret = pipe_send(pipe, buff, len);
79 ret = pipe_recv(pipe, buff2, len);
98 printf("Closing pipe\n")
    [all...]
test_guest_2.c 17 /* This program benchmarks a QEMUD pipe to exchange data with a test
40 " -pipe <name> Use pipe name (default: " PIPE_NAME ")\n"
50 Pipe pipe[1]; local
77 } else if (!strcmp(arg, "-pipe")) {
79 fprintf(stderr, "-pipe option needs an argument! See --help for details.\n");
111 fprintf(stderr, "You can't use both -pipe and -tcp at the same time\n");
122 /* Use default pipe name */
135 /* Open the pipe */
    [all...]
  /frameworks/base/libs/androidfw/tests/
InputChannel_test.cpp 40 // of a pipe and to check for EPIPE on the other end after the channel is destroyed.
41 Pipe pipe; local
43 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd);
47 EXPECT_EQ(pipe.sendFd, inputChannel->getFd())
52 EXPECT_EQ(-EPIPE, pipe.readSignal())
55 // clean up fds of Pipe endpoints that were closed so we don't try to close them again
56 pipe.sendFd = -1;
  /libcore/luni/src/test/java/libcore/java/nio/channels/
ChannelsTest.java 23 import java.nio.channels.Pipe;
30 Pipe.SourceChannel sourceChannel = createNonBlockingChannel("abc".getBytes("UTF-8"));
43 Pipe.SourceChannel sourceChannel = createNonBlockingChannel("abc".getBytes("UTF-8"));
51 private Pipe.SourceChannel createNonBlockingChannel(byte[] content) throws IOException {
52 Pipe pipe = Pipe.open(); local
53 WritableByteChannel sinkChannel = pipe.sink();
55 Pipe.SourceChannel sourceChannel = pipe.source()
    [all...]
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
PipeTest.java 21 import java.nio.channels.Pipe;
22 import java.nio.channels.Pipe.SinkChannel;
23 import java.nio.channels.Pipe.SourceChannel;
29 * Tests for Pipe and its default implementation
34 * @tests java.nio.channels.Pipe#open()
37 Pipe pipe = Pipe.open(); local
38 assertNotNull(pipe);
42 * @tests java.nio.channels.Pipe#sink(
45 Pipe pipe = Pipe.open(); local
54 Pipe pipe = Pipe.open(); local
    [all...]
SourceChannelTest.java 22 import java.nio.channels.Pipe;
28 * Tests for java.nio.channels.Pipe.SourceChannel
36 private Pipe pipe; field in class:SourceChannelTest
38 private Pipe.SinkChannel sink;
40 private Pipe.SourceChannel source;
48 pipe = Pipe.open();
49 sink = pipe.sink();
50 source = pipe.source()
301 Pipe pipe = Pipe.open(); local
    [all...]
  /device/generic/goldfish/opengl/shared/OpenglCodecCommon/
Win32PipeStream.cpp 30 * pipe cannot be more than 256 characters long.
40 Win32PipeStream::Win32PipeStream(HANDLE pipe, size_t bufSize) :
42 m_pipe(pipe)
54 /* Initialize the pipe name corresponding to a given port
59 snprintf(path, pathlen, "\\\\.\\pipe\\qemu-gles-%d", port_number);
64 * One does not create/bind a pipe, and collect a new handle each
67 * Instead, the server creates a new pipe instance each time it wants
71 * So listen() is a no-op, and accept() really creates the pipe handle.
73 * Also, connect() must create a pipe handle with CreateFile() and
87 HANDLE pipe; local
126 HANDLE pipe; local
    [all...]
  /sdk/emulator/opengl/shared/OpenglCodecCommon/
Win32PipeStream.cpp 30 * pipe cannot be more than 256 characters long.
40 Win32PipeStream::Win32PipeStream(HANDLE pipe, size_t bufSize) :
42 m_pipe(pipe)
54 /* Initialize the pipe name corresponding to a given port
59 snprintf(path, pathlen, "\\\\.\\pipe\\qemu-gles-%d", port_number);
64 * One does not create/bind a pipe, and collect a new handle each
67 * Instead, the server creates a new pipe instance each time it wants
71 * So listen() is a no-op, and accept() really creates the pipe handle.
73 * Also, connect() must create a pipe handle with CreateFile() and
87 HANDLE pipe; local
125 HANDLE pipe; local
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/parser/
Pipeline.java 52 private InputStream pipe; field in class:Pipeline
122 public Pipeline(InputStream pipe, int readTimeout, Timer timer) {
123 // pipe is the Socket stream
126 this.pipe = pipe;
159 this.pipe.close();
  /external/libnfc-nci/halimpl/bcm2079x/hal/hal/
nfc_hal_hci.c 258 /* HCP header with ADMIN pipe id and chaining bit set */
290 UINT8 pipe; local
305 pipe = (*p_data++) & 0x7F;
308 &&(pipe == NFC_HAL_HCI_ADMIN_PIPE) )
354 UINT8 pipe; local
364 pipe = (*p_data++) & 0x7F;
367 &&(pipe == NFC_HAL_HCI_ADMIN_PIPE) )
  /external/libnfc-nci/src/nfa/hci/
nfa_hci_main.c 65 static void nfa_hci_set_receive_buf (UINT8 pipe);
292 /* No two gates can own a same pipe */
302 /* Every bit set in pipe increment mask indicates a valid pipe */
305 /* Check if the pipe is valid one */
319 /* Check if pipe id is valid */
323 /* Check if pipe state is valid */
328 /* Check if local gate on which the pipe is created is valid */
333 /* Check if the peer gate on which the pipe is created is valid */
338 /* Check if the same pipe is present more than once in the control block *
660 UINT8 pipe; local
    [all...]
  /external/libusb_aah/libusb/os/
openbsd_usb.c 43 int pipe[2]; /* for event notification */ member in struct:handle_priv
217 if (pipe(hpriv->pipe) < 0)
220 return usbi_add_pollfd(HANDLE_CTX(handle), hpriv->pipe[0], POLLIN);
234 usbi_remove_pollfd(HANDLE_CTX(handle), hpriv->pipe[0]);
236 close(hpriv->pipe[0]);
237 close(hpriv->pipe[1]);
461 if (write(hpriv->pipe[1], &itransfer, sizeof(itransfer)) < 0)
508 if (hpriv->pipe[0] == pollfd->fd)
515 usbi_dbg("fd %d is not an event pipe!", pollfd->fd)
    [all...]
  /external/protobuf/src/google/protobuf/io/
zero_copy_stream_unittest.cc 80 #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/
hw-pipe-net.c 17 /* 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->io)
112 NetPipe* pipe = opaque; local
140 NetPipe* pipe = opaque; local
189 NetPipe* pipe; local
232 NetPipe* pipe = opaque; local
251 NetPipe* pipe = opaque; local
309 NetPipe* pipe = opaque; local
362 NetPipe* pipe = opaque; local
377 NetPipe* pipe = opaque; local
486 NetPipe *pipe; local
    [all...]
  /external/wpa_supplicant_8/src/common/
wpa_ctrl.c 61 HANDLE pipe; member in struct:wpa_ctrl
537 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE)
570 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0,
573 * Current named pipe server side in wpa_supplicant is
574 * re-opening the pipe for new clients only after the previous
579 if (ctrl->pipe != INVALID_HANDLE_VALUE ||
584 if (ctrl->pipe == INVALID_HANDLE_VALUE) {
590 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) {
591 CloseHandle(ctrl->pipe);
602 CloseHandle(ctrl->pipe);
    [all...]
  /frameworks/native/libs/utils/tests/
Looper_test.cpp 41 Pipe* mPipe;
44 DelayedWriteSignal(int delayMillis, Pipe* pipe) :
45 DelayedTask(delayMillis), mPipe(pipe) {
165 Pipe pipe; local
168 handler.setCallback(mLooper, pipe.receiveFd, ALOOPER_EVENT_INPUT);
183 Pipe pipe; local
186 ASSERT_EQ(OK, pipe.writeSignal())
206 Pipe pipe; local
224 Pipe pipe; local
249 Pipe pipe; local
275 Pipe pipe; local
297 Pipe pipe; local
339 Pipe pipe; local
366 Pipe pipe; local
374 Pipe pipe; local
382 Pipe pipe; local
398 Pipe pipe; local
416 Pipe pipe; local
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
FileInputStreamTest.java 70 FileDescriptor[] pipe = Libcore.os.pipe(); local
71 DataFeeder feeder = new DataFeeder(pipe[1]);
74 FileInputStream fis = new FileInputStream(pipe[0]);
81 IoUtils.closeQuietly(pipe[0]);
  /packages/apps/Gallery2/src/com/android/gallery3d/provider/
GalleryProvider.java 209 final ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe(); local
214 func.writeDataToPipe(pipe[1], args);
217 Utils.closeSilently(pipe[1]);
222 return pipe[0];
224 throw new FileNotFoundException("failure making pipe");
  /external/bison/darwin-lib/
unistd.h 1423 # undef pipe macro
    [all...]

Completed in 1777 milliseconds

1 2 3