Searched refs:pageNdx (Results 1 – 4 of 4) sorted by relevance
117 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 []() local149 if (!isPageResident(pageNdx)) in operator []()150 makePageResident(pageNdx); in operator []()156 void LazyResource<Element>::makePageResident (size_t pageNdx) in makePageResident() argument159 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()
153 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]; \
93 int pageNdx = (ndx >> DE_ARRAY_ELEMENTS_PER_PAGE_LOG2); \95 return &((VALUETYPE*)hashArray->array->pageTable[pageNdx])[subNdx]; \
368 deUintptr pageNdx = ((deUintptr)ndx >> ELEMENTS_PER_PAGE_LOG2); in getPtr() local371 T* ptr = (T*)((deUint8*)m_pageTable[pageNdx] + (subNdx*elemSize)); in getPtr()