/third_party/flutter/skia/tests/ |
D | OSPathTest.cpp | 34 size_t expectedSize = dir.size() + filename.size(); in test_dir_with_file() local 36 expectedSize++; in test_dir_with_file() 38 REPORTER_ASSERT(reporter, fullName.size() == expectedSize); in test_dir_with_file()
|
/third_party/skia/tests/ |
D | OSPathTest.cpp | 34 size_t expectedSize = dir.size() + filename.size(); in test_dir_with_file() local 36 expectedSize++; in test_dir_with_file() 38 REPORTER_ASSERT(reporter, fullName.size() == expectedSize); in test_dir_with_file()
|
D | ProxyTest.cpp | 94 SkISize expectedSize = texProxy->backingStoreDimensions(); in check_texture() local 107 REPORTER_ASSERT(reporter, tex->dimensions() == expectedSize); in check_texture()
|
/third_party/icu/icu4c/source/test/iotest/ |
D | filetst.c | 473 int32_t expectedSize = (int32_t)strlen(testStr); in TestfgetsBuffers() local 492 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers() 494 u_file_write(buffer, expectedSize, myFile); in TestfgetsBuffers() 512 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers() 513 …log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitio… in TestfgetsBuffers() 515 if (buffer[(expectedSize*repetitions) + 1] != 0xBEEF) { in TestfgetsBuffers() 534 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers() 536 u_file_write(buffer, expectedSize, myFile); in TestfgetsBuffers() 557 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers() 558 …log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitio… in TestfgetsBuffers() [all …]
|
D | strtst.c | 316 #define Test_u_snprintf(limit, format, value, expectedSize, expectedStr) UPRV_BLOCK_MACRO_BEGIN { \ argument 320 if (size != expectedSize || strcmp(cTestResult, expectedStr) != 0) {\ 322 size, expectedSize, cTestResult, expectedStr);\
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/ |
D | esextcTextureBufferMAXSizeValidation.cpp | 209 glw::GLint expectedSize = static_cast<glw::GLint>(m_max_tex_buffer_size * sizeof(glw::GLubyte)); in iterate() local 211 if (expectedSize != textureSize) in iterate() 214 << "Expected GL_TEXTURE_BUFFER_SIZE_EXT parameter value : " << expectedSize << "\n" in iterate()
|
D | esextcTextureBufferTextureBufferRange.cpp | 1084 const glw::GLint expectedSize = 1; in checkResult() local 1088 if (*size != expectedSize) in checkResult() 1093 << "Expected size: " << expectedSize << "\n" in checkResult()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | usettest.c | 402 int32_t expectedSize = 0; in expectItems() local 429 ++expectedSize; in expectItems() 507 if (uset_size(set) == expectedSize) { in expectItems() 508 log_verbose("Ok: %s size is %d\n", pat, expectedSize); in expectItems() 511 pat, uset_size(set), expectedSize); in expectItems()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
D | vktTessellationGeometryPointSizeTests.cpp | 115 …ol verifyImage (tcu::TestLog& log, const tcu::ConstPixelBufferAccess image, const int expectedSize) in verifyImage() argument 117 …log << tcu::TestLog::Message << "Verifying rendered point size. Expecting " << expectedSize << " p… in verifyImage() 159 if (pointSize.x() != expectedSize) in verifyImage() 161 …log << tcu::TestLog::Message << "ERROR! Point size invalid, expected " << expectedSize << ", got "… in verifyImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationGeometryPointSizeTests.cpp | 115 …ol verifyImage (tcu::TestLog& log, const tcu::ConstPixelBufferAccess image, const int expectedSize) in verifyImage() argument 117 …log << tcu::TestLog::Message << "Verifying rendered point size. Expecting " << expectedSize << " p… in verifyImage() 159 if (pointSize.x() != expectedSize) in verifyImage() 161 …log << tcu::TestLog::Message << "ERROR! Point size invalid, expected " << expectedSize << ", got "… in verifyImage()
|
/third_party/lz4/examples/ |
D | frameCompress.c | 35 size_t const expectedSize = eltSize * nbElt; in safe_fwrite() local 36 if (nbElt>0) assert(expectedSize / nbElt == eltSize); /* check overflow */ in safe_fwrite() 37 if (writtenSize < expectedSize) { in safe_fwrite()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
D | vktImageSizeTests.cpp | 384 const tcu::IVec3 expectedSize = getExpectedImageSizeResult(m_texture, m_2DViewOf3D); in iterate() local 386 if (resultSize != expectedSize) in iterate() 387 …return tcu::TestStatus::fail("Incorrect imageSize(): expected " + de::toString(expectedSize) + " b… in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageSizeTests.cpp | 384 const tcu::IVec3 expectedSize = getExpectedImageSizeResult(m_texture, m_2DViewOf3D); in iterate() local 386 if (resultSize != expectedSize) in iterate() 387 …return tcu::TestStatus::fail("Incorrect imageSize(): expected " + de::toString(expectedSize) + " b… in iterate()
|
/third_party/flutter/skia/modules/skottie/src/ |
D | SkottieTest.cpp | 552 const size_t expectedSize = text.size(); in DEF_TEST() local 553 REPORTER_ASSERT(reporter, shape_result.fFragments.size() == expectedSize); in DEF_TEST() 554 for (size_t i = 0; i < expectedSize; ++i) { in DEF_TEST()
|
/third_party/lz4/tests/ |
D | fuzzer.c | 826 int expectedSize; in FUZ_test() local 831 …expectedSize = LZ4_compress_fast_continue(&LZ4dictBody, block, compressedBuffer, blockSize, (int)c… in FUZ_test() 832 …FUZ_CHECKTEST(expectedSize<=0, "LZ4_compress_fast_continue reference compression for extDictCtx sh… in FUZ_test() 833 expectedCrc = XXH32(compressedBuffer, (size_t)expectedSize, 0); in FUZ_test() 847 …edSize != expectedSize, "LZ4_compress_fast_continue using extDictCtx produced different-sized outp… in FUZ_test() 863 …FUZ_CHECKTEST(ret != expectedSize, "LZ4_compress_fast_continue using extDictCtx produced different… in FUZ_test() 872 …FUZ_CHECKTEST(ret != expectedSize, "LZ4_compress_fast_continue using extDictCtx produced different… in FUZ_test()
|
/third_party/node/test/parallel/ |
D | test-crypto-keygen.js | 23 function assertApproximateSize(key, expectedSize) { argument 25 const min = Math.floor(0.9 * expectedSize); 26 const max = Math.ceil(1.1 * expectedSize);
|
/third_party/skia/src/image/ |
D | SkImage_Raster.cpp | 313 size_t expectedSize = SkCompressedFormatDataSize(type, { width, height }, false); in MakeRasterFromCompressed() local 314 if (!data || data->size() < expectedSize) { in MakeRasterFromCompressed()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderTextureFunctionTests.cpp | 969 tcu::IVec3 expectedSize; member 1166 …sage << "Expecting: " << testSize.expectedSize.x() << "x" << testSize.expectedSize.y() << "x" << t… in testTextureSize() 1168 gl.uniform3iv(sizeLoc, 1, testSize.expectedSize.m_data); in testTextureSize() 1180 …() << TestLog::Message << "Expecting: " << testSize.expectedSize.x() << "x" << testSize.expectedSi… in testTextureSize() 1182 gl.uniform2iv(sizeLoc, 1, testSize.expectedSize.m_data); in testTextureSize() 1191 …tcu::IVec3 expectedSize(testSize.expectedSize.x(), testSize.expectedSize.y(), testSize.textureSize… in testTextureSize() local 1195 …() << TestLog::Message << "Expecting: " << testSize.expectedSize.x() << "x" << testSize.expectedSi… in testTextureSize() 1197 gl.uniform3iv(sizeLoc, 1, expectedSize.m_data); in testTextureSize()
|
/third_party/skia/modules/skottie/src/ |
D | SkottieTest.cpp | 613 const size_t expectedSize = text.size(); in DEF_TEST() local 614 REPORTER_ASSERT(reporter, shape_result.fFragments.size() == expectedSize); in DEF_TEST() 615 for (size_t i = 0; i < expectedSize; ++i) { in DEF_TEST()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fTessellationGeometryInteractionTests.cpp | 1897 const int expectedSize = getExpectedPointSize(); in verifyImage() local 1899 …u::TestLog::Message << "Verifying rendered point size. Expecting " << expectedSize << " pixels." <… in verifyImage() 1949 …if (expectedSize != de::max(pointSize.x(), pointSize.y()) && (expectedSize+1) != de::max(pointSize… in verifyImage() 1951 …<< tcu::TestLog::Message << "ERROR! Point size invalid, expected " << expectedSize << ", got " << … in verifyImage() 1965 if (pointSize.x() != expectedSize) in verifyImage() 1967 …<< tcu::TestLog::Message << "ERROR! Point size invalid, expected " << expectedSize << ", got " << … in verifyImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
D | vktShaderRenderTextureFunctionTests.cpp | 1772 tcu::IVec3 expectedSize; member 1825 … << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedSize.y() << "x" << m… in initTexture() 1829 …u::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedS… in initTexture() 1833 …u::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedS… in initTexture() 1837 …u::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedS… in initTexture() 1841 …u::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedS… in initTexture() 1845 …log << tcu::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << tcu::TestLog::EndM… in initTexture() 1849 …log << tcu::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << " and " << m_testS… in initTexture() 1977 m_expectedSize = m_testSize.expectedSize; in testTextureSize() 1981 m_expectedSize = tcu::IVec3(m_testSize.expectedSize.x(), m_testSize.textureSize.z(), 0); in testTextureSize() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderTextureFunctionTests.cpp | 1772 tcu::IVec3 expectedSize; member 1825 … << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedSize.y() << "x" << m… in initTexture() 1829 …u::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedS… in initTexture() 1833 …u::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedS… in initTexture() 1837 …u::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedS… in initTexture() 1841 …u::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedS… in initTexture() 1845 …log << tcu::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << tcu::TestLog::EndM… in initTexture() 1849 …log << tcu::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << " and " << m_testS… in initTexture() 1977 m_expectedSize = m_testSize.expectedSize; in testTextureSize() 1981 m_expectedSize = tcu::IVec3(m_testSize.expectedSize.x(), m_testSize.textureSize.z(), 0); in testTextureSize() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Texture.cpp | 569 Optional<Extents> expectedSize; in getEnabledLevelCount() local 581 if (expectedSize.valid()) in getEnabledLevelCount() 583 Extents newSize = expectedSize.value(); in getEnabledLevelCount() 597 expectedSize = levelSize; in getEnabledLevelCount()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_bad_pixels.cpp | 611 uint32 expectedSize = in dng_opcode_FixBadPixelsList() local 613 if (size != expectedSize) in dng_opcode_FixBadPixelsList()
|
/third_party/mesa3d/src/mesa/main/ |
D | teximage.c | 2013 GLint expectedSize; in compressed_texture_error_check() local 2064 expectedSize = _mesa_cpal_compressed_size(level, internalFormat, in compressed_texture_error_check() 2088 expectedSize = compressed_tex_size(width, height, depth, internalFormat); in compressed_texture_error_check() 2114 if (expectedSize != imageSize) { in compressed_texture_error_check() 5390 GLint expectedSize; in compressed_subtexture_error_check() local 5432 expectedSize = compressed_tex_size(width, height, depth, format); in compressed_subtexture_error_check() 5433 if (expectedSize != imageSize) { in compressed_subtexture_error_check()
|