/external/libchrome/mojo/public/cpp/system/ |
D | buffer.cc | 10 ScopedSharedBufferHandle SharedBufferHandle::Create(uint64_t num_bytes) { in Create() 13 SharedBufferHandle handle; in Create() 18 ScopedSharedBufferHandle SharedBufferHandle::Clone( in Clone() 19 SharedBufferHandle::AccessMode access_mode) const { in Clone() 28 SharedBufferHandle result_handle; in Clone() 34 ScopedSharedBufferMapping SharedBufferHandle::Map(uint64_t size) const { in Map() 38 ScopedSharedBufferMapping SharedBufferHandle::MapAtOffset( in MapAtOffset() 46 uint64_t SharedBufferHandle::GetSize() const { in GetSize()
|
D | buffer.h | 39 class SharedBufferHandle; variable 41 typedef ScopedHandleBase<SharedBufferHandle> ScopedSharedBufferHandle; 45 class MOJO_CPP_SYSTEM_EXPORT SharedBufferHandle : public Handle { 52 SharedBufferHandle() {} in SharedBufferHandle() function 53 explicit SharedBufferHandle(MojoHandle value) : Handle(value) {} in SharedBufferHandle() function 77 static_assert(sizeof(SharedBufferHandle) == sizeof(Handle), 79 static_assert(sizeof(ScopedSharedBufferHandle) == sizeof(SharedBufferHandle),
|
D | platform_handle.cc | 96 return ScopedSharedBufferHandle(SharedBufferHandle(mojo_handle)); in WrapPlatformSharedMemoryRegion() 280 return ScopedSharedBufferHandle(SharedBufferHandle(mojo_handle)); in WrapSharedMemoryHandle()
|
D | README.md | 25 handle types: `MessagePipeHandle`, `SharedBufferHandle`, 131 mojo::SharedBufferHandle::Create(4096); 140 buffer->Clone(mojo::SharedBufferHandle::AccessMode::READ_ONLY);
|
/external/libchrome/mojo/public/java/system/src/org/chromium/mojo/system/impl/ |
D | SharedBufferHandleImpl.java | 7 import org.chromium.mojo.system.SharedBufferHandle; 14 class SharedBufferHandleImpl extends HandleBase implements SharedBufferHandle { 33 public SharedBufferHandle pass() { in pass() 41 public SharedBufferHandle duplicate(DuplicateOptions options) { in duplicate()
|
D | UntypedHandleImpl.java | 10 import org.chromium.mojo.system.SharedBufferHandle; 67 public SharedBufferHandle toSharedBufferHandle() { in toSharedBufferHandle()
|
D | CoreImpl.java | 22 import org.chromium.mojo.system.SharedBufferHandle; 23 import org.chromium.mojo.system.SharedBufferHandle.DuplicateOptions; 24 import org.chromium.mojo.system.SharedBufferHandle.MapFlags; 140 public SharedBufferHandle createSharedBuffer( in createSharedBuffer() 141 SharedBufferHandle.CreateOptions options, long numBytes) { in createSharedBuffer() 361 SharedBufferHandle duplicate(SharedBufferHandleImpl handle, DuplicateOptions options) { in duplicate()
|
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/system/impl/ |
D | CoreImplTest.java | 27 import org.chromium.mojo.system.SharedBufferHandle; 142 private static void checkSharing(SharedBufferHandle in, SharedBufferHandle out) { in checkSharing() 145 ByteBuffer buffer1 = in.map(0, 8, SharedBufferHandle.MapFlags.NONE); in checkSharing() 147 ByteBuffer buffer2 = out.map(0, 8, SharedBufferHandle.MapFlags.NONE); in checkSharing() 181 SharedBufferHandle handle = core.createSharedBuffer(null, 100); in testGetCore() 182 SharedBufferHandle handle2 = handle.duplicate(null); in testGetCore() 385 core.createSharedBuffer(new SharedBufferHandle.CreateOptions(), 8).close(); in testSharedBufferCreation() 395 SharedBufferHandle handle = core.createSharedBuffer(null, 8); in testSharedBufferDuplication() 401 handle.duplicate(new SharedBufferHandle.DuplicateOptions()).close(); in testSharedBufferDuplication() 411 SharedBufferHandle handle = core.createSharedBuffer(null, 8); in testSharedBufferSending() [all …]
|
/external/libchrome/mojo/public/java/base/src/org/chromium/mojo_base/ |
D | BigBufferUtil.java | 8 import org.chromium.mojo.system.SharedBufferHandle; 29 region.bufferHandle.map(0, region.size, SharedBufferHandle.MapFlags.NONE); in getBytesFromBigBuffer() 47 core.createSharedBuffer(new SharedBufferHandle.CreateOptions(), bytes.length); in createBigBufferFromBytes() 50 region.bufferHandle.map(0, bytes.length, SharedBufferHandle.MapFlags.NONE); in createBigBufferFromBytes()
|
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/ |
D | HandleMock.java | 16 import org.chromium.mojo.system.SharedBufferHandle; 27 SharedBufferHandle { 191 public SharedBufferHandle toSharedBufferHandle() { in toSharedBufferHandle() 199 public SharedBufferHandle duplicate(DuplicateOptions options) { in duplicate()
|
/external/libchrome/mojo/public/java/system/src/org/chromium/mojo/system/ |
D | SharedBufferHandle.java | 12 public interface SharedBufferHandle extends Handle { interface 136 public SharedBufferHandle pass(); in pass() 143 public SharedBufferHandle duplicate(DuplicateOptions options); in duplicate()
|
D | InvalidHandle.java | 18 ProducerHandle, SharedBufferHandle { 115 public SharedBufferHandle toSharedBufferHandle() { in toSharedBufferHandle() 123 public SharedBufferHandle duplicate(DuplicateOptions options) { in duplicate()
|
D | Core.java | 158 public SharedBufferHandle createSharedBuffer(SharedBufferHandle.CreateOptions options, in createSharedBuffer()
|
D | UntypedHandle.java | 43 public SharedBufferHandle toSharedBufferHandle(); in toSharedBufferHandle()
|
/external/libchrome/mojo/public/cpp/system/tests/ |
D | core_unittest.cc | 130 EXPECT_FALSE(MakeScopedHandle(SharedBufferHandle()).is_valid()); in TEST() 374 ScopedSharedBufferHandle buffer1 = SharedBufferHandle::Create(1024); in TEST() 377 ScopedSharedBufferHandle buffer2 = SharedBufferHandle::Create(1024); in TEST() 389 ScopedSharedBufferHandle h0 = SharedBufferHandle::Create(100); in TEST() 400 h0->Clone(SharedBufferHandle::AccessMode::READ_ONLY); in TEST() 425 EXPECT_FALSE(SharedBufferHandle::Create(1ULL << 60).is_valid()); in TEST()
|
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Decoder.java | 12 import org.chromium.mojo.system.SharedBufferHandle; 486 public SharedBufferHandle readSharedBufferHandle(int offset, boolean nullable) { in readSharedBufferHandle() 644 public SharedBufferHandle[] readSharedBufferHandles( in readSharedBufferHandles() 651 SharedBufferHandle[] result = new SharedBufferHandle[si.elementsOrVersion]; in readSharedBufferHandles()
|
/external/libchrome/mojo/public/cpp/base/ |
D | big_buffer.cc | 96 auto buffer = mojo::SharedBufferHandle::Create(bytes.size()); in BigBufferView()
|
/external/libchrome/mojo/public/java/ |
D | BUILD.gn | 19 "system/src/org/chromium/mojo/system/SharedBufferHandle.java",
|
/external/libchrome/mojo/core/ |
D | message_unittest.cc | 826 handles[4] = SharedBufferHandle::Create(64).release().value(); in TEST_F() 879 handles[3] = SharedBufferHandle::Create(64).release().value(); in TEST_F()
|