Home
last modified time | relevance | path

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

/external/deqp/framework/delibs/debase/
DdeMemory.c296 } s_alignedReallocCases[] = in deMemory_selfTest() local
329 for (caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(s_alignedReallocCases); caseNdx++) in deMemory_selfTest()
331 …void* const ptr = deAlignedMalloc(s_alignedReallocCases[caseNdx].initialSize, s_alignedReallocCa… in deMemory_selfTest()
334 DE_TEST_ASSERT(deIsAlignedPtr(ptr, s_alignedReallocCases[caseNdx].alignment)); in deMemory_selfTest()
336 deMemset(ptr, 0xaa, s_alignedReallocCases[caseNdx].initialSize); in deMemory_selfTest()
339 …void* const newPtr = deAlignedRealloc(ptr, s_alignedReallocCases[caseNdx].newSize, s_alignedRea… in deMemory_selfTest()
340 …const size_t numPreserved = s_alignedReallocCases[caseNdx].newSize < s_alignedReallocCases[caseNdx… in deMemory_selfTest()
341 ? s_alignedReallocCases[caseNdx].newSize in deMemory_selfTest()
342 : s_alignedReallocCases[caseNdx].initialSize; in deMemory_selfTest()
346 DE_TEST_ASSERT(deIsAlignedPtr(ptr, s_alignedReallocCases[caseNdx].alignment)); in deMemory_selfTest()