Home
last modified time | relevance | path

Searched refs:expected_length (Results 1 - 18 of 18) sorted by relevance

/third_party/skia/third_party/externals/libwebp/imageio/
H A Dpngdec.c64 // 'expected_length' is the anticipated processed size.
66 // 'expected_length'. NULL is returned if the processed length is less than
67 // 'expected_length' or any character aside from those above is encountered.
70 size_t expected_length) { in HexStringToBytes()
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()
69 HexStringToBytes(const char* hexstring, size_t expected_length) HexStringToBytes() argument
[all...]
/third_party/skia/third_party/externals/harfbuzz/test/api/
H A 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/
H A 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/
H A Dtest-simulator-aarch64.cc324 unsigned expected_length) { in Test1Op()
354 VIXL_CHECK(expected_length == results_length); in Test1Op()
378 VIXL_ASSERT(d == expected_length); in Test1Op()
478 unsigned expected_length) { in Test2Op()
506 VIXL_CHECK(expected_length == results_length); in Test2Op()
535 VIXL_ASSERT(d == expected_length); in Test2Op()
630 unsigned expected_length) { in Test3Op()
658 VIXL_CHECK(expected_length == results_length); in Test3Op()
693 VIXL_ASSERT(d == expected_length); in Test3Op()
773 unsigned expected_length) { in TestCmp()
319 Test1Op(const char* name, Test1OpFPHelper_t helper, const Tn inputs[], unsigned inputs_length, const Td expected[], unsigned expected_length) Test1Op() argument
473 Test2Op(const char* name, Test2OpFPHelper_t helper, const T inputs[], unsigned inputs_length, const T expected[], unsigned expected_length) Test2Op() argument
625 Test3Op(const char* name, Test3OpFPHelper_t helper, const T inputs[], unsigned inputs_length, const T expected[], unsigned expected_length) Test3Op() argument
768 TestCmp(const char* name, TestFPCmpHelper_t helper, const T inputs[], unsigned inputs_length, const uint8_t expected[], unsigned expected_length) TestCmp() argument
899 TestCmpZero(const char* name, TestFPCmpZeroHelper_t helper, const T inputs[], unsigned inputs_length, const uint8_t expected[], unsigned expected_length) TestCmpZero() argument
1110 TestFPToS(const char* name, TestFPToIntHelper_t helper, const Tn inputs[], unsigned inputs_length, const Td expected[], unsigned expected_length) TestFPToS() argument
1201 TestFPToU(const char* name, TestFPToIntHelper_t helper, const Tn inputs[], unsigned inputs_length, const Td expected[], unsigned expected_length) TestFPToU() argument
1274 TestFPToFixedS(const char* name, TestFPToFixedHelper_t helper, const Tn inputs[], unsigned inputs_length, const Td expected[], unsigned expected_length) TestFPToFixedS() argument
1370 TestFPToFixedU(const char* name, TestFPToFixedHelper_t helper, const Tn inputs[], unsigned inputs_length, const Td expected[], unsigned expected_length) TestFPToFixedU() argument
1537 Test1OpNEON(const char* name, Test1OpNEONHelper_t helper, const Tn inputs_n[], unsigned inputs_n_length, const Td expected[], unsigned expected_length, VectorFormat vd_form, VectorFormat vn_form) Test1OpNEON() argument
1745 Test1OpAcrossNEON(const char* name, Test1OpNEONHelper_t helper, const Tn inputs_n[], unsigned inputs_n_length, const Td expected[], unsigned expected_length, VectorFormat vd_form, VectorFormat vn_form) Test1OpAcrossNEON() argument
1999 Test2OpNEON(const char* name, Test2OpNEONHelper_t helper, const Td inputs_d[], const Tn inputs_n[], unsigned inputs_n_length, const Tm inputs_m[], unsigned inputs_m_length, const Td expected[], unsigned expected_length, VectorFormat vd_form, VectorFormat vn_form, VectorFormat vm_form) Test2OpNEON() argument
2258 TestByElementNEON(const char* name, TestByElementNEONHelper_t helper, const Td inputs_d[], const Tn inputs_n[], unsigned inputs_n_length, const Tm inputs_m[], unsigned inputs_m_length, const int indices[], unsigned indices_length, const Td expected[], unsigned expected_length, VectorFormat vd_form, VectorFormat vn_form, VectorFormat vm_form, unsigned vm_subvector_count = 1) TestByElementNEON() argument
2496 Test2OpImmNEON( const char* name, typename Test2OpImmediateNEONHelper_t<Tm>::mnemonic helper, const Tn inputs_n[], unsigned inputs_n_length, const Tm inputs_m[], unsigned inputs_m_length, const Td expected[], unsigned expected_length, VectorFormat vd_form, VectorFormat vn_form) Test2OpImmNEON() argument
2719 TestOpImmOpImmNEON(const char* name, TestOpImmOpImmVdUpdateNEONHelper_t helper, const Td inputs_d[], const int inputs_imm1[], unsigned inputs_imm1_length, const Tn inputs_n[], unsigned inputs_n_length, const int inputs_imm2[], unsigned inputs_imm2_length, const Td expected[], unsigned expected_length, VectorFormat vd_form, VectorFormat vn_form) TestOpImmOpImmNEON() argument
[all...]
/third_party/node/deps/v8/src/objects/
H A 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/
H A 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()
H A Dscanner.h634 base::uc32 ScanHexNumber(int expected_length);
/third_party/openssl/test/
H A 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/
H A 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/
H A DglcKHRDebugTests.hpp403 glw::GLenum expected_severity, glw::GLsizei expected_length,
H A DglcKHRDebugTests.cpp2140 * @param expected_length Expected length of messages
2144 glw::GLenum expected_severity, glw::GLsizei expected_length, in inspectMessageLog()
2203 if (expected_length + 1 != length) in inspectMessageLog()
2206 << ", expected " << expected_length << tcu::TestLog::EndMessage; in inspectMessageLog()
2143 inspectMessageLog(glw::GLenum expected_source, glw::GLenum expected_type, glw::GLuint expected_id, glw::GLenum expected_severity, glw::GLsizei expected_length, const glw::GLchar* expected_label) const inspectMessageLog() argument
/third_party/skia/third_party/externals/harfbuzz/src/
H A 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/jerryscript/jerry-core/ecma/operations/
H A 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/protobuf/src/google/protobuf/util/internal/
H A 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/
H A Dtest-pointer.c47 double expected_length; in test_relative_event() local
79 expected_length = sqrt(4 * dx*dx + 4 * dy*dy); in test_relative_event()
88 litest_assert_double_ge(fabs(expected_length), actual_length); in test_relative_event()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A 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_length, m_buffer); 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/
H A Didlharness.js1564 var expected_length = minOverloadLength(constructors);
1565 assert_equals(this.get_interface_object().length, expected_length, "wrong value for " + this.name + ".length");
/third_party/mbedtls/library/
H A Dpsa_crypto.c7620 size_t expected_length; in psa_raw_key_agreement() local
7643 expected_length = in psa_raw_key_agreement()
7645 if (output_size < expected_length) { in psa_raw_key_agreement()

Completed in 63 milliseconds