/libcore/luni/src/test/java/libcore/java/nio/channels/ |
PipeTest.java | 20 import java.nio.channels.Pipe; 24 Pipe p = Pipe.open();
|
/frameworks/av/services/audioflinger/ |
Pipe.h | 24 // Pipe is multi-thread safe for readers (see PipeReader), but safe for only a single writer thread. 27 class Pipe : public NBAIO_Sink { 33 Pipe(size_t maxFrames, NBAIO_Format format); 34 virtual ~Pipe(); 48 // The write side of a pipe permits overruns; flow control is the caller's responsibility. 59 volatile int32_t mReaders; // number of PipeReader clients currently attached to this Pipe
|
PipeReader.cpp | 26 PipeReader::PipeReader(Pipe& pipe) : 27 NBAIO_Source(pipe.mFormat), 28 mPipe(pipe), 29 // any data already in the pipe is not visible to this PipeReader 30 mFront(android_atomic_acquire_load(&pipe.mRear)), 34 android_atomic_inc(&pipe.mReaders); 52 // Discard 1/16 of the most recent data in pipe to avoid another overrun immediately
|
/development/tools/emulator/system/libqemu/ |
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...] |
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...] |
/external/bison/m4/ |
unistd-safer.m4 | 9 AC_LIBSOURCES([dup-safer.c, fd-safer.c, pipe-safer.c, unistd-safer.h, unistd--.h]) 12 AC_LIBOBJ([pipe-safer])
|
/external/dbus/test/data/valid-config-files/ |
debug-allow-all-sha1.conf.in | 1 <!-- Bus that listens on a debug pipe and requires SHA1 auth, used to test SHA1 --> 6 <listen>debug-pipe:name=test-server</listen>
|
debug-allow-all.conf.in | 1 <!-- Bus that listens on a debug pipe and doesn't create any restrictions --> 6 <listen>debug-pipe:name=test-server</listen>
|
/external/dbus/test/data/valid-config-files-system/ |
debug-allow-all-fail.conf.in | 1 <!-- Bus that listens on a debug pipe and doesn't create any restrictions --> 6 <listen>debug-pipe:name=test-server</listen>
|
debug-allow-all-pass.conf.in | 1 <!-- Bus that listens on a debug pipe and doesn't create any restrictions --> 6 <listen>debug-pipe:name=test-server</listen>
|
/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...] |
TestHelpers.h | 24 class Pipe { 29 Pipe() { 31 ::pipe(fds); 37 ~Pipe() {
|
/device/samsung/crespo/sec_mm/sec_omx/sec_omx_include/khronos/ |
OMX_ContentPipe.h | 105 CP_CheckBytesNotReady, /**< The pipe is still retrieving bytes 109 CP_CheckBytesInsufficientBytes , /**< The pipe has retrieved all bytes 112 CP_CheckBytesAtEndOfStream, /**< The pipe has reached the end of stream 120 /** enumeration of content pipe events sent to the client callback. 125 CP_Overflow, /** enumeration of content pipe events sent to the client callback*/ 126 CP_PipeDisconnected , /** enumeration of content pipe events sent to the client callback*/ 132 /** content pipe definition 156 Note: pipe client provides pointer. This function is appropriate for small high frequency reads. */ 159 /** Retrieve a buffer allocated by the pipe that contains the requested number of bytes. 162 Note: pipe provides pointer. This function is appropriate for large reads. The client must call [all...] |
/hardware/qcom/media/mm-core/omxcore/inc/ |
OMX_ContentPipe.h | 105 CP_CheckBytesNotReady, /**< The pipe is still retrieving bytes 109 CP_CheckBytesInsufficientBytes , /**< The pipe has retrieved all bytes 112 CP_CheckBytesAtEndOfStream, /**< The pipe has reached the end of stream 120 /** enumeration of content pipe events sent to the client callback. 125 CP_Overflow, /** enumeration of content pipe events sent to the client callback*/ 126 CP_PipeDisconnected , /** enumeration of content pipe events sent to the client callback*/ 132 /** content pipe definition 156 Note: pipe client provides pointer. This function is appropriate for small high frequency reads. */ 159 /** Retrieve a buffer allocated by the pipe that contains the requested number of bytes. 162 Note: pipe provides pointer. This function is appropriate for large reads. The client must call [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/ |
OMX_ContentPipe.h | 105 CP_CheckBytesNotReady, /**< The pipe is still retrieving bytes
109 CP_CheckBytesInsufficientBytes , /**< The pipe has retrieved all bytes
112 CP_CheckBytesAtEndOfStream, /**< The pipe has reached the end of stream
120 /** enumeration of content pipe events sent to the client callback.
125 CP_Overflow, /** enumeration of content pipe events sent to the client callback*/
126 CP_PipeDisconnected , /** enumeration of content pipe events sent to the client callback*/
132 /** content pipe definition
156 Note: pipe client provides pointer. This function is appropriate for small high frequency reads. */
159 /** Retrieve a buffer allocated by the pipe that contains the requested number of bytes.
162 Note: pipe provides pointer. This function is appropriate for large reads. The client must call [all...] |
/hardware/ti/omap4xxx/domx/omx_core/inc/ |
OMX_ContentPipe.h | 105 CP_CheckBytesNotReady, /**< The pipe is still retrieving bytes 109 CP_CheckBytesInsufficientBytes , /**< The pipe has retrieved all bytes 112 CP_CheckBytesAtEndOfStream, /**< The pipe has reached the end of stream 120 /** enumeration of content pipe events sent to the client callback. 125 CP_Overflow, /** enumeration of content pipe events sent to the client callback*/ 126 CP_PipeDisconnected , /** enumeration of content pipe events sent to the client callback*/ 132 /** content pipe definition 156 Note: pipe client provides pointer. This function is appropriate for small high frequency reads. */ 159 /** Retrieve a buffer allocated by the pipe that contains the requested number of bytes. 162 Note: pipe provides pointer. This function is appropriate for large reads. The client must call [all...] |
/external/clang/utils/C++Tests/LLVM-Code-Symbols/ |
check-symbols | 8 p0 = subprocess.Popen(args0, stdin=None, stdout=subprocess.PIPE, 9 stderr=subprocess.PIPE) 10 p1 = subprocess.Popen(args1, stdin=p0.stdout, stdout=subprocess.PIPE, 11 stderr=subprocess.PIPE)
|
/frameworks/base/libs/androidfw/tests/ |
TestHelpers.h | 24 class Pipe { 29 Pipe() { 31 ::pipe(fds); 37 ~Pipe() {
|
/external/linux-tools-perf/util/ |
run-command.h | 22 * - Specify -1 to have a pipe allocated as follows: 23 * .in: returns the writable pipe end; parent writes to it, 24 * the readable pipe end becomes child's stdin 25 * .out, .err: returns the readable pipe end; parent reads from 26 * it, the writable pipe end becomes child's stdout/stderr
|
/external/linux-tools-perf/Documentation/ |
perf-bench.txt | 27 % perf bench sched pipe # with no style specified 28 (executing 1000000 pipe operations between two tasks) 38 % perf bench --format=simple sched pipe # specified simple 54 Options of *pipe* 57 --pipe:: 58 Use pipe() instead of socketpair() 89 *pipe*:: 90 Suite for pipe() system call. 91 Based on pipe-test-1m.c by Ingo Molnar. 93 Options of *pipe* [all...] |
/external/linux-tools-perf/bench/ |
sched-pipe.c | 3 * sched-pipe.c 5 * pipe: Benchmark for pipe() 7 * Based on pipe-test-1m.c by Ingo Molnar <mingo@redhat.com> 8 * http://people.redhat.com/mingo/cfs-scheduler/tools/pipe-test-1m.c 41 "perf bench sched pipe <options>", 66 assert(!pipe(pipe_1)); 67 assert(!pipe(pipe_2)); 98 printf("# Executed %d pipe operations between two tasks\n\n",
|
/external/libnfc-nxp/src/ |
phHciNfc_Pipe.h | 22 * \brief HCI Header for the Pipe Management. * 81 /* Pipe for Identitiy Management */ 83 /* Pipe for Configuring PN544 Nfc Device */ 85 /* Pipe for Configuring Polling Wheel */ 106 /* Connectiviy Gate Pipe */ 153 * This function Updates the pipe information for all the supported gates 176 * the Static or Dynamically Created Pipe. 178 * \retval NFCSTATUS_PENDING Pipe Open is pending. 204 * the Static or Dynamically Created Pipe. 206 * \retval NFCSTATUS_PENDING Pipe close is pending [all...] |
/external/dbus/dbus/ |
dbus-server-debug-pipe.c | 2 /* dbus-server-debug-pipe.c In-proc debug server implementation 27 #include "dbus-server-debug-pipe.h" 39 * @brief In-process pipe debug server used in unit tests. 126 * Creates a new debug server using an in-process pipe 160 if (!_dbus_string_append (&address, "debug-pipe:name=") || 179 /* server keeps the pipe hash ref */ 199 * a debug-pipe connection connected to the 200 * given debug-pipe server name. 240 if (!_dbus_string_append (&address, "debug-pipe:name=") || 251 _dbus_verbose ("failed to create full duplex pipe\n") [all...] |
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
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...] |
/external/chromium/chrome/browser/cocoa/ |
authorization_util.h | 16 // 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,
|