Lines Matching defs:kEncodeWeights
39 static const uint32 kEncodeWeights = 0x0002;
89 : encode_flags_(kEncodeLabels | kEncodeWeights) {}
103 if (encode_flags_ & kEncodeWeights)
134 flags_ & kEncodeWeights ? arc.weight : Weight::One());
149 flags_ & kEncodeWeights ? arc.weight : Weight::One());
339 return (type_ == ENCODE && (flags_ & kEncodeWeights)) ?
354 if (flags_ & kEncodeWeights)
422 if ((arc.nextstate == kNoStateId && !(flags_ & kEncodeWeights)) ||
423 (arc.nextstate == kNoStateId && (flags_ & kEncodeWeights) &&
430 flags_ & kEncodeWeights ? Weight::One() : arc.weight,
443 if (flags_ & kEncodeWeights && arc.weight != Weight::One()) {
456 flags_ & kEncodeWeights ? tuple->weight : arc.weight,