Lines Matching refs:startPos
642 int64_t startPos = fMatchEnd; in find() local
643 if (startPos==0) { in find()
644 startPos = fActiveStart; in find()
654 if (startPos >= fActiveLimit) { in find()
659 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
661 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
681 if (startPos > testStartLimit) { in find()
693 U_ASSERT(startPos >= 0); in find()
700 MatchAt(startPos, FALSE, status); in find()
707 if (startPos >= testStartLimit) { in find()
711 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
713 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
717 if (findProgressInterrupt(startPos, status)) in find()
725 if (startPos > fActiveStart) { in find()
729 MatchAt(startPos, FALSE, status); in find()
740 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
742 int64_t pos = startPos; in find()
744 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
759 if (startPos > testStartLimit) { in find()
764 if (findProgressInterrupt(startPos, status)) in find()
776 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
778 int64_t pos = startPos; in find()
780 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
789 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
791 if (startPos > testStartLimit) { in find()
796 if (findProgressInterrupt(startPos, status)) in find()
805 if (startPos == fAnchorStart) { in find()
806 MatchAt(startPos, FALSE, status); in find()
813 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
815 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
817 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
819 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
825 MatchAt(startPos, FALSE, status); in find()
832 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
834 if (startPos >= testStartLimit) { in find()
840 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
844 if (findProgressInterrupt(startPos, status)) in find()
850 … if (c == 0x0d && startPos < fActiveLimit && UTEXT_CURRENT32(fInputText) == 0x0a) { in find()
852 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
854 MatchAt(startPos, FALSE, status); in find()
861 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
863 if (startPos >= testStartLimit) { in find()
869 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
873 if (findProgressInterrupt(startPos, status)) in find()
925 int32_t startPos = (int32_t)fMatchEnd; in findUsingChunk() local
926 if (startPos==0) { in findUsingChunk()
927 startPos = (int32_t)fActiveStart; in findUsingChunk()
939 if (startPos >= fActiveLimit) { in findUsingChunk()
944 U16_FWD_1(inputBuf, startPos, fInputLength); in findUsingChunk()
963 if (startPos > testLen) { in findUsingChunk()
970 U_ASSERT(startPos >= 0); in findUsingChunk()
977 MatchChunkAt(startPos, FALSE, status); in findUsingChunk()
984 if (startPos >= testLen) { in findUsingChunk()
988 U16_FWD_1(inputBuf, startPos, fActiveLimit); in findUsingChunk()
992 if (findProgressInterrupt(startPos, status)) in findUsingChunk()
1000 if (startPos > fActiveStart) { in findUsingChunk()
1004 MatchChunkAt(startPos, FALSE, status); in findUsingChunk()
1016 int32_t pos = startPos; in findUsingChunk()
1017 U16_NEXT(inputBuf, startPos, fActiveLimit, c); // like c = inputBuf[startPos++]; in findUsingChunk()
1028 if (startPos > testLen) { in findUsingChunk()
1033 if (findProgressInterrupt(startPos, status)) in findUsingChunk()
1046 int32_t pos = startPos; in findUsingChunk()
1047 U16_NEXT(inputBuf, startPos, fActiveLimit, c); // like c = inputBuf[startPos++]; in findUsingChunk()
1057 if (startPos > testLen) { in findUsingChunk()
1062 if (findProgressInterrupt(startPos, status)) in findUsingChunk()
1071 if (startPos == fAnchorStart) { in findUsingChunk()
1072 MatchChunkAt(startPos, FALSE, status); in findUsingChunk()
1079 U16_FWD_1(inputBuf, startPos, fActiveLimit); in findUsingChunk()
1084 c = inputBuf[startPos-1]; in findUsingChunk()
1086 MatchChunkAt(startPos, FALSE, status); in findUsingChunk()
1094 if (startPos >= testLen) { in findUsingChunk()
1099 U16_FWD_1(inputBuf, startPos, fActiveLimit); in findUsingChunk()
1103 if (findProgressInterrupt(startPos, status)) in findUsingChunk()
1108 c = inputBuf[startPos-1]; in findUsingChunk()
1110 if (c == 0x0d && startPos < fActiveLimit && inputBuf[startPos] == 0x0a) { in findUsingChunk()
1111 startPos++; in findUsingChunk()
1113 MatchChunkAt(startPos, FALSE, status); in findUsingChunk()
1121 if (startPos >= testLen) { in findUsingChunk()
1126 U16_FWD_1(inputBuf, startPos, fActiveLimit); in findUsingChunk()
1130 if (findProgressInterrupt(startPos, status)) in findUsingChunk()