Home
last modified time | relevance | path

Searched refs:expectedSize (Results 1 - 25 of 30) sorted by relevance

12

/third_party/node/test/pummel/
H A Dtest-fs-readfile-tostring-fail.js32 let expectedSize = 0;
36 expectedSize += a.length;
41 assert.strictEqual(stream.bytesWritten, expectedSize,
42 `${stream.bytesWritten} bytes written (expected ${expectedSize} bytes).`);
/third_party/skia/tests/
H A 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()
H A DProxyTest.cpp94 SkISize expectedSize = texProxy->backingStoreDimensions(); in check_texture() local
107 REPORTER_ASSERT(reporter, tex->dimensions() == expectedSize); in check_texture()
/third_party/node/test/common/
H A Dcrypto.js55 function assertApproximateSize(key, expectedSize) {
57 const min = Math.floor(0.9 * expectedSize);
58 const max = Math.ceil(1.1 * expectedSize);
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
H A 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()
H A 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/node/deps/npm/node_modules/ssri/lib/
H A Dindex.js47 this.expectedSize = this.opts?.size
101 if (typeof this.expectedSize === 'number' && this.size !== this.expectedSize) {
103 const err = new Error(`stream size mismatch when checking ${this.sri}.\n Wanted: ${this.expectedSize}\n Found: ${this.size}`)
106 err.expected = this.expectedSize
/third_party/node/test/fixtures/wpt/FileAPI/file/
H A DFile-constructor.any.js17 function test_first_argument(arg1, expectedSize, testName) {
22 assert_equals(file.size, expectedSize);
/third_party/icu/icu4c/source/test/iotest/
H A Dfiletst.c474 int32_t expectedSize = (int32_t)strlen(testStr); in TestfgetsBuffers() local
493 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
495 u_file_write(buffer, expectedSize, myFile); in TestfgetsBuffers()
513 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers()
514 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions); in TestfgetsBuffers()
516 if (buffer[(expectedSize*repetitions) + 1] != 0xBEEF) { in TestfgetsBuffers()
535 u_uastrncpy(buffer, testStr, expectedSize+1); in TestfgetsBuffers()
537 u_file_write(buffer, expectedSize, myFile); in TestfgetsBuffers()
558 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers()
559 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetition in TestfgetsBuffers()
632 int32_t expectedSize = (int32_t)strlen(testStr); TestfgetsLineCount() local
[all...]
H A Dstrtst.c317 #define Test_u_snprintf(limit, format, value, expectedSize, expectedStr) UPRV_BLOCK_MACRO_BEGIN { \
322 if (size != written || size != expectedSize || strcmp(cTestResult, expectedStr) != 0) {\
323 log_err("Unexpected formatting. size=%d expectedSize=%d cTestResult=%s expectedStr=%s\n",\
324 size, expectedSize, cTestResult, expectedStr);\
/third_party/icu/icu4c/source/test/cintltst/
H A Dusettest.c417 int32_t expectedSize = 0; in expectItems() local
446 ++expectedSize; in expectItems()
534 if (uset_size(set) == expectedSize) { in expectItems()
535 log_verbose("Ok: %s size is %d\n", pat, expectedSize); in expectItems()
538 pat, uset_size(set), expectedSize); in expectItems()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationGeometryPointSizeTests.cpp115 bool 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 << " pixels." << tcu::TestLog::EndMessage; in verifyImage()
159 if (pointSize.x() != expectedSize) in verifyImage()
161 log << tcu::TestLog::Message << "ERROR! Point size invalid, expected " << expectedSize << ", got " << pointSize.x() << tcu::TestLog::EndMessage; in verifyImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationGeometryPointSizeTests.cpp115 bool 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 << " pixels." << tcu::TestLog::EndMessage; in verifyImage()
159 if (pointSize.x() != expectedSize) in verifyImage()
161 log << tcu::TestLog::Message << "ERROR! Point size invalid, expected " << expectedSize << ", got " << pointSize.x() << tcu::TestLog::EndMessage; in verifyImage()
/third_party/lz4/examples/
H A DframeCompress.c35 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/vulkan/image/
H A DvktImageSizeTests.cpp382 const tcu::IVec3 expectedSize = getExpectedImageSizeResult(m_texture, m_2DViewOf3D); in iterate() local
384 if (resultSize != expectedSize) in iterate()
385 return tcu::TestStatus::fail("Incorrect imageSize(): expected " + de::toString(expectedSize) + " but got " + de::toString(resultSize)); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageSizeTests.cpp384 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) + " but got " + de::toString(resultSize)); in iterate()
/third_party/lz4/tests/
H A Dfuzzer.c826 int expectedSize; in FUZ_test() local
831 expectedSize = LZ4_compress_fast_continue(&LZ4dictBody, block, compressedBuffer, blockSize, (int)compressedBufferSize, 1); in FUZ_test()
832 FUZ_CHECKTEST(expectedSize<=0, "LZ4_compress_fast_continue reference compression for extDictCtx should have succeeded"); in FUZ_test()
833 expectedCrc = XXH32(compressedBuffer, (size_t)expectedSize, 0); in FUZ_test()
847 FUZ_CHECKTEST(blockContinueCompressedSize != expectedSize, "LZ4_compress_fast_continue using extDictCtx produced different-sized output (%d expected vs %d actual)", expectedSize, blockContinueCompressedSize); in FUZ_test()
863 FUZ_CHECKTEST(ret != expectedSize, "LZ4_compress_fast_continue using extDictCtx produced different-sized output"); in FUZ_test()
872 FUZ_CHECKTEST(ret != expectedSize, "LZ4_compress_fast_continue using extDictCtx produced different-sized output"); in FUZ_test()
/third_party/skia/src/image/
H A 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/
H A 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/gles31/functional/
H A Des31fTessellationGeometryInteractionTests.cpp1897 const int expectedSize = getExpectedPointSize();
1899 m_testCtx.getLog() << tcu::TestLog::Message << "Verifying rendered point size. Expecting " << expectedSize << " pixels." << tcu::TestLog::EndMessage;
1949 if (expectedSize != de::max(pointSize.x(), pointSize.y()) && (expectedSize+1) != de::max(pointSize.x(), pointSize.y()))
1951 m_testCtx.getLog() << tcu::TestLog::Message << "ERROR! Point size invalid, expected " << expectedSize << ", got " << de::max(pointSize.x(), pointSize.y()) << tcu::TestLog::EndMessage;
1965 if (pointSize.x() != expectedSize)
1967 m_testCtx.getLog() << tcu::TestLog::Message << "ERROR! Point size invalid, expected " << expectedSize << ", got " << pointSize.x() << tcu::TestLog::EndMessage;
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderTextureFunctionTests.cpp969 tcu::IVec3 expectedSize; member
1166 m_context.getTestContext().getLog() << TestLog::Message << "Expecting: " << testSize.expectedSize.x() << "x" << testSize.expectedSize.y() << "x" << testSize.expectedSize.z() << TestLog::EndMessage; in testTextureSize()
1168 gl.uniform3iv(sizeLoc, 1, testSize.expectedSize.m_data); in testTextureSize()
1180 m_context.getTestContext().getLog() << TestLog::Message << "Expecting: " << testSize.expectedSize.x() << "x" << testSize.expectedSize.y() << TestLog::EndMessage; in testTextureSize()
1182 gl.uniform2iv(sizeLoc, 1, testSize.expectedSize.m_data); in testTextureSize()
1191 tcu::IVec3 expectedSize(testSize.expectedSize in testTextureSize()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderTextureFunctionTests.cpp1773 tcu::IVec3 expectedSize; member
1826 log << tcu::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedSize.y() << "x" << m_testSize.expectedSize.z() << tcu::TestLog::EndMessage; in initTexture()
1830 log << tcu::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedSize.y() << tcu::TestLog::EndMessage; in initTexture()
1834 log << tcu::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedSize.y() << tcu::TestLog::EndMessage; in initTexture()
1838 log << tcu::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedSize in initTexture()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A 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/
H A Ddng_bad_pixels.cpp611 uint32 expectedSize = in dng_opcode_FixBadPixelsList() local
613 if (size != expectedSize) in dng_opcode_FixBadPixelsList()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRenderTextureFunctionTests.cpp1772 tcu::IVec3 expectedSize; member
1825 log << tcu::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedSize.y() << "x" << m_testSize.expectedSize.z() << tcu::TestLog::EndMessage; in initTexture()
1829 log << tcu::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedSize.y() << tcu::TestLog::EndMessage; in initTexture()
1833 log << tcu::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedSize.y() << tcu::TestLog::EndMessage; in initTexture()
1837 log << tcu::TestLog::Message << "Expecting: " << m_testSize.expectedSize.x() << "x" << m_testSize.expectedSize in initTexture()
[all...]

Completed in 42 milliseconds

12