Home
last modified time | relevance | path

Searched refs:expected_length (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/libwebp/imageio/
Dpngdec.c70 size_t expected_length) { in HexStringToBytes() argument
73 uint8_t* const raw_data = (uint8_t*)malloc(expected_length); in HexStringToBytes()
78 for (dst = raw_data; actual_length < expected_length && *src != '\0'; ++src) { in HexStringToBytes()
90 if (actual_length != expected_length) { in HexStringToBytes()
101 int expected_length; in ProcessRawProfile() local
115 expected_length = (int)strtol(src, &end, 10); in ProcessRawProfile()
124 payload->bytes = HexStringToBytes(end, expected_length); in ProcessRawProfile()
126 payload->size = expected_length; in ProcessRawProfile()
/third_party/skia/third_party/externals/harfbuzz/test/api/
Dhb-test.h172 unsigned int expected_length, actual_length; in hb_test_assert_blobs_equal() local
173 const char *raw_expected = hb_blob_get_data (expected_blob, &expected_length); in hb_test_assert_blobs_equal()
175 g_assert_cmpint(expected_length, ==, actual_length); in hb_test_assert_blobs_equal()
176 if (memcmp (raw_expected, raw_actual, expected_length) != 0) in hb_test_assert_blobs_equal()
178 for (unsigned int i = 0; i < expected_length; i++) in hb_test_assert_blobs_equal()
186 g_assert_cmpint(0, ==, memcmp(raw_expected, raw_actual, expected_length)); in hb_test_assert_blobs_equal()
/third_party/ffmpeg/libavcodec/tests/
Dmjpegenc_huffman.c34 static int check_lengths(int L, int expected_length, in check_lengths() argument
70 if (actual_length != expected_length) ret = 1; in check_lengths()
77 cantor_measure, actual_length, expected_length); in check_lengths()
/third_party/vixl/test/aarch64/
Dtest-simulator-aarch64.cc317 unsigned expected_length) { in Test1Op() argument
347 VIXL_CHECK(expected_length == results_length); in Test1Op()
371 VIXL_ASSERT(d == expected_length); in Test1Op()
471 unsigned expected_length) { in Test2Op() argument
499 VIXL_CHECK(expected_length == results_length); in Test2Op()
528 VIXL_ASSERT(d == expected_length); in Test2Op()
623 unsigned expected_length) { in Test3Op() argument
651 VIXL_CHECK(expected_length == results_length); in Test3Op()
686 VIXL_ASSERT(d == expected_length); in Test3Op()
766 unsigned expected_length) { in TestCmp() argument
[all …]
/third_party/node/deps/v8/src/objects/
Dvalue-serializer.cc1702 uint32_t expected_length; in ReadSparseJSArray() local
1706 !ReadVarint<uint32_t>().To(&expected_length) || in ReadSparseJSArray()
1707 num_properties != expected_num_properties || length != expected_length) { in ReadSparseJSArray()
1760 uint32_t expected_length; in ReadDenseJSArray() local
1764 !ReadVarint<uint32_t>().To(&expected_length) || in ReadDenseJSArray()
1765 num_properties != expected_num_properties || length != expected_length) { in ReadDenseJSArray()
1893 uint32_t expected_length; in ReadJSMap() local
1894 if (!ReadVarint<uint32_t>().To(&expected_length) || in ReadJSMap()
1895 length != expected_length) { in ReadJSMap()
1931 uint32_t expected_length; in ReadJSSet() local
[all …]
/third_party/node/deps/v8/src/parsing/
Dscanner.cc119 base::uc32 Scanner::ScanHexNumber(int expected_length) { in ScanHexNumber() argument
120 DCHECK_LE(expected_length, 4); // prevent overflow in ScanHexNumber()
124 for (int i = 0; i < expected_length; i++) { in ScanHexNumber()
127 ReportScannerError(Location(begin, begin + expected_length + 2), in ScanHexNumber()
Dscanner.h634 base::uc32 ScanHexNumber(int expected_length);
/third_party/openssl/test/
Dasn1_encode_test.c697 size_t expected_length = make_custom_der(custom_data, &expected, 0); in do_encode_custom() local
700 if (expected_length == 0) in do_encode_custom()
703 ret = do_encode(input, expected, expected_length, package); in do_encode_custom()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-iterator-gen.cc201 auto expected_length = Parameter<Smi>(Descriptor::kExpectedLength); in TF_BUILTIN() local
210 GotoIf(WordEqual(SmiUntag(expected_length), values.var_length()->value()), in TF_BUILTIN()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcKHRDebugTests.hpp403 glw::GLenum expected_severity, glw::GLsizei expected_length,
DglcKHRDebugTests.cpp2144 glw::GLenum expected_severity, glw::GLsizei expected_length, in inspectMessageLog() argument
2203 if (expected_length + 1 != length) in inspectMessageLog()
2206 << ", expected " << expected_length << tcu::TestLog::EndMessage; in inspectMessageLog()
/third_party/mbedtls/tests/suites/
Dtest_suite_asn1parse.function530 int expected_length, int expected_unused_bits,
539 TEST_EQUAL(bs.len, (size_t) expected_length);
551 TEST_EQUAL(bs.len, (size_t) expected_length);
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-typedarray-object.c593 …ecma_length_t expected_length = (ecma_arraybuffer_get_length (arraybuffer_p) >> element_size_shift… in ecma_typedarray_create_object_with_buffer() local
595 bool needs_ext_typedarray_obj = (byte_offset != 0 || array_length != expected_length); in ecma_typedarray_create_object_with_buffer()
/third_party/skia/third_party/externals/harfbuzz/src/
Dtest-repacker.cc1175 unsigned expected_length = 3 + 2 * 60000; // objects in test_resolve_overflows_via_isolation_spaces() local
1176 expected_length += 2 * 4 + 2 * 2; // links in test_resolve_overflows_via_isolation_spaces()
1177 assert (result.length == expected_length); in test_resolve_overflows_via_isolation_spaces()
/third_party/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter_test.cc145 void CheckOutput(const Message& expected, int expected_length) { in CheckOutput() argument
148 if (expected_length >= 0) { in CheckOutput()
149 EXPECT_EQ(expected_length, nbytes); in CheckOutput()
/third_party/libinput/test/
Dtest-pointer.c46 double expected_length; in test_relative_event() local
78 expected_length = sqrt(4 * dx*dx + 4 * dy*dy); in test_relative_event()
87 litest_assert_double_ge(fabs(expected_length), actual_length); in test_relative_event()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cShaderSubroutineTests.cpp2056 GLsizei expected_length = (GLsizei)strlen(m_subroutine_uniform_name); in verifyGLGetActiveSubroutineUniformNameFunctionality() local
2082 m_buffer = new glw::GLchar[expected_length + 1]; in verifyGLGetActiveSubroutineUniformNameFunctionality()
2084 memset(m_buffer, 0, expected_length + 1); in verifyGLGetActiveSubroutineUniformNameFunctionality()
2086 …gl.getActiveSubroutineUniformName(m_po_id, GL_VERTEX_SHADER, 0, expected_length + 1, &reported_len… in verifyGLGetActiveSubroutineUniformNameFunctionality()
2089 if (reported_length != expected_length) in verifyGLGetActiveSubroutineUniformNameFunctionality()
2093 << ", instead of: " << expected_length << tcu::TestLog::EndMessage; in verifyGLGetActiveSubroutineUniformNameFunctionality()
/third_party/node/test/fixtures/wpt/resources/
Didlharness.js1564 var expected_length = minOverloadLength(constructors);
1565 …assert_equals(this.get_interface_object().length, expected_length, "wrong value for " + this.name …
/third_party/mbedtls/library/
Dpsa_crypto.c6665 size_t expected_length = 0; in psa_raw_key_agreement() local
6685 expected_length = in psa_raw_key_agreement()
6687 if (output_size < expected_length) { in psa_raw_key_agreement()