/external/llvm/include/llvm/Support/ |
D | Memory.h | 29 class MemoryBlock { 31 MemoryBlock() : Address(nullptr), Size(0) { } in MemoryBlock() function 32 MemoryBlock(void *addr, size_t size) : Address(addr), Size(size) { } in MemoryBlock() function 78 static MemoryBlock allocateMappedMemory(size_t NumBytes, 79 const MemoryBlock *const NearBlock, 92 static std::error_code releaseMappedMemory(MemoryBlock &Block); 109 static std::error_code protectMappedMemory(const MemoryBlock &Block, 122 static MemoryBlock AllocateRWX(size_t NumBytes, 123 const MemoryBlock *NearBlock, 133 static bool ReleaseRWX(MemoryBlock &block, std::string *ErrMsg = nullptr); [all …]
|
/external/llvm/unittests/Support/ |
D | MemoryTest.cpp | 45 bool doesOverlap(MemoryBlock M1, MemoryBlock M2) { in doesOverlap() 61 MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), nullptr, Flags,EC); in TEST_P() 72 MemoryBlock M1 = Memory::allocateMappedMemory(16, nullptr, Flags, EC); in TEST_P() 74 MemoryBlock M2 = Memory::allocateMappedMemory(64, nullptr, Flags, EC); in TEST_P() 76 MemoryBlock M3 = Memory::allocateMappedMemory(32, nullptr, Flags, EC); in TEST_P() 92 MemoryBlock M4 = Memory::allocateMappedMemory(16, nullptr, Flags, EC); in TEST_P() 107 MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), nullptr, Flags,EC); in TEST_P() 126 MemoryBlock M1 = Memory::allocateMappedMemory(sizeof(int), nullptr, Flags, in TEST_P() 129 MemoryBlock M2 = Memory::allocateMappedMemory(8 * sizeof(int), nullptr, Flags, in TEST_P() 132 MemoryBlock M3 = Memory::allocateMappedMemory(4 * sizeof(int), nullptr, Flags, in TEST_P() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | Memory.h | 28 class MemoryBlock { 30 MemoryBlock() : Address(0), Size(0) { } in MemoryBlock() function 31 MemoryBlock(void *addr, size_t size) : Address(addr), Size(size) { } in MemoryBlock() function 56 static MemoryBlock AllocateRWX(size_t NumBytes, 57 const MemoryBlock *NearBlock, 67 static bool ReleaseRWX(MemoryBlock &block, std::string *ErrMsg = 0); 78 static bool setExecutable(MemoryBlock &M, std::string *ErrMsg = 0); 83 static bool setWritable(MemoryBlock &M, std::string *ErrMsg = 0);
|
/external/llvm/lib/ExecutionEngine/ |
D | SectionMemoryManager.cpp | 61 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection() 67 sys::MemoryBlock &PendingMB = MemGroup.PendingMem[FreeMB.PendingPrefixIndex]; in allocateSection() 68 PendingMB = sys::MemoryBlock(PendingMB.base(), Addr + Size - (uintptr_t)PendingMB.base()); in allocateSection() 72 FreeMB.Free = sys::MemoryBlock((void *)(Addr + Size), EndOfBlock - Addr - Size); in allocateSection() 87 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory(RequiredSize, in allocateSection() 109 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection() 116 FreeMB.Free = sys::MemoryBlock((void*)(Addr + Size), FreeSize); in allocateSection() 160 static sys::MemoryBlock trimBlockToPageSize(sys::MemoryBlock M) { in trimBlockToPageSize() 170 sys::MemoryBlock Trimmed((void *)((uintptr_t)M.base() + StartOverlap), TrimmedSize); in trimBlockToPageSize() 183 for (sys::MemoryBlock &MB : MemGroup.PendingMem) in applyMemoryGroupPermissions() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/Unix/ |
D | Memory.inc | 31 llvm::sys::MemoryBlock 32 llvm::sys::Memory::AllocateRWX(size_t NumBytes, const MemoryBlock* NearBlock, 34 if (NumBytes == 0) return MemoryBlock(); 44 return MemoryBlock(); 72 return MemoryBlock(); 81 return sys::MemoryBlock(); 89 return sys::MemoryBlock(); 93 MemoryBlock result; 100 bool llvm::sys::Memory::ReleaseRWX(MemoryBlock &M, std::string *ErrMsg) { 107 bool llvm::sys::Memory::setWritable (MemoryBlock &M, std::string *ErrMsg) { [all …]
|
/external/llvm/lib/Support/Unix/ |
D | Memory.inc | 81 MemoryBlock 83 const MemoryBlock *const NearBlock, 88 return MemoryBlock(); 98 return MemoryBlock(); 126 return MemoryBlock(); 129 MemoryBlock Result; 140 Memory::releaseMappedMemory(MemoryBlock &M) { 154 Memory::protectMappedMemory(const MemoryBlock &M, unsigned Flags) { 179 MemoryBlock 180 Memory::AllocateRWX(size_t NumBytes, const MemoryBlock* NearBlock, [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/Windows/ |
D | Memory.inc | 27 MemoryBlock Memory::AllocateRWX(size_t NumBytes, 28 const MemoryBlock *NearBlock, 30 if (NumBytes == 0) return MemoryBlock(); 46 return MemoryBlock(); 49 MemoryBlock result; 55 bool Memory::ReleaseRWX(MemoryBlock &M, std::string *ErrMsg) { 70 bool Memory::setWritable(MemoryBlock &M, std::string *ErrMsg) { 77 bool Memory::setExecutable(MemoryBlock &M, std::string *ErrMsg) {
|
/external/llvm/lib/Support/Windows/ |
D | Memory.inc | 70 MemoryBlock Memory::allocateMappedMemory(size_t NumBytes, 71 const MemoryBlock *const NearBlock, 76 return MemoryBlock(); 112 return MemoryBlock(); 115 MemoryBlock Result; 125 std::error_code Memory::releaseMappedMemory(MemoryBlock &M) { 138 std::error_code Memory::protectMappedMemory(const MemoryBlock &M, 164 MemoryBlock Memory::AllocateRWX(size_t NumBytes, 165 const MemoryBlock *NearBlock, 167 MemoryBlock MB; [all …]
|
/external/llvm/include/llvm/ExecutionEngine/ |
D | SectionMemoryManager.h | 88 sys::MemoryBlock Free; 101 SmallVector<sys::MemoryBlock, 16> PendingMem; 105 SmallVector<sys::MemoryBlock, 16> AllocatedMem; 107 sys::MemoryBlock Near;
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/ |
D | JITMemoryManager.cpp | 281 sys::MemoryBlock LastSlab; 285 std::vector<sys::MemoryBlock> CodeSlabs; 303 sys::MemoryBlock allocateNewSlab(size_t size); 375 sys::MemoryBlock B = allocateNewSlab(SlabSize); in allocateNewCodeSlab() 518 sys::MemoryBlock B = JMM.allocateNewSlab(Size); in Allocate() 526 sys::MemoryBlock B(Slab, Slab->Size); in Deallocate() 543 sys::MemoryBlock MemBlock = allocateNewSlab(DefaultCodeSlabSize); in DefaultJITMemoryManager() 609 sys::MemoryBlock DefaultJITMemoryManager::allocateNewSlab(size_t size) { in allocateNewSlab() 612 sys::MemoryBlock *LastSlabPtr = LastSlab.base() ? &LastSlab : 0; in allocateNewSlab() 613 sys::MemoryBlock B = sys::Memory::AllocateRWX(size, LastSlabPtr, &ErrMsg); in allocateNewSlab() [all …]
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | OrcABISupport.cpp | 166 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock() 167 sys::MemoryBlock PtrsBlock(static_cast<char *>(StubsMem.base()) + in emitIndirectStubsBlock() 248 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock() 249 sys::MemoryBlock PtrsBlock(static_cast<char *>(StubsMem.base()) + in emitIndirectStubsBlock() 516 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock() 517 sys::MemoryBlock PtrsBlock(static_cast<char *>(StubsMem.base()) + in emitIndirectStubsBlock()
|
/external/swiftshader/third_party/LLVM/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 53 SmallVector<sys::MemoryBlock, 16> FunctionMemory; 69 FunctionMemory.push_back(sys::MemoryBlock(FunctionStart, Size)); in endFunctionBody() 118 sys::MemoryBlock &Data = MemMgr->FunctionMemory[i]; in executeInput()
|
/external/llvm/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 147 SmallVector<sys::MemoryBlock, 16> FunctionMemory; 148 SmallVector<sys::MemoryBlock, 16> DataMemory; 184 sys::MemoryBlock MB = sys::Memory::AllocateRWX(Size, nullptr, &Err); in preallocateSlab() 199 sys::MemoryBlock MB((void *)OldSlabOffset, Size); in allocateFromSlab() 210 sys::MemoryBlock PreallocSlab; 228 sys::MemoryBlock MB = sys::Memory::AllocateRWX(Size, nullptr, &Err); in allocateCodeSection() 248 sys::MemoryBlock MB = sys::Memory::AllocateRWX(Size, nullptr, &Err); in allocateDataSection()
|
/external/pdfium/third_party/lcms2-2.6/src/ |
D | cmscgats.c | 172 char* MemoryBlock; // The stream if holded in memory member 1041 if (it8->MemoryBlock) in cmsIT8Free() 1042 _cmsFree(it8 ->ContextID, it8->MemoryBlock); in cmsIT8Free() 1291 it8->MemoryBlock = NULL; in cmsIT8Alloc() 2311 it8 ->MemoryBlock = (char*) _cmsMalloc(ContextID, len + 1); in cmsIT8LoadFromMem() 2313 strncpy(it8 ->MemoryBlock, (const char*) Ptr, len); in cmsIT8LoadFromMem() 2314 it8 ->MemoryBlock[len] = 0; in cmsIT8LoadFromMem() 2317 it8-> Source = it8 -> MemoryBlock; in cmsIT8LoadFromMem() 2328 _cmsFree(ContextID, it8->MemoryBlock); in cmsIT8LoadFromMem() 2329 it8 -> MemoryBlock = NULL; in cmsIT8LoadFromMem()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyld.cpp | 37 Functions[Name] = sys::MemoryBlock(Mem, Size); in extractFunction()
|
D | RuntimeDyldImpl.h | 49 StringMap<sys::MemoryBlock> Functions;
|
/external/pdfium/third_party/lcms2-2.6/ |
D | 0017-upstream-integer-overflow-MPEmatrix_Read.patch | 36 char* MemoryBlock; // The stream if holded in memory
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | OrcRemoteTargetServer.h | 149 sys::MemoryBlock MB = sys::Memory::allocateMappedMemory( in allocate() 169 std::map<void *, sys::MemoryBlock> Allocs;
|
/external/robolectric/v3/runtime/ |
D | android-all-4.1.2_r1-robolectric-0.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/accessibilityservice/
android/ ... |
D | android-all-4.2.2_r1.2-robolectric-0.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/accessibilityservice/
android/ ... |
D | android-all-4.3_r2-robolectric-0.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/accessibilityservice/
android/ ... |
D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
D | android-all-4.4_r1-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |