/device/generic/goldfish/libqemu/ |
test_util.h | 27 } Pipe; 29 int pipe_openSocket( Pipe* pipe, int port ); 30 int pipe_openQemuPipe( Pipe* pipe, const char* pipename ); 31 int pipe_send( Pipe* pipe, const void* buff, size_t bufflen ); 32 int pipe_recv( Pipe* pipe, void* buff, size_t bufflen ); 33 void pipe_close( Pipe* pipe ) [all...] |
test_util.c | 45 pipe_openSocket( Pipe* pipe, int port ) 50 pipe->socket = -1; 70 pipe->socket = fd; 75 pipe_openQemuPipe( Pipe* pipe, const char* pipename ) 77 pipe->socket = qemu_pipe_open(pipename); 78 if (pipe->socket < 0) { 79 fprintf(stderr, "%s: Could not open '%s' pipe: %s\n", __FUNCTION__, pipename, strerror(errno)); 86 pipe_send( Pipe* pipe, const void* buff, size_t bufflen [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/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...] |
/frameworks/av/include/media/nbaio/ |
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 // buffer is an optional parameter specifying the virtual address of the pipe buffer, 35 Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer = NULL); 38 virtual ~Pipe(); 52 // The write side of a pipe permits overruns; flow control is the caller's responsibility. 63 volatile int32_t mReaders; // number of PipeReader clients currently attached to this Pipe
|
PipeReader.h | 20 #include "Pipe.h" 29 // Construct a PipeReader and associate it with a Pipe 30 // FIXME make this constructor a factory method of Pipe. 31 PipeReader(Pipe& pipe); 53 Pipe& pipe() const { return mPipe; } 57 Pipe& mPipe;
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
PipeTest.java | 20 import java.nio.channels.Pipe; 24 Pipe p = Pipe.open();
|
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...] |
/libcore/ojluni/src/main/java/java/nio/channels/ |
Pipe.java | 33 * A pair of channels that implements a unidirectional pipe. 35 * <p> A pipe consists of a pair of channels: A writable {@link 36 * Pipe.SinkChannel </code>sink<code>} channel and a readable {@link 37 * Pipe.SourceChannel </code>source<code>} channel. Once some bytes are 41 * <p> Whether or not a thread writing bytes to a pipe will block until another 42 * thread reads those bytes, or some previously-written bytes, from the pipe is 43 * system-dependent and therefore unspecified. Many pipe implementations will 53 public abstract class Pipe { 56 * A channel representing the readable end of a {@link Pipe}. </p> 75 * <p> Pipe-source channels only support reading, so this metho [all...] |
/frameworks/av/media/libnbaio/ |
Pipe.cpp | 17 #define LOG_TAG "Pipe" 23 #include <media/nbaio/Pipe.h> 28 Pipe::Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer) : 38 Pipe::~Pipe() 46 ssize_t Pipe::write(const void *buffer, size_t count)
|
Android.mk | 12 Pipe.cpp \
|
/system/extras/alloc-stress/ |
alloc-stress.cpp | 27 class Pipe { 30 Pipe(const Pipe &) = delete; 31 Pipe& operator=(const Pipe &) = delete; 32 Pipe& operator=(const Pipe &&) = delete; 34 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} { 38 Pipe(Pipe&& rval) noexcept [all...] |
/frameworks/native/libs/input/tests/ |
TestHelpers.h | 26 class Pipe { 31 Pipe() { 33 ::pipe(fds); 39 ~Pipe() {
|
/system/core/libutils/tests/ |
TestHelpers.h | 24 class Pipe { 29 Pipe() { 31 ::pipe(fds); 37 ~Pipe() {
|
/frameworks/native/libs/binder/tests/ |
binderThroughputTest.cpp | 52 class Pipe { 55 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} {} 56 Pipe(const Pipe &) = delete; 57 Pipe& operator=(const Pipe &) = delete; 58 Pipe& operator=(const Pipe &&) = delete; 60 Pipe(Pipe&& rval) noexcept [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
mp_fork_bomb.py | 10 r, w = multiprocessing.Pipe(False)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
mp_fork_bomb.py | 10 r, w = multiprocessing.Pipe(False)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
mp_fork_bomb.py | 10 r, w = multiprocessing.Pipe(False)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
mp_fork_bomb.py | 10 r, w = multiprocessing.Pipe(False)
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
PipeImpl.java | 34 extends Pipe
|
SelectorProviderImpl.java | 49 public Pipe openPipe() throws IOException {
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/ |
parallel.py | 34 def _find_prime(nbits, pipe): 43 pipe.send(integer) 65 (pipe_recv, pipe_send) = mp.Pipe(duplex=False)
|
/libcore/luni/src/test/java/libcore/java/io/ |
InterruptedStreamTest.java | 32 import java.nio.channels.Pipe; 90 testInterruptReadableChannel(Pipe.open().source()); 94 testInterruptWritableChannel(Pipe.open().sink());
|
/prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/ |
__init__.py | 48 'Manager', 'Pipe', 'cpu_count', 'log_to_stderr', 'get_logger', 102 def Pipe(duplex=True): 104 Returns two connection object connected by a pipe 106 from multiprocessing.connection import Pipe 107 return Pipe(duplex)
|
/prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/ |
__init__.py | 48 'Manager', 'Pipe', 'cpu_count', 'log_to_stderr', 'get_logger', 102 def Pipe(duplex=True): 104 Returns two connection object connected by a pipe 106 from multiprocessing.connection import Pipe 107 return Pipe(duplex)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
__init__.py | 48 'Manager', 'Pipe', 'cpu_count', 'log_to_stderr', 'get_logger', 102 def Pipe(duplex=True): 104 Returns two connection object connected by a pipe 106 from multiprocessing.connection import Pipe 107 return Pipe(duplex)
|