Lines Matching refs:pos

111         const UChar *pos;
124 state.pos=pos_;
141 pos_=state.pos;
221 const UChar *pos=pos_;
222 int32_t leadUnit=*pos++;
225 readValue(pos, leadUnit&0x7fff) : readNodeValue(pos, leadUnit);
238 const UChar *pos=pos_;
240 return pos!=NULL && findUniqueValue(pos+remainingMatchLength_+1, FALSE, uniqueValue);
337 const UChar *branchNext(const UChar *pos, int32_t length, UErrorCode &errorCode);
381 // pos is already after the leadUnit, and the lead unit has bit 15 reset.
382 static inline int32_t readValue(const UChar *pos, int32_t leadUnit) {
387 value=((leadUnit-kMinTwoUnitValueLead)<<16)|*pos;
389 value=(pos[0]<<16)|pos[1];
393 static inline const UChar *skipValue(const UChar *pos, int32_t leadUnit) {
396 ++pos;
398 pos+=2;
401 return pos;
403 static inline const UChar *skipValue(const UChar *pos) {
404 int32_t leadUnit=*pos++;
405 return skipValue(pos, leadUnit&0x7fff);
408 static inline int32_t readNodeValue(const UChar *pos, int32_t leadUnit) {
414 value=(((leadUnit&0x7fc0)-kMinTwoUnitNodeValueLead)<<10)|*pos;
416 value=(pos[0]<<16)|pos[1];
420 static inline const UChar *skipNodeValue(const UChar *pos, int32_t leadUnit) {
424 ++pos;
426 pos+=2;
429 return pos;
432 static inline const UChar *jumpByDelta(const UChar *pos) {
433 int32_t delta=*pos++;
436 delta=(pos[0]<<16)|pos[1];
437 pos+=2;
439 delta=((delta-kMinTwoUnitDeltaLead)<<16)|*pos++;
442 return pos+delta;
445 static const UChar *skipDelta(const UChar *pos) {
446 int32_t delta=*pos++;
449 pos+=2;
451 ++pos;
454 return pos;
462 UStringTrieResult branchNext(const UChar *pos, int32_t length, int32_t uchar);
465 UStringTrieResult nextImpl(const UChar *pos, int32_t uchar);
470 static const UChar *findUniqueValueFromBranch(const UChar *pos, int32_t length,
474 static UBool findUniqueValue(const UChar *pos, UBool haveUniqueValue, int32_t &uniqueValue);
477 // getNextUChars() when pos is on a branch node.
478 static void getNextBranchUChars(const UChar *pos, int32_t length, Appendable &out);