• Home
  • Raw
  • Download

Lines Matching refs:startPos

644     int64_t startPos = fMatchEnd;  in find()  local
645 if (startPos==0) { in find()
646 startPos = fActiveStart; in find()
656 if (startPos >= fActiveLimit) { in find()
661 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
663 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
683 if (startPos > testStartLimit) { in find()
695 U_ASSERT(startPos >= 0); in find()
702 MatchAt(startPos, FALSE, status); in find()
709 if (startPos >= testStartLimit) { in find()
713 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
715 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
719 if (findProgressInterrupt(startPos, status)) in find()
727 if (startPos > fActiveStart) { in find()
731 MatchAt(startPos, FALSE, status); in find()
742 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
744 int64_t pos = startPos; in find()
746 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
761 if (startPos > testStartLimit) { in find()
766 if (findProgressInterrupt(startPos, status)) in find()
778 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
780 int64_t pos = startPos; in find()
782 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
791 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
793 if (startPos > testStartLimit) { in find()
798 if (findProgressInterrupt(startPos, status)) in find()
807 if (startPos == fAnchorStart) { in find()
808 MatchAt(startPos, FALSE, status); in find()
815 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
817 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
819 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
821 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
827 MatchAt(startPos, FALSE, status); in find()
834 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
836 if (startPos >= testStartLimit) { in find()
842 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
846 if (findProgressInterrupt(startPos, status)) in find()
852 … if (ch == 0x0d && startPos < fActiveLimit && UTEXT_CURRENT32(fInputText) == 0x0a) { in find()
854 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
856 MatchAt(startPos, FALSE, status); in find()
863 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
865 if (startPos >= testStartLimit) { in find()
871 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
875 if (findProgressInterrupt(startPos, status)) in find()
926 int32_t startPos = (int32_t)fMatchEnd; in findUsingChunk() local
927 if (startPos==0) { in findUsingChunk()
928 startPos = (int32_t)fActiveStart; in findUsingChunk()
940 if (startPos >= fActiveLimit) { in findUsingChunk()
945 U16_FWD_1(inputBuf, startPos, fInputLength); in findUsingChunk()
964 if (startPos > testLen) { in findUsingChunk()
971 U_ASSERT(startPos >= 0); in findUsingChunk()
978 MatchChunkAt(startPos, FALSE, status); in findUsingChunk()
985 if (startPos >= testLen) { in findUsingChunk()
989 U16_FWD_1(inputBuf, startPos, fActiveLimit); in findUsingChunk()
993 if (findProgressInterrupt(startPos, status)) in findUsingChunk()
1001 if (startPos > fActiveStart) { in findUsingChunk()
1005 MatchChunkAt(startPos, FALSE, status); in findUsingChunk()
1017 int32_t pos = startPos; in findUsingChunk()
1018 U16_NEXT(inputBuf, startPos, fActiveLimit, c); // like c = inputBuf[startPos++]; in findUsingChunk()
1029 if (startPos > testLen) { in findUsingChunk()
1034 if (findProgressInterrupt(startPos, status)) in findUsingChunk()
1047 int32_t pos = startPos; in findUsingChunk()
1048 U16_NEXT(inputBuf, startPos, fActiveLimit, c); // like c = inputBuf[startPos++]; in findUsingChunk()
1058 if (startPos > testLen) { in findUsingChunk()
1063 if (findProgressInterrupt(startPos, status)) in findUsingChunk()
1072 if (startPos == fAnchorStart) { in findUsingChunk()
1073 MatchChunkAt(startPos, FALSE, status); in findUsingChunk()
1080 U16_FWD_1(inputBuf, startPos, fActiveLimit); in findUsingChunk()
1085 ch = inputBuf[startPos-1]; in findUsingChunk()
1087 MatchChunkAt(startPos, FALSE, status); in findUsingChunk()
1095 if (startPos >= testLen) { in findUsingChunk()
1100 U16_FWD_1(inputBuf, startPos, fActiveLimit); in findUsingChunk()
1104 if (findProgressInterrupt(startPos, status)) in findUsingChunk()
1109 ch = inputBuf[startPos-1]; in findUsingChunk()
1111 if (ch == 0x0d && startPos < fActiveLimit && inputBuf[startPos] == 0x0a) { in findUsingChunk()
1112 startPos++; in findUsingChunk()
1114 MatchChunkAt(startPos, FALSE, status); in findUsingChunk()
1122 if (startPos >= testLen) { in findUsingChunk()
1127 U16_FWD_1(inputBuf, startPos, fActiveLimit); in findUsingChunk()
1131 if (findProgressInterrupt(startPos, status)) in findUsingChunk()