HomeSort by relevance Sort by last modified time
    Searched defs:MemoryBlock (Results 1 - 3 of 3) sorted by null

  /external/llvm/include/llvm/Support/
Memory.h 29 class MemoryBlock {
31 MemoryBlock() : Address(0), Size(0) { }
32 MemoryBlock(void *addr, size_t size) : Address(addr), Size(size) { }
42 /// MemoryBlock instances.
66 /// MemoryBlock.
73 /// \r a non-null MemoryBlock if the function was successful,
74 /// otherwise a null MemoryBlock is with \p EC describing the error.
77 static MemoryBlock allocateMappedMemory(size_t NumBytes,
78 const MemoryBlock *const NearBlock,
91 static error_code releaseMappedMemory(MemoryBlock &Block)
    [all...]
  /libcore/luni/src/main/java/java/nio/
DirectByteBuffer.java 32 protected DirectByteBuffer(MemoryBlock block, int capacity, int offset, boolean isReadOnly, MapMode mapMode) {
48 this(MemoryBlock.wrapFromJni(address, capacity), capacity, 0, false, null);
MemoryBlock.java 29 class MemoryBlock {
33 private static class MemoryMappedBlock extends MemoryBlock {
63 private static class NonMovableHeapBlock extends MemoryBlock {
85 private static class UnmanagedBlock extends MemoryBlock {
94 public static MemoryBlock mmap(FileDescriptor fd, long offset, long size, MapMode mapMode) throws IOException {
97 return new MemoryBlock(0, 0);
123 public static MemoryBlock allocate(int byteCount) {
130 public static MemoryBlock wrapFromJni(long address, long byteCount) {
134 private MemoryBlock(long address, long size) {

Completed in 1874 milliseconds