/external/llvm/unittests/Support/ |
MemoryTest.cpp | 45 bool doesOverlap(MemoryBlock M1, MemoryBlock M2) { 61 MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), 0, Flags, EC); 72 MemoryBlock M1 = Memory::allocateMappedMemory(16, 0, Flags, EC); 74 MemoryBlock M2 = Memory::allocateMappedMemory(64, 0, Flags, EC); 76 MemoryBlock M3 = Memory::allocateMappedMemory(32, 0, Flags, EC); 92 MemoryBlock M4 = Memory::allocateMappedMemory(16, 0, Flags, EC); 107 MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), 0, Flags, EC); 126 MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), 0, Flags, EC); 128 MemoryBlock M2 = Memory::allocateMappedMemory(8 * sizeof(int), 0, Flags, EC) [all...] |
/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...] |
/external/llvm/lib/Support/Unix/ |
Memory.inc | 82 MemoryBlock 84 const MemoryBlock *const NearBlock, 89 return MemoryBlock(); 99 return MemoryBlock(); 127 return MemoryBlock(); 130 MemoryBlock Result; 141 Memory::releaseMappedMemory(MemoryBlock &M) { 155 Memory::protectMappedMemory(const MemoryBlock &M, unsigned Flags) { 179 MemoryBlock 180 Memory::AllocateRWX(size_t NumBytes, const MemoryBlock* NearBlock [all...] |
/external/llvm/lib/Support/Windows/ |
Memory.inc | 69 MemoryBlock Memory::allocateMappedMemory(size_t NumBytes, 70 const MemoryBlock *const NearBlock, 75 return MemoryBlock(); 103 return MemoryBlock(); 106 MemoryBlock Result; 116 error_code Memory::releaseMappedMemory(MemoryBlock &M) { 129 error_code Memory::protectMappedMemory(const MemoryBlock &M, 155 MemoryBlock Memory::AllocateRWX(size_t NumBytes, 156 const MemoryBlock *NearBlock, 158 MemoryBlock MB [all...] |
/libcore/luni/src/main/java/java/nio/ |
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) {
|
MappedByteBuffer.java | 42 MappedByteBuffer(MemoryBlock block, int capacity, MapMode mapMode) {
|
Buffer.java | 93 * For direct buffers, the underlying MemoryBlock; null otherwise. 95 final MemoryBlock block; 97 Buffer(int elementSizeShift, int capacity, MemoryBlock block) {
|
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);
|
FileChannelImpl.java | 253 MemoryBlock block = MemoryBlock.mmap(fd, alignment, size + offset, mapMode);
|
ByteBuffer.java | 72 return new DirectByteBuffer(MemoryBlock.allocate(capacity), capacity, 0, false, null); 115 ByteBuffer(int capacity, MemoryBlock block) { [all...] |
/external/llvm/tools/lli/ |
RemoteTarget.cpp | 25 sys::MemoryBlock *Prev = Allocations.size() ? &Allocations.back() : NULL; 26 sys::MemoryBlock Mem = sys::Memory::AllocateRWX(Size, Prev, &ErrorMsg); 44 sys::MemoryBlock Mem((void*)Address, Size);
|
RecordingMemoryManager.h | 28 typedef std::pair<sys::MemoryBlock, unsigned> Allocation; 37 sys::MemoryBlock Near; 38 sys::MemoryBlock allocateSection(uintptr_t Size);
|
RecordingMemoryManager.cpp | 35 sys::MemoryBlock Block = allocateSection(Size); 47 sys::MemoryBlock Block = allocateSection(Size); 52 sys::MemoryBlock RecordingMemoryManager::allocateSection(uintptr_t Size) { 54 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory(Size,
|
RemoteTarget.h | 31 SmallVector<sys::MemoryBlock, 16> Allocations;
|
/external/elfutils/libebl/ |
eblstrtab.c | 84 struct memoryblock struct 86 struct memoryblock *next; 94 struct memoryblock *memory; 115 assert (sizeof (struct memoryblock) < ps); 141 struct memoryblock *newmem = (struct memoryblock *) malloc (len); 148 st->left = len - offsetof (struct memoryblock, memory); 157 struct memoryblock *mb = st->memory;
|
eblwstrtab.c | 85 struct memoryblock struct 87 struct memoryblock *next; 95 struct memoryblock *memory; 118 assert (sizeof (struct memoryblock) < ps); 138 struct memoryblock *newmem; 142 newmem = (struct memoryblock *) malloc (len); 149 st->left = len - offsetof (struct memoryblock, memory); 158 struct memoryblock *mb = st->memory;
|
eblgstrtab.c | 84 struct memoryblock struct 86 struct memoryblock *next; 94 struct memoryblock *memory; 118 assert (sizeof (struct memoryblock) < ps); 141 struct memoryblock *newmem; 145 newmem = (struct memoryblock *) malloc (len); 152 st->left = len - offsetof (struct memoryblock, memory); 159 struct memoryblock *mb = st->memory;
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
SectionMemoryManager.cpp | 50 sys::MemoryBlock &MB = MemGroup.FreeMem[i]; 57 MemGroup.FreeMem[i] = sys::MemoryBlock((void*)(Addr + Size), 73 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory(RequiredSize, 97 MemGroup.FreeMem.push_back(sys::MemoryBlock((void*)(Addr + Size), FreeSize));
|
/external/llvm/include/llvm/ExecutionEngine/ |
SectionMemoryManager.h | 87 SmallVector<sys::MemoryBlock, 16> AllocatedMem; 88 SmallVector<sys::MemoryBlock, 16> FreeMem; 89 sys::MemoryBlock Near;
|
/external/llvm/tools/llvm-rtdyld/ |
llvm-rtdyld.cpp | 59 SmallVector<sys::MemoryBlock, 16> FunctionMemory; 60 SmallVector<sys::MemoryBlock, 16> DataMemory; 84 sys::MemoryBlock MB = sys::Memory::AllocateRWX(Size, 0, 0); 93 sys::MemoryBlock MB = sys::Memory::AllocateRWX(Size, 0, 0); 218 sys::MemoryBlock &Data = MemMgr.FunctionMemory[i];
|
/external/llvm/lib/ExecutionEngine/JIT/ |
JITMemoryManager.cpp | 297 sys::MemoryBlock LastSlab; 301 std::vector<sys::MemoryBlock> CodeSlabs; 317 /// allocateNewSlab - Allocates a new MemoryBlock and remembers it as the 319 sys::MemoryBlock allocateNewSlab(size_t size); 396 sys::MemoryBlock B = allocateNewSlab(SlabSize); 569 sys::MemoryBlock B = JMM.allocateNewSlab(Size); 577 sys::MemoryBlock B(Slab, Slab->Size); 594 sys::MemoryBlock MemBlock = allocateNewSlab(DefaultCodeSlabSize); 660 sys::MemoryBlock DefaultJITMemoryManager::allocateNewSlab(size_t size) { 663 sys::MemoryBlock *LastSlabPtr = LastSlab.base() ? &LastSlab : 0 [all...] |
/external/clang/test/Analysis/ |
malloc.c | 1099 int *memoryBlock = (int *)malloc(size + sizeof(int)); 1100 return &memoryBlock[1]; // no-warning 1103 void testOffsetDeallocate(int *memoryBlock) { 1104 free(&memoryBlock[-1]); // no-warning
|
/frameworks/base/ |
preloaded-classes | [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/ |
Inspector-1.1.json | 54 "id": "MemoryBlock", 59 { "name": "children", "type": "array", "optional": true, "items": { "$ref": "MemoryBlock" }} [all...] |
protocol.json | 56 "id": "MemoryBlock", 61 { "name": "children", "type": "array", "optional": true, "items": { "$ref": "MemoryBlock" }} [all...] |