Home
last modified time | relevance | path

Searched refs:ContextSize (Results 1 – 4 of 4) sorted by relevance

/frameworks/compile/libbcc/lib/ExecutionEngine/OldJIT/
DContextManager.cpp59 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()
DContextManager.h41 static size_t const ContextSize = ContextCodeSize + ContextDataSize; variable
DCacheReader.cpp116 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()
DCacheWriter.cpp370 for (size_t i = 0; i < ContextManager::ContextSize / sizeof(uint32_t); ++i) { in calcContextChecksum()
417 size_t context_size = ContextManager::ContextSize; in writeAll()