/external/deqp/modules/gles3/functional/ |
H A D | es3fBufferCopyTests.cpp | 88 bool isOk = true; local 109 isOk = verifier.verify(srcBuf, srcRef.getPtr(), 0, m_srcSize, m_srcTarget) && isOk; 110 isOk = verifier.verify(dstBuf, dstRef.getPtr(), 0, m_dstSize, m_dstTarget) && isOk; 121 isOk = verifier.verify(srcBuf, srcRef.getPtr(), 0, m_srcSize, m_srcTarget) && isOk; 122 isOk = verifier.verify(dstBuf, dstRef.getPtr(), 0, m_dstSize, m_dstTarget) && isOk; 124 m_testCtx.setTestResult(isOk 172 bool isOk = true; local [all...] |
H A D | es3fBufferMapTests.cpp | 70 bool isOk = false; local 86 isOk = compareByteArrays(log, (const deUint8*)ptr, refBuf.getPtr(m_mapOffset), m_mapSize); 93 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 94 isOk ? "Pass" : "Buffer verification failed"); 141 bool isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_bufferTarget); local 144 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 145 isOk ? "Pass" : "Buffer verification failed"); 195 bool isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_bufferSize, m_bufferTarget); local 198 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 199 isOk 256 bool isOk = verifier.verify(buf, refBuf.getPtr(), verifyOffset, verifySize, m_bufferTarget); local 315 bool isOk = verifier.verify(buf, refBuf.getPtr(), verifyOffset, verifySize, m_bufferTarget); local 355 bool isOk = true; local 426 bool isOk = true; local 492 bool isOk = true; local [all...] |
H A D | es3fShaderFragDataTests.cpp | 76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); local 78 if (!isOk) 180 if (!program.isOk()) 202 bool isOk; local 207 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green, threshold); 209 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 210 isOk ? "Pass" : "Image comparison failed"); 251 const int indexLoc = program.isOk() ? gl.getUniformLocation(program.getProgram(), "u_index") : -1; 280 if (!program.isOk())
|
H A D | es3fFragDepthTests.cpp | 150 if (!basicQuadProgram.isOk()) 195 if (!program.isOk()) 264 bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.05f, tcu::COMPARE_LOG_RESULT); local 265 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 266 isOk ? "Pass" : "Fail"); 324 if (!program.isOk()) 364 if (!program.isOk()) 416 bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.05f, tcu::COMPARE_LOG_RESULT); local 417 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 418 isOk [all...] |
H A D | es3fShaderBuiltinVarTests.cpp | 136 if (!shaderExecutor->isOk()) 323 if (!program.isOk()) 368 bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT); local 369 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 370 isOk ? "Pass" : "Image comparison failed"); 420 if (!program.isOk()) 463 bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT); local 464 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 465 isOk ? "Pass" : "Image comparison failed"); 532 if (!program.isOk()) 583 bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT); local 681 bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT); local [all...] |
H A D | es3fImplementationLimitTests.cpp | 246 const bool isOk = compare<T>(m_minRequiredValue, value); local 251 if (!isOk) 254 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 255 isOk ? "Pass" : "Requirement not satisfied"); 393 const bool isOk = compareExtensionLists(nonIndexedExts, indexedExts); local 399 if (!isOk) 408 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 409 isOk ? "Pass" : "Invalid extension list");
|
H A D | es3fBufferWriteTests.cpp | 194 bool isOk = false; local 205 isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_target); 209 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 210 isOk ? "Pass" : "Buffer verification failed"); 290 bool isOk = false; local 306 isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_target); 310 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 311 isOk ? "Pass" : "Buffer verification failed"); 342 bool isOk = true; local 368 isOk [all...] |
/external/deqp/modules/internal/ |
H A D | ditBuildInfoTests.cpp | 128 const bool isOk = valueName != DE_NULL; local 133 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 134 isOk ? "Pass" : "No enum name found"); 157 const bool isOk = *((const deUint8*)&multiByte) == (deUint8)0x01; local 159 const bool isOk = *((const deUint8*)&multiByte) == (deUint8)0x02; local 167 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 168 isOk ? "Pass" : "Configured endianness inconsistent");
|
H A D | ditImageCompareTests.cpp | 92 const bool isOk = de::inRange(result, m_minBound, m_maxBound); local 93 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 94 isOk ? "Pass" : "Metric out of bounds"); 138 const bool isOk = result == m_expectedResult; local 139 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 140 isOk ? "Pass" : "Wrong comparison result");
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderFragDataTests.cpp | 76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); local 78 if (!isOk) 180 if (!program.isOk()) 202 bool isOk; local 207 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green, threshold); 209 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 210 isOk ? "Pass" : "Image comparison failed");
|
H A D | es2fBufferTestUtil.cpp | 77 bool isOk = true; local 93 isOk = false; 131 log << TestLog::Message << (isOk ? "Verification passed." : "Verification FAILED!") << TestLog::EndMessage; 134 return isOk; 298 if (!m_program->isOk()) 418 bool isOk = true; 471 isOk = false; 481 return isOk; 508 if (!m_program->isOk()) 586 bool isOk [all...] |
H A D | es2fShaderBuiltinVarTests.cpp | 56 bool isOk = 0 == (int)(deFloatFloor(c.coords.x() * builtinConstScale) + 0.05f); local 57 c.color = isOk ? tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f) : tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f); 129 src << "\tbool isOk = " << m_varName << " == (" << refValue << " + int(floor(" << (m_isVertexCase ? "a_coords" : "v_coords") << ".x * " << de::floatToString(builtinConstScale, 1) << ") + 0.05));\n"; 130 src << "\t" << (m_isVertexCase ? "v_color" : "gl_FragColor") << " = isOk ? vec4(0.0, 1.0, 0.0, 1.0) : vec4(1.0, 0.0, 0.0, 1.0);\n"; 297 if (!program.isOk()) 342 bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT); local 343 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 344 isOk ? "Pass" : "Image comparison failed"); 391 if (!program.isOk()) 434 bool isOk local 551 bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT); local 646 bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, threshold, tcu::COMPARE_LOG_RESULT); local [all...] |
H A D | es2fImplementationLimitTests.cpp | 162 const bool isOk = compare<T>(m_minRequiredValue, value); local 167 if (!isOk) 170 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 171 isOk ? "Pass" : "Requirement not satisfied");
|
H A D | es2fDepthRangeTests.cpp | 158 if (!program.isOk()) 257 bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.05f, tcu::COMPARE_LOG_RESULT); local 258 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 259 isOk ? "Pass" : "Fail"); 308 if (!program.isOk()) 390 bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFrame, 0.05f, tcu::COMPARE_LOG_RESULT); local 391 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 392 isOk ? "Pass" : "Fail");
|
H A D | es2fBufferWriteTests.cpp | 194 bool isOk = false; local 205 isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size); 209 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 210 isOk ? "Pass" : "Buffer verification failed"); 290 bool isOk = false; local 306 isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size); 310 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, 311 isOk ? "Pass" : "Buffer verification failed"); 342 bool isOk = true; local 368 isOk [all...] |
/external/deqp/modules/egl/ |
H A D | teglCreateContextExtTests.cpp | 403 bool isOk = true; local 476 isOk = false; 480 if (!isOk) 715 bool isOk = true; local 791 isOk = false; 796 isOk = false; 802 isOk = false; 807 isOk = false; 830 isOk = false; 856 isOk [all...] |
H A D | teglPreservingSwapTests.cpp | 506 bool isOk = true; local 511 isOk = isOk && compareToReference(log, "Compare pre-swap framebuffer to reference", "Compare pre-swap framebuffer to reference", preSwapFramebufferReference, preSwapFramebuffer, 0, 0, width, height); 513 isOk = isOk && compareToReference(log, "Compare post-swap framebuffer to reference", "Compare post-swap framebuffer to reference", postSwapFramebufferReference, postSwapFramebuffer, 0, 0, width, height); 516 isOk = isOk && comparePreAndPostSwapFramebuffers(log, preSwapFramebuffer, postSwapFramebuffer); 533 isOk = isOk && compareToReference(log, "Compare pre-swap framebuffer to reference", "Compare pre-swap framebuffer to reference", preSwapFramebufferReference, preSwapFramebuffer, 0, 0, width, height); 536 isOk [all...] |
H A D | teglClientExtensionTests.cpp | 189 bool isOk = true; local 214 isOk = false; 223 isOk = false; 227 if (isOk)
|
H A D | teglNativeCoordMappingTests.cpp | 262 bool isOk = true; local 275 isOk = false; 285 isOk = false; 297 isOk = false; 307 if (!isOk) 310 return isOk; 370 bool isOk = true; local 393 isOk = false; 404 return isOk; 416 bool isOk local 460 bool isOk = true; local [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fAtomicCounterTests.cpp | 527 bool isOk = true; local 551 isOk = false; 554 return isOk; 715 bool isOk = true; local 789 isOk = false; 794 isOk = false; 800 isOk = false; 803 return isOk; 808 bool isOk = true; local 835 isOk 1024 bool isOk = true; local [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | bidiconf.cpp | 616 UBool isOk=TRUE; local 620 isOk=FALSE; 633 isOk=FALSE; 639 if(!isOk) { 653 return isOk; 662 UBool isOk=TRUE; local 680 isOk=FALSE; 687 if(isOk && orderingCount!=visualIndex) { 690 isOk=FALSE; 692 if(!isOk) { [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | bidiconf.cpp | 616 UBool isOk=TRUE; local 620 isOk=FALSE; 633 isOk=FALSE; 639 if(!isOk) { 653 return isOk; 662 UBool isOk=TRUE; local 680 isOk=FALSE; 687 if(isOk && orderingCount!=visualIndex) { 690 isOk=FALSE; 692 if(!isOk) { [all...] |
/external/deqp/framework/common/ |
H A D | tcuImageCompare.cpp | 111 const bool isOk = boolAll(lessThanEqual(diff, threshold)); local 113 if (isOk) 145 const bool isOk = boolAll(lessThanEqual(diff, threshold)); local 147 pixelFoundForReference |= isOk; 158 const bool isOk = boolAll(lessThanEqual(diff, threshold)); local 160 pixelFoundForResult |= isOk; 214 bool isOk = difference <= threshold; local 218 if (!isOk || logMode == COMPARE_LOG_EVERYTHING) 227 if (!isOk) 246 return isOk; 439 bool isOk = boolAll(lessThanEqual(diff, threshold)); local 526 bool isOk = boolAll(lessThanEqual(diff, threshold)); local 610 const bool isOk = boolAll(lessThanEqual(diff, threshold)); local 695 bool isOk = boolAll(lessThanEqual(diff, threshold)); local 939 bool isOk = bilinearCompare(reference, result, errorMask, threshold); local [all...] |
/external/deqp/modules/glshared/ |
H A D | glsShaderExecUtil.hpp | 76 virtual bool isOk (void) const = 0;
|
H A D | glsBufferTestUtil.cpp | 74 bool isOk = true; local 90 isOk = false; 128 log << TestLog::Message << (isOk ? "Verification passed." : "Verification FAILED!") << TestLog::EndMessage; 131 return isOk; 397 bool isOk = false; local 404 isOk = compareByteArrays(m_log, mapPtr, reference+offset, numBytes); 411 return isOk; 447 if (!m_program->isOk()) 578 bool isOk = true; 640 isOk [all...] |