Searched refs:expected1 (Results 1 - 25 of 33) sorted by relevance

12

/external/chromium_org/crypto/
H A Dopenssl_bio_string_unittest.cc16 const std::string expected1("a one\nb 2\n");
23 EXPECT_EQ(static_cast<int>(expected1.size()),
25 EXPECT_EQ(expected1, s);
28 EXPECT_EQ(expected1, s);
32 EXPECT_EQ(expected1 + expected2, s);
36 EXPECT_EQ(expected1 + expected2 + expected3, s);
38 EXPECT_EQ(expected1 + expected2 + expected3, s);
43 const std::string expected1("a b c\n");
49 EXPECT_EQ(static_cast<int>(expected1.size()),
50 BIO_write(bio.get(), expected1
[all...]
H A Dsha2_unittest.cc13 int expected1[] = { 0xba, 0x78, 0x16, 0xbf, local
25 EXPECT_EQ(expected1[i], static_cast<int>(output1[i]));
31 EXPECT_EQ(expected1[i], static_cast<int>(output_truncated1[i]));
38 int expected1[] = { 0xba, 0x78, 0x16, 0xbf, local
50 EXPECT_EQ(expected1[i], static_cast<uint8>(output1[i]));
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/
H A DBasicVerifier.java190 Value expected1;
194 expected1 = newValue(Type.getType("[I"));
199 expected1 = newValue(Type.getType("[Z"));
201 expected1 = newValue(Type.getType("[B"));
206 expected1 = newValue(Type.getType("[C"));
210 expected1 = newValue(Type.getType("[S"));
214 expected1 = newValue(Type.getType("[J"));
218 expected1 = newValue(Type.getType("[F"));
222 expected1 = newValue(Type.getType("[D"));
226 expected1
[all...]
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
H A Dimage_writer_private_apitest.cc34 RemovableStorageDevice* expected1 = new RemovableStorageDevice(); variable
35 expected1->vendor = "Vendor 1";
36 expected1->model = "Model 1";
37 expected1->capacity = image_writer::kTestFileSize;
38 expected1->removable = true;
40 expected1->storage_unit_id = test_utils_.GetDevicePath().AsUTF8Unsafe();
42 expected1->storage_unit_id = test_utils_.GetDevicePath().value();
56 linked_ptr<RemovableStorageDevice> device1(expected1);
/external/deqp/modules/gles2/functional/
H A Des2fApiCase.cpp76 void ApiCase::expectError (deUint32 expected0, deUint32 expected1) argument
79 if (err != expected0 && err != expected1)
81 m_log << tcu::TestLog::Message << "// ERROR: expected " << glu::getErrorStr(expected0) << " or " << glu::getErrorStr(expected1) << tcu::TestLog::EndMessage;
/external/deqp/modules/gles3/functional/
H A Des3fApiCase.cpp78 void ApiCase::expectError (deUint32 expected0, deUint32 expected1) argument
81 if (err != expected0 && err != expected1)
83 m_log << TestLog::Message << "// ERROR: expected " << glu::getErrorStr(expected0) << " or " << glu::getErrorStr(expected1) << TestLog::EndMessage;
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
H A Docclusion-query.c13 static int expected1 = (int) ((300 * 0.9) * (300 * 0.9)); variable
153 int expected1_min = (int) (expected1 * 0.95);
154 int expected1_max = (int) (expected1 * 1.05);
192 printf(" Failure: result1 should be near %d\n", expected1);
/external/mesa3d/src/gallium/tests/graw/
H A Docclusion-query.c13 static int expected1 = (int) ((300 * 0.9) * (300 * 0.9)); variable
153 int expected1_min = (int) (expected1 * 0.95);
154 int expected1_max = (int) (expected1 * 1.05);
192 printf(" Failure: result1 should be near %d\n", expected1);
/external/chromium_org/net/websockets/
H A Dwebsocket_frame_parser_test.cc182 std::vector<char> expected1(kHello, kHello + cutting_pos);
198 if (expected1.size() == 0) {
203 std::equal(expected1.begin(), expected1.end(), frame1->data->data()));
249 std::vector<char> expected1(kHello, kHello + cutting_pos);
265 if (expected1.size() == 0) {
268 ASSERT_EQ(expected1.size(), static_cast<uint64>(frame1->data->size()));
270 std::equal(expected1.begin(), expected1.end(), frame1->data->data()));
/external/chromium_org/ppapi/proxy/
H A Dfile_chooser_resource_unittest.cc45 const char* expected1,
51 const char* expected[kCount] = { expected1, expected2 };
44 CheckParseAcceptType(const std::string& input, const char* expected1, const char* expected2) argument
/external/chromium_org/tools/deep_memory_profiler/tests/
H A Drange_dict_tests.py88 expected1 = [
93 self.assertEqual(expected1, result1)
/external/chromium_org/tools/gn/
H A Dfunction_get_target_outputs_unittest.cc43 const std::string& expected1,
48 ASSERT_EQ(expected1, list.list_value()[0].string_value());
42 AssertTwoStringsEqual(const Value& list, const std::string& expected1, const std::string& expected2) argument
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/parse/
H A Dparser_unittest.py690 expected1 = ast.Mojom(
702 self.assertEquals(parser.Parse(source1, "my_file.mojom"), expected1)
856 expected1 = ast.Mojom(
860 self.assertEquals(parser.Parse(source1, "my_file.mojom"), expected1)
921 expected1 = ast.Mojom(
925 self.assertEquals(parser.Parse(source1, "my_file.mojom"), expected1)
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dncnvtst.c960 UChar expected1[] = { 0x0031, 0x4e8c, 0xfffd, 0x0061}; local
964 expected1, sizeof(expected1)/sizeof(expected1[0]),"utf8", UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1,FALSE))
1527 static const uint8_t expected1[] = {0xa2, 0xae,0xA2,0xB4,0xA1,0xD7,0xA1,0xA7}; local
1538 if(!testConvertToU(expected1, sizeof(expected1),
1550 if(!testConvertToU(expected1, sizeof(expected1),
1569 static const uint8_t expected1[] local
1609 static const uint8_t expected1[] = { local
1654 static const uint8_t expected1[] = {0x1B, 0x24, 0x29, 0x43, local
1700 static const uint8_t expected1[] = {0x7E, 0x7B, 0x52, 0x3B, local
[all...]
H A Dnccbtst.c909 UChar expected1[] = { 0x0031, 0x4e8c, 0x0061}; local
913 expected1, sizeof(expected1)/sizeof(expected1[0]),"utf8",
921 UChar expected1[] = { 0x00ba, 0x008c, 0x00f8, 0x0061,0xfffe,0xfffe}; local
925 expected1, sizeof(expected1)/sizeof(expected1[0]),"SCSU",
1325 static const UChar expected1[] = { 0x0031, 0x4e8c,}; local
1329 expected1, sizeo
1336 static const UChar expected1[] = { 0x00ba, 0x008c, 0x00f8, 0x0061}; local
1615 UChar expected1[] = { 0x0031, 0x4e8c, 0xfffd, 0x0061}; local
1626 UChar expected1[] = { 0x00ba, 0x008c, 0x00f8, 0x0061,0xfffd,0xfffd}; local
[all...]
/external/chromium_org/third_party/skia/tests/
H A DWArrayTest.cpp18 static const char* expected1 = "0[-1 0 -3 4 5 6 7 0 0 0 8]"; variable
177 TestWData(reporter, data1, SK_ARRAY_COUNT(data1), NULL, 0, expected1);
/external/skia/tests/
H A DWArrayTest.cpp18 static const char* expected1 = "0[-1 0 -3 4 5 6 7 0 0 0 8]"; variable
177 TestWData(reporter, data1, SK_ARRAY_COUNT(data1), NULL, 0, expected1);
/external/icu/icu4c/source/test/cintltst/
H A Dncnvtst.c978 UChar expected1[] = { 0x0031, 0x4e8c, 0xfffd, 0x0061}; local
982 expected1, sizeof(expected1)/sizeof(expected1[0]),"utf8", UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1,FALSE))
1545 static const uint8_t expected1[] = {0xa2, 0xae,0xA2,0xB4,0xA1,0xD7,0xA1,0xA7}; local
1556 if(!testConvertToU(expected1, sizeof(expected1),
1568 if(!testConvertToU(expected1, sizeof(expected1),
1587 static const uint8_t expected1[] local
1678 static const uint8_t expected1[] = {0x1B, 0x24, 0x29, 0x43, local
1724 static const uint8_t expected1[] = {0x7E, 0x7B, 0x52, 0x3B, local
[all...]
H A Dnccbtst.c913 UChar expected1[] = { 0x0031, 0x4e8c, 0x0061}; local
917 expected1, sizeof(expected1)/sizeof(expected1[0]),"utf8",
925 UChar expected1[] = { 0x00ba, 0x008c, 0x00f8, 0x0061,0xfffe,0xfffe}; local
929 expected1, sizeof(expected1)/sizeof(expected1[0]),"SCSU",
1329 static const UChar expected1[] = { 0x0031, 0x4e8c,}; local
1333 expected1, sizeo
1340 static const UChar expected1[] = { 0x00ba, 0x008c, 0x00f8, 0x0061}; local
1619 UChar expected1[] = { 0x0031, 0x4e8c, 0xfffd, 0x0061}; local
1630 UChar expected1[] = { 0x00ba, 0x008c, 0x00f8, 0x0061,0xfffd,0xfffd}; local
[all...]
/external/chromium_org/chrome/browser/extensions/api/storage/
H A Dsettings_sync_unittest.cc396 base::DictionaryValue expected1, expected2; local
412 expected1.Set("foo", value1.DeepCopy());
421 EXPECT_PRED_FORMAT2(SettingsEq, expected1, storage1->Get());
437 base::DictionaryValue expected1, expected2; local
444 expected1.Set("foo", value1.DeepCopy());
464 expected1.Set("bar", value2.DeepCopy());
467 EXPECT_PRED_FORMAT2(SettingsEq, expected1, storage1->Get());
478 expected1.Set("bar", value2.DeepCopy());
481 EXPECT_PRED_FORMAT2(SettingsEq, expected1, storage1->Get());
492 expected1
[all...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DDigestOutputStreamTest.java543 byte expected1[] = { -87, 121, -17, 16, -52, 111, 106, 54, -33,
547 java.util.Arrays.equals(digestResult, expected1));
/external/chromium_org/chrome/browser/extensions/api/web_request/
H A Dweb_request_api_unittest.cc2001 std::multimap<std::string, std::string> expected1; local
2002 expected1.insert(std::pair<std::string, std::string>("Key2", "Value3"));
2010 EXPECT_EQ(expected1, actual1);
2040 EXPECT_EQ(expected1, actual2);
2081 std::multimap<std::string, std::string> expected1; local
2082 expected1.insert(std::pair<std::string, std::string>("Key1", "Value1"));
2083 expected1.insert(std::pair<std::string, std::string>("Key1", "Value3"));
2084 expected1.insert(std::pair<std::string, std::string>("Key2", "Value4"));
2092 EXPECT_EQ(expected1, actual1);
/external/chromium_org/chrome/browser/spellchecker/
H A Dspellcheck_custom_dictionary_unittest.cc202 WordSet expected1; local
207 expected1.insert("foo");
208 expected1.insert("bar");
216 EXPECT_EQ(actual1, expected1);
/external/deqp/modules/gles31/functional/
H A Des31fShaderAtomicOpTests.cpp756 const deUint32 expected1 = randomValue ^ ~0u;
766 const deUint32 expected = (numXorZeros%2 == 0) ? expected0 : expected1;
771 << " or " << tcu::toHex(expected1) << " (compare mask " << tcu::toHex(compareMask)
783 (outputValue&compareMask) != (expected1&compareMask))
/external/chromium_org/chrome/browser/autocomplete/
H A Dhistory_url_provider_unittest.cc724 const UrlAndLegalDefault expected1[] = { local
729 false, expected1, arraysize(expected1))); local

Completed in 689 milliseconds

12