/external/openfst/src/include/fst/ |
H A D | sparse-power-weight.h | 65 return ApproxEqual(v1, v2, delta_) ? W::One() : W::Zero(); 83 using SparseTupleWeight<W, K>::One; 107 static const SparsePowerWeight<W, K> &One() { function in class:fst::SparsePowerWeight 108 static const SparsePowerWeight<W, K> one(SparseTupleWeight<W, K>::One()); 198 return ret == SparsePowerWeight<W, K>::One();
|
H A D | product-weight.h | 38 using PairWeight<W1, W2>::One; 57 static const ProductWeight<W1, W2> &One() { function in class:fst::ProductWeight 58 static const ProductWeight<W1, W2> one(PairWeight<W1, W2>::One());
|
H A D | union.h | 98 fst1->AddArc(start1, Arc(0, 0, Weight::One(), start2 + numstates1)); 102 fst1->AddArc(nstart1, Arc(0, 0, Weight::One(), start1)); 103 fst1->AddArc(nstart1, Arc(0, 0, Weight::One(), start2 + numstates1));
|
H A D | string.h | 96 const Weight &weight = Weight::One()) const { 101 fst->AddArc(i, Arc(labels[i], labels[i], Weight::One(), i + 1)); 115 const Weight &weight = Weight::One()) const { 119 compacts.push_back(make_pair(labels[i], Weight::One()));
|
H A D | weight.h | 22 // two designated elements Zero and One with the following properties: 24 // Times: associative and has identity One, distributes w.r.t. Plus, and 32 // static member functions =Zero()= and =One()= and these must form 149 // Power(w, 0) is One() for the semiring, and 154 W result = W::One();
|
H A D | closure.h | 39 // transduced to itself with weight Weight::One() as well. 65 fst->SetFinal(nstart, Weight::One()); 67 fst->AddArc(nstart, Arc(0, 0, Weight::One(), start)); 96 // to itself with weight Weight::One() as well.
|
H A D | expectation-weight.h | 21 // One: <One, Zero> 80 static const ExpectationWeight<X1, X2> &One() { function in class:fst::ExpectationWeight 81 static const ExpectationWeight<X1, X2> one(X1::One(), X2::Zero());
|
H A D | shortest-path.h | 52 // One() and Zero() according to NaturalLess. 131 distance->push_back(Weight::One()); 222 Weight dx = px.first == superfinal_ ? Weight::One() : 224 Weight dy = py.first == superfinal_ ? Weight::One() : 306 // distance from 'superfinal' to the final state is 'Weight::One()', 320 less(weight_threshold, Weight::One()) || 327 ofst->SetFinal(final, Weight::One()); 330 pairs[final] = Pair(ifst.Start(), Weight::One()); 339 Weight d = p.first == superfinal ? Weight::One() : 350 ofst->AddArc(ofst->Start(), Arc(0, 0, Weight::One(), stat [all...] |
H A D | reverse.h | 65 ofst->SetFinal(os, RevWeight::One());
|
H A D | lexicographic-weight.h | 47 using PairWeight<W1, W2>::One; 80 static const LexicographicWeight<W1, W2> &One() { function in class:fst::LexicographicWeight 81 static const LexicographicWeight<W1, W2> one(PairWeight<W1, W2>::One());
|
H A D | power-weight.h | 42 using TupleWeight<W, n>::One; 61 static const PowerWeight<W, n> &One() { function in class:fst::PowerWeight 62 static const PowerWeight<W, n> one(TupleWeight<W, n>::One());
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | union.h | 73 fst1->AddArc(start1, Arc(0, 0, Weight::One(), start2 + numstates1)); 77 fst1->AddArc(nstart1, Arc(0, 0, Weight::One(), start1)); 78 fst1->AddArc(nstart1, Arc(0, 0, Weight::One(), start2 + numstates1));
|
H A D | shortest-path.h | 101 distance->push_back(Weight::One()); 145 (*distance)[source] = Weight::One(); 263 distance->insert(distance->begin(), Weight::One()); 278 distance->push_back(Weight::One()); // differently when unique=true 287 ofst->SetFinal(final, Weight::One()); 290 pairs[final] = Pair(rfst.Start(), Weight::One()); 301 ofst->AddArc(ofst->Start(), Arc(0, 0, Weight::One(), state));
|
H A D | closure.h | 32 // transduced to itself with weight Weight::One() as well. 57 fst->SetFinal(nstart, Weight::One()); 59 fst->AddArc(nstart, Arc(0, 0, Weight::One(), start)); 88 // to itself with weight Weight::One() as well.
|
H A D | randgen.h | 141 ofst->SetFinal(opts.dest, Weight::One()); 146 Arc oarc(iarc.ilabel, iarc.olabel, Weight::One(), ofst->AddState());
|
H A D | reverse.h | 56 ofst->SetFinal(os, RevWeight::One());
|
H A D | product-weight.h | 44 static const ProductWeight<W1, W2> &One() { function in class:fst::ProductWeight 45 static const ProductWeight<W1, W2> one(W1::One(), W2::One());
|
H A D | test-properties.h | 124 Arc prev_arc(kNoLabel, kNoLabel, Weight::One(), 0); 168 if (arc.weight != Weight::One() && arc.weight != Weight::Zero()) { 195 if (final != Weight::One()) {
|
/external/openfst/src/include/fst/script/ |
H A D | print-impl.h | 121 if (show_weight_one_ || arc.weight != Weight::One()) 129 if (show_weight_one_ || final != Weight::One()) { 143 bool show_weight_one_; // print weights equal to Weight::One()
|
H A D | compile-impl.h | 90 fst_.SetFinal(s, Weight::One()); 99 arc.weight = Weight::One(); 110 arc.weight = Weight::One();
|
/external/openfst/src/test/ |
H A D | weight-tester.h | 65 // Tests (Plus, Times, Zero, One) defines a commutative semiring. 78 CHECK(Times(w1, Weight::One()) == w1); 79 CHECK(Times(Weight::One(), w1) == w1); 97 // Check Power(w, 0) is Weight::One() 98 CHECK(Power(w1, 0) == Weight::One()); 198 Weight v(Weight::One());
|
/external/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 162 ConstantInt *One; local 168 One = Builder.getInt64(1); 174 One = Builder.getInt32(1); 272 Value *SR_1 = Builder.CreateAdd(SR, One); 310 Value *Tmp5 = Builder.CreateShl(R_1, One); 313 Value *Tmp8 = Builder.CreateShl(Q_2, One); 317 Value *Carry = Builder.CreateAnd(Tmp10, One); 333 Value *Tmp13 = Builder.CreateShl(Q_3, One);
|
/external/llvm/unittests/Support/ |
H A D | MemoryBufferTest.cpp | 108 OwningBuffer One(MemoryBuffer::getNewUninitMemBuffer(321)); 109 EXPECT_TRUE(nullptr != One.get());
|
/external/openfst/src/bin/ |
H A D | fstmap.cc | 61 s::WeightClass::One() : s::WeightClass::Zero());
|
/external/srec/tools/grxmlcompile/ |
H A D | fst-io.h | 122 if (arc.weight != Weight::One()) 130 if (final != Weight::One()) { 243 fst_.SetFinal(s, Weight::One()); 252 arc.weight = Weight::One(); 263 arc.weight = Weight::One();
|