Home
last modified time | relevance | path

Searched refs:expected2 (Results 1 – 22 of 22) sorted by relevance

/external/libchrome/crypto/
Dopenssl_bio_string_unittest.cc17 const std::string expected2("c d e f"); in TEST() local
30 EXPECT_EQ(static_cast<int>(expected2.size()), in TEST()
31 BIO_write(bio.get(), expected2.data(), expected2.size())); in TEST()
32 EXPECT_EQ(expected1 + expected2, s); in TEST()
36 EXPECT_EQ(expected1 + expected2 + expected3, s); in TEST()
38 EXPECT_EQ(expected1 + expected2 + expected3, s); in TEST()
44 const std::string expected2("d e f g\n"); in TEST() local
56 EXPECT_EQ(static_cast<int>(expected2.size()), in TEST()
57 BIO_write(bio.get(), expected2.data(), expected2.size())); in TEST()
58 EXPECT_EQ(expected2, s); in TEST()
[all …]
Dsha2_unittest.cc59 int expected2[] = { 0x24, 0x8d, 0x6a, 0x61, in TEST() local
71 EXPECT_EQ(expected2[i], static_cast<int>(output2[i])); in TEST()
77 EXPECT_EQ(expected2[i], static_cast<int>(output_truncated2[i])); in TEST()
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/
DBasicVerifier.java191 Value expected2; in binaryOperation() local
195 expected2 = BasicValue.INT_VALUE; in binaryOperation()
203 expected2 = BasicValue.INT_VALUE; in binaryOperation()
207 expected2 = BasicValue.INT_VALUE; in binaryOperation()
211 expected2 = BasicValue.INT_VALUE; in binaryOperation()
215 expected2 = BasicValue.INT_VALUE; in binaryOperation()
219 expected2 = BasicValue.INT_VALUE; in binaryOperation()
223 expected2 = BasicValue.INT_VALUE; in binaryOperation()
227 expected2 = BasicValue.INT_VALUE; in binaryOperation()
247 expected2 = BasicValue.INT_VALUE; in binaryOperation()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dncnvtst.c345 static const uint8_t expected2[] = { 0x31, 0x1a, 0x32}; in TestErrorBehaviour() local
356 expected2, sizeof(expected2), "ibm-920", 0, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
369 expected2, sizeof(expected2), "LATIN_1", 0, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
383 static const uint8_t expected2[] = { 0xa2, 0xae, 0xa1, 0xe0, 0xa2, 0xb4}; in TestErrorBehaviour() local
411 expected2, sizeof(expected2), "ibm-1363", 0, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
414 expected2, sizeof(expected2), "ibm-1363", offsets2, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
426 expected2, sizeof(expected2), "ibm-1363", 0, TRUE, U_ZERO_ERROR)) in TestErrorBehaviour()
429 expected2, sizeof(expected2), "ibm-1363", 0, FALSE, U_ZERO_ERROR)) in TestErrorBehaviour()
432 expected2, sizeof(expected2), "ibm-1363", offsets2, FALSE, U_ZERO_ERROR)) in TestErrorBehaviour()
459 static const uint8_t expected2[] = { 0x31,0x1A,0x32}; in TestErrorBehaviour() local
[all …]
/external/v8/test/mjsunit/
Dsparse-array-reverse.js104 var expected2 = ''; variable
111 expected2 += letter;
115 expected2 += letter;
121 assertEquals(expected + expected2, a.join(''), 'join' + size);
/external/libweave/src/states/
Dstate_change_queue_unittest.cc81 const std::string expected2 = "{'prop': {'name1': 4}}"; in TEST_F() local
85 EXPECT_JSON_EQ(expected2, *changes[1].changed_properties); in TEST_F()
114 const std::string expected2 = "{'prop': {'name10': 10, 'name11': 11}}"; in TEST_F() local
116 EXPECT_JSON_EQ(expected2, *changes[1].changed_properties); in TEST_F()
/external/mesa3d/src/gallium/tests/graw/
Docclusion-query.c14 static int expected2 = 420; variable
155 int expected2_min = (int) (expected2 * 0.95); in draw()
156 int expected2_max = (int) (expected2 * 1.05); in draw()
194 printf(" Failure: result2 should be near %d\n", expected2); in draw()
/external/libweave/third_party/chromium/crypto/
Dsha2_unittest.cc58 int expected2[] = { 0x24, 0x8d, 0x6a, 0x61, in TEST() local
70 EXPECT_EQ(expected2[i], static_cast<int>(output2[i])); in TEST()
76 EXPECT_EQ(expected2[i], static_cast<int>(output_truncated2[i])); in TEST()
/external/guava/guava-tests/test/com/google/common/hash/
DMurmur3Hash128Test.java51 private static void assertHash(int seed, long expected1, long expected2, String stringInput) { in assertHash() argument
52 HashCode expected = toHashCode(expected1, expected2); in assertHash()
DHashTestUtils.java454 HashCode expected2 = randomHash(hashFunction, new Random(2L), numActions); in assertIndependentHashers() local
467 Assert.assertEquals(expected2, hasher2.hash()); in assertIndependentHashers()
/external/skia/tests/
DWArrayTest.cpp23 static const char* expected2 = "3 9 100"; variable
176 TestWData(reporter, data2, SK_ARRAY_COUNT(data2), nullptr, 0, expected2); in DEF_TEST()
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dcv_util_unittest.py86 expected2 = ((5 + off, 5 + off, 5 - off, 5 - off))
87 self.assertAlmostEqual(np.sum(np.abs(np.subtract(lines[2], expected2))),
Dscreen_finder_unittest.py282 expected2 = [(2, 1), (0, 1), (0, 2), (2, 2)]
284 np.testing.assert_equal(ret2, expected2)
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DICUDurationTest.java226 String expected2; in TestSimpleXMLDuration() local
263 expected2 = "1 day and 0 seconds"; // This is the expected result for Windows with IBM JRE6 in TestSimpleXMLDuration()
268 if(out.equals(expected2)){ in TestSimpleXMLDuration()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DICUDurationTest.java222 String expected2; in TestSimpleXMLDuration() local
259 expected2 = "1 day and 0 seconds"; // This is the expected result for Windows with IBM JRE6 in TestSimpleXMLDuration()
264 if(out.equals(expected2)){ in TestSimpleXMLDuration()
/external/v8/test/mjsunit/harmony/
Dproxies-json.js97 var expected2 = '{"a":"delete","b":{"a":"A","b":"B","c":"C"}}'; variable
98 assertEquals(expected2, JSON.stringify(parent2));
100 assertEquals(expected2, JSON.stringify(parent2, undefined, 0));
/external/guava/guava-tests/test/com/google/common/base/
DToStringHelperTest.java274 final String expected2 = "TestClass{field1=1, value1, field2=value2, 2}"; in testToString_ToStringTwice() local
276 assertEquals(expected2, helper.toString()); in testToString_ToStringTwice()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DStringTokenizerTest.java172 String expected2[] = {str}; in TestSupplementary() local
174 if (!tokenizer.nextElement().equals(expected2[0])) { in TestSupplementary()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DStringTokenizerTest.java176 String expected2[] = {str}; in TestSupplementary() local
178 if (!tokenizer.nextElement().equals(expected2[0])) { in TestSupplementary()
/external/v8/test/cctest/compiler/
Dtest-representation-change.cc423 static void CheckTwoChanges(IrOpcode::Value expected2, in CheckTwoChanges() argument
436 CHECK_EQ(expected2, c2->opcode()); in CheckTwoChanges()
/external/google-breakpad/src/common/
Dbyte_cursor_unittest.cc710 uint8_t expected2[3] = { 0xa6, 0x2e, 0x2c }; in TEST() local
713 EXPECT_TRUE(memcmp(received2, expected2, 3) == 0); in TEST()
/external/v8/test/cctest/
Dtest-api.cc3934 Local<v8::Object> expected2 = NewObjectForIntKey(isolate, templ, 8); in TestGlobalValueMap() local
3935 removed = map.Set(8, v8::Global<v8::Object>(isolate, expected2), &ref); in TestGlobalValueMap()
3938 CHECK(expected2->Equals(env.local(), ref.NewLocal(isolate)).FromJust()); in TestGlobalValueMap()