/external/autotest/client/common_lib/cros/bluetooth/ |
D | bluetooth_socket.py | 314 expected_length=None): argument 356 if (expected_length is not None and 357 response_length != expected_length): 361 expected_length))) 490 expected_length=3) 516 expected_length = offset + (ncommands * 2) + (nevents * 2) 517 if len(data) != expected_length: 520 '%d (expected %d)' % (len(data), expected_length))) 553 expected_length = offset + (nindexes * 2) 554 if len(data) != expected_length: [all …]
|
/external/webrtc/webrtc/base/ |
D | httpbase_unittest.cc | 90 size_t expected_length = SIZE_UNKNOWN); 100 size_t expected_length = SIZE_UNKNOWN); 173 size_t expected_length) { in VerifyDocumentContents() argument 176 if (SIZE_UNKNOWN == expected_length) { in VerifyDocumentContents() 177 expected_length = strlen(expected_data); in VerifyDocumentContents() 183 EXPECT_EQ(expected_length, length); in VerifyDocumentContents() 230 const size_t expected_length = strlen(expected_data); in ReadDocumentStreamData() local 231 while (verified_length < expected_length) { in ReadDocumentStreamData() 235 std::min(expected_length - verified_length, sizeof(buffer)); in ReadDocumentStreamData() 283 size_t expected_length) { in VerifySourceContents() argument [all …]
|
D | filerotatingstream_unittest.cc | 57 const size_t expected_length, in VerifyStreamRead() argument 66 scoped_ptr<uint8_t[]> buffer(new uint8_t[expected_length]); in VerifyStreamRead() 68 stream->ReadAll(buffer.get(), expected_length, &read, nullptr)); in VerifyStreamRead() 69 EXPECT_EQ(0, memcmp(expected_contents, buffer.get(), expected_length)); in VerifyStreamRead() 75 const size_t expected_length, in VerifyFileContents() argument 77 scoped_ptr<uint8_t[]> buffer(new uint8_t[expected_length]); in VerifyFileContents() 84 stream->ReadAll(buffer.get(), expected_length, nullptr, nullptr)); in VerifyFileContents() 85 EXPECT_EQ(0, memcmp(expected_contents, buffer.get(), expected_length)); in VerifyFileContents() 88 EXPECT_EQ(file_size, expected_length); in VerifyFileContents() 216 const size_t expected_length, in VerifyStreamRead() argument [all …]
|
D | testutils.h | 473 size_t expected_length, in CmpHelperMemEq() argument 477 if ((expected_length == actual_length) in CmpHelperMemEq() 478 && (0 == memcmp(expected, actual, expected_length))) { in CmpHelperMemEq() 496 size_t buffer_size = expected_length * 2 + 1; in CmpHelperMemEq() 499 reinterpret_cast<const char*>(expected), expected_length); in CmpHelperMemEq() 500 msg << "\nWhich is: " << buffer << " [" << expected_length << "]"; in CmpHelperMemEq() 510 size_t expected_length, in CmpHelperFileEq() argument 521 expected, expected_length, in CmpHelperFileEq() 525 #define EXPECT_MEMEQ(expected, expected_length, actual, actual_length) \ argument 526 EXPECT_PRED_FORMAT4(::testing::CmpHelperMemEq, expected, expected_length, \ [all …]
|
D | ipaddress_unittest.cc | 139 bool CheckMaskCount(const std::string& mask, int expected_length) { in CheckMaskCount() argument 142 (expected_length == CountIPMaskBits(addr)); in CheckMaskCount()
|
/external/pdfium/fxbarcode/pdf417/ |
D | BC_PDF417HighLevelEncoder_unittest.cpp | 23 int expected_length; in TEST() member 50 WideString expected(ptr->expected, ptr->expected_length); in TEST() 65 int expected_length; in TEST() member 113 WideString expected(ptr->expected, ptr->expected_length); in TEST()
|
/external/pdfium/core/fpdfapi/parser/ |
D | fpdf_parser_decode_unittest.cpp | 84 size_t expected_length; in TEST() member 103 ASSERT_EQ(test_case.expected_length, output.GetLength()) << "for case " in TEST() 106 for (size_t j = 0; j < test_case.expected_length; ++j) { in TEST()
|
/external/vixl/test/aarch64/ |
D | test-simulator-aarch64.cc | 256 unsigned expected_length) { in Test1Op() argument 284 VIXL_CHECK(expected_length == results_length); in Test1Op() 308 VIXL_ASSERT(d == expected_length); in Test1Op() 386 unsigned expected_length) { in Test2Op() argument 412 VIXL_CHECK(expected_length == results_length); in Test2Op() 441 VIXL_ASSERT(d == expected_length); in Test2Op() 529 unsigned expected_length) { in Test3Op() argument 555 VIXL_CHECK(expected_length == results_length); in Test3Op() 590 VIXL_ASSERT(d == expected_length); in Test3Op() 670 unsigned expected_length) { in TestCmp() argument [all …]
|
/external/webrtc/webrtc/test/testsupport/ |
D | packet_reader_unittest.cc | 29 void VerifyPacketData(size_t expected_length, in VerifyPacketData() argument 33 EXPECT_EQ(static_cast<int>(expected_length), actual_length); in VerifyPacketData()
|
/external/avb/libavb/ |
D | avb_rsa.c | 50 size_t expected_length; in iavb_parse_key_data() local 67 expected_length = sizeof(AvbRSAPublicKeyHeader) + 2 * h.key_num_bits / 8; in iavb_parse_key_data() 68 if (length != expected_length) { in iavb_parse_key_data()
|
/external/v8/src/ |
D | value-serializer.cc | 1306 uint32_t expected_length; in ReadSparseJSArray() local 1310 !ReadVarint<uint32_t>().To(&expected_length) || in ReadSparseJSArray() 1311 num_properties != expected_num_properties || length != expected_length) { in ReadSparseJSArray() 1361 uint32_t expected_length; in ReadDenseJSArray() local 1365 !ReadVarint<uint32_t>().To(&expected_length) || in ReadDenseJSArray() 1366 num_properties != expected_num_properties || length != expected_length) { in ReadDenseJSArray() 1470 uint32_t expected_length; in ReadJSMap() local 1471 if (!ReadVarint<uint32_t>().To(&expected_length) || in ReadJSMap() 1472 length != expected_length) { in ReadJSMap() 1506 uint32_t expected_length; in ReadJSSet() local [all …]
|
/external/tensorflow/tensorflow/core/lib/wav/ |
D | wav_io.cc | 121 Status ReadString(const string& data, int expected_length, string* value, in ReadString() argument 123 const int new_offset = *offset + expected_length; in ReadString()
|
/external/tensorflow/tensorflow/contrib/signal/python/kernel_tests/ |
D | spectral_ops_test.py | 149 expected_length = (stft.shape[0] - 1) * 8 + 8 151 self.assertAllEqual([expected_length], inverse_stft.eval().shape)
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtp_format_vp9_unittest.cc | 78 size_t expected_length) { in ParseAndCheckPacket() argument 81 ASSERT_TRUE(depacketizer->Parse(&parsed, packet, expected_length)); in ParseAndCheckPacket() 84 const size_t kExpectedPayloadLength = expected_length - expected_hdr_length; in ParseAndCheckPacket()
|
/external/v8/src/parsing/ |
D | scanner.cc | 199 uc32 Scanner::ScanHexNumber(int expected_length) { in ScanHexNumber() argument 200 DCHECK(expected_length <= 4); // prevent overflow in ScanHexNumber() 204 for (int i = 0; i < expected_length; i++) { in ScanHexNumber() 207 ReportScannerError(Location(begin, begin + expected_length + 2), in ScanHexNumber()
|
D | scanner.h | 673 uc32 ScanHexNumber(int expected_length);
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cKHRDebugTests.hpp | 403 glw::GLenum expected_severity, glw::GLsizei expected_length,
|
D | gl4cKHRDebugTests.cpp | 2165 glw::GLenum expected_severity, glw::GLsizei expected_length, in inspectMessageLog() argument 2224 if (expected_length + 1 != length) in inspectMessageLog() 2227 << ", expected " << expected_length << tcu::TestLog::EndMessage; in inspectMessageLog()
|
D | gl4cShaderSubroutineTests.cpp | 2058 GLsizei expected_length = (GLsizei)strlen(m_subroutine_uniform_name); in verifyGLGetActiveSubroutineUniformNameFunctionality() local 2084 m_buffer = new glw::GLchar[expected_length + 1]; in verifyGLGetActiveSubroutineUniformNameFunctionality() 2086 memset(m_buffer, 0, expected_length + 1); in verifyGLGetActiveSubroutineUniformNameFunctionality() 2088 …gl.getActiveSubroutineUniformName(m_po_id, GL_VERTEX_SHADER, 0, expected_length + 1, &reported_len… in verifyGLGetActiveSubroutineUniformNameFunctionality() 2091 if (reported_length != expected_length) in verifyGLGetActiveSubroutineUniformNameFunctionality() 2095 << ", instead of: " << expected_length << tcu::TestLog::EndMessage; in verifyGLGetActiveSubroutineUniformNameFunctionality()
|
/external/pdfium/fpdfsdk/ |
D | fpdfformfill_embeddertest.cpp | 114 const unsigned long expected_length = in CheckSelection() local 118 ASSERT_EQ(expected_length, sel_text_len); in CheckSelection() 121 EXPECT_EQ(expected_length, FORM_GetSelectedText(form_handle(), page_, in CheckSelection()
|
/external/tensorflow/tensorflow/contrib/training/python/training/ |
D | sequence_queueing_state_saver_test.py | 442 expected_length = max( 446 self.assertEqual(length[i], expected_length)
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectwriter_test.cc | 142 void CheckOutput(const Message& expected, int expected_length) { in CheckOutput() argument 145 if (expected_length >= 0) { in CheckOutput() 146 EXPECT_EQ(expected_length, nbytes); in CheckOutput()
|
/external/webrtc/webrtc/p2p/base/ |
D | stun_unittest.cc | 27 size_t expected_length) { in CheckStunHeader() argument 29 ASSERT_EQ(expected_length, msg.length()); in CheckStunHeader()
|
/external/libevent/test/ |
D | regress_buffer.c | 2370 size_t expected_length = 0; in test_evbuffer_add_iovec() local 2381 expected_length += vec[i].iov_len; in test_evbuffer_add_iovec() 2387 tt_int_op(evbuffer_get_length(buf), ==, expected_length); in test_evbuffer_add_iovec()
|