/external/angle/src/tests/compiler_tests/ |
D | UnrollFlatten_test.cpp | 119 const char *expectations[] = {"fun(", "if", "fun2(", "for", "if", in TEST_F() local 121 expect(expectations, ArraySize(expectations)); in TEST_F() 158 const char *expectations[] = {"fun(", "texture2D(", "fun2(", "LOOP", "for", "if", in TEST_F() local 160 expect(expectations, ArraySize(expectations)); in TEST_F() 196 const char *expectations[] = { in TEST_F() local 199 expect(expectations, ArraySize(expectations)); in TEST_F() 226 const char *expectations[] = {"main(", "LOOP", "Lod0("}; in TEST_F() local 227 expect(expectations, ArraySize(expectations)); in TEST_F()
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | expectations_parser_unittest.py | 38 for i in range(len(parser.expectations)): 39 self.assertEqual(parser.expectations[i], expected_outcome[i]) 73 for i in range(len(parser.expectations)): 74 self.assertEqual(parser.expectations[i], expected_outcome[i]) 88 for i in range(len(parser.expectations)): 89 self.assertEqual(parser.expectations[i], expected_outcome[i]) 98 for i in range(len(parser.expectations)): 99 self.assertEqual(parser.expectations[i], expected_outcome[i]) 108 for i in range(len(parser.expectations)): 109 self.assertEqual(parser.expectations[i], expected_outcome[i]) [all …]
|
/external/skia/tests/ |
D | YUVTest.cpp | 94 SkYUVAInfo expectations = setExpectations({128, 128}, SkYUVAInfo::Subsampling::k420); in DEF_TEST() local 95 codec_yuv(r, "images/color_wheel.jpg", &expectations); in DEF_TEST() 98 expectations = setExpectations({512, 512}, SkYUVAInfo::Subsampling::k420); in DEF_TEST() 99 codec_yuv(r, "images/mandrill_512_q075.jpg", &expectations); in DEF_TEST() 102 expectations = setExpectations({512, 512}, SkYUVAInfo::Subsampling::k444); in DEF_TEST() 103 codec_yuv(r, "images/mandrill_h1v1.jpg", &expectations); in DEF_TEST() 106 expectations = setExpectations({512, 512}, SkYUVAInfo::Subsampling::k422); in DEF_TEST() 107 codec_yuv(r, "images/mandrill_h2v1.jpg", &expectations); in DEF_TEST() 110 expectations = setExpectations({439, 154}, SkYUVAInfo::Subsampling::k420); in DEF_TEST() 111 codec_yuv(r, "images/cropped_mandrill.jpg", &expectations); in DEF_TEST() [all …]
|
D | GrStyledShapeTest.cpp | 548 void testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const; 704 void TestCase::testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const { in testExpectations() 707 if (expectations.fPEHasEffect) { in testExpectations() 709 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedPEKey.count())); in testExpectations() 711 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedFullKey.count())); in testExpectations() 712 if (expectations.fStrokeApplies && expectations.fPEHasValidKey) { in testExpectations() 722 if (expectations.fStrokeApplies) { in testExpectations() 780 TestCase::SelfExpectations expectations; in test_basic() local 784 expectations.fPEHasEffect = false; in test_basic() 785 expectations.fPEHasValidKey = false; in test_basic() [all …]
|
D | PDFMetadataAttributeTest.cpp | 30 static const char* expectations[] = { in DEF_TEST() local 41 for (const char* expectation : expectations) { in DEF_TEST()
|
/external/mesa3d/.gitlab-ci/tracie/tests/ |
D | test.py | 91 def check_results_yaml_content(filename, expectations): argument 105 for e in expectations: 115 expectations = [ 119 assert check_results_yaml_content(RESULTS_YAML, expectations) 129 expectations = [ 134 assert check_results_yaml_content(RESULTS_YAML, expectations) 176 expectations = [ 179 assert check_results_yaml_content(RESULTS_YAML, expectations) 188 expectations = [ 193 assert check_results_yaml_content(RESULTS_YAML, expectations)
|
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/ |
D | MessageDigestTest.java | 91 Map<String, byte[]> expectations = EXPECTATIONS.get(algorithm); in putExpectation() local 92 if (expectations == null) { in putExpectation() 93 expectations = new HashMap<String, byte[]>(); in putExpectation() 94 EXPECTATIONS.put(algorithm, expectations); in putExpectation() 96 expectations.put(inputName, expected); in putExpectation() 100 Map<String, byte[]> expectations = EXPECTATIONS.get(algorithm); in getExpectations() local 101 if (expectations == null) { in getExpectations() 104 return expectations; in getExpectations()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/ |
D | MessageDigestTest.java | 94 Map<String, byte[]> expectations = EXPECTATIONS.get(algorithm); in putExpectation() local 95 if (expectations == null) { in putExpectation() 96 expectations = new HashMap<String, byte[]>(); in putExpectation() 97 EXPECTATIONS.put(algorithm, expectations); in putExpectation() 99 expectations.put(inputName, expected); in putExpectation() 103 Map<String, byte[]> expectations = EXPECTATIONS.get(algorithm); in getExpectations() local 104 if (expectations == null) { in getExpectations() 107 return expectations; in getExpectations()
|
/external/googletest/googlemock/src/ |
D | gmock-spec-builders.cc | 116 ::std::vector<ExpectationBase*> expectations(1, this); in RetireAllPreRequisites() 117 while (!expectations.empty()) { in RetireAllPreRequisites() 118 ExpectationBase* exp = expectations.back(); in RetireAllPreRequisites() 119 expectations.pop_back(); in RetireAllPreRequisites() 127 expectations.push_back(next); in RetireAllPreRequisites() 138 ::std::vector<const ExpectationBase*> expectations(1, this); in AllPrerequisitesAreSatisfied() 139 while (!expectations.empty()) { in AllPrerequisitesAreSatisfied() 140 const ExpectationBase* exp = expectations.back(); in AllPrerequisitesAreSatisfied() 141 expectations.pop_back(); in AllPrerequisitesAreSatisfied() 148 expectations.push_back(next); in AllPrerequisitesAreSatisfied() [all …]
|
/external/perfetto/src/trace_processor/ |
D | trace_sorter_unittest.cc | 194 std::map<int64_t /*ts*/, std::vector<uint32_t /*cpu*/>> expectations; in TEST_F() local 197 .WillRepeatedly(Invoke([&expectations](uint32_t cpu, int64_t timestamp, in TEST_F() 199 EXPECT_EQ(expectations.begin()->first, timestamp); in TEST_F() 200 auto& cpus = expectations.begin()->second; in TEST_F() 210 expectations.erase(expectations.begin()); in TEST_F() 219 expectations[ts].push_back(cpu); in TEST_F() 227 EXPECT_TRUE(expectations.empty()); in TEST_F()
|
/external/skia/tools/skpbench/ |
D | _hardware.py | 86 def check_all(expectations, stringvalues): argument 87 if len(stringvalues) != len(expectations): 90 (len(expectations), '\n'.join(stringvalues))) 92 for value, expected in zip(stringvalues, expectations):
|
D | _hardware_pixel.py | 80 expectations = \ 90 Expectation.check_all(expectations, result.splitlines())
|
D | _hardware_nexus_6p.py | 80 expectations = \ 92 Expectation.check_all(expectations, result.splitlines())
|
/external/skqp/tools/skpbench/ |
D | _hardware.py | 86 def check_all(expectations, stringvalues): argument 87 if len(stringvalues) != len(expectations): 90 (len(expectations), '\n'.join(stringvalues))) 92 for value, expected in zip(stringvalues, expectations):
|
D | _hardware_pixel.py | 80 expectations = \ 90 Expectation.check_all(expectations, result.splitlines())
|
D | _hardware_nexus_6p.py | 80 expectations = \ 92 Expectation.check_all(expectations, result.splitlines())
|
/external/skia/bench/ |
D | check_bench_regressions.py | 112 def read_expectations(expectations, filename): argument 122 if bench_entry in expectations: 126 expectations[bench_entry] = (float(elements[LB_IDX]), 130 def check_expectations(lines, expectations, key_suffix): argument 161 if bench_platform_key not in expectations: 164 this_min, this_max, this_expected = expectations[bench_platform_key]
|
/external/skqp/bench/ |
D | check_bench_regressions.py | 108 def read_expectations(expectations, filename): argument 118 if bench_entry in expectations: 122 expectations[bench_entry] = (float(elements[LB_IDX]), 126 def check_expectations(lines, expectations, key_suffix): argument 157 if bench_platform_key not in expectations: 160 this_min, this_max, this_expected = expectations[bench_platform_key]
|
/external/libyuv/files/tools_libyuv/autoroller/unittests/ |
D | roll_deps_test.py | 50 self.expectations = [] 54 self.expectations.append((args, kwargs, returns)) 57 if not self.expectations: 59 exp_args, exp_kwargs, exp_returns = self.expectations.pop(0) 82 self.assertEqual(self.fake.expectations, [])
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | PeerConnectionEndToEndTest.java | 1397 ObserverExpectations expectations = new ObserverExpectations("PC under test"); in testRemoteStreamUpdatedWhenTracksAddedOrRemoved() local 1398 PeerConnection pcUnderTest = factory.createPeerConnection(iceServers, expectations); in testRemoteStreamUpdatedWhenTracksAddedOrRemoved() 1417 expectations.expectSignalingChange(SignalingState.HAVE_REMOTE_OFFER); in testRemoteStreamUpdatedWhenTracksAddedOrRemoved() 1418 expectations.expectAddStream("stream"); in testRemoteStreamUpdatedWhenTracksAddedOrRemoved() 1422 MediaStream remoteStream = expectations.gotRemoteStreams.iterator().next(); in testRemoteStreamUpdatedWhenTracksAddedOrRemoved() 1480 expectations.expectIceConnectionChange(IceConnectionState.CLOSED); in testRemoteStreamUpdatedWhenTracksAddedOrRemoved() 1481 expectations.expectStandardizedIceConnectionChange(IceConnectionState.CLOSED); in testRemoteStreamUpdatedWhenTracksAddedOrRemoved() 1482 expectations.expectSignalingChange(SignalingState.CLOSED); in testRemoteStreamUpdatedWhenTracksAddedOrRemoved() 1483 expectations.expectIceGatheringChange(IceGatheringState.COMPLETE); in testRemoteStreamUpdatedWhenTracksAddedOrRemoved() 1540 private static void shutdownPC(PeerConnection pc, ObserverExpectations expectations) { in shutdownPC() argument [all …]
|
/external/boringssl/src/ssl/test/runner/ |
D | runner.go | 558 expectations connectionExpectations member 846 expectations := &test.expectations 848 expectations = test.resumeExpectations 851 if vers := connState.Version; expectations.version != 0 && vers != expectations.version { 852 return fmt.Errorf("got version %x, expected %x", vers, expectations.version) 855 if cipher := connState.CipherSuite; expectations.cipher != 0 && cipher != expectations.cipher { 856 return fmt.Errorf("got cipher %x, expected %x", cipher, expectations.cipher) 862 if expectations.channelID { 876 if expectations.tokenBinding { 880 if connState.TokenBindingParam != expectations.tokenBindingParam { [all …]
|
/external/autotest/client/site_tests/graphics_dEQP/scripts/ |
D | failure_matrix.py | 57 expectations = {} 60 expectations[key] = set(data[key]) 61 return expectations
|
/external/skqp/tests/ |
D | GrShapeTest.cpp | 540 void testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const; 694 void TestCase::testExpectations(skiatest::Reporter* reporter, SelfExpectations expectations) const { in testExpectations() 697 if (expectations.fPEHasEffect) { in testExpectations() 699 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedPEKey.count())); in testExpectations() 701 REPORTER_ASSERT(reporter, expectations.fPEHasValidKey == SkToBool(fAppliedFullKey.count())); in testExpectations() 702 if (expectations.fStrokeApplies && expectations.fPEHasValidKey) { in testExpectations() 712 if (expectations.fStrokeApplies) { in testExpectations() 770 TestCase::SelfExpectations expectations; in test_basic() local 774 expectations.fPEHasEffect = false; in test_basic() 775 expectations.fPEHasValidKey = false; in test_basic() [all …]
|
D | PDFMetadataAttributeTest.cpp | 30 static const char* expectations[] = { in DEF_TEST() local 41 for (const char* expectation : expectations) { in DEF_TEST()
|
/external/grpc-grpc/test/core/end2end/ |
D | cq_verifier.cc | 275 gpr_strvec expectations; in cq_verify() local 276 gpr_strvec_init(&expectations); in cq_verify() 277 expectations_to_strvec(&expectations, v); in cq_verify() 278 s = gpr_strvec_flatten(&expectations, nullptr); in cq_verify() 279 gpr_strvec_destroy(&expectations); in cq_verify()
|