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

/external/v8/test/webkit/
H A Dregexp-negative-special-characters.js28 function test(pattern, str, expected_length) {
31 if (result.length == expected_length)
/external/webrtc/webrtc/base/
H A Dhttpbase_unittest.cc90 size_t expected_length = SIZE_UNKNOWN);
100 size_t expected_length = SIZE_UNKNOWN);
173 size_t expected_length) {
176 if (SIZE_UNKNOWN == expected_length) {
177 expected_length = strlen(expected_data);
183 EXPECT_EQ(expected_length, length);
230 const size_t expected_length = strlen(expected_data); local
231 while (verified_length < expected_length) {
235 std::min(expected_length - verified_length, sizeof(buffer));
283 size_t expected_length) {
172 VerifyDocumentContents(const char* expected_data, size_t expected_length) argument
282 VerifySourceContents(const char* expected_data, size_t expected_length) argument
[all...]
H A Dfilerotatingstream_unittest.cc57 const size_t expected_length,
66 scoped_ptr<uint8_t[]> buffer(new uint8_t[expected_length]);
68 stream->ReadAll(buffer.get(), expected_length, &read, nullptr));
69 EXPECT_EQ(0, memcmp(expected_contents, buffer.get(), expected_length));
75 const size_t expected_length,
77 scoped_ptr<uint8_t[]> buffer(new uint8_t[expected_length]);
84 stream->ReadAll(buffer.get(), expected_length, nullptr, nullptr));
85 EXPECT_EQ(0, memcmp(expected_contents, buffer.get(), expected_length));
88 EXPECT_EQ(file_size, expected_length);
216 const size_t expected_length,
56 VerifyStreamRead(const char* expected_contents, const size_t expected_length, const std::string& dir_path, const char* file_prefix) argument
74 VerifyFileContents(const char* expected_contents, const size_t expected_length, const std::string& file_path) argument
215 VerifyStreamRead(const char* expected_contents, const size_t expected_length, const std::string& dir_path) argument
[all...]
H A Dtestutils.h473 size_t expected_length,
477 if ((expected_length == actual_length)
478 && (0 == memcmp(expected, actual, expected_length))) {
496 size_t buffer_size = expected_length * 2 + 1;
499 reinterpret_cast<const char*>(expected), expected_length);
500 msg << "\nWhich is: " << buffer << " [" << expected_length << "]"; local
510 size_t expected_length,
521 expected, expected_length,
525 #define EXPECT_MEMEQ(expected, expected_length, actual, actual_length) \
526 EXPECT_PRED_FORMAT4(::testing::CmpHelperMemEq, expected, expected_length, \
468 CmpHelperMemEq(const char* expected_expression, const char* expected_length_expression, const char* actual_expression, const char* actual_length_expression, const void* expected, size_t expected_length, const void* actual, size_t actual_length) argument
506 CmpHelperFileEq(const char* expected_expression, const char* expected_length_expression, const char* actual_filename, const void* expected, size_t expected_length, const char* filename) argument
[all...]
H A Dipaddress_unittest.cc139 bool CheckMaskCount(const std::string& mask, int expected_length) { argument
142 (expected_length == CountIPMaskBits(addr));
/external/autotest/client/common_lib/cros/bluetooth/
H A Dbluetooth_socket.py314 expected_length=None):
322 @param expected_length: May be set to verify the length of the data.
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
[all...]
/external/pdfium/xfa/src/fxbarcode/pdf417/
H A DBC_PDF417HighLevelEncoder_unittest.cpp25 int expected_length; member in struct:EncodeBinaryCase
52 CFX_WideString expected(ptr->expected, ptr->expected_length);
67 int expected_length; member in struct:EncodeNumericCase
123 CFX_WideString expected(ptr->expected, ptr->expected_length);
/external/webrtc/webrtc/test/testsupport/
H A Dpacket_reader_unittest.cc29 void VerifyPacketData(size_t expected_length, argument
33 EXPECT_EQ(static_cast<int>(expected_length), actual_length);
/external/vixl/test/
H A Dtest-simulator-a64.cc252 const Td expected[], unsigned expected_length) {
275 VIXL_CHECK(expected_length == results_length);
294 VIXL_ASSERT(d == expected_length);
367 const T expected[], unsigned expected_length) {
389 VIXL_CHECK(expected_length == results_length);
414 VIXL_ASSERT(d == expected_length);
497 const T expected[], unsigned expected_length) {
519 VIXL_CHECK(expected_length == results_length);
549 VIXL_ASSERT(d == expected_length);
624 const uint8_t expected[], unsigned expected_length) {
250 Test1Op(const char * name, Test1OpFPHelper_t helper, const Tn inputs[], unsigned inputs_length, const Td expected[], unsigned expected_length) argument
365 Test2Op(const char * name, Test2OpFPHelper_t helper, const T inputs[], unsigned inputs_length, const T expected[], unsigned expected_length) argument
495 Test3Op(const char * name, Test3OpFPHelper_t helper, const T inputs[], unsigned inputs_length, const T expected[], unsigned expected_length) argument
622 TestCmp(const char * name, TestFPCmpHelper_t helper, const T inputs[], unsigned inputs_length, const uint8_t expected[], unsigned expected_length) argument
741 TestCmpZero(const char * name, TestFPCmpZeroHelper_t helper, const T inputs[], unsigned inputs_length, const uint8_t expected[], unsigned expected_length) argument
907 TestFPToS(const char * name, TestFPToIntHelper_t helper, const Tn inputs[], unsigned inputs_length, const Td expected[], unsigned expected_length) argument
984 TestFPToU(const char * name, TestFPToIntHelper_t helper, const Tn inputs[], unsigned inputs_length, const Td expected[], unsigned expected_length) argument
1044 TestFPToFixedS(const char * name, TestFPToFixedHelper_t helper, const Tn inputs[], unsigned inputs_length, const Td expected[], unsigned expected_length) argument
1124 TestFPToFixedU(const char * name, TestFPToFixedHelper_t helper, const Tn inputs[], unsigned inputs_length, const Td expected[], unsigned expected_length) argument
1267 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) argument
1460 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) argument
1687 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) argument
1918 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) argument
2133 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) argument
2340 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) argument
[all...]
/external/v8/test/unittests/wasm/
H A Ddecoder-unittest.cc22 #define CHECK_UINT32V_INLINE(expected, expected_length, ...) \
29 EXPECT_EQ(expected_length, length); \
32 #define CHECK_INT32V_INLINE(expected, expected_length, ...) \
39 EXPECT_EQ(expected_length, length); \
42 #define CHECK_UINT64V_INLINE(expected, expected_length, ...) \
49 EXPECT_EQ(expected_length, length); \
52 #define CHECK_INT64V_INLINE(expected, expected_length, ...) \
59 EXPECT_EQ(expected_length, length); \
/external/dbus/bus/
H A Dsignals.c1858 int expected_length; local
1862 expected_length = rule->arg_lens[i] & ~BUS_MATCH_ARG_FLAGS;
1885 if (actual_length < expected_length &&
1889 if (expected_length < actual_length &&
1890 expected_arg[expected_length - 1] != '/')
1894 MIN (actual_length, expected_length)) != 0)
1899 if (expected_length > actual_length)
1905 if (memcmp (expected_arg, actual_arg, expected_length) != 0)
1908 if (expected_length < actual_length)
1918 if (actual_arg[expected_length] !
[all...]
/external/v8/src/parsing/
H A Dscanner.cc66 uc32 Scanner::ScanHexNumber(int expected_length) { argument
67 DCHECK(expected_length <= 4); // prevent overflow
71 for (int i = 0; i < expected_length; i++) {
74 ReportScannerError(Location(begin, begin + expected_length + 2),
H A Dscanner.h694 uc32 ScanHexNumber(int expected_length);
/external/webrtc/webrtc/modules/rtp_rtcp/source/
H A Drtp_format_vp9_unittest.cc78 size_t expected_length) {
81 ASSERT_TRUE(depacketizer->Parse(&parsed, packet, expected_length));
84 const size_t kExpectedPayloadLength = expected_length - expected_hdr_length;
75 ParseAndCheckPacket(const uint8_t* packet, const RTPVideoHeaderVP9& expected, size_t expected_hdr_length, size_t expected_length) argument
/external/v8/src/wasm/
H A Dmodule-decoder.cc400 size_t expected_length = static_cast<size_t>(section_length);
405 expected_length);
/external/webrtc/webrtc/p2p/base/
H A Dstun_unittest.cc27 size_t expected_length) {
29 ASSERT_EQ(expected_length, msg.length());
26 CheckStunHeader(const StunMessage& msg, StunMessageType expected_type, size_t expected_length) argument

Completed in 533 milliseconds