Lines Matching refs:pos

113         const UChar *pos;
126 state.pos=pos_;
143 pos_=state.pos;
223 const UChar *pos=pos_;
224 int32_t leadUnit=*pos++;
227 readValue(pos, leadUnit&0x7fff) : readNodeValue(pos, leadUnit);
240 const UChar *pos=pos_;
242 return pos!=NULL && findUniqueValue(pos+remainingMatchLength_+1, FALSE, uniqueValue);
339 const UChar *branchNext(const UChar *pos, int32_t length, UErrorCode &errorCode);
383 // pos is already after the leadUnit, and the lead unit has bit 15 reset.
384 static inline int32_t readValue(const UChar *pos, int32_t leadUnit) {
389 value=((leadUnit-kMinTwoUnitValueLead)<<16)|*pos;
391 value=(pos[0]<<16)|pos[1];
395 static inline const UChar *skipValue(const UChar *pos, int32_t leadUnit) {
398 ++pos;
400 pos+=2;
403 return pos;
405 static inline const UChar *skipValue(const UChar *pos) {
406 int32_t leadUnit=*pos++;
407 return skipValue(pos, leadUnit&0x7fff);
410 static inline int32_t readNodeValue(const UChar *pos, int32_t leadUnit) {
416 value=(((leadUnit&0x7fc0)-kMinTwoUnitNodeValueLead)<<10)|*pos;
418 value=(pos[0]<<16)|pos[1];
422 static inline const UChar *skipNodeValue(const UChar *pos, int32_t leadUnit) {
426 ++pos;
428 pos+=2;
431 return pos;
434 static inline const UChar *jumpByDelta(const UChar *pos) {
435 int32_t delta=*pos++;
438 delta=(pos[0]<<16)|pos[1];
439 pos+=2;
441 delta=((delta-kMinTwoUnitDeltaLead)<<16)|*pos++;
444 return pos+delta;
447 static const UChar *skipDelta(const UChar *pos) {
448 int32_t delta=*pos++;
451 pos+=2;
453 ++pos;
456 return pos;
464 UStringTrieResult branchNext(const UChar *pos, int32_t length, int32_t uchar);
467 UStringTrieResult nextImpl(const UChar *pos, int32_t uchar);
472 static const UChar *findUniqueValueFromBranch(const UChar *pos, int32_t length,
476 static UBool findUniqueValue(const UChar *pos, UBool haveUniqueValue, int32_t &uniqueValue);
479 // getNextUChars() when pos is on a branch node.
480 static void getNextBranchUChars(const UChar *pos, int32_t length, Appendable &out);