/external/openfst/src/test/ |
D | weight-tester.h | 69 CHECK(Times(w1, w2).Member()); in TestSemiring() 73 CHECK(ApproxEqual(Times(w1, Times(w2, w3)), Times(Times(w1, w2), w3))); in TestSemiring() 78 CHECK(Times(w1, Weight::One()) == w1); in TestSemiring() 79 CHECK(Times(Weight::One(), w1) == w1); in TestSemiring() 85 CHECK(!Times(w1, Weight::NoWeight()).Member()); in TestSemiring() 86 CHECK(!Times(Weight::NoWeight(), w1).Member()); in TestSemiring() 91 CHECK(ApproxEqual(Times(w1, w2), Times(w2, w1))); in TestSemiring() 94 CHECK(Times(w1, Weight::Zero()) == Weight::Zero()); in TestSemiring() 95 CHECK(Times(Weight::Zero(), w1) == Weight::Zero()); in TestSemiring() 104 CHECK(Power(w1, 3) == Times(w1, Times(w1, w1))); in TestSemiring() [all …]
|
/external/openfst/src/include/fst/ |
D | reweight.h | 85 arc.weight = Divide(Times(arc.weight, nextweight), weight, in Reweight() 88 arc.weight = Divide(Times(weight, arc.weight), nextweight, in Reweight() 96 fst->SetFinal(state, Times(weight, fst->Final(state))); in Reweight() 103 fst->SetFinal(state, Times(Weight::Zero(), fst->Final(state))); in Reweight() 116 arc.weight = Times(startweight, arc.weight); in Reweight() 118 arc.weight = Times( in Reweight() 124 fst->SetFinal(state, Times(startweight, fst->Final(state))); in Reweight() 126 fst->SetFinal(state, Times(Divide(Weight::One(), startweight, in Reweight()
|
D | prune.h | 75 Weight wx = Times(x < idistance_.size() ? idistance_[x] : Weight::Zero(), in operator() 77 Weight wy = Times(y < idistance_.size() ? idistance_[y] : Weight::Zero(), in operator() 136 Weight limit = Times((*fdistance)[fst->Start()], opts.weight_threshold); in Prune() 151 if (less(limit, Times(idistance[s], fst->Final(s)))) in Prune() 158 Weight weight = Times(Times(idistance[s], arc.weight), in Prune() 167 if (less(Times(idistance[s], arc.weight), idistance[arc.nextstate])) in Prune() 168 idistance[arc.nextstate] = Times(idistance[s], arc.weight); in Prune() 257 Weight limit = Times(s < fdistance->size() ? (*fdistance)[s] : Weight::Zero(), in Prune() 277 if (!less(limit, Times(idistance[s], ifst.Final(s)))) in Prune() 284 Weight weight = Times(Times(idistance[s], arc.weight), in Prune() [all …]
|
D | power-weight.h | 109 inline PowerWeight<W, n> Times(const PowerWeight<W, n> &w1, in Times() function 113 w.SetValue(i, Times(w1.Value(i), w2.Value(i))); in Times() 130 inline PowerWeight<W, n> Times(const W &s, const PowerWeight<W, n> &w) { in Times() function 133 sw.SetValue(i, Times(s, w.Value(i))); in Times() 139 inline PowerWeight<W, n> Times(const PowerWeight<W, n> &w, const W &s) { in Times() function 142 ws.SetValue(i, Times(w.Value(i), s)); in Times() 152 w = Plus(w, Times(w1.Value(i), w2.Value(i))); in DotProduct()
|
D | float-weight.h | 260 inline TropicalWeightTpl<T> Times(const TropicalWeightTpl<T> &w1, in Times() function 273 inline TropicalWeightTpl<float> Times(const TropicalWeightTpl<float> &w1, in Times() function 275 return Times<float>(w1, w2); in Times() 278 inline TropicalWeightTpl<double> Times(const TropicalWeightTpl<double> &w1, in Times() function 280 return Times<double>(w1, w2); in Times() 395 inline LogWeightTpl<T> Times(const LogWeightTpl<T> &w1, in Times() function 408 inline LogWeightTpl<float> Times(const LogWeightTpl<float> &w1, in Times() function 410 return Times<float>(w1, w2); in Times() 413 inline LogWeightTpl<double> Times(const LogWeightTpl<double> &w1, in Times() function 415 return Times<double>(w1, w2); in Times() [all …]
|
D | sparse-power-weight.h | 46 return Times(v1, v2); in Map() 160 inline SparsePowerWeight<W, K> Times(const SparsePowerWeight<W, K> &w1, in Times() function 183 const SparsePowerWeight<W, K>& product = Times(w1, w2); in DotProduct() 202 inline SparsePowerWeight<W, K> Times(const W &k, in Times() function 205 return Times(w1, w2); in Times() 209 inline SparsePowerWeight<W, K> Times(const SparsePowerWeight<W, K> &w1, in Times() function 212 return Times(w1, w2); in Times()
|
D | expectation-weight.h | 125 inline ExpectationWeight<X1, X2> Times(const ExpectationWeight<X1, X2> &w, in Times() function 127 return ExpectationWeight<X1, X2>(Times(w.Value1(), v.Value1()), in Times() 128 Plus(Times(w.Value1(), v.Value2()), in Times() 129 Times(w.Value2(), v.Value1()))); in Times()
|
D | shortest-path.h | 143 Weight w = Times(sd, ifst.Final(s)); in SingleShortestPath() 167 Weight w = Times(sd, arc.weight); in SingleShortestPath() 226 Weight wx = Times(dx, px.second); in operator() 227 Weight wy = Times(dy, py.second); in operator() 332 Weight limit = Times(distance[ifst.Start()], weight_threshold); 342 if (less(limit, Times(d, p.second)) || 360 Weight w = Times(p.second, arc.weight); 371 Weight w = Times(p.second, finalw); 451 d = Plus(d, Times(arc.weight.Reverse(), (*distance)[s])); in ShortestPath()
|
D | product-weight.h | 99 inline ProductWeight<W1, W2> Times(const ProductWeight<W1, W2> &w, in Times() function 101 return ProductWeight<W1, W2>(Times(w.Value1(), v.Value1()), in Times() 102 Times(w.Value2(), v.Value2())); in Times()
|
/external/v8/test/cctest/ |
D | test-diy-fp.cc | 56 DiyFp product = DiyFp::Times(diy_fp1, diy_fp2); in TEST() 66 product = DiyFp::Times(diy_fp1, diy_fp2); in TEST() 73 product = DiyFp::Times(diy_fp1, diy_fp2); in TEST() 79 product = DiyFp::Times(diy_fp1, diy_fp2); in TEST() 89 product = DiyFp::Times(diy_fp1, diy_fp2); in TEST()
|
/external/pdfium/fpdfsdk/src/ |
D | fpdfformfill_embeddertest.cpp | 21 EXPECT_CALL(mock, Alert(_, _, _, _)).Times(0); in TEST_F() 22 EXPECT_CALL(mock, UnsupportedHandler(_)).Times(0); in TEST_F() 23 EXPECT_CALL(mock, SetTimer(_, _)).Times(0); in TEST_F() 24 EXPECT_CALL(mock, KillTimer(_)).Times(0); in TEST_F()
|
/external/google-breakpad/src/testing/test/ |
D | gmock-spec-builders_test.cc | 126 .Times(AnyNumber()); in TEST() 309 .Times(0); in TEST() 312 .Times(0); in TEST() 332 .Times(1) in TEST() 367 .Times(1) in TEST() 368 .Times(2); in TEST() 382 .Times(1); in TEST() 416 .Times(AnyNumber()); in TEST() 468 .Times(AnyNumber()) in TEST() 573 .Times(0); in TEST() [all …]
|
D | gmock_stress_test.cc | 159 .Times(AtMost(3)); in TestConcurrentMockObjects() 205 .Times(kRepeat) in TestConcurrentCallsOnSameObject() 250 .Times(2*kRepeat) in TestPartiallyOrderedExpectationsWithThreads() 254 .Times(2*kRepeat) in TestPartiallyOrderedExpectationsWithThreads()
|
D | gmock_output_test_.cc | 87 .Times(2) in TEST_F() 176 .Times(2); in TEST_F() 247 .Times(2) in TEST_F() 263 EXPECT_CALL(*foo2, Bar3(_, _)).Times(AnyNumber()); in TEST_F()
|
/external/google-breakpad/src/common/linux/ |
D | google_crashdump_uploader_test.cc | 63 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(false)); in TEST_F() 87 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(true)); in TEST_F() 90 SendRequest("http://foo.com",_,_,_,_)).Times(1).WillOnce(Return(true)); in TEST_F() 109 EXPECT_CALL(m, Init()).Times(1).WillOnce(Return(true)); in TEST_F() 110 EXPECT_CALL(m, SendRequest(_,_,_,_,_)).Times(0); in TEST_F()
|
/external/google-breakpad/src/processor/ |
D | cfi_frame_info_unittest.cc | 71 EXPECT_CALL(memory, GetBase()).Times(0); in ExpectNoMemoryReferences() 72 EXPECT_CALL(memory, GetSize()).Times(0); in ExpectNoMemoryReferences() 73 EXPECT_CALL(memory, GetMemoryAtAddress(_, A<uint8_t *>())).Times(0); in ExpectNoMemoryReferences() 74 EXPECT_CALL(memory, GetMemoryAtAddress(_, A<uint16_t *>())).Times(0); in ExpectNoMemoryReferences() 75 EXPECT_CALL(memory, GetMemoryAtAddress(_, A<uint32_t *>())).Times(0); in ExpectNoMemoryReferences() 76 EXPECT_CALL(memory, GetMemoryAtAddress(_, A<uint64_t *>())).Times(0); in ExpectNoMemoryReferences() 306 EXPECT_CALL(mock_handler, CFARule(_)).Times(0); in CFIParserFixture() 307 EXPECT_CALL(mock_handler, RARule(_)).Times(0); in CFIParserFixture() 308 EXPECT_CALL(mock_handler, RegisterRule(_, _)).Times(0); in CFIParserFixture() 399 .Times(AtMost(1)) in TEST_F() [all …]
|
/external/pdfium/testing/resources/javascript/ |
D | consts_expected.txt | 12 Alert: font.Times is Times-Roman 13 Alert: font.TimesB is Times-Bold 14 Alert: font.TimesI is Times-Italic 15 Alert: font.TimesBI is Times-BoldItalic
|
/external/google-breakpad/src/common/ |
D | dwarf_cu_to_module_unittest.cc | 134 EXPECT_CALL(reporter_, SetCUName("compilation-unit-name")).Times(1); in CUFixtureBase() 135 EXPECT_CALL(reporter_, UnknownSpecification(_, _)).Times(0); in CUFixtureBase() 136 EXPECT_CALL(reporter_, UnknownAbstractOrigin(_, _)).Times(0); in CUFixtureBase() 137 EXPECT_CALL(reporter_, MissingSection(_)).Times(0); in CUFixtureBase() 138 EXPECT_CALL(reporter_, BadLineInfoOffset(_)).Times(0); in CUFixtureBase() 139 EXPECT_CALL(reporter_, UncoveredFunction(_)).Times(0); in CUFixtureBase() 140 EXPECT_CALL(reporter_, UncoveredLine(_)).Times(0); in CUFixtureBase() 141 EXPECT_CALL(reporter_, UnnamedFunction(_)).Times(0); in CUFixtureBase() 142 EXPECT_CALL(reporter_, UnhandledInterCUReference(_, _)).Times(0); in CUFixtureBase() 146 EXPECT_CALL(line_reader_, StartCompilationUnit(_)).Times(0); in CUFixtureBase() [all …]
|
/external/pdfium/fpdfsdk/src/javascript/ |
D | Consts.cpp | 40 JS_STATIC_CONST_ENTRY_STRING(Times, Times-Roman) in JS_STATIC_CONST_ENTRY_STRING() 41 JS_STATIC_CONST_ENTRY_STRING(TimesB, Times-Bold) in JS_STATIC_CONST_ENTRY_STRING() 42 JS_STATIC_CONST_ENTRY_STRING(TimesI, Times-Italic) in JS_STATIC_CONST_ENTRY_STRING() 43 JS_STATIC_CONST_ENTRY_STRING(TimesBI, Times-BoldItalic) in JS_STATIC_CONST_ENTRY_STRING()
|
/external/google-breakpad/src/common/dwarf/ |
D | dwarf2reader_die_unittest.cc | 115 EXPECT_CALL(handler, StartCompilationUnit(_, _, _, _, _)).Times(0); in DIEFixture() 116 EXPECT_CALL(handler, StartDIE(_, _)).Times(0); in DIEFixture() 117 EXPECT_CALL(handler, ProcessAttributeUnsigned(_, _, _, _)).Times(0); in DIEFixture() 118 EXPECT_CALL(handler, ProcessAttributeSigned(_, _, _, _)).Times(0); in DIEFixture() 119 EXPECT_CALL(handler, ProcessAttributeReference(_, _, _, _)).Times(0); in DIEFixture() 120 EXPECT_CALL(handler, ProcessAttributeBuffer(_, _, _, _, _)).Times(0); in DIEFixture() 121 EXPECT_CALL(handler, ProcessAttributeString(_, _, _, _)).Times(0); in DIEFixture() 122 EXPECT_CALL(handler, EndDIE(_)).Times(0); in DIEFixture()
|
D | dwarf2reader_cfi_unittest.cc | 154 EXPECT_CALL(handler, UndefinedRule(_, _)).Times(0); in CFIFixture() 155 EXPECT_CALL(handler, SameValueRule(_, _)).Times(0); in CFIFixture() 156 EXPECT_CALL(handler, OffsetRule(_, _, _, _)).Times(0); in CFIFixture() 157 EXPECT_CALL(handler, ValOffsetRule(_, _, _, _)).Times(0); in CFIFixture() 158 EXPECT_CALL(handler, RegisterRule(_, _, _)).Times(0); in CFIFixture() 159 EXPECT_CALL(handler, ExpressionRule(_, _, _)).Times(0); in CFIFixture() 160 EXPECT_CALL(handler, ValExpressionRule(_, _, _)).Times(0); in CFIFixture() 161 EXPECT_CALL(handler, PersonalityRoutine(_, _)).Times(0); in CFIFixture() 162 EXPECT_CALL(handler, LanguageSpecificDataArea(_, _)).Times(0); in CFIFixture() 163 EXPECT_CALL(handler, SignalHandler()).Times(0); in CFIFixture() [all …]
|
D | dwarf2diehandler_unittest.cc | 241 .Times(0); in TEST() 475 .Times(0); in TEST() 477 .Times(0); in TEST() 481 .Times(0); in TEST() 485 .Times(0); in TEST()
|
/external/mockito/src/org/mockito/internal/verification/ |
D | VerificationModeFactory.java | 24 public static Times times(int wantedNumberOfInvocations) { in times() 25 return new Times(wantedNumberOfInvocations); in times()
|
/external/google-breakpad/src/common/mac/ |
D | macho_reader_unittest.cc | 200 EXPECT_CALL(reporter, BadHeader()).Times(0); in FatReaderFixture() 201 EXPECT_CALL(reporter, TooShort()).Times(0); in FatReaderFixture() 244 EXPECT_CALL(reporter, BadHeader()).Times(1); in TEST_F() 253 EXPECT_CALL(reporter, TooShort()).Times(1); in TEST_F() 260 EXPECT_CALL(reporter, TooShort()).Times(1); in TEST_F() 275 EXPECT_CALL(reporter, MisplacedObjectFile()).Times(1); in TEST_F() 735 EXPECT_CALL(reporter, BadHeader()).Times(0); in ReaderFixture() 736 EXPECT_CALL(reporter, CPUTypeMismatch(_, _, _, _)).Times(0); in ReaderFixture() 737 EXPECT_CALL(reporter, HeaderTruncated()).Times(0); in ReaderFixture() 738 EXPECT_CALL(reporter, LoadCommandRegionTruncated()).Times(0); in ReaderFixture() [all …]
|
/external/openfst/src/include/fst/extensions/pdt/ |
D | expand.h | 409 Times(distance_[s1], fdistance_[s1]) : Weight::Zero(); in operator() 411 Times(distance_[s2], fdistance_[s2]) : Weight::Zero(); in operator() 632 Weight nd = Times(Distance(s), arc.weight); in Relax() 677 Times(DistanceToDest(state_table_.Tuple(arc.nextstate).state_id, in PruneArc() 682 Weight w = Times(Distance(s), Times(arc.weight, fd)); in PruneArc() 717 if ((final == Weight::Zero()) || less_(limit_, Times(Distance(s), final))) in ProcFinal() 781 meta_arc.weight = Times( in ProcOpenParen() 783 Times(DistanceToDest(state_table_.Tuple(ns).state_id, source), in ProcOpenParen() 786 fd = Plus(fd, Times( in ProcOpenParen() 787 Times( in ProcOpenParen() [all …]
|