Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/framework/vulkan/
DvkBinaryRegistry.hpp117 inline bool isPageResident (size_t pageNdx) const { return m_isPageResident[pageNdx]; } in isPageResident()
119 void makePageResident (size_t pageNdx);
144 const size_t pageNdx = getPageForElement(ndx); in operator []() local
149 if (!isPageResident(pageNdx)) in operator []()
150 makePageResident(pageNdx); in operator []()
156 void LazyResource<Element>::makePageResident (size_t pageNdx) in makePageResident() argument
159 const size_t pageOffset = pageNdx*pageSize; in makePageResident()
162 DE_ASSERT(!isPageResident(pageNdx)); in makePageResident()
167 m_resource->read((deUint8*)&m_elements[pageNdx << ELEMENTS_PER_PAGE_LOG2], (int)numBytesToRead); in makePageResident()
168 m_isPageResident[pageNdx] = true; in makePageResident()
/external/deqp/framework/delibs/depool/
DdePoolArray.h153 int pageNdx = (ndx >> DE_ARRAY_ELEMENTS_PER_PAGE_LOG2); \
155 return ((VALUETYPE*)arr->pageTable[pageNdx])[subNdx]; \
163 int pageNdx = (ndx >> DE_ARRAY_ELEMENTS_PER_PAGE_LOG2); \
165 ((VALUETYPE*)arr->pageTable[pageNdx])[subNdx] = elem; \
181 int pageNdx = (ndx >> DE_ARRAY_ELEMENTS_PER_PAGE_LOG2); \
186 return ((VALUETYPE*)arr->pageTable[pageNdx])[subNdx]; \
DdePoolHashArray.h93 int pageNdx = (ndx >> DE_ARRAY_ELEMENTS_PER_PAGE_LOG2); \
95 return &((VALUETYPE*)hashArray->array->pageTable[pageNdx])[subNdx]; \
/external/deqp/framework/delibs/decpp/
DdePoolArray.hpp368 deUintptr pageNdx = ((deUintptr)ndx >> ELEMENTS_PER_PAGE_LOG2); in getPtr() local
371 T* ptr = (T*)((deUint8*)m_pageTable[pageNdx] + (subNdx*elemSize)); in getPtr()