Searched refs:ContextSize (Results 1 – 4 of 4) sorted by relevance
/frameworks/compile/libbcc/lib/ExecutionEngine/OldJIT/ |
D | ContextManager.cpp | 59 void *addr = ContextFixedAddr + ContextSize * i; in allocateContext() 60 void *result = mmap(addr, ContextSize, in allocateContext() 72 munmap(result, ContextSize); in allocateContext() 81 void *result = mmap(0, ContextSize, PROT_READ | PROT_WRITE | PROT_EXEC, in allocateContext() 124 void *result = mmap(addr, ContextSize, in allocateContext() 135 munmap(result, ContextSize); in allocateContext() 155 if (munmap(addr, ContextSize) < 0) { in deallocateContext() 185 if (offset % ContextSize == 0) { in getSlotIndexFromAddress() 186 size_t slot = offset / ContextSize; in getSlotIndexFromAddress()
|
D | ContextManager.h | 41 static size_t const ContextSize = ContextCodeSize + ContextDataSize; variable
|
D | CacheReader.cpp | 116 if (stfile.st_size < (off_t)ContextManager::ContextSize) { in checkFileSize() 427 for (size_t i = 0; i < ContextManager::ContextSize / sizeof(uint32_t); ++i) { in checkContext()
|
D | CacheWriter.cpp | 370 for (size_t i = 0; i < ContextManager::ContextSize / sizeof(uint32_t); ++i) { in calcContextChecksum() 417 size_t context_size = ContextManager::ContextSize; in writeAll()
|