Lines Matching refs:caseNdx
319 int caseNdx; in deMemory_selfTest() local
321 for (caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(s_alignedAllocCases); caseNdx++) in deMemory_selfTest()
323 …d* const ptr = deAlignedMalloc(s_alignedAllocCases[caseNdx].numBytes, s_alignedAllocCases[caseNd… in deMemory_selfTest()
326 DE_TEST_ASSERT(deIsAlignedPtr(ptr, s_alignedAllocCases[caseNdx].alignment)); in deMemory_selfTest()
328 deMemset(ptr, 0xaa, s_alignedAllocCases[caseNdx].numBytes); in deMemory_selfTest()
333 for (caseNdx = 0; caseNdx < DE_LENGTH_OF_ARRAY(s_alignedReallocCases); caseNdx++) in deMemory_selfTest()
335 …onst ptr = deAlignedMalloc(s_alignedReallocCases[caseNdx].initialSize, s_alignedReallocCases[cas… in deMemory_selfTest()
338 DE_TEST_ASSERT(deIsAlignedPtr(ptr, s_alignedReallocCases[caseNdx].alignment)); in deMemory_selfTest()
340 deMemset(ptr, 0xaa, s_alignedReallocCases[caseNdx].initialSize); in deMemory_selfTest()
343 …wPtr = deAlignedRealloc(ptr, s_alignedReallocCases[caseNdx].newSize, s_alignedReallocCases[caseN… in deMemory_selfTest()
344 …const size_t numPreserved = s_alignedReallocCases[caseNdx].newSize < s_alignedReallocCases[caseNdx… in deMemory_selfTest()
345 ? s_alignedReallocCases[caseNdx].newSize in deMemory_selfTest()
346 : s_alignedReallocCases[caseNdx].initialSize; in deMemory_selfTest()
350 DE_TEST_ASSERT(deIsAlignedPtr(ptr, s_alignedReallocCases[caseNdx].alignment)); in deMemory_selfTest()