Home
last modified time | relevance | path

Searched refs:expected1 (Results 1 – 17 of 17) sorted by relevance

/external/libchrome/crypto/
Dopenssl_bio_string_unittest.cc16 const std::string expected1("a one\nb 2\n"); in TEST() local
23 EXPECT_EQ(static_cast<int>(expected1.size()), in TEST()
25 EXPECT_EQ(expected1, s); in TEST()
28 EXPECT_EQ(expected1, s); 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()
43 const std::string expected1("a b c\n"); in TEST() local
49 EXPECT_EQ(static_cast<int>(expected1.size()), in TEST()
50 BIO_write(bio.get(), expected1.data(), expected1.size())); in TEST()
[all …]
Dsha2_unittest.cc15 int expected1[] = { 0xba, 0x78, 0x16, 0xbf, in TEST() local
27 EXPECT_EQ(expected1[i], static_cast<int>(output1[i])); in TEST()
33 EXPECT_EQ(expected1[i], static_cast<int>(output_truncated1[i])); in TEST()
40 int expected1[] = { 0xba, 0x78, 0x16, 0xbf, in TEST() local
52 EXPECT_EQ(expected1[i], static_cast<uint8_t>(output1[i])); in TEST()
/external/libmojo/base/android/
Dpath_utils_unittest.cc18 void ExpectEither(const std::string& expected1, in ExpectEither() argument
21 EXPECT_TRUE(expected1 == actual || expected2 == actual) in ExpectEither()
23 << "Expected either: " << expected1 << std::endl in ExpectEither()
/external/mesa3d/src/gallium/tests/graw/
Docclusion-query.c13 static int expected1 = (int) ((300 * 0.9) * (300 * 0.9)); variable
153 int expected1_min = (int) (expected1 * 0.95); in draw()
154 int expected1_max = (int) (expected1 * 1.05); in draw()
192 printf(" Failure: result1 should be near %d\n", expected1); in draw()
/external/deqp/modules/gles3/functional/
Des3fApiCase.cpp78 void ApiCase::expectError (deUint32 expected0, deUint32 expected1) in expectError() argument
81 if (err != expected0 && err != expected1) in expectError()
83 …expected " << glu::getErrorStr(expected0) << " or " << glu::getErrorStr(expected1) << TestLog::End… in expectError()
Des3fFboStateQueryTests.cpp132 void checkIntEqualsAny (tcu::TestContext& testCtx, GLint got, GLint expected0, GLint expected1) in checkIntEqualsAny() argument
136 if (got != expected0 && got != expected1) in checkIntEqualsAny()
138 …testCtx.getLog() << TestLog::Message << "// ERROR: Expected " << expected0 << " or " << expected1 in checkIntEqualsAny()
/external/deqp/modules/gles2/functional/
Des2fApiCase.cpp76 void ApiCase::expectError (deUint32 expected0, deUint32 expected1) in expectError() argument
79 if (err != expected0 && err != expected1) in expectError()
81 …expected " << glu::getErrorStr(expected0) << " or " << glu::getErrorStr(expected1) << tcu::TestLog… in expectError()
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/parse/
Dparser_unittest.py742 expected1 = ast.Mojom(
750 self.assertEquals(parser.Parse(source1, "my_file.mojom"), expected1)
785 expected1 = ast.Mojom(
798 self.assertEquals(parser.Parse(source1, "my_file.mojom"), expected1)
960 expected1 = ast.Mojom(
964 self.assertEquals(parser.Parse(source1, "my_file.mojom"), expected1)
1086 expected1 = ast.Mojom(
1090 self.assertEquals(parser.Parse(source1, "my_file.mojom"), expected1)
1424 expected1 = ast.Mojom(
1436 self.assertEquals(parser.Parse(source1, "my_file.mojom"), expected1)
/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.java453 HashCode expected1 = randomHash(hashFunction, new Random(1L), numActions); in assertIndependentHashers() local
466 Assert.assertEquals(expected1, hasher1.hash()); in assertIndependentHashers()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DStringTokenizerTest.java74 String expected1[] = {"this", "\t", "is", "\n", "a", "\r", "string", "\f", in TestConstructors() local
79 for (int i = 0; i < expected1.length; i ++) { in TestConstructors()
80 if (!(stdelimiterreturn.nextElement().equals(expected1[i]) in TestConstructors()
81 && stdelimitersetreturn.nextElement().equals(expected1[i]))) { in TestConstructors()
164 String expected1[] = {"bmp string ", in TestSupplementary() local
169 if (!tokenizer.nextElement().equals(expected1[i ++])) { in TestSupplementary()
460 String expected1[] = {"abc", "def1ghi", "jkl3mno", "pqr", "stu1vwx", in TestNextNewDelimiters() local
462 for (int i = 0; i < expected1.length; i ++) { in TestNextNewDelimiters()
464 expected1[i])) { in TestNextNewDelimiters()
/external/icu/icu4c/source/test/cintltst/
Dncnvtst.c976 UChar expected1[] = { 0x0031, 0x4e8c, 0xfffd, 0x0061}; in TestWithBufferSize() local
980expected1, UPRV_LENGTHOF(expected1),"utf8", UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1,FALSE)) in TestWithBufferSize()
1543 static const uint8_t expected1[] = {0xa2, 0xae,0xA2,0xB4,0xA1,0xD7,0xA1,0xA7}; in TestResetBehaviour() local
1554 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1566 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1585 static const uint8_t expected1[] = {0x1b, 0x24, 0x42,0x30,0x6c,0x43,0x7a,0x1b,0x28,0x42, in TestResetBehaviour() local
1597 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1676 static const uint8_t expected1[] = {0x1B, 0x24, 0x29, 0x43, in TestResetBehaviour() local
1696 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1722 static const uint8_t expected1[] = {0x7E, 0x7B, 0x52, 0x3B, in TestResetBehaviour() local
[all …]
Dnccbtst.c915 UChar expected1[] = { 0x0031, 0x4e8c, 0x0061}; in TestSkip() local
919 expected1, UPRV_LENGTHOF(expected1),"utf8", in TestSkip()
927 UChar expected1[] = { 0x00ba, 0x008c, 0x00f8, 0x0061,0xfffe,0xfffe}; in TestSkip() local
931 expected1, UPRV_LENGTHOF(expected1),"SCSU", in TestSkip()
1331 static const UChar expected1[] = { 0x0031, 0x4e8c,}; in TestStop() local
1335 expected1, UPRV_LENGTHOF(expected1),"utf8", in TestStop()
1342 static const UChar expected1[] = { 0x00ba, 0x008c, 0x00f8, 0x0061}; in TestStop() local
1346 expected1, UPRV_LENGTHOF(expected1),"SCSU", in TestStop()
1621 UChar expected1[] = { 0x0031, 0x4e8c, 0xfffd, 0x0061}; in TestSub() local
1625 expected1, UPRV_LENGTHOF(expected1),"utf8", in TestSub()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DStringTokenizerTest.java73 String expected1[] = {"this", "\t", "is", "\n", "a", "\r", "string", "\f", in TestConstructors() local
78 for (int i = 0; i < expected1.length; i ++) { in TestConstructors()
79 if (!(stdelimiterreturn.nextElement().equals(expected1[i]) in TestConstructors()
80 && stdelimitersetreturn.nextElement().equals(expected1[i]))) { in TestConstructors()
163 String expected1[] = {"bmp string ", in TestSupplementary() local
168 if (!tokenizer.nextElement().equals(expected1[i ++])) { in TestSupplementary()
459 String expected1[] = {"abc", "def1ghi", "jkl3mno", "pqr", "stu1vwx", in TestNextNewDelimiters() local
461 for (int i = 0; i < expected1.length; i ++) { in TestNextNewDelimiters()
463 expected1[i])) { in TestNextNewDelimiters()
/external/deqp/modules/gles31/functional/
Des31fShaderAtomicOpTests.cpp762 const deUint32 expected1 = randomValue ^ ~0u; in verify() local
772 const deUint32 expected = (numXorZeros%2 == 0) ? expected0 : expected1; in verify()
777 << " or " << tcu::toHex(expected1) << " (compare mask " << tcu::toHex(compareMask) in verify()
789 (outputValue & compareMask) != (expected1&compareMask)) in verify()
/external/spirv-llvm/test/SPIRV/transcoding/
DAtomicCompareExchangeExplicit_cl20.ll47 …ange_strong_explicitPVU3AS4U7_AtomiciPiiiii(i32 addrspace(4)* %0, i32* %expected1, i32 %desired, i…
/external/google-breakpad/src/common/
Dbyte_cursor_unittest.cc709 uint8_t expected1[3] = { 0x5d, 0x31, 0x09 }; in TEST() local
712 EXPECT_TRUE(memcmp(received1, expected1, 3) == 0); in TEST()