• Home
  • Raw
  • Download

Lines Matching refs:startPos

601     int64_t startPos = fMatchEnd;  in find()  local
602 if (startPos==0) { in find()
603 startPos = fActiveStart; in find()
613 if (startPos >= fActiveLimit) { in find()
618 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
620 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
640 if (startPos > testStartLimit) { in find()
652 U_ASSERT(startPos >= 0); in find()
659 MatchAt(startPos, FALSE, fDeferredStatus); in find()
666 if (startPos >= testStartLimit) { in find()
670 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
672 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
676 if (REGEXFINDPROGRESS_INTERRUPT(startPos, fDeferredStatus)) in find()
684 if (startPos > fActiveStart) { in find()
688 MatchAt(startPos, FALSE, fDeferredStatus); in find()
700 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
709 MatchAt(startPos, FALSE, fDeferredStatus); in find()
718 if (startPos >= testStartLimit) { in find()
723 startPos = pos; in find()
724 if (REGEXFINDPROGRESS_INTERRUPT(startPos, fDeferredStatus)) in find()
737 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
742 MatchAt(startPos, FALSE, fDeferredStatus); in find()
751 if (startPos >= testStartLimit) { in find()
756 startPos = pos; in find()
757 if (REGEXFINDPROGRESS_INTERRUPT(startPos, fDeferredStatus)) in find()
766 if (startPos == fAnchorStart) { in find()
767 MatchAt(startPos, FALSE, fDeferredStatus); in find()
774 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
776 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
778 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
780 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
786 MatchAt(startPos, FALSE, fDeferredStatus); in find()
793 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
795 if (startPos >= testStartLimit) { in find()
801 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
805 if (REGEXFINDPROGRESS_INTERRUPT(startPos, fDeferredStatus)) in find()
812 … if (c == 0x0d && startPos < fActiveLimit && UTEXT_CURRENT32(fInputText) == 0x0a) { in find()
814 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
816 MatchAt(startPos, FALSE, fDeferredStatus); in find()
823 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
825 if (startPos >= testStartLimit) { in find()
831 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
835 if (REGEXFINDPROGRESS_INTERRUPT(startPos, fDeferredStatus)) in find()
887 int32_t startPos = (int32_t)fMatchEnd; in findUsingChunk() local
888 if (startPos==0) { in findUsingChunk()
889 startPos = (int32_t)fActiveStart; in findUsingChunk()
901 if (startPos >= fActiveLimit) { in findUsingChunk()
906 U16_FWD_1(inputBuf, startPos, fInputLength); in findUsingChunk()
924 if (startPos > testLen) { in findUsingChunk()
931 U_ASSERT(startPos >= 0); in findUsingChunk()
938 MatchChunkAt(startPos, FALSE, fDeferredStatus); in findUsingChunk()
945 if (startPos >= testLen) { in findUsingChunk()
949 U16_FWD_1(inputBuf, startPos, fActiveLimit); in findUsingChunk()
953 if (REGEXFINDPROGRESS_INTERRUPT(startPos, fDeferredStatus)) in findUsingChunk()
961 if (startPos > fActiveStart) { in findUsingChunk()
965 MatchChunkAt(startPos, FALSE, fDeferredStatus); in findUsingChunk()
977 int32_t pos = startPos; in findUsingChunk()
978 U16_NEXT(inputBuf, startPos, fActiveLimit, c); // like c = inputBuf[startPos++]; in findUsingChunk()
994 if (REGEXFINDPROGRESS_INTERRUPT(startPos, fDeferredStatus)) in findUsingChunk()
1007 int32_t pos = startPos; in findUsingChunk()
1008 U16_NEXT(inputBuf, startPos, fActiveLimit, c); // like c = inputBuf[startPos++]; in findUsingChunk()
1023 if (REGEXFINDPROGRESS_INTERRUPT(startPos, fDeferredStatus)) in findUsingChunk()
1032 if (startPos == fAnchorStart) { in findUsingChunk()
1033 MatchChunkAt(startPos, FALSE, fDeferredStatus); in findUsingChunk()
1040 U16_FWD_1(inputBuf, startPos, fActiveLimit); in findUsingChunk()
1045 c = inputBuf[startPos-1]; in findUsingChunk()
1047 MatchChunkAt(startPos, FALSE, fDeferredStatus); in findUsingChunk()
1055 if (startPos >= testLen) { in findUsingChunk()
1060 U16_FWD_1(inputBuf, startPos, fActiveLimit); in findUsingChunk()
1064 if (REGEXFINDPROGRESS_INTERRUPT(startPos, fDeferredStatus)) in findUsingChunk()
1069 c = inputBuf[startPos-1]; in findUsingChunk()
1072 if (c == 0x0d && startPos < fActiveLimit && inputBuf[startPos] == 0x0a) { in findUsingChunk()
1073 startPos++; in findUsingChunk()
1075 MatchChunkAt(startPos, FALSE, fDeferredStatus); in findUsingChunk()
1083 if (startPos >= testLen) { in findUsingChunk()
1088 U16_FWD_1(inputBuf, startPos, fActiveLimit); in findUsingChunk()
1092 if (REGEXFINDPROGRESS_INTERRUPT(startPos, fDeferredStatus)) in findUsingChunk()