Home
last modified time | relevance | path

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

/external/deqp/framework/delibs/depool/
DdePoolArray.c101 int pageTableNdx = arr->capacity >> DE_ARRAY_ELEMENTS_PER_PAGE_LOG2; in dePoolArray_reserve() local
107 DE_ASSERT(arr->pageTableCapacity > pageTableNdx); /* \todo [petri] is this always true? */ in dePoolArray_reserve()
108 DE_ASSERT(!arr->pageTable[pageTableNdx]); in dePoolArray_reserve()
109 arr->pageTable[pageTableNdx++] = newPage; in dePoolArray_reserve()
116 for (; pageTableNdx < reqPageTableCapacity; pageTableNdx++) in dePoolArray_reserve()
122 DE_ASSERT(!arr->pageTable[pageTableNdx]); in dePoolArray_reserve()
123 arr->pageTable[pageTableNdx] = newPage; in dePoolArray_reserve()
126 arr->capacity = pageTableNdx << DE_ARRAY_ELEMENTS_PER_PAGE_LOG2; in dePoolArray_reserve()
/external/deqp/framework/delibs/decpp/
DdePoolArray.hpp317 deUintptr pageTableNdx = m_capacity >> ELEMENTS_PER_PAGE_LOG2; in reserve() local
328 DE_ASSERT(m_pageTableCapacity > pageTableNdx); in reserve()
329 DE_ASSERT(!m_pageTable[pageTableNdx]); in reserve()
330 m_pageTable[pageTableNdx++] = newPage; in reserve()
337 for (; pageTableNdx < reqPageTableCapacity; pageTableNdx++) in reserve()
339 DE_ASSERT(!m_pageTable[pageTableNdx]); in reserve()
340 m_pageTable[pageTableNdx] = m_pool->alignedAlloc(pageAllocSize, Alignment); in reserve()
343 m_capacity = pageTableNdx << ELEMENTS_PER_PAGE_LOG2; in reserve()