Home
last modified time | relevance | path

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

12

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/
Dares-test-parse-txt.cc12 std::string expected1 = "txt1.example.com"; in TEST_F() local
17 .add_answer(new DNSTxtRR("example.com", 100, {expected1})) in TEST_F()
24 EXPECT_EQ(std::vector<byte>(expected1.data(), expected1.data() + expected1.size()), in TEST_F()
43 std::string expected1 = "txt1.example.com"; in TEST_F() local
48 .add_answer(new DNSTxtRR("example.com", 100, {expected1})) in TEST_F()
55 EXPECT_EQ(std::vector<byte>(expected1.data(), expected1.data() + expected1.size()), in TEST_F()
189 std::string expected1 = "txt1.example.com"; in TEST_F() local
194 .add_answer(new DNSTxtRR("example.com", 100, {expected1})) in TEST_F()
195 .add_answer(new DNSTxtRR("example.com", 100, {expected1})) in TEST_F()
233 pkt.add_answer(new DNSTxtRR("example.com", 100, {expected1})); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Didentity_n_op_test.cc49 Tensor expected1(allocator(), DT_DOUBLE, TensorShape({6})); in TEST_F() local
50 test::FillValues<double>(&expected1, {7.3, 8.3, 9.3, 10.3, 11.3, 12.3}); in TEST_F()
51 test::ExpectTensorEqual<double>(expected1, *GetOutput(1)); in TEST_F()
74 Tensor expected1(allocator(), DT_INT32, TensorShape({8})); in TEST_F() local
75 test::FillValues<int32>(&expected1, {1, 3, 5, 7, 9, 11, 13, 15}); in TEST_F()
76 test::ExpectTensorEqual<int32>(expected1, *GetOutput(1)); in TEST_F()
/external/libchrome/crypto/
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/pigweed/pw_hex_dump/
Dhex_dump_test.cc211 constexpr const char* expected1 = "a4 cc 32 62 9b 46 38 1a"; in TEST_F() local
220 EXPECT_STREQ(expected1, dest_.data()); in TEST_F()
227 constexpr const char* expected1 = "6d 79 20 74 65 73 74 20 my test "; in TEST_F() local
237 EXPECT_STREQ(expected1, dest_.data()); in TEST_F()
245 constexpr const char* expected1 = "6d792074 65737420 my test "; in TEST_F() local
260 EXPECT_STREQ(expected1, dest_.data()); in TEST_F()
268 constexpr const char* expected1 = "6d 79 20 74 65 73 74 20 my test "; in TEST_F() local
283 EXPECT_STREQ(expected1, dest_.data()); in TEST_F()
290 constexpr const char* expected1 = "0000"; in TEST_F() local
301 dest_[strlen(expected1)] = '\0'; in TEST_F()
[all …]
/external/libchrome/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/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/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()
/external/mesa3d/src/gallium/tests/graw/
Docclusion-query.c14 static int expected1 = (int) ((300 * 0.9) * (300 * 0.9)); variable
154 int expected1_min = (int) (expected1 * 0.95); in draw()
155 int expected1_max = (int) (expected1 * 1.05); in draw()
194 printf(" Failure: result1 should be near %d\n", expected1); in draw()
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_segment_ids_to_row_splits_op_test.py62 expected1 = [0, 3, 3, 5, 6, 9]
66 self.assertAllEqual(splits1, expected1)
Dragged_segment_op_test.py160 expected1 = [[[111, 112, 113, 114], [121]], # row 0
164 self.assertAllEqual(segmented1, expected1)
/external/libchrome/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)
1096 expected1 = ast.Mojom(
1100 self.assertEquals(parser.Parse(source1, "my_file.mojom"), expected1)
1434 expected1 = ast.Mojom(
1446 self.assertEquals(parser.Parse(source1, "my_file.mojom"), expected1)
/external/guava/guava-tests/test/com/google/common/hash/
DMurmur3Hash128Test.java47 private static void assertHash(int seed, long expected1, long expected2, String stringInput) { in assertHash() argument
48 HashCode expected = toHashCode(expected1, expected2); in assertHash()
/external/guava/android/guava-tests/test/com/google/common/hash/
DMurmur3Hash128Test.java47 private static void assertHash(int seed, long expected1, long expected2, String stringInput) { in assertHash() argument
48 HashCode expected = toHashCode(expected1, expected2); in assertHash()
/external/tensorflow/tensorflow/core/common_runtime/
Disolate_placer_inspection_required_ops_pass_test.cc282 GraphDef expected1 = GDef( in TEST() local
318 RunPassAndCompare(original, {expected1, expected2}); in TEST()
349 GraphDef expected1 = GDef( in TEST() local
384 RunPassAndCompare(original, {expected1, expected2}); in TEST()
/external/icu/icu4c/source/test/cintltst/
Dncnvtst.c978 UChar expected1[] = { 0x0031, 0x4e8c, 0xfffd, 0xfffd, 0x0061}; in TestWithBufferSize() local
982expected1, UPRV_LENGTHOF(expected1),"utf8", UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1,FALSE)) in TestWithBufferSize()
1545 static const uint8_t expected1[] = {0xa2, 0xae,0xA2,0xB4,0xA1,0xD7,0xA1,0xA7}; in TestResetBehaviour() local
1556 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1568 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1587 static const uint8_t expected1[] = {0x1b, 0x24, 0x42,0x30,0x6c,0x43,0x7a,0x1b,0x28,0x42, in TestResetBehaviour() local
1599 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1678 static const uint8_t expected1[] = {0x1B, 0x24, 0x29, 0x43, in TestResetBehaviour() local
1698 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1724 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, 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.java76 String expected1[] = {"this", "\t", "is", "\n", "a", "\r", "string", "\f", in TestConstructors() local
81 for (int i = 0; i < expected1.length; i ++) { in TestConstructors()
82 if (!(stdelimiterreturn.nextElement().equals(expected1[i]) in TestConstructors()
83 && stdelimitersetreturn.nextElement().equals(expected1[i]))) { in TestConstructors()
166 String expected1[] = {"bmp string ", in TestSupplementary() local
171 if (!tokenizer.nextElement().equals(expected1[i ++])) { in TestSupplementary()
462 String expected1[] = {"abc", "def1ghi", "jkl3mno", "pqr", "stu1vwx", in TestNextNewDelimiters() local
464 for (int i = 0; i < expected1.length; i ++) { in TestNextNewDelimiters()
466 expected1[i])) { in TestNextNewDelimiters()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DStringTokenizerTest.java79 String expected1[] = {"this", "\t", "is", "\n", "a", "\r", "string", "\f", in TestConstructors() local
84 for (int i = 0; i < expected1.length; i ++) { in TestConstructors()
85 if (!(stdelimiterreturn.nextElement().equals(expected1[i]) in TestConstructors()
86 && stdelimitersetreturn.nextElement().equals(expected1[i]))) { in TestConstructors()
169 String expected1[] = {"bmp string ", in TestSupplementary() local
174 if (!tokenizer.nextElement().equals(expected1[i ++])) { in TestSupplementary()
465 String expected1[] = {"abc", "def1ghi", "jkl3mno", "pqr", "stu1vwx", in TestNextNewDelimiters() local
467 for (int i = 0; i < expected1.length; i ++) { in TestNextNewDelimiters()
469 expected1[i])) { in TestNextNewDelimiters()
/external/python/setuptools/pkg_resources/tests/
Dtest_working_set.py76 expected1, expected2
85 (name, False, expected1),
/external/deqp/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/compute/signed_op/
Duint_umulextended.amber85 BUFFER expected1 DATA_TYPE int32 DATA
100 EXPECT data3 EQ_BUFFER expected1
Duint_smulextended.amber87 BUFFER expected1 DATA_TYPE int32 DATA
102 EXPECT data3 EQ_BUFFER expected1
/external/libwebsockets/minimal-examples/api-tests/api-test-lws_tokenize/
Dmain.c33 struct expected expected1[] = { variable
182 expected1, LWS_ARRAY_SIZE(expected1),
/external/icu/icu4c/source/test/intltest/
Dtsdcfmsy.cpp354 const char16_t* expected1; // Expected number format string in testNumberingSystem() member
378 UnicodeString expected1(cas.expected1); in testNumberingSystem() local
384 Verify(1234.56, "#,##0.##", dfs, expected1); in testNumberingSystem()
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/gpu/
DGpuDelegateTest.java66 float[] expected1 = {6.09f}; in testInterpreterWithGpu_FloatModel() local
68 assertThat(parsedOutput1).usingTolerance(0.1f).containsExactly(expected1).inOrder(); in testInterpreterWithGpu_FloatModel()
/external/s2-geometry-library-java/tests/com/google/common/geometry/
DS2Test.java144 double expected1 = 0.5 * eps * eps; in testAngleArea() local
145 assertDoubleNear(S2.area(pepsx, pepsy, pz), expected1, 1e-14 * expected1); in testAngleArea() local

12