Searched refs:Weight (Results 76 - 100 of 169) sorted by relevance

1234567

/external/chromium_org/third_party/skia/include/ports/
H A DSkFontStyle.h15 enum Weight { enum in class:SkFontStyle
/external/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp47 // | | (Weight = 124)
51 // | (Weight = 4)
74 /// \brief Weight for a branch taken going into a cold block.
82 /// \brief Weight for a branch not-taken into a cold block.
199 ConstantInt *Weight = dyn_cast<ConstantInt>(WeightsNode->getOperand(i)); local
200 if (!Weight)
203 std::max<uint32_t>(1, Weight->getLimitedValue(WeightLimit)));
544 uint32_t Weight = getEdgeWeight(BB, I.getSuccessorIndex()); local
547 Sum += Weight;
568 uint32_t Weight local
610 uint32_t Weight = 0; local
624 setEdgeWeight(const BasicBlock *Src, unsigned IndexInSuccessors, uint32_t Weight) argument
629 << Weight << "\\n"); local
[all...]
/external/skia/include/ports/
H A DSkFontStyle.h15 enum Weight { enum in class:SkFontStyle
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Depsnormalize.h59 typename Arc::Weight, STRING_RIGHT_RESTRICT> >
H A Dweight.h29 // A Weight class is required to be (at least) a left or right semiring.
31 // In addition, the following should be defined for a Weight:
48 // Typically the same type as Weight for a (both left and right) semiring.
50 // Reverse: a mapping from Weight to ReverseWeight s.t.
123 typedef W Weight; typedef in class:fst::NaturalLess
128 LOG(ERROR) << "NaturalLess: Weight type is not idempotent and "
H A Dqueue.h247 typedef typename L::Weight Weight; typedef in class:fst::StateWeightCompare
250 StateWeightCompare(const vector<Weight>* weights, const L &less)
258 const vector<Weight>* weights_;
263 // Shortest-first queue discipline, templated on the StateId and Weight is
502 // the Weight type has the path property, will entertain the
505 AutoQueue(const Fst<Arc> &fst, const vector<typename Arc::Weight> *distance,
507 typedef typename Arc::Weight Weight; typedef
508 typedef StateWeightCompare< StateId, NaturalLess<Weight> > Compar
653 typedef typename A::Weight Weight; typedef
[all...]
H A Dsynchronize.h53 typedef typename A::Weight Weight; typedef in class:fst::SynchronizeFstImpl
106 Weight Final(StateId s) {
109 Weight w = e.state == kNoStateId ? Weight::One() : fst_->Final(e.state);
110 if ((w != Weight::Zero()) && (e.istring)->empty() && (e.ostring)->empty())
113 SetFinal(s, Weight::Zero());
230 Weight w = e.state == kNoStateId ? Weight::One() : fst_->Final(e.state);
231 if ((w != Weight
327 typedef typename A::Weight Weight; typedef in class:fst::SynchronizeFst
[all...]
H A Dencode.h44 typedef typename A::Weight Weight; typedef in class:fst::EncodeTable
49 Tuple(Label ilabel_, Label olabel_, Weight weight_)
56 Weight weight;
112 flags_ & kEncodeWeights ? arc.weight : Weight::One());
207 typedef typename A::Weight Weight; typedef in class:fst::EncodeMapper
235 arc.weight == Weight::Zero())) {
241 flags_ & kEncodeWeights ? Weight::One() : arc.weight,
H A Dmutable-fst.h36 typedef typename A::Weight Weight; typedef in class:fst::MutableFst
42 virtual void SetFinal(StateId, Weight) = 0; // Set a state's final weight
H A Darcsort.h87 typedef typename A::Weight Weight; typedef in class:fst::ArcSortFstImpl
116 Weight Final(StateId s) {
192 typedef typename A::Weight Weight; typedef in class:fst::ArcSortFst
209 virtual Weight Final(StateId s) const { return impl_->Final(s); }
H A Dcache.h67 typedef typename Arc::Weight Weight; typedef in class:fst::CacheBaseImpl
164 void SetFinal(StateId s, Weight w) {
228 Weight Final(StateId s) const {
350 typedef typename A::Weight Weight; typedef in struct:fst::CacheState
353 CacheState() : final(Weight::Zero()), flags(0), ref_count(0) {}
361 Weight final; // Final weight
H A Dcompose.h100 typedef typename A::Weight Weight; typedef in class:fst::ComposeFstImplBase
136 Weight Final(StateId s) {
138 Weight final = ComputeFinal(s);
176 virtual Weight ComputeFinal(StateId s) = 0;
329 typedef typename A::Weight Weight; typedef in class:fst::ComposeFstImpl
478 bool finala = fsta->Final(sa) != Weight::Zero();
499 A earcb(0, 0, Weight::One(), sb);
559 A loop(match_labelb, match_labelb, Weight
685 typedef typename A::Weight Weight; typedef in class:fst::ComposeFst
[all...]
/external/openfst/src/test/
H A Dalgo_test.h67 typedef typename Arc::Weight Weight; typedef in class:fst::WeightedTester
197 if (Weight::Properties() & kLeftSemiring) {
216 if (Weight::Properties() & kRightSemiring) {
234 if (Weight::Properties() & kLeftSemiring) {
246 if (Weight::Properties() & kRightSemiring) {
259 if (Weight::Properties() & kLeftSemiring) {
273 if (Weight::Properties() & kRightSemiring) {
286 if (Weight::Properties() & kLeftSemiring) {
296 if (Weight
[all...]
H A Dfst_test.cc34 typedef ProductWeight<TropicalWeight, LogWeight> Weight; typedef in struct:fst::CustomArc
37 CustomArc(Label i, Label o, Weight w, StateId s) :
48 Weight weight; // Transition weight
60 typedef typename A::Weight Weight; typedef in class:fst::CustomCompactor
61 typedef pair<Label, Weight> Element;
H A Dfst_test.h45 typedef typename Arc::Weight Weight; typedef in class:fst::FstTester
328 Weight NthWeight(int n) const {
329 Weight w = Weight::Zero();
331 w = Plus(w, Weight::One());
/external/openfst/src/include/fst/extensions/ngram/
H A Dngram-fst.h46 typedef typename A::Weight Weight; typedef in struct:fst::NGramFstInst
78 typedef typename A::Weight Weight; typedef in class:fst::NGramFstImpl
140 Weight Final(StateId state) const {
144 return Weight::Zero();
180 Weight weight;
270 const Weight *backoff_, *final_probs_, *future_probs_;
283 typedef typename Arc::Weight Weight; typedef
641 typedef typename A::Weight Weight; typedef in class:fst::NGramFst
755 typedef typename A::Weight Weight; typedef in class:fst::NGramFstMatcher
863 typedef typename A::Weight Weight; typedef in class:fst::ArcIterator
[all...]
/external/openfst/src/include/fst/script/
H A Ddraw-impl.h41 typedef typename A::Weight Weight; typedef in class:fst::FstDrawer
169 Weight final = fst_.Final(s);
170 if (final != Weight::Zero()) {
171 if (show_weight_one_ || (final != Weight::One())) {
200 if (show_weight_one_ || (arc.weight != Weight::One())) {
/external/openfst/src/include/fst/
H A Dlookahead-filter.h209 typedef typename Arc::Weight Weight; typedef in class:fst::LookAheadComposeFilter
259 void FilterFinal(Weight *weight1, Weight *weight2) const {
324 // lookahead filter. Weight-pushing in composition brings weights
338 typedef WeightFilterState<typename Arc::Weight> FilterState2;
343 typedef typename Arc::Weight Weight; typedef in class:fst::PushWeightsComposeFilter
357 return FilterState(filter_.Start(), FilterState2(Weight::One()));
371 return FilterState(f1, FilterState2(Weight
431 typedef typename Arc::Weight Weight; typedef in class:fst::PushLabelsComposeFilter
[all...]
H A Dmatcher.h46 // typedef typename Arc::Weight Weight;
109 typedef typename A::Weight Weight; typedef in class:fst::MatcherBase
134 // Arc(kNoLabel, 0, Weight::One(), current_state) as well as any
136 // Arc(0, kNoLabel, Weight::One(), current_state) is instead matched.
144 typedef typename Arc::Weight Weight; typedef in class:fst::SortedMatcher
157 loop_(kNoLabel, 0, Weight::One(), kNoStateId),
401 typedef typename Arc::Weight Weigh typedef in class:fst::RhoMatcher
575 typedef typename Arc::Weight Weight; typedef in class:fst::SigmaMatcher
764 typedef typename Arc::Weight Weight; typedef in class:fst::PhiMatcher
996 typedef typename Arc::Weight Weight; typedef in class:fst::MultiEpsMatcher
1164 typedef typename Arc::Weight Weight; typedef in class:fst::Matcher
[all...]
H A Dcompact-fst.h127 // 'Final(s) != Weight::Zero()') is stored first.
213 typedef typename A::Weight Weight; typedef
226 if (fst.Final(s) != Weight::Zero()) ++nfinals;
248 if (fst.Final(s) != Weight::Zero())
284 typedef typename Arc::Weight Weight; typedef
319 Weight::One(), kNoStateId));
332 if (arc.weight != Weight::Zero())
347 if (arc.weight != Weight
459 typedef typename A::Weight Weight; typedef in class:fst::CompactFstImpl
933 typedef typename A::Weight Weight; typedef
1223 typedef typename A::Weight Weight; typedef in class:fst::StringCompactor
1262 typedef typename A::Weight Weight; typedef in class:fst::WeightedStringCompactor
1305 typedef typename A::Weight Weight; typedef in class:fst::UnweightedAcceptorCompactor
1347 typedef typename A::Weight Weight; typedef in class:fst::AcceptorCompactor
1389 typedef typename A::Weight Weight; typedef in class:fst::UnweightedCompactor
[all...]
H A Dvector-fst.h45 typedef typename Arc::Weight Weight; typedef in class:fst::VectorFstBaseImpl
57 Weight Final(StateId s) const { return states_[s]->final; }
65 void SetFinal(StateId s, Weight w) { states_[s]->final = w; }
168 typedef typename A::Weight Weight; typedef in struct:fst::VectorState
171 VectorState() : final(Weight::Zero()), niepsilons(0), noepsilons(0) {}
173 Weight final; // Final weight
198 typedef typename A::Weight Weight; typedef in class:fst::VectorFstImpl
627 typedef typename A::Weight Weight; typedef in class:fst::MutableArcIterator
[all...]
H A Dencode.h59 typedef typename A::Weight Weight; typedef in class:fst::EncodeTable
64 Tuple(Label ilabel_, Label olabel_, Weight weight_)
71 Weight weight;
134 flags_ & kEncodeWeights ? arc.weight : Weight::One());
149 flags_ & kEncodeWeights ? arc.weight : Weight::One());
306 typedef typename A::Weight Weight; typedef in class:fst::EncodeMapper
424 arc.weight == Weight::Zero())) {
430 flags_ & kEncodeWeights ? Weight
[all...]
H A Dsynchronize.h66 typedef typename A::Weight Weight; typedef in class:fst::SynchronizeFstImpl
128 Weight Final(StateId s) {
131 Weight w = e.state == kNoStateId ? Weight::One() : fst_->Final(e.state);
132 if ((w != Weight::Zero()) && (e.istring)->empty() && (e.ostring)->empty())
135 SetFinal(s, Weight::Zero());
261 Weight w = e.state == kNoStateId ? Weight::One() : fst_->Final(e.state);
262 if ((w != Weight
360 typedef typename A::Weight Weight; typedef in class:fst::SynchronizeFst
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DSampleProfile.cpp550 unsigned Weight = local
554 << " - weight: " << Weight << ")\n"); local
555 return Weight;
575 unsigned Weight = 0; local
578 if (InstWeight > Weight)
579 Weight = InstWeight;
581 Entry.first->second = Weight;
582 return Weight;
595 unsigned Weight = getBlockWeight(B); local
596 Changed |= (Weight >
938 unsigned Weight = EdgeWeights[E]; local
[all...]
/external/openfst/src/include/fst/extensions/pdt/
H A Dreplace.h59 typedef typename Arc::Weight Weight; typedef
81 vector< vector<pair<StateId, Weight> > > fst_final(ifst_array.size());
101 if (ifst->Final(is) != Weight::Zero()) {
183 pair<StateId, Weight> &p = fst_final[nfst_id][i];

Completed in 1128 milliseconds

1234567