Home
last modified time | relevance | path

Searched refs:weight_ (Results 1 – 15 of 15) sorted by relevance

/external/openfst/src/include/fst/
Dcompose-filter.h90 WeightFilterState() : weight_(W::Zero()) {} in WeightFilterState()
91 explicit WeightFilterState(W w) : weight_(w) {} in WeightFilterState()
95 size_t Hash() const { return weight_.Hash(); } in Hash()
98 return weight_ == f.weight_;
102 return weight_ != f.weight_;
105 W GetWeight() const { return weight_; } in GetWeight()
107 void SetWeight(W w) { weight_ = w; } in SetWeight()
110 W weight_;
Dfactor-weight.h101 : weight_(w), done_(w.Size() <= 1) {} in StringFactor()
108 StringWeightIterator<L, S> iter(weight_); in Value()
116 void Reset() { done_ = weight_.Size() <= 1; } in Reset()
119 StringWeight<L, S> weight_;
129 : weight_(w), done_(w.Value1().Size() <= 1) {} in GallicFactor()
136 StringFactor<L, S> iter(weight_.Value1()); in Value()
137 GallicWeight<L, W, S> w1(iter.Value().first, weight_.Value2()); in Value()
142 void Reset() { done_ = weight_.Value1().Size() <= 1; } in Reset()
145 GallicWeight<L, W, S> weight_;
Darc-map.h976 explicit PlusMapper(Weight w) : weight_(w) {} in PlusMapper()
981 Weight w = Plus(arc.weight, weight_); in operator()
999 Weight weight_;
1010 explicit TimesMapper(Weight w) : weight_(w) {} in TimesMapper()
1015 Weight w = Times(arc.weight, weight_); in operator()
1030 Weight weight_;
Dlookahead-matcher.h141 : weight_(Weight::One()), in LookAheadMatcherBase()
152 Weight LookAheadWeight() const { return weight_; } in LookAheadWeight()
166 void SetLookAheadWeight(const Weight &w) { weight_ = w; } in SetLookAheadWeight()
177 Weight weight_; // Look-ahead weight variable
Dencode.h64 Tuple(Label ilabel_, Label olabel_, Weight weight_) in Tuple()
65 : ilabel(ilabel_), olabel(olabel_), weight(weight_) {} in Tuple()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dfactor-weight.h81 : weight_(w), done_(w.Size() <= 1) {} in StringFactor()
88 StringWeightIterator<L, S> iter(weight_); in Value()
96 void Reset() { done_ = weight_.Size() <= 1; } in Reset()
99 StringWeight<L, S> weight_;
109 : weight_(w), done_(w.Value1().Size() <= 1) {} in GallicFactor()
116 StringFactor<L, S> iter(weight_.Value1()); in Value()
117 GallicWeight<L, W, S> w1(iter.Value().first, weight_.Value2()); in Value()
122 void Reset() { done_ = weight_.Value1().Size() <= 1; } in Reset()
125 GallicWeight<L, W, S> weight_;
Dmap.h853 explicit PlusMapper(Weight w) : weight_(w) {} in PlusMapper()
858 Weight w = Plus(arc.weight, weight_); in operator()
868 Weight weight_; member
877 explicit TimesMapper(Weight w) : weight_(w) {} in TimesMapper()
882 Weight w = Times(arc.weight, weight_); in operator()
892 Weight weight_; member
Dencode.h49 Tuple(Label ilabel_, Label olabel_, Weight weight_) in Tuple()
50 : ilabel(ilabel_), olabel(olabel_), weight(weight_) {} in Tuple()
/external/stressapptest/src/
Dpattern.h70 unsigned int weight() {return weight_;} in weight()
80 int weight_; // This is the likelihood that this variable
Dpattern.cc294 weight_ = weight; in Initialize()
/external/chromium_org/net/dns/
Drecord_rdata.cc19 SrvRecordRdata::SrvRecordRdata() : priority_(0), weight_(0), port_(0) { in SrvRecordRdata()
35 reader.ReadU16(&rdata->weight_); in Create()
52 return weight_ == srv_other->weight_ && in IsEqual()
Drecord_rdata.h55 uint16 weight() const { return weight_; } in weight()
64 uint16 weight_; variable
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dsuggestions_combiner_unittest.cc140 weight_(weight), in SuggestionsSourceStub()
161 return weight_; in GetWeight()
198 int weight_; member in SuggestionsSourceStub
/external/chromium_org/net/spdy/
Dspdy_protocol.h978 uint8 weight() const { return weight_; } in weight()
979 void set_weight(uint8 weight) { weight_ = weight; } in set_weight()
987 uint8 weight_; variable
Dspdy_protocol.cc865 weight_(weight), in SpdyPriorityIR()