/external/libchrome/mojo/public/cpp/system/ |
D | data_pipe.h | 138 class DataPipe { 140 DataPipe(); 141 explicit DataPipe(uint32_t capacity_num_bytes); 142 explicit DataPipe(const MojoCreateDataPipeOptions& options); 143 ~DataPipe(); 149 inline DataPipe::DataPipe() { in DataPipe() function 156 inline DataPipe::DataPipe(uint32_t capacity_num_bytes) { in DataPipe() function 162 mojo::DataPipe data_pipe(options); in DataPipe() 169 inline DataPipe::DataPipe(const MojoCreateDataPipeOptions& options) { in DataPipe() function 176 inline DataPipe::~DataPipe() { in ~DataPipe()
|
D | README.md | 97 mojo::DataPipe pipe; 183 mojo::DataPipe data_pipe;
|
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/system/impl/ |
D | CoreImplTest.java | 19 import org.chromium.mojo.system.DataPipe; 103 private static void checkSendingData(DataPipe.ProducerHandle in, DataPipe.ConsumerHandle out) { in checkSendingData() 111 ResultAnd<Integer> result = in.writeData(buffer, DataPipe.WriteFlags.NONE); in checkSendingData() 116 ResultAnd<Integer> readResult = out.readData(null, DataPipe.ReadFlags.none().query(true)); in checkSendingData() 122 readResult = out.readData(peekBuffer, DataPipe.ReadFlags.none().peek(true)); in checkSendingData() 132 readResult = out.readData(receiveBuffer, DataPipe.ReadFlags.NONE); in checkSendingData() 267 private static void createAndCloseDataPipe(DataPipe.CreateOptions options) { in createAndCloseDataPipe() 269 Pair<DataPipe.ProducerHandle, DataPipe.ConsumerHandle> handles = in createAndCloseDataPipe() 283 DataPipe.CreateOptions options = new DataPipe.CreateOptions(); in testDataPipeCreation() 300 Pair<DataPipe.ProducerHandle, DataPipe.ConsumerHandle> handles = core.createDataPipe(null); in testDataPipeSend() [all …]
|
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/ |
D | HandleMock.java | 9 import org.chromium.mojo.system.DataPipe; 10 import org.chromium.mojo.system.DataPipe.ConsumerHandle; 11 import org.chromium.mojo.system.DataPipe.ProducerHandle; 88 public int discardData(int numBytes, DataPipe.ReadFlags flags) { in discardData() 97 public ResultAnd<Integer> readData(ByteBuffer elements, DataPipe.ReadFlags flags) { in readData() 106 public ByteBuffer beginReadData(int numBytes, DataPipe.ReadFlags flags) { in beginReadData() 123 public ResultAnd<Integer> writeData(ByteBuffer elements, DataPipe.WriteFlags flags) { in writeData() 132 public ByteBuffer beginWriteData(int numBytes, DataPipe.WriteFlags flags) { in beginWriteData()
|
/external/libchrome/mojo/public/java/system/src/org/chromium/mojo/system/ |
D | InvalidHandle.java | 8 import org.chromium.mojo.system.DataPipe.ConsumerHandle; 9 import org.chromium.mojo.system.DataPipe.ProducerHandle; 147 public ResultAnd<Integer> writeData(ByteBuffer elements, DataPipe.WriteFlags flags) { in writeData() 156 DataPipe.WriteFlags flags) { in beginWriteData() 172 public int discardData(int numBytes, DataPipe.ReadFlags flags) { in discardData() 180 public ResultAnd<Integer> readData(ByteBuffer elements, DataPipe.ReadFlags flags) { in readData() 189 DataPipe.ReadFlags flags) { in beginReadData()
|
D | Core.java | 148 public Pair<DataPipe.ProducerHandle, DataPipe.ConsumerHandle> createDataPipe( in createDataPipe() 149 DataPipe.CreateOptions options); in createDataPipe()
|
D | UntypedHandle.java | 7 import org.chromium.mojo.system.DataPipe.ConsumerHandle; 8 import org.chromium.mojo.system.DataPipe.ProducerHandle;
|
D | DataPipe.java | 14 public interface DataPipe { interface
|
/external/libchrome/mojo/public/java/system/src/org/chromium/mojo/system/impl/ |
D | CoreImpl.java | 12 import org.chromium.mojo.system.DataPipe; 13 import org.chromium.mojo.system.DataPipe.ConsumerHandle; 14 import org.chromium.mojo.system.DataPipe.ProducerHandle; 118 public Pair<ProducerHandle, ConsumerHandle> createDataPipe(DataPipe.CreateOptions options) { in createDataPipe() 275 int discardData(DataPipeConsumerHandleImpl handle, int numBytes, DataPipe.ReadFlags flags) { in discardData() 288 DataPipeConsumerHandleImpl handle, ByteBuffer elements, DataPipe.ReadFlags flags) { in readData() 307 DataPipeConsumerHandleImpl handle, int numBytes, DataPipe.ReadFlags flags) { in beginReadData() 330 DataPipeProducerHandleImpl handle, ByteBuffer elements, DataPipe.WriteFlags flags) { in writeData() 339 DataPipeProducerHandleImpl handle, int numBytes, DataPipe.WriteFlags flags) { in beginWriteData()
|
D | UntypedHandleImpl.java | 7 import org.chromium.mojo.system.DataPipe.ConsumerHandle; 8 import org.chromium.mojo.system.DataPipe.ProducerHandle;
|
D | DataPipeProducerHandleImpl.java | 7 import org.chromium.mojo.system.DataPipe.ProducerHandle; 8 import org.chromium.mojo.system.DataPipe.WriteFlags;
|
D | DataPipeConsumerHandleImpl.java | 7 import org.chromium.mojo.system.DataPipe.ConsumerHandle; 8 import org.chromium.mojo.system.DataPipe.ReadFlags;
|
/external/libchrome/mojo/public/cpp/system/tests/ |
D | string_data_pipe_producer_unittest.cc | 127 mojo::DataPipe pipe(static_cast<uint32_t>(kTestString.size())); in TEST_F() 143 mojo::DataPipe pipe(static_cast<uint32_t>(kTestString.size() * 2)); in TEST_F() 159 mojo::DataPipe pipe(static_cast<uint32_t>(kTestString.size() / 2)); in TEST_F() 175 mojo::DataPipe pipe(1); in TEST_F() 194 mojo::DataPipe pipe(4); in TEST_F()
|
D | file_data_pipe_producer_unittest.cc | 187 DataPipe pipe(16); in TEST_F() 212 DataPipe pipe(static_cast<uint32_t>(kTestString.size())); in TEST_F() 236 DataPipe pipe(kBytesToWrite); in TEST_F() 265 DataPipe pipe(16); in TEST_F() 287 DataPipe pipe(16); in TEST_F() 319 DataPipe pipe(kDataPipeSize); in TEST_F()
|
D | data_pipe_drainer_unittest.cc | 24 DataPipe pipe; in DataPipeDrainerTest()
|
D | simple_watcher_unittest.cc | 87 DataPipe pipe; in TEST_F()
|
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Decoder.java | 8 import org.chromium.mojo.system.DataPipe; 465 public DataPipe.ConsumerHandle readConsumerHandle(int offset, boolean nullable) { in readConsumerHandle() 472 public DataPipe.ProducerHandle readProducerHandle(int offset, boolean nullable) { in readProducerHandle() 585 public DataPipe.ConsumerHandle[] readConsumerHandles( in readConsumerHandles() 592 DataPipe.ConsumerHandle[] result = new DataPipe.ConsumerHandle[si.elementsOrVersion]; in readConsumerHandles() 604 public DataPipe.ProducerHandle[] readProducerHandles( in readProducerHandles() 611 DataPipe.ProducerHandle[] result = new DataPipe.ProducerHandle[si.elementsOrVersion]; in readProducerHandles()
|
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/ |
D | ReadAndDispatchMessageTest.java | 20 import org.chromium.mojo.system.DataPipe; 58 Pair<DataPipe.ProducerHandle, DataPipe.ConsumerHandle> datapipe = core.createDataPipe(null); in setUp()
|
D | BindingsTest.java | 28 import org.chromium.mojo.system.DataPipe.ConsumerHandle; 29 import org.chromium.mojo.system.DataPipe.ProducerHandle;
|
D | InterfacesTest.java | 24 import org.chromium.mojo.system.DataPipe.ConsumerHandle;
|
/external/libchrome/mojo/public/java/ |
D | BUILD.gn | 10 "system/src/org/chromium/mojo/system/DataPipe.java",
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | handle_passing_unittest.cc | 254 TEST_P(HandlePassingTest, DataPipe) { in TEST_P() argument
|
/external/libchrome/mojo/core/ |
D | core_unittest.cc | 278 TEST_F(CoreTest, DataPipe) { in TEST_F() argument
|