/external/deqp/framework/delibs/debase/ |
D | deFloat16Test.c | 71 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(0, 0, 0)) == getFloat16(0, 0, 0)); in deFloat16_selfTest() 72 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(1, 0, 0)) == getFloat16(1, 0, 0)); in deFloat16_selfTest() 75 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(0, 0xff, 0)) == getFloat16(0, 0x1f, 0)); in deFloat16_selfTest() 76 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(1, 0xff, 0)) == getFloat16(1, 0x1f, 0)); in deFloat16_selfTest() 79 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(0, 0xff, 1)) == getFloat16(0, 0x1f, 1)); in deFloat16_selfTest() 80 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(1, 0xff, 1)) == getFloat16(1, 0x1f, 1)); in deFloat16_selfTest() 81 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(0, 0xff, 0x3fffff)) == getFloat16(0, 0x1f, 0x1ff)); in deFloat16_selfTest() 82 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(1, 0xff, 0x3fffff)) == getFloat16(1, 0x1f, 0x1ff)); in deFloat16_selfTest() 83 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(0, 0xff, 0x0003ff)) == getFloat16(0, 0x1f, 1)); in deFloat16_selfTest() 84 DE_TEST_ASSERT(deFloat32To16RTZ(getFloat32(1, 0xff, 0x0003ff)) == getFloat16(1, 0x1f, 1)); in deFloat16_selfTest() [all …]
|
D | deInt32Test.c | 83 DE_TEST_ASSERT(deClz32(1u << i) == 31-i); in deInt32_selfTest() 84 DE_TEST_ASSERT(deClz32((1u << i) | ((1u << i)-1u)) == 31-i); in deInt32_selfTest() 88 DE_TEST_ASSERT(deClz32(0) == 32); in deInt32_selfTest() 89 DE_TEST_ASSERT(deClz32(1) == 31); in deInt32_selfTest() 90 DE_TEST_ASSERT(deClz32(0xF1) == 24); in deInt32_selfTest() 91 DE_TEST_ASSERT(deClz32(0xBC12) == 16); in deInt32_selfTest() 92 DE_TEST_ASSERT(deClz32(0xABBACD) == 8); in deInt32_selfTest() 93 DE_TEST_ASSERT(deClz32(0x10000000) == 3); in deInt32_selfTest() 94 DE_TEST_ASSERT(deClz32(0x20000000) == 2); in deInt32_selfTest() 95 DE_TEST_ASSERT(deClz32(0x40000000) == 1); in deInt32_selfTest() [all …]
|
D | deSha1.c | 289 DE_TEST_ASSERT(deSha1_parse(&hash, validHashStrings[stringNdx])); in deSha1_selfTest() 301 DE_TEST_ASSERT(!deSha1_parse(&hash, invalidHashStrings[stringNdx])); in deSha1_selfTest() 317 DE_TEST_ASSERT(deSha1_parse(&hashA, validHashStrings[stringNdx])); in deSha1_selfTest() 318 DE_TEST_ASSERT(deSha1_parse(&hashB, validHashStrings[stringNdx])); in deSha1_selfTest() 320 DE_TEST_ASSERT(deSha1_equal(&hashA, &hashA)); in deSha1_selfTest() 321 DE_TEST_ASSERT(deSha1_equal(&hashA, &hashB)); in deSha1_selfTest() 322 DE_TEST_ASSERT(deSha1_equal(&hashB, &hashA)); in deSha1_selfTest() 343 DE_TEST_ASSERT(deSha1_parse(&hashA, validHashStrings[stringANdx])); in deSha1_selfTest() 344 DE_TEST_ASSERT(deSha1_parse(&hashB, validHashStrings[stringBNdx])); in deSha1_selfTest() 346 DE_TEST_ASSERT(!deSha1_equal(&hashA, &hashB)); in deSha1_selfTest() [all …]
|
D | deMathTest.c | 47 DE_TEST_ASSERT(deInt32ToFloatRoundToNegInf(x) <= deInt32ToFloat(x)); in testSingleInt32ToFloat() 48 DE_TEST_ASSERT(deInt32ToFloat(x) <= deInt32ToFloatRoundToPosInf(x)); in testSingleInt32ToFloat() 52 DE_TEST_ASSERT(deInt32ToFloatRoundToNegInf(x) < deInt32ToFloatRoundToPosInf(x)); in testSingleInt32ToFloat() 54 DE_TEST_ASSERT(deInt32ToFloatRoundToNegInf(x) == deInt32ToFloatRoundToPosInf(x)); in testSingleInt32ToFloat() 68 DE_TEST_ASSERT(v0.u + 1 == v1.u || v0.u == v1.u + 1); in testSingleInt32ToFloat()
|
D | deMemory.c | 321 DE_TEST_ASSERT(ptr); in deMemory_selfTest() 322 DE_TEST_ASSERT(deIsAlignedPtr(ptr, s_alignedAllocCases[caseNdx].alignment)); in deMemory_selfTest() 333 DE_TEST_ASSERT(ptr); in deMemory_selfTest() 334 DE_TEST_ASSERT(deIsAlignedPtr(ptr, s_alignedReallocCases[caseNdx].alignment)); in deMemory_selfTest() 345 DE_TEST_ASSERT(newPtr); in deMemory_selfTest() 346 DE_TEST_ASSERT(deIsAlignedPtr(ptr, s_alignedReallocCases[caseNdx].alignment)); in deMemory_selfTest() 349 DE_TEST_ASSERT(*((const deUint8*)newPtr + off) == 0xaa); in deMemory_selfTest()
|
/external/deqp/framework/delibs/dethread/ |
D | deThreadTest.c | 39 DE_TEST_ASSERT(val == 123); in threadTestThr1() 59 DE_TEST_ASSERT(data->bytes[ndx] == 0); in threadTestThr3() 78 DE_TEST_ASSERT(tls_testVar == 123); in tlsTestThr() 80 DE_TEST_ASSERT(tls_testVar == 104); in tlsTestThr() 97 DE_TEST_ASSERT(thread); in deThread_selfTest() 100 DE_TEST_ASSERT(ret); in deThread_selfTest() 109 DE_TEST_ASSERT(thread); in deThread_selfTest() 112 DE_TEST_ASSERT(ret); in deThread_selfTest() 127 DE_TEST_ASSERT(thread); in deThread_selfTest() 130 DE_TEST_ASSERT(ret); in deThread_selfTest() [all …]
|
/external/deqp/framework/delibs/decpp/ |
D | deSharedPtr.cpp | 95 DE_TEST_ASSERT(m_exists); in run() 131 DE_TEST_ASSERT(m_exists); in run() 151 DE_TEST_ASSERT(!*m_called); in operator ()() 166 DE_TEST_ASSERT(ptr.get() == DE_NULL); in SharedPtr_selfTest() 167 DE_TEST_ASSERT(!ptr); in SharedPtr_selfTest() 174 DE_TEST_ASSERT(ptrB.get() == DE_NULL); in SharedPtr_selfTest() 190 DE_TEST_ASSERT(exists); in SharedPtr_selfTest() 191 DE_TEST_ASSERT(ptr.get() != DE_NULL); in SharedPtr_selfTest() 192 DE_TEST_ASSERT(ptr); in SharedPtr_selfTest() 194 DE_TEST_ASSERT(!exists); in SharedPtr_selfTest() [all …]
|
D | dePoolArray.cpp | 49 DE_TEST_ASSERT(arr.size() == 5000); in intArrayTest() 50 DE_TEST_ASSERT(arr16.size() == 5000); in intArrayTest() 53 DE_TEST_ASSERT(arr[i] == i); in intArrayTest() 54 DE_TEST_ASSERT(arr16[i] == i); in intArrayTest() 60 DE_TEST_ASSERT(arr.popBack() == (4999 - i)); in intArrayTest() 61 DE_TEST_ASSERT(arr16.popBack() == (4999 - i)); in intArrayTest() 64 DE_TEST_ASSERT(arr.size() == 4000); in intArrayTest() 65 DE_TEST_ASSERT(arr16.size() == 4000); in intArrayTest() 68 DE_TEST_ASSERT(arr[i] == i); in intArrayTest() 69 DE_TEST_ASSERT(arr16[i] == i); in intArrayTest() [all …]
|
D | deUniquePtr.cpp | 58 DE_TEST_ASSERT(!*m_called); in operator ()() 81 DE_TEST_ASSERT(exists); in UniquePtr_selfTest() 82 DE_TEST_ASSERT(ptr.get() != DE_NULL); in UniquePtr_selfTest() 84 DE_TEST_ASSERT(!exists); in UniquePtr_selfTest() 93 DE_TEST_ASSERT(exists); in UniquePtr_selfTest() 94 DE_TEST_ASSERT(ptr.get() != DE_NULL); in UniquePtr_selfTest() 99 DE_TEST_ASSERT(!exists); in UniquePtr_selfTest() 101 DE_TEST_ASSERT(!exists); in UniquePtr_selfTest() 108 DE_TEST_ASSERT(!exists); in UniquePtr_selfTest() 109 DE_TEST_ASSERT(test); in UniquePtr_selfTest() [all …]
|
D | deArrayBuffer.cpp | 72 DE_TEST_ASSERT(buf.size() == 0); in ArrayBuffer_selfTest() 73 DE_TEST_ASSERT(buf.getPtr() == DE_NULL); in ArrayBuffer_selfTest() 79 DE_TEST_ASSERT(buf.size() == 4); in ArrayBuffer_selfTest() 80 DE_TEST_ASSERT(buf.getPtr() != DE_NULL); in ArrayBuffer_selfTest() 93 DE_TEST_ASSERT(*originalBuf.getElementPtr(0) == 1); in ArrayBuffer_selfTest() 94 DE_TEST_ASSERT(*originalBuf.getElementPtr(1) == 2); in ArrayBuffer_selfTest() 95 DE_TEST_ASSERT(*originalBuf.getElementPtr(2) == 3); in ArrayBuffer_selfTest() 96 DE_TEST_ASSERT(*originalBuf.getElementPtr(3) == 4); in ArrayBuffer_selfTest() 98 DE_TEST_ASSERT(*targetBuf.getElementPtr(0) == 1); in ArrayBuffer_selfTest() 99 DE_TEST_ASSERT(*targetBuf.getElementPtr(1) == 2); in ArrayBuffer_selfTest() [all …]
|
D | deStringUtil.cpp | 161 DE_TEST_ASSERT(toString(42) == "42"); in StringUtil_selfTest() 162 DE_TEST_ASSERT(toString("foo") == "foo"); in StringUtil_selfTest() 163 DE_TEST_ASSERT(toLower("FooBar") == "foobar"); in StringUtil_selfTest() 164 DE_TEST_ASSERT(toUpper("FooBar") == "FOOBAR"); in StringUtil_selfTest() 168 DE_TEST_ASSERT(tokens.size() == 3); in StringUtil_selfTest() 169 DE_TEST_ASSERT(tokens[0] == "foo"); in StringUtil_selfTest() 170 DE_TEST_ASSERT(tokens[1] == "bar"); in StringUtil_selfTest() 171 DE_TEST_ASSERT(tokens[2] == "baz"); in StringUtil_selfTest() 174 DE_TEST_ASSERT(floatToString(4, 1) == "4.0"); in StringUtil_selfTest() 176 DE_TEST_ASSERT(beginsWith("foobar", "foobar")); in StringUtil_selfTest() [all …]
|
D | deSTLUtil.cpp | 40 DE_TEST_ASSERT(contains(m, 4)); in STLUtil_selfTest() 41 DE_TEST_ASSERT(lookup(m, 4) == 5); in STLUtil_selfTest() 42 DE_TEST_ASSERT(*tryLookup(m, 4) == 5); in STLUtil_selfTest() 43 DE_TEST_ASSERT(!contains(m, 3)); in STLUtil_selfTest() 44 DE_TEST_ASSERT(tryLookup(m, 3) == DE_NULL); in STLUtil_selfTest() 45 DE_TEST_ASSERT(lookupDefault(m, 3, 7) == 7); in STLUtil_selfTest() 52 DE_TEST_ASSERT(contains(s1, 2)); in STLUtil_selfTest() 53 DE_TEST_ASSERT(contains(s1, 3)); in STLUtil_selfTest() 54 DE_TEST_ASSERT(!contains(s1, 5)); in STLUtil_selfTest() 59 DE_TEST_ASSERT(!contains(s2, 2)); in STLUtil_selfTest() [all …]
|
D | deCommandLine.cpp | 358 DE_TEST_ASSERT(parseOk && err.str().empty()); in selfTest() 367 DE_TEST_ASSERT(!parseOk); in selfTest() 368 DE_TEST_ASSERT(err.str().empty()); // No message about -h in selfTest() 377 DE_TEST_ASSERT(!parseOk); in selfTest() 378 DE_TEST_ASSERT(err.str().empty()); // No message about -h in selfTest() 387 DE_TEST_ASSERT(parseOk && err.str().empty()); in selfTest() 388 DE_TEST_ASSERT(cmdLine.getArgs().size() == DE_LENGTH_OF_ARRAY(args)); in selfTest() 391 DE_TEST_ASSERT(cmdLine.getArgs()[ndx] == args[ndx]); in selfTest() 414 DE_TEST_ASSERT(err.str().empty()); in selfTest() 416 DE_TEST_ASSERT(!err.str().empty()); in selfTest() [all …]
|
D | deFilePath.cpp | 216 DE_TEST_ASSERT(!FilePath(".").isAbsolutePath()); in FilePath_selfTest() 217 DE_TEST_ASSERT(!FilePath("..\\foo").isAbsolutePath()); in FilePath_selfTest() 218 DE_TEST_ASSERT(!FilePath("foo").isAbsolutePath()); in FilePath_selfTest() 219 DE_TEST_ASSERT(FilePath("\\foo/bar").isAbsolutePath()); in FilePath_selfTest() 220 DE_TEST_ASSERT(FilePath("/foo").isAbsolutePath()); in FilePath_selfTest() 221 DE_TEST_ASSERT(FilePath("\\").isAbsolutePath()); in FilePath_selfTest() 222 DE_TEST_ASSERT(FilePath("\\\\net\\loc").isAbsolutePath()); in FilePath_selfTest() 223 DE_TEST_ASSERT(FilePath("C:\\file.txt").isAbsolutePath()); in FilePath_selfTest() 224 DE_TEST_ASSERT(FilePath("c:/file.txt").isAbsolutePath()); in FilePath_selfTest() 226 DE_TEST_ASSERT(string(".") == FilePath(".//.").normalize().getPath()); in FilePath_selfTest() [all …]
|
D | deRandom.cpp | 57 DE_TEST_ASSERT(expected[i] == rnd.getBool()); in Random_selfTest() 66 DE_TEST_ASSERT(expected[i] == rnd.getInt(-10000, 10000)); in Random_selfTest() 75 DE_TEST_ASSERT(expected[i] == rnd.getUint32()); in Random_selfTest() 84 DE_TEST_ASSERT(expected[i] == rnd.getUint64()); in Random_selfTest() 94 DE_TEST_ASSERT(de::abs(expected[i] - rnd.getFloat()) < epsilon); in Random_selfTest() 104 DE_TEST_ASSERT(de::abs(expected[i] - rnd.getFloat(-542.2f, 1248.7f)) < epsilon); in Random_selfTest() 132 DE_TEST_ASSERT(expected[i][j] == itemsDst[j]); in Random_selfTest() 144 DE_TEST_ASSERT(expected[i] == rnd.choose<int>(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items))); in Random_selfTest() 157 …DE_TEST_ASSERT(expected[i] == rnd.chooseWeighted<int>(DE_ARRAY_BEGIN(items), DE_ARRAY_END(items), … in Random_selfTest() 183 DE_TEST_ASSERT(expected[i][j] == items[j]); in Random_selfTest()
|
D | deAppendList.cpp | 111 DE_TEST_ASSERT(sharedState.testList.size() == (size_t)numElements*(size_t)numThreads); in runAppendListTest() 124 DE_TEST_ASSERT(de::inBounds(elem.threadNdx, 0u, numThreads)); in runAppendListTest() 125 DE_TEST_ASSERT(countByThread[elem.threadNdx] == elem.elemNdx); in runAppendListTest() 131 DE_TEST_ASSERT(countByThread[threadNdx] == numElements); in runAppendListTest() 176 DE_TEST_ASSERT(liveCount == (int)numElements1); in runClearTest() 180 DE_TEST_ASSERT(liveCount == 0); in runClearTest() 185 DE_TEST_ASSERT(liveCount == (int)numElements2); in runClearTest() 188 DE_TEST_ASSERT(liveCount == 0); in runClearTest()
|
/external/deqp/framework/delibs/depool/ |
D | dePoolHashSet.c | 38 DE_TEST_ASSERT(deTestHashSet_getNumElements(hashSet) == 0); in dePoolHashSet_selfTest() 45 DE_TEST_ASSERT(deTestHashSet_getNumElements(hashSet) == 19); in dePoolHashSet_selfTest() 54 DE_TEST_ASSERT(deTestHashSet_getNumElements(hashSet) == 19); in dePoolHashSet_selfTest() 58 DE_TEST_ASSERT(deTestHash_getNumElements(hashSet) == 0); in dePoolHashSet_selfTest() 62 DE_TEST_ASSERT(!val); in dePoolHashSet_selfTest() 71 DE_TEST_ASSERT(deTestHash_getNumElements(hash) == 5000); in dePoolHashSet_selfTest() 75 DE_TEST_ASSERT(val && (*val == -i)); in dePoolHashSet_selfTest() 82 DE_TEST_ASSERT(deTestHash_getNumElements(hash) == 4000); in dePoolHashSet_selfTest() 87 DE_TEST_ASSERT(val && (*val == -i)); in dePoolHashSet_selfTest() 89 DE_TEST_ASSERT(!val); in dePoolHashSet_selfTest() [all …]
|
D | dePoolHash.c | 48 DE_TEST_ASSERT(deTestHash_getNumElements(hash) == 0); in dePoolHash_selfTest() 52 DE_TEST_ASSERT(!val); in dePoolHash_selfTest() 61 DE_TEST_ASSERT(deTestHash_getNumElements(hash) == 5000); in dePoolHash_selfTest() 65 DE_TEST_ASSERT(val && (*val == -i)); in dePoolHash_selfTest() 72 DE_TEST_ASSERT(deTestHash_getNumElements(hash) == 4000); in dePoolHash_selfTest() 77 DE_TEST_ASSERT(val && (*val == -i)); in dePoolHash_selfTest() 79 DE_TEST_ASSERT(!val); in dePoolHash_selfTest() 90 DE_TEST_ASSERT(val && (*val == -i)); in dePoolHash_selfTest() 92 DE_TEST_ASSERT(!val); in dePoolHash_selfTest() 104 DE_TEST_ASSERT(deInBounds32(key, 1000, 5000) || deInBounds32(key, 10000, 12000)); in dePoolHash_selfTest() [all …]
|
D | dePoolHeap.c | 68 DE_TEST_ASSERT(TestHeap_getNumElements(heap) == 3); in dePoolHeap_selfTest() 70 DE_TEST_ASSERT(TestHeap_popMin(heap).priority == 0); in dePoolHeap_selfTest() 71 DE_TEST_ASSERT(TestHeap_popMin(heap).priority == 10); in dePoolHeap_selfTest() 72 DE_TEST_ASSERT(TestHeap_popMin(heap).priority == 20); in dePoolHeap_selfTest() 73 DE_TEST_ASSERT(TestHeap_getNumElements(heap) == 0); in dePoolHeap_selfTest() 82 DE_TEST_ASSERT(TestHeap_getNumElements(heap) == 2000); in dePoolHeap_selfTest() 87 DE_TEST_ASSERT(TestHeap_getNumElements(heap) == 2500); in dePoolHeap_selfTest() 92 DE_TEST_ASSERT(TestHeap_getNumElements(heap) == 4000); in dePoolHeap_selfTest() 98 DE_TEST_ASSERT(h.priority == i); in dePoolHeap_selfTest() 99 DE_TEST_ASSERT(h.value == -h.priority); in dePoolHeap_selfTest() [all …]
|
D | dePoolMultiSet.c | 36 DE_TEST_ASSERT(deTestMultiSet_getNumElements(set) == 0); in dePoolMultiSet_selfTest() 38 DE_TEST_ASSERT(!deTestMultiSet_exists(set, (deInt16)i)); in dePoolMultiSet_selfTest() 44 DE_TEST_ASSERT(deTestMultiSet_getNumElements(set) == 5000); in dePoolMultiSet_selfTest() 49 DE_TEST_ASSERT(found == inserted); in dePoolMultiSet_selfTest() 56 DE_TEST_ASSERT(deTestMultiSet_getNumElements(set) == 4000); in dePoolMultiSet_selfTest() 61 DE_TEST_ASSERT(found == inserted); in dePoolMultiSet_selfTest() 68 DE_TEST_ASSERT(deTestMultiSet_getNumElements(set) == 6000); in dePoolMultiSet_selfTest() 74 DE_TEST_ASSERT(found == inserted); in dePoolMultiSet_selfTest() 79 DE_TEST_ASSERT(deTestMultiSet_getNumElements(set) == 0); in dePoolMultiSet_selfTest() 89 DE_TEST_ASSERT(deTestMultiSet_getNumElements(set) == 1000 + 500 + 250); in dePoolMultiSet_selfTest() [all …]
|
D | dePoolArray.c | 174 DE_TEST_ASSERT(dePoolIntArray_getNumElements(arr) == 5000); in dePoolArray_selfTest() 175 DE_TEST_ASSERT(dePoolInt16Array_getNumElements(arr16) == 5000); in dePoolArray_selfTest() 178 DE_TEST_ASSERT(dePoolIntArray_get(arr, i) == i); in dePoolArray_selfTest() 179 DE_TEST_ASSERT(dePoolInt16Array_get(arr16, i) == i); in dePoolArray_selfTest() 185 DE_TEST_ASSERT(dePoolIntArray_popBack(arr) == (4999 - i)); in dePoolArray_selfTest() 186 DE_TEST_ASSERT(dePoolInt16Array_popBack(arr16) == (4999 - i)); in dePoolArray_selfTest() 189 DE_TEST_ASSERT(dePoolIntArray_getNumElements(arr) == 4000); in dePoolArray_selfTest() 190 DE_TEST_ASSERT(dePoolInt16Array_getNumElements(arr16) == 4000); in dePoolArray_selfTest() 193 DE_TEST_ASSERT(dePoolIntArray_get(arr, i) == i); in dePoolArray_selfTest() 194 DE_TEST_ASSERT(dePoolInt16Array_get(arr16, i) == i); in dePoolArray_selfTest() [all …]
|
D | dePoolSet.c | 38 DE_TEST_ASSERT(deTestSet_getNumElements(set) == 0); in dePoolSet_selfTest() 40 DE_TEST_ASSERT(!deTestSet_exists(set, (deInt16)i)); in dePoolSet_selfTest() 46 DE_TEST_ASSERT(deTestSet_getNumElements(set) == 5000); in dePoolSet_selfTest() 51 DE_TEST_ASSERT(found == inserted); in dePoolSet_selfTest() 58 DE_TEST_ASSERT(deTestSet_getNumElements(set) == 4000); in dePoolSet_selfTest() 63 DE_TEST_ASSERT(found == inserted); in dePoolSet_selfTest() 70 DE_TEST_ASSERT(deTestSet_getNumElements(set) == 6000); in dePoolSet_selfTest() 76 DE_TEST_ASSERT(found == inserted); in dePoolSet_selfTest() 87 DE_TEST_ASSERT(deInBounds32(key, 1000, 5000) || deInBounds32(key, 10000, 12000)); in dePoolSet_selfTest() 88 DE_TEST_ASSERT(deTestSet_exists(set, key)); in dePoolSet_selfTest() [all …]
|
D | dePoolHashArray.c | 44 DE_TEST_ASSERT(deTestHashArray_getNumElements(hashArray) == 0); in dePoolHashArray_selfTest() 49 DE_TEST_ASSERT(deTestHashArray_getNumElements(hashArray) == 20); in dePoolHashArray_selfTest() 53 DE_TEST_ASSERT(deInt16Array_getNumElements(keyArray) == 20); in dePoolHashArray_selfTest() 54 DE_TEST_ASSERT(deIntArray_getNumElements(valueArray) == 20); in dePoolHashArray_selfTest() 58 DE_TEST_ASSERT(deInt16Array_get(keyArray, i) == (deInt16)(-i^0x5)); in dePoolHashArray_selfTest() 59 DE_TEST_ASSERT(deIntArray_get(valueArray, i) == 2*i+5); in dePoolHashArray_selfTest() 63 DE_TEST_ASSERT(deTestHashArray_getNumElements(hashArray) == 0); in dePoolHashArray_selfTest() 68 DE_TEST_ASSERT(deInt16Array_getNumElements(keyArray) == 0); in dePoolHashArray_selfTest() 69 DE_TEST_ASSERT(deIntArray_getNumElements(valueArray) == 0); in dePoolHashArray_selfTest()
|
/external/deqp/framework/delibs/deimage/ |
D | deTarga.c | 52 DE_TEST_ASSERT(bytesRead == 18); in deImage_loadTarga() 53 DE_TEST_ASSERT(tgaHeader[2] == 2); /* truecolor, no encoding */ in deImage_loadTarga() 54 …DE_TEST_ASSERT(tgaHeader[17] == 0x00 || tgaHeader[17] == 0x20); /* both y-directions supported, no… in deImage_loadTarga() 67 DE_TEST_ASSERT(buffer); in deImage_loadTarga() 70 DE_TEST_ASSERT(bitsPerPixel == 24 || bitsPerPixel == 32); in deImage_loadTarga() 75 DE_TEST_ASSERT(image); in deImage_loadTarga()
|
/external/deqp/framework/delibs/deutil/ |
D | deTimerTest.c | 52 DE_TEST_ASSERT(timer); in deTimer_selfTest() 69 DE_TEST_ASSERT(scheduleOk); in deTimer_selfTest() 76 DE_TEST_ASSERT(!isSingle || numCalls == 1); in deTimer_selfTest()
|