Home | History | Annotate | Download | only in lib

Lines Matching defs:kEncodeWeights

28 static const uint32 kEncodeWeights  = 0x00002;
75 : encode_flags_(kEncodeLabels | kEncodeWeights) {}
88 if (encode_flags_ & kEncodeWeights) hash ^= x->weight.Hash();
115 flags_ & kEncodeWeights ? arc.weight : Weight::One());
232 if ((arc.nextstate == kNoStateId && !(flags_ & kEncodeWeights)) ||
233 (arc.nextstate == kNoStateId && (flags_ & kEncodeWeights) &&
240 flags_ & kEncodeWeights ? Weight::One() : arc.weight,
251 flags_ & kEncodeWeights ? tuple->weight : arc.weight,
261 if (flags_ & kEncodeWeights)
270 return (type_ == ENCODE && (flags_ & kEncodeWeights)) ?