/third_party/node/test/pummel/ |
H A D | test-fs-readfile-tostring-fail.js | 32 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 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()
|
H A D | ProxyTest.cpp | 94 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 D | crypto.js | 55 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 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()
|
H A 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/node/deps/npm/node_modules/ssri/lib/ |
H A D | index.js | 47 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 D | File-constructor.any.js | 17 function test_first_argument(arg1, expectedSize, testName) { 22 assert_equals(file.size, expectedSize);
|
/third_party/icu/icu4c/source/test/iotest/ |
H A D | filetst.c | 474 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 D | strtst.c | 317 #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 D | usettest.c | 417 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 D | vktTessellationGeometryPointSizeTests.cpp | 115 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 D | vktTessellationGeometryPointSizeTests.cpp | 115 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 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/vulkan/image/ |
H A D | vktImageSizeTests.cpp | 382 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 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) + " but got " + de::toString(resultSize)); in iterate()
|
/third_party/lz4/tests/ |
H A D | fuzzer.c | 826 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 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/skia/modules/skottie/src/ |
H A 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/ |
H A D | es31fTessellationGeometryInteractionTests.cpp | 1897 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 D | es3fShaderTextureFunctionTests.cpp | 969 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 D | vktShaderRenderTextureFunctionTests.cpp | 1773 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 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/ |
H A D | dng_bad_pixels.cpp | 611 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 D | vktShaderRenderTextureFunctionTests.cpp | 1772 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...] |