Lines Matching refs:leadUnit
224 int32_t leadUnit=*pos++; in getValue() local
226 return leadUnit&kValueIsFinal ? in getValue()
227 readValue(pos, leadUnit&0x7fff) : readNodeValue(pos, leadUnit); in getValue()
384 static inline int32_t readValue(const char16_t *pos, int32_t leadUnit) { in readValue() argument
386 if(leadUnit<kMinTwoUnitValueLead) { in readValue()
387 value=leadUnit; in readValue()
388 } else if(leadUnit<kThreeUnitValueLead) { in readValue()
389 value=((leadUnit-kMinTwoUnitValueLead)<<16)|*pos; in readValue()
395 static inline const char16_t *skipValue(const char16_t *pos, int32_t leadUnit) { in skipValue() argument
396 if(leadUnit>=kMinTwoUnitValueLead) { in skipValue()
397 if(leadUnit<kThreeUnitValueLead) { in skipValue()
406 int32_t leadUnit=*pos++; in skipValue() local
407 return skipValue(pos, leadUnit&0x7fff); in skipValue()
410 static inline int32_t readNodeValue(const char16_t *pos, int32_t leadUnit) { in readNodeValue() argument
413 if(leadUnit<kMinTwoUnitNodeValueLead) { in readNodeValue()
414 value=(leadUnit>>6)-1; in readNodeValue()
415 } else if(leadUnit<kThreeUnitNodeValueLead) { in readNodeValue()
416 value=(((leadUnit&0x7fc0)-kMinTwoUnitNodeValueLead)<<10)|*pos; in readNodeValue()
422 static inline const char16_t *skipNodeValue(const char16_t *pos, int32_t leadUnit) { in skipNodeValue() argument
424 if(leadUnit>=kMinTwoUnitNodeValueLead) { in skipNodeValue()
425 if(leadUnit<kThreeUnitNodeValueLead) { in skipNodeValue()