Home
last modified time | relevance | path

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

/external/v8/src/
Dusage-analyzer.cc55 int weight_; member in v8::internal::UsageComputer
349 weight_ = weight; in UsageComputer()
361 uses->RecordWrite(weight_); in RecordUses()
363 uses->RecordRead(weight_); in RecordUses()
369 UsageComputer uc(weight_, false); in Read()
379 UsageComputer uc(weight_, true); in Write()
404 old_weight_ = uc->weight_; in WeightScaler()
405 int new_weight = static_cast<int>(uc->weight_ * scale); in WeightScaler()
408 uc->weight_ = new_weight; in WeightScaler()
413 uc_->weight_ = old_weight_; in ~WeightScaler()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dfactor-weight.h83 : weight_(w), done_(w.Size() <= 1) {} in StringFactor()
90 StringWeightIterator<L, S> iter(weight_); in Value()
98 void Reset() { done_ = weight_.Size() <= 1; } in Reset()
101 StringWeight<L, S> weight_;
111 : weight_(w), done_(w.Value1().Size() <= 1) {} in GallicFactor()
118 StringFactor<L, S> iter(weight_.Value1()); in Value()
119 GallicWeight<L, W, S> w1(iter.Value().first, weight_.Value2()); in Value()
124 void Reset() { done_ = weight_.Value1().Size() <= 1; } in Reset()
127 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()