OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DataPipe
(Results
1 - 17
of
17
) sorted by null
/external/libmojo/mojo/public/java/system/src/org/chromium/mojo/system/
UntypedHandle.java
7
import org.chromium.mojo.system.
DataPipe
.ConsumerHandle;
8
import org.chromium.mojo.system.
DataPipe
.ProducerHandle;
InvalidHandle.java
9
import org.chromium.mojo.system.
DataPipe
.ConsumerHandle;
10
import org.chromium.mojo.system.
DataPipe
.ProducerHandle;
145
* @see
DataPipe
.ProducerHandle#writeData(java.nio.ByteBuffer,
DataPipe
.WriteFlags)
148
public ResultAnd<Integer> writeData(ByteBuffer elements,
DataPipe
.WriteFlags flags) {
153
* @see
DataPipe
.ProducerHandle#beginWriteData(int,
DataPipe
.WriteFlags)
157
DataPipe
.WriteFlags flags) {
162
* @see
DataPipe
.ProducerHandle#endWriteData(int)
170
* @see
DataPipe
.ConsumerHandle#discardData(int, DataPipe.ReadFlags
[
all
...]
Core.java
279
* the size given in |options|. See |
DataPipe
.CreateOptions| for a description of the different
286
public Pair<
DataPipe
.ProducerHandle,
DataPipe
.ConsumerHandle> createDataPipe(
287
DataPipe
.CreateOptions options);
DataPipe.java
14
public interface
DataPipe
{
51
* Used to specify different modes of operation, see |
DataPipe
.CreateFlags|.
/external/libmojo/mojo/public/cpp/system/
data_pipe.h
134
class
DataPipe
{
136
DataPipe
();
137
explicit
DataPipe
(const MojoCreateDataPipeOptions& options);
138
~
DataPipe
();
144
inline
DataPipe
::
DataPipe
() {
151
inline
DataPipe
::
DataPipe
(const MojoCreateDataPipeOptions& options) {
158
inline
DataPipe
::~
DataPipe
() {
[
all
...]
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/
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;
89
* @see ConsumerHandle#discardData(int,
DataPipe
.ReadFlags)
92
public int discardData(int numBytes,
DataPipe
.ReadFlags flags) {
98
* @see ConsumerHandle#readData(java.nio.ByteBuffer,
DataPipe
.ReadFlags)
101
public ResultAnd<Integer> readData(ByteBuffer elements,
DataPipe
.ReadFlags flags) {
107
* @see ConsumerHandle#beginReadData(int,
DataPipe
.ReadFlags)
111
DataPipe
.ReadFlags flags) {
125
* @see ProducerHandle#writeData(java.nio.ByteBuffer,
DataPipe
.WriteFlags
[
all
...]
/external/libmojo/mojo/android/system/src/org/chromium/mojo/system/impl/
DataPipeConsumerHandleImpl.java
7
import org.chromium.mojo.system.
DataPipe
.ConsumerHandle;
8
import org.chromium.mojo.system.
DataPipe
.ReadFlags;
DataPipeProducerHandleImpl.java
7
import org.chromium.mojo.system.
DataPipe
.ProducerHandle;
8
import org.chromium.mojo.system.
DataPipe
.WriteFlags;
33
* @see org.chromium.mojo.system.
DataPipe
.ProducerHandle#pass()
UntypedHandleImpl.java
7
import org.chromium.mojo.system.
DataPipe
.ConsumerHandle;
8
import org.chromium.mojo.system.
DataPipe
.ProducerHandle;
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;
170
* @see Core#createDataPipe(
DataPipe
.CreateOptions)
173
public Pair<ProducerHandle, ConsumerHandle> createDataPipe(
DataPipe
.CreateOptions options) {
338
* @see ConsumerHandle#discardData(int,
DataPipe
.ReadFlags)
340
int discardData(DataPipeConsumerHandleImpl handle, int numBytes,
DataPipe
.ReadFlags flags) {
350
* @see ConsumerHandle#readData(ByteBuffer,
DataPipe
.ReadFlags)
353
DataPipeConsumerHandleImpl handle, ByteBuffer elements,
DataPipe
.ReadFlags flags) {
369
* @see ConsumerHandle#beginReadData(int,
DataPipe
.ReadFlags
[
all
...]
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/system/impl/
CoreImplTest.java
18
import org.chromium.mojo.system.
DataPipe
;
129
private static void checkSendingData(
DataPipe
.ProducerHandle in,
DataPipe
.ConsumerHandle out) {
137
ResultAnd<Integer> result = in.writeData(buffer,
DataPipe
.WriteFlags.NONE);
142
ResultAnd<Integer> readResult = out.readData(null,
DataPipe
.ReadFlags.none().query(true));
148
readResult = out.readData(peekBuffer,
DataPipe
.ReadFlags.none().peek(true));
158
readResult = out.readData(receiveBuffer,
DataPipe
.ReadFlags.NONE);
392
private static void createAndCloseDataPipe(
DataPipe
.CreateOptions options) {
394
Pair<
DataPipe
.ProducerHandle,
DataPipe
.ConsumerHandle> handles
[
all
...]
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
ReadAndDispatchMessageTest.java
12
import org.chromium.mojo.system.
DataPipe
;
48
Pair<
DataPipe
.ProducerHandle,
DataPipe
.ConsumerHandle>
datapipe
= core.createDataPipe(null);
local
49
mHandlesToSend.addAll(Arrays.asList(
datapipe
.first,
datapipe
.second));
BindingsTest.java
24
import org.chromium.mojo.system.
DataPipe
.ConsumerHandle;
25
import org.chromium.mojo.system.
DataPipe
.ProducerHandle;
InterfacesTest.java
17
import org.chromium.mojo.system.
DataPipe
.ConsumerHandle;
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
Decoder.java
8
import org.chromium.mojo.system.
DataPipe
;
444
public
DataPipe
.ConsumerHandle readConsumerHandle(int offset, boolean nullable) {
451
public
DataPipe
.ProducerHandle readProducerHandle(int offset, boolean nullable) {
564
public
DataPipe
.ConsumerHandle[] readConsumerHandles(
571
DataPipe
.ConsumerHandle[] result = new
DataPipe
.ConsumerHandle[si.elementsOrVersion];
583
public
DataPipe
.ProducerHandle[] readProducerHandles(
590
DataPipe
.ProducerHandle[] result = new
DataPipe
.ProducerHandle[si.elementsOrVersion];
/external/libmojo/mojo/public/cpp/bindings/tests/
handle_passing_unittest.cc
259
TEST_F(HandlePassingTest,
DataPipe
) {
/external/libmojo/mojo/edk/system/
core_unittest.cc
817
TEST_F(CoreTest,
DataPipe
) {
[
all
...]
Completed in 402 milliseconds