Home
last modified time | relevance | path

Searched refs:expectedSize (Results 1 – 25 of 27) sorted by relevance

12

/third_party/boost/libs/date_time/test/posix_time/
Dtesttime_serialize_versioning.cpp18 void check_filesize(const std::string& filename, std::ifstream::pos_type expectedSize) in check_filesize() argument
21 …("check file size is " + boost::lexical_cast<std::string>(expectedSize), in.tellg(), expectedSize); in check_filesize()
/third_party/flutter/skia/tests/
DOSPathTest.cpp34 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/
DOSPathTest.cpp34 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()
DProxyTest.cpp94 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/
Dfiletst.c473 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 …]
Dstrtst.c316 #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/
DesextcTextureBufferMAXSizeValidation.cpp209 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()
DesextcTextureBufferTextureBufferRange.cpp1084 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/
Dusettest.c402 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/vulkan/tessellation/
DvktTessellationGeometryPointSizeTests.cpp113 …ol verifyImage (tcu::TestLog& log, const tcu::ConstPixelBufferAccess image, const int expectedSize) in verifyImage() argument
115 …log << tcu::TestLog::Message << "Verifying rendered point size. Expecting " << expectedSize << " p… in verifyImage()
157 if (pointSize.x() != expectedSize) in verifyImage()
159 …log << tcu::TestLog::Message << "ERROR! Point size invalid, expected " << expectedSize << ", got "… in verifyImage()
/third_party/lz4/examples/
DframeCompress.c34 size_t const expectedSize = eltSize * nbElt; in safe_fwrite() local
35 if (nbElt>0) assert(expectedSize / nbElt == eltSize); /* check overflow */ in safe_fwrite()
36 if (writtenSize < expectedSize) { in safe_fwrite()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageSizeTests.cpp337 const tcu::IVec3 expectedSize = getExpectedImageSizeResult(m_texture); in iterate() local
339 if (resultSize != expectedSize) in iterate()
340 …return tcu::TestStatus::fail("Incorrect imageSize(): expected " + de::toString(expectedSize) + " b… in iterate()
/third_party/flutter/skia/modules/skottie/src/
DSkottieTest.cpp552 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/
Dfuzzer.c778 int expectedSize; in FUZ_test() local
783expectedSize = LZ4_compress_fast_continue(&LZ4dictBody, block, compressedBuffer, blockSize, (int)c… in FUZ_test()
784 …FUZ_CHECKTEST(expectedSize<=0, "LZ4_compress_fast_continue reference compression for extDictCtx sh… in FUZ_test()
785 expectedCrc = XXH32(compressedBuffer, (size_t)expectedSize, 0); in FUZ_test()
799 …edSize != expectedSize, "LZ4_compress_fast_continue using extDictCtx produced different-sized outp… in FUZ_test()
815 …FUZ_CHECKTEST(ret != expectedSize, "LZ4_compress_fast_continue using extDictCtx produced different… in FUZ_test()
824 …FUZ_CHECKTEST(ret != expectedSize, "LZ4_compress_fast_continue using extDictCtx produced different… in FUZ_test()
/third_party/node/test/parallel/
Dtest-crypto-keygen.js23 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/
DSkImage_Raster.cpp313 size_t expectedSize = SkCompressedFormatDataSize(type, { width, height }, false); in MakeRasterFromCompressed() local
314 if (!data || data->size() < expectedSize) { in MakeRasterFromCompressed()
/third_party/skia/modules/skottie/src/
DSkottieTest.cpp613 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/gles3/functional/
Des3fShaderTextureFunctionTests.cpp969 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/vk-gl-cts/modules/gles31/functional/
Des31fTessellationGeometryInteractionTests.cpp1897 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/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp1766 tcu::IVec3 expectedSize; member
1812 … << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedSize.y() << "x" << m… in initTexture()
1816 …u::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedS… in initTexture()
1820 …u::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedS… in initTexture()
1824 …u::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedS… in initTexture()
1828 …u::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedS… in initTexture()
1832 …log << tcu::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << tcu::TestLog::EndM… in initTexture()
1836 …log << tcu::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << " and " << m_testS… in initTexture()
1959 m_expectedSize = m_testSize.expectedSize; in testTextureSize()
1963 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/
DTexture.cpp569 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/
Ddng_bad_pixels.cpp611 uint32 expectedSize = in dng_opcode_FixBadPixelsList() local
613 if (size != expectedSize) in dng_opcode_FixBadPixelsList()
/third_party/mesa3d/src/mesa/main/
Dteximage.c2013 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()
5426 GLint expectedSize; in compressed_subtexture_error_check() local
5468 expectedSize = compressed_tex_size(width, height, depth, format); in compressed_subtexture_error_check()
5469 if (expectedSize != imageSize) { in compressed_subtexture_error_check()
/third_party/skia/third_party/externals/swiftshader/tests/ReactorUnitTests/
DReactorUnitTests.cpp3603 constexpr size_t expectedSize = sizeof(expected) / sizeof(expected[0]); in TEST() local
3609 for(size_t i = 0, j = 1; i < expectedSize; ++i, j += 2) in TEST()
3686 constexpr size_t expectedSize = sizeof(expected) / sizeof(expected[0]); in TEST() local
3692 for(size_t i = 0, j = 1; i < expectedSize; ++i, j += 2) in TEST()
/third_party/glslang/glslang/MachineIndependent/
DParseHelper.cpp670 int expectedSize = 0; in getIoArrayImplicitSize() local
675 expectedSize = TQualifier::mapGeometryToSize(intermediate.getInputPrimitive()); in getIoArrayImplicitSize()
679 expectedSize = maxVertices; in getIoArrayImplicitSize()
683 expectedSize = 3; in getIoArrayImplicitSize()
689expectedSize = maxPrimitives * TQualifier::mapGeometryToSize(intermediate.getOutputPrimitive()); in getIoArrayImplicitSize()
694 expectedSize = maxPrimitives; in getIoArrayImplicitSize()
698 expectedSize = maxVertices; in getIoArrayImplicitSize()
704 return expectedSize; in getIoArrayImplicitSize()

12