Home
last modified time | relevance | path

Searched refs:total_weight (Results 1 – 9 of 9) sorted by relevance

/external/openfst/src/include/fst/
Dpush.h104 typename Arc::Weight total_weight = Arc::Weight::One();
106 total_weight = internal::ComputeTotalWeight(*fst, distance,
110 internal::RemoveWeight(fst, total_weight, type == REWEIGHT_TO_FINAL);
148 typename GallicArc<Arc, stype>::Weight total_weight =
151 total_weight = internal::ComputeTotalWeight(
153 total_weight = typename GallicArc<Arc, stype>::Weight(
154 ptype & kPushRemoveCommonAffix ? total_weight.Value1()
156 ptype & kPushRemoveTotalWeight ? total_weight.Value2()
161 internal::RemoveWeight(&gfst, total_weight, rtype == REWEIGHT_TO_FINAL);
/external/chromium_org/chrome/browser/ui/webui/ntp/
Dsuggestions_combiner.cc76 int total_weight = 0; in FillPageValues() local
78 total_weight += sources_[i]->GetWeight(); in FillPageValues()
79 DCHECK_GT(total_weight, 0); in FillPageValues()
92 error = numerator % total_weight; in FillPageValues()
93 int item_count = std::min(numerator / total_weight, in FillPageValues()
/external/chromium_org/tools/profile_chrome/third_party/
Dperf_to_tracing.py81 self.total_weight = 0.0
101 return self.total_weight
105 self.total_weight += s.weight
107 self.total_weight += c.GetTotalWeight()
109 return self.total_weight
/external/webp/src/enc/
Danalysis.c170 int total_weight; in AssignSegments() local
194 total_weight = 0; in AssignSegments()
201 total_weight += accum[n]; in AssignSegments()
204 weighted_average = (weighted_average + total_weight / 2) / total_weight; in AssignSegments()
/external/chromium_org/net/spdy/
Dspdy_priority_forest.h422 uint64 total_weight = 0; in FirstMarkedNode() local
432 total_weight += static_cast<uint64>(root.depends_on.priority); in FirstMarkedNode()
433 roots[total_weight] = root_id; in FirstMarkedNode()
445 if (total_weight == 0) { in FirstMarkedNode()
454 roots.upper_bound(base::RandGenerator(total_weight)); in FirstMarkedNode()
/external/chromium_org/third_party/libwebp/enc/
Danalysis.c170 int total_weight; in AssignSegments() local
194 total_weight = 0; in AssignSegments()
201 total_weight += accum[n]; in AssignSegments()
204 weighted_average = (weighted_average + total_weight / 2) / total_weight; in AssignSegments()
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
Dratectrl.c1379 unsigned int total_weight = 0; in estimate_keyframe_frequency() local
1396 total_weight += prior_key_frame_weight[i]; in estimate_keyframe_frequency()
1399 av_key_frame_frequency /= total_weight; in estimate_keyframe_frequency()
/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c1379 unsigned int total_weight = 0; in estimate_keyframe_frequency() local
1396 total_weight += prior_key_frame_weight[i]; in estimate_keyframe_frequency()
1399 av_key_frame_frequency /= total_weight; in estimate_keyframe_frequency()
/external/opencv/ml/src/
Dmltree.cpp2274 double max_val = -1, total_weight = 0; in calc_node_value() local
2321 total_weight += val; in calc_node_value()
2332 node->node_risk = total_weight - max_val; in calc_node_value()