Searched refs:Zero (Results 1 - 25 of 442) sorted by last modified time

1234567891011>>

/external/zlib/src/contrib/dotzlib/DotZLib/
H A DGZipStream.cs57 if (_gzFile == IntPtr.Zero)
70 if (_gzFile == IntPtr.Zero)
/external/srec/tools/grxmlcompile/
H A Dfst-io.h128 if (final != Weight::Zero() || !output) {
343 if (strm.fail() || (!allow_zero && w == Weight::Zero())) {
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dcache.h353 CacheState() : final(Weight::Zero()), flags(0), ref_count(0) {}
H A Dclosure.h51 if (final != Weight::Zero())
H A Dcomplement.h77 if (s == 0 || fst_->Final(s - 1) == Weight::Zero())
80 return Weight::Zero();
H A Dcompose.h478 bool finala = fsta->Final(sa) != Weight::Zero();
H A Dconcat.h71 if (final != Weight::Zero()) {
72 fst1->SetFinal(s1, Weight::Zero());
H A Dconnect.h130 if (fst_->Final(s) != Weight::Zero())
H A Dconst-fst.h96 State() : final(Weight::Zero()), niepsilons(0), noepsilons(0) {}
H A Ddeterminize.h71 else if (w1 == Weight::Zero())
73 else if (w2 == Weight::Zero())
251 Weight final = Weight::Zero();
329 arc.weight = Weight::Zero();
H A Dencode.h235 arc.weight == Weight::Zero())) {
H A Dequivalent.h76 false : (fa.Final(UnMapState(s)) != Weight::Zero());
193 if (arc.weight != Weight::Zero()) { // Zero-weight arcs
205 if (arc.weight != Weight::Zero()) { // Zero-weight arcs
H A Dfactor-weight.h194 if (w != Weight::Zero() && f.Done())
197 this->SetFinal(s, Weight::Zero());
276 (fst_->Final(e.state) != Weight::Zero())) {
H A Dfloat-weight.h126 static const TropicalWeight Zero() { return TropicalWeight(kPosInfinity); } function in class:fst::TropicalWeight
192 static const LogWeight Zero() { return LogWeight(kPosInfinity); } function in class:fst::LogWeight
H A Dmap.h42 // Zero(). The superfinal state is always added (if the input is
123 fst->SetFinal(s, Weight::Zero());
134 final_arc.weight != Weight::Zero())
137 fst->SetFinal(s, Weight::Zero());
205 ofst->SetFinal(s, B::Weight::Zero());
214 final_arc.weight != B::Weight::Zero())
217 ofst->SetFinal(s, B::Weight::Zero());
321 this->SetFinal(s, Weight::Zero());
326 this->SetFinal(s, s == superfinal_ ? Weight::One() : Weight::Zero());
371 if (!HasFinal(s) || Final(s) == Weight::Zero())
[all...]
H A Dproduct-weight.h39 static const ProductWeight<W1, W2> &Zero() { function in class:fst::ProductWeight
40 static const ProductWeight<W1, W2> zero(W1::Zero(), W2::Zero());
159 W1 w1 = W1::Zero();
163 W2 w2 = W2::Zero();
H A Dprune.h74 idistance = new vector<Weight>(ns, Weight::Zero());
77 idistance->resize(ns, Weight::Zero());
81 fdistance = new vector<Weight>(ns, Weight::Zero());
84 fdistance->resize(ns, Weight::Zero());
110 fst->SetFinal(state, Weight::Zero());
174 fdistance->push_back(Weight::Zero());
182 idistance->push_back(Weight::Zero());
184 fdistance->push_back(Weight::Zero());
204 idistance->push_back(Weight::Zero());
206 fdistance->push_back(Weight::Zero());
[all...]
H A Dqueue.h643 // Zero() or One().
674 (arc.weight != Weight::Zero() && arc.weight != Weight::One()))
682 (arc.weight != Weight::Zero() && arc.weight != Weight::One()))
H A Drandgen.h51 if (fst.Final(s) != Weight::Zero())
136 ifst.Final(opts.source) == Weight::Zero()) // Non-coaccessible
H A Drandom-weight.h32 // The boolean 'allow_zero' below determines whether Zero() and zero
49 return Weight::Zero();
58 bool allow_zero_; // permit Zero() and zero divisors
76 return Weight::Zero();
85 bool allow_zero_; // permit Zero() and zero divisors
90 // strings chosen from {1,...,kAlphabetSize}^{0,kMaxStringLength} U { Zero }
104 return Weight::Zero();
118 bool allow_zero_; // permit Zero() and zero divisors
H A Dreplace.h246 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth() == 0)
249 SetFinal(s, Weight::Zero());
306 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth()) {
H A Dreverse.h59 if (final != Weight::Zero()) {
H A Dreweight.h46 potential.push_back(Weight::Zero());
66 if ((potential[state] == Weight::Zero()) ||
67 (potential[arc.nextstate] == Weight::Zero()))
70 && (potential[state] != Weight::Zero()))
74 && (potential[arc.nextstate] != Weight::Zero()))
80 && (potential[state] != Weight::Zero()))
88 (potential[fst->Start()] != Weight::Zero())) {
H A Drmepsilon.h138 final_ = Weight::Zero();
H A Drmfinalepsilon.h47 if (fst->Final(s) != Weight::Zero()) {

Completed in 3896 milliseconds

1234567891011>>