Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/framework/vulkan/
DvkBinaryRegistry.hpp113 ELEMENTS_PER_PAGE_LOG2 = 10 enumerator
116 …e size_t getPageForElement (size_t elemNdx) const { return elemNdx >> ELEMENTS_PER_PAGE_LOG2; } in getPageForElement()
133 …const size_t numPages = (numElements >> ELEMENTS_PER_PAGE_LOG2) + ((numElements & ((1u<<ELEMENTS_P… in LazyResource()
158 const size_t pageSize = (size_t)(1<<ELEMENTS_PER_PAGE_LOG2)*sizeof(Element); in makePageResident()
167 m_resource->read((deUint8*)&m_elements[pageNdx << ELEMENTS_PER_PAGE_LOG2], (int)numBytesToRead); in makePageResident()
/external/deqp/framework/delibs/decpp/
DdePoolArray.hpp98 ELEMENTS_PER_PAGE_LOG2 = 4 //!< 16 elements per page. enumerator
299 deUintptr newCapacity = (deUintptr)deAlignPtr((void*)capacity, 1 << ELEMENTS_PER_PAGE_LOG2); in reserve()
300 deUintptr reqPageTableCapacity = newCapacity >> ELEMENTS_PER_PAGE_LOG2; in reserve()
325 deUintptr pageAllocSize = elementSize << ELEMENTS_PER_PAGE_LOG2; in reserve()
326 deUintptr pageTableNdx = m_capacity >> ELEMENTS_PER_PAGE_LOG2; in reserve()
352 m_capacity = pageTableNdx << ELEMENTS_PER_PAGE_LOG2; in reserve()
377 deUintptr pageNdx = ((deUintptr)ndx >> ELEMENTS_PER_PAGE_LOG2); in getPtr()
378 deUintptr subNdx = (deUintptr)ndx & ((1 << ELEMENTS_PER_PAGE_LOG2) - 1); in getPtr()