Home
last modified time | relevance | path

Searched refs:isOk (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/third_party/vk-gl-cts/modules/gles3/functional/
Des3fBufferCopyTests.cpp88 bool isOk = true; in iterate() local
109 isOk = verifier.verify(srcBuf, srcRef.getPtr(), 0, m_srcSize, m_srcTarget) && isOk; in iterate()
110 isOk = verifier.verify(dstBuf, dstRef.getPtr(), 0, m_dstSize, m_dstTarget) && isOk; in iterate()
121 isOk = verifier.verify(srcBuf, srcRef.getPtr(), 0, m_srcSize, m_srcTarget) && isOk; in iterate()
122 isOk = verifier.verify(dstBuf, dstRef.getPtr(), 0, m_dstSize, m_dstTarget) && isOk; in iterate()
124 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, in iterate()
125 isOk ? "Pass" : "Buffer verification failed"); in iterate()
172 bool isOk = true; in iterate() local
193 for (int ndx = 0; ndx < DE_LENGTH_OF_ARRAY(copyRanges) && isOk; ndx++) in iterate()
214 isOk = verifier.verify(buf, ref.getPtr(), 0, size, m_dstTarget) && isOk; in iterate()
[all …]
Des3fBufferMapTests.cpp70 bool isOk = false; in iterate() local
86 isOk = compareByteArrays(log, (const deUint8*)ptr, refBuf.getPtr(m_mapOffset), m_mapSize); in iterate()
93 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, in iterate()
94 isOk ? "Pass" : "Buffer verification failed"); in iterate()
141 bool isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_bufferTarget); in iterate() local
144 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, in iterate()
145 isOk ? "Pass" : "Buffer verification failed"); in iterate()
195 bool isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_bufferSize, m_bufferTarget); in iterate() local
198 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, in iterate()
199 isOk ? "Pass" : "Buffer verification failed"); in iterate()
[all …]
Des3fShaderFragDataTests.cpp94 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor() local
96 if (!isOk) in compareSingleColor()
198 if (!program.isOk()) in iterate()
220 bool isOk; in iterate() local
225 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green(), threshold); in iterate()
227 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, in iterate()
228 isOk ? "Pass" : "Image comparison failed"); in iterate()
282 …const int indexLoc = program.isOk() ? gl.getUniformLocation(program.getProgram(), "u_index")… in iterate()
311 if (!program.isOk()) in iterate()
Des3fFragDepthTests.cpp150 if (!basicQuadProgram.isOk()) in iterate()
195 if (!program.isOk()) in iterate()
264 …bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFr… in iterate() local
265 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, in iterate()
266 isOk ? "Pass" : "Fail"); in iterate()
324 if (!program.isOk()) in iterate()
364 if (!program.isOk()) in iterate()
416 …bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFr… in iterate() local
417 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, in iterate()
418 isOk ? "Pass" : "Fail"); in iterate()
/third_party/vk-gl-cts/modules/internal/
DditBuildInfoTests.cpp128 const bool isOk = valueName != DE_NULL; in iterate() local
133 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, in iterate()
134 isOk ? "Pass" : "No enum name found"); in iterate()
157 const bool isOk = *((const deUint8*)&multiByte) == (deUint8)0x01; in iterate() local
159 const bool isOk = *((const deUint8*)&multiByte) == (deUint8)0x02; in iterate() local
167 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, in iterate()
168 isOk ? "Pass" : "Configured endianness inconsistent"); in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcConfigListWGL.cpp60 bool isOk = isAOSPOk && (fmtInfo.sampleBuffers == 0); in getDefaultWglConfigList() local
62 if (isOk && (type.getProfile() == glu::PROFILE_ES) && in getDefaultWglConfigList()
67 isOk = false; in getDefaultWglConfigList()
70 if (isOk && (type.getProfile() == glu::PROFILE_ES) && fmtInfo.sRGB) in getDefaultWglConfigList()
74 isOk = false; in getDefaultWglConfigList()
84 if (isOk) in getDefaultWglConfigList()
DglcShaderMultisampleInterpolationTests.cpp126 bool isOk = true; in iterate() local
159 if (!program.isOk()) in iterate()
180 if (!program.isOk()) in iterate()
190 isOk = false; in iterate()
197 isOk = false; in iterate()
205 isOk = false; in iterate()
208 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, isOk ? "Pass" : "Fail"); in iterate()
278 bool isOk = true; in iterate() local
387 if (!program.isOk()) in iterate()
454 if (!program.isOk()) in iterate()
[all …]
DglcSampleVariablesTests.cpp143 if (!programRequire.isOk()) in iterate()
168 if (!programEnable.isOk()) in iterate()
229 bool isOk = true; in iterate() local
359 if (!program.isOk()) in iterate()
428 if (!program.isOk()) in iterate()
514 isOk = false; in iterate()
521 isOk = false; in iterate()
537 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, isOk ? "Pass" : "Fail"); in iterate()
582 bool isOk = true; in iterate() local
661 if (!program.isOk()) in iterate()
[all …]
DglcFragDepthTests.cpp170 if (!basicQuadProgram.isOk()) in iterate()
207 if (!program.isOk()) in iterate()
262 …bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFr… in iterate() local
264 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, isOk ? "Pass" : "Fail"); in iterate()
325 if (!program.isOk()) in iterate()
354 if (!program.isOk()) in iterate()
401 …bool isOk = tcu::fuzzyCompare(log, "Result", "Image comparison result", referenceFrame, renderedFr… in iterate() local
403 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, isOk ? "Pass" : "Fail"); in iterate()
/third_party/skia/third_party/externals/swiftshader/src/System/
DGrallocAndroid.cpp92 return ret.isOk() && error == V4Error::NONE ? 0 : -1; in import()
108 return ret.isOk() && error == V3Error::NONE ? 0 : -1; in import()
122 return m_gralloc4_mapper->freeBuffer(native_handle).isOk() ? 0 : 1; in release()
130 return m_gralloc3_mapper->freeBuffer(native_handle).isOk() ? 0 : 1; in release()
161 return ret.isOk() && error == V4Error::NONE ? 0 : -1; in lock()
190 return ret.isOk() && error == V3Error::NONE ? 0 : -1; in lock()
231 return ret.isOk() && error == V4Error::NONE ? 0 : -1; in unlock()
245 return ret.isOk() && error == V3Error::NONE ? 0 : -1; in unlock()
/third_party/skia/third_party/externals/swiftshader/src/Common/
DGrallocAndroid.cpp92 return ret.isOk() && error == V4Error::NONE ? 0 : -1; in import()
108 return ret.isOk() && error == V3Error::NONE ? 0 : -1; in import()
122 return m_gralloc4_mapper->freeBuffer(native_handle).isOk() ? 0 : 1; in release()
130 return m_gralloc3_mapper->freeBuffer(native_handle).isOk() ? 0 : 1; in release()
161 return ret.isOk() && error == V4Error::NONE ? 0 : -1; in lock()
190 return ret.isOk() && error == V3Error::NONE ? 0 : -1; in lock()
231 return ret.isOk() && error == V4Error::NONE ? 0 : -1; in unlock()
245 return ret.isOk() && error == V3Error::NONE ? 0 : -1; in unlock()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderFragDataTests.cpp76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor() local
78 if (!isOk) in compareSingleColor()
180 if (!program.isOk()) in iterate()
202 bool isOk; in iterate() local
207 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green(), threshold); in iterate()
209 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, in iterate()
210 isOk ? "Pass" : "Image comparison failed"); in iterate()
Des2fShaderBuiltinVarTests.cpp56 bool isOk = 0 == (int)(deFloatFloor(c.coords.x() * builtinConstScale) + 0.05f); in evalBuiltinConstant() 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); in evalBuiltinConstant()
305 if (!program.isOk()) in iterate()
350 …bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, … in iterate() local
351 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, in iterate()
352 isOk ? "Pass" : "Image comparison failed"); in iterate()
399 if (!program.isOk()) in iterate()
442 …bool isOk = tcu::pixelThresholdCompare(log, "Result", "Image comparison result", refImg, testImg, … in iterate() local
443 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, in iterate()
444 isOk ? "Pass" : "Image comparison failed"); in iterate()
[all …]
Des2fBufferTestUtil.cpp77 bool isOk = true; in compareByteArrays() local
93 isOk = false; in compareByteArrays()
131 …log << TestLog::Message << (isOk ? "Verification passed." : "Verification FAILED!") << TestLog::En… in compareByteArrays()
134 return isOk; in compareByteArrays()
298 if (!m_program->isOk()) in VertexArrayVerifier()
418 bool isOk = true; in verify() local
471 isOk = false; in verify()
481 return isOk; in verify()
508 if (!m_program->isOk()) in IndexArrayVerifier()
586 bool isOk = true; in verify() local
[all …]
/third_party/vk-gl-cts/framework/common/
DtcuImageCompare.cpp125 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels() local
127 if (isOk) in findNumPositionDeviationFailingPixels()
144 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels() local
146 pixelFoundForReference = isOk; in findNumPositionDeviationFailingPixels()
167 const bool isOk = boolAll(lessThanEqual(diff, threshold)); in findNumPositionDeviationFailingPixels() local
169 pixelFoundForResult = isOk; in findNumPositionDeviationFailingPixels()
222 bool isOk = difference <= threshold; in fuzzyCompare() local
226 if (!isOk || logMode == COMPARE_LOG_EVERYTHING) in fuzzyCompare()
235 if (!isOk) in fuzzyCompare()
254 return isOk; in fuzzyCompare()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DBiDiConformanceTest.java492 boolean isOk=true; in checkLevels()
495 isOk=false; in checkLevels()
507 isOk=false; in checkLevels()
513 if(!isOk) { in checkLevels()
527 return isOk; in checkLevels()
538 boolean isOk=true; in checkOrdering()
551 isOk=false; in checkOrdering()
558 if(isOk && orderingCount!=visualIndex) { in checkOrdering()
560 isOk=false; in checkOrdering()
562 if(!isOk) { in checkOrdering()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/
DBiDiConformanceTest.java495 boolean isOk=true; in checkLevels()
498 isOk=false; in checkLevels()
510 isOk=false; in checkLevels()
516 if(!isOk) { in checkLevels()
530 return isOk; in checkLevels()
541 boolean isOk=true; in checkOrdering()
554 isOk=false; in checkOrdering()
561 if(isOk && orderingCount!=visualIndex) { in checkOrdering()
563 isOk=false; in checkOrdering()
565 if(!isOk) { in checkOrdering()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cES31CompatibilitySampleVariablesTests.cpp150 if (!programRequire.isOk()) in iterate()
175 if (!programEnable.isOk()) in iterate()
236 bool isOk = true; in iterate() local
357 if (!program.isOk()) in iterate()
426 if (!program.isOk()) in iterate()
512 isOk = false; in iterate()
519 isOk = false; in iterate()
535 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, isOk ? "Pass" : "Fail"); in iterate()
580 bool isOk = true; in iterate() local
663 if (!program.isOk()) in iterate()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dbidiconf.cpp582 UBool isOk=true; in checkLevels() local
586 isOk=false; in checkLevels()
599 isOk=false; in checkLevels()
605 if(!isOk) { in checkLevels()
619 return isOk; in checkLevels()
628 UBool isOk=true; in checkOrdering() local
646 isOk=false; in checkOrdering()
653 if(isOk && orderingCount!=visualIndex) { in checkOrdering()
656 isOk=false; in checkOrdering()
658 if(!isOk) { in checkOrdering()
[all …]
/third_party/vk-gl-cts/modules/egl/
DteglNativeCoordMappingTests.cpp267 bool isOk = true; in validate() local
280 isOk = false; in validate()
290 isOk = false; in validate()
302 isOk = false; in validate()
312 if (!isOk) in validate()
315 return isOk; in validate()
376 bool isOk = true; in testNativeWindow() local
399 isOk = false; in testNativeWindow()
410 return isOk; in testNativeWindow()
423 bool isOk = true; in testNativePixmap() local
[all …]
DteglCreateContextExtTests.cpp370 bool isOk = true; in checkRequiredExtensions() local
433 isOk = false; in checkRequiredExtensions()
437 if (!isOk) in checkRequiredExtensions()
658 bool isOk = true; in validateCurrentContext() local
734 isOk = false; in validateCurrentContext()
739 isOk = false; in validateCurrentContext()
745 isOk = false; in validateCurrentContext()
750 isOk = false; in validateCurrentContext()
773 isOk = false; in validateCurrentContext()
799 isOk = false; in validateCurrentContext()
[all …]
DteglPreservingSwapTests.cpp484 bool isOk = true; in iterate() local
489isOk = isOk && compareToReference(log, "Compare pre-swap framebuffer to reference", "Compare pre-s… in iterate()
491isOk = isOk && compareToReference(log, "Compare post-swap framebuffer to reference", "Compare post… in iterate()
494 isOk = isOk && comparePreAndPostSwapFramebuffers(log, preSwapFramebuffer, postSwapFramebuffer); in iterate()
511isOk = isOk && compareToReference(log, "Compare pre-swap framebuffer to reference", "Compare pre-s… in iterate()
514isOk = isOk && compareToReference(log, "Compare valid are of post-swap framebuffer to reference", … in iterate()
517 if (isOk) in iterate()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fAtomicCounterTests.cpp527 bool isOk = true; in checkAndLogCounterValues() local
551 isOk = false; in checkAndLogCounterValues()
554 return isOk; in checkAndLogCounterValues()
715 bool isOk = true; in checkPath() local
789 isOk = false; in checkPath()
794 isOk = false; in checkPath()
800 isOk = false; in checkPath()
803 return isOk; in checkPath()
808 bool isOk = true; in checkAndLogCallValues() local
835 isOk = false; in checkAndLogCallValues()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cSampleShadingTests.cpp120 bool isOk = true; in iterate() local
145 isOk = false; in iterate()
152 isOk = false; in iterate()
157 isOk = false; in iterate()
162 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, isOk ? "Pass" : "Fail"); in iterate()
228 bool isOk = true; in iterate() local
308 if (!program.isOk()) in iterate()
372 if (!program.isOk()) in iterate()
429 isOk = false; in iterate()
441 m_testCtx.setTestResult(isOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, isOk ? "Pass" : "Fail"); in iterate()
/third_party/skia/tests/
DTextBlobCacheTest.cpp325 bool isOk = compare_bitmaps(base, half) || compare_bitmaps(unit, half); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
326 REPORTER_ASSERT(reporter, isOk); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
327 if (!isOk) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
350 bool isOk = compare_bitmaps(base, half) || compare_bitmaps(unit, half); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
351 REPORTER_ASSERT(reporter, isOk); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
352 if (!isOk) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
381 bool isOk = compare_bitmaps(expectedBitMap, movingBitmap); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
382 REPORTER_ASSERT(reporter, isOk); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
383 if (!isOk) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()

12345678910>>...12