Home
last modified time | relevance | path

Searched refs:baseAddress (Results 1 – 2 of 2) sorted by relevance

/system/chre/util/include/chre/util/
Dmemory_pool_impl.h103 uintptr_t baseAddress = reinterpret_cast<uintptr_t>(&blocks()[0].mElement); in getBlockIndex() local
104 *indexOutput = (elementAddress - baseAddress) / sizeof(MemoryPoolBlock); in getBlockIndex()
106 return elementAddress >= baseAddress && in getBlockIndex()
109 ((elementAddress - baseAddress) % sizeof(MemoryPoolBlock) == 0); in getBlockIndex()
/system/libfmq/include/fmq/
DMessageQueueBase.h1484 void* baseAddress = in unmapGrantorDescr() local
1486 if (baseAddress) munmap(baseAddress, mapLength); in unmapGrantorDescr()