/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/xfa/src/fxbarcode/pdf417/ |
D | BC_PDF417HighLevelEncoder_unittest.cpp | 25 int expected_length; in TEST() member 52 CFX_WideString expected(ptr->expected, ptr->expected_length); in TEST() 67 int expected_length; in TEST() member 123 CFX_WideString expected(ptr->expected, ptr->expected_length); in TEST()
|
/external/v8/test/webkit/ |
D | regexp-negative-special-characters.js | 28 function test(pattern, str, expected_length) { argument 31 if (result.length == expected_length)
|
/external/vixl/test/ |
D | test-simulator-a64.cc | 252 const Td expected[], unsigned expected_length) { in Test1Op() argument 275 VIXL_CHECK(expected_length == results_length); in Test1Op() 294 VIXL_ASSERT(d == expected_length); in Test1Op() 367 const T expected[], unsigned expected_length) { in Test2Op() argument 389 VIXL_CHECK(expected_length == results_length); in Test2Op() 414 VIXL_ASSERT(d == expected_length); in Test2Op() 497 const T expected[], unsigned expected_length) { in Test3Op() argument 519 VIXL_CHECK(expected_length == results_length); in Test3Op() 549 VIXL_ASSERT(d == expected_length); in Test3Op() 624 const uint8_t expected[], 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/dbus/bus/ |
D | signals.c | 1858 int expected_length; in match_rule_matches() local 1862 expected_length = rule->arg_lens[i] & ~BUS_MATCH_ARG_FLAGS; in match_rule_matches() 1885 if (actual_length < expected_length && in match_rule_matches() 1889 if (expected_length < actual_length && in match_rule_matches() 1890 expected_arg[expected_length - 1] != '/') in match_rule_matches() 1894 MIN (actual_length, expected_length)) != 0) in match_rule_matches() 1899 if (expected_length > actual_length) in match_rule_matches() 1905 if (memcmp (expected_arg, actual_arg, expected_length) != 0) in match_rule_matches() 1908 if (expected_length < actual_length) in match_rule_matches() 1918 if (actual_arg[expected_length] != '.') in match_rule_matches() [all …]
|
/external/v8/test/unittests/wasm/ |
D | encoder-unittest.cc | 31 int expected_length, in CheckReadValue() argument 40 CHECK_EQ(length, expected_length); in CheckReadValue()
|
/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 | 64 uc32 Scanner::ScanHexNumber(int expected_length) { in ScanHexNumber() argument 65 DCHECK(expected_length <= 4); // prevent overflow in ScanHexNumber() 68 for (int i = 0; i < expected_length; i++) { in ScanHexNumber()
|
D | scanner.h | 632 uc32 ScanHexNumber(int expected_length);
|
/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/opencv3/modules/ts/src/ |
D | ts_perf.cpp | 459 int expected_length = (int)node["len"]; in verify() local 460 …ASSERT_EQ(expected_length, (int)array.total()) << " Vector \"" << node.name() << "\" has unexpect… in verify()
|