Lines Matching refs:startPos
718 int32_t startPos = 0; in TestSearching() local
720 startPos != -1 && startPos < test1.length(); in TestSearching()
721 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching()
726 for ( occurrences = 0, startPos = 10; in TestSearching()
727 startPos != -1 && startPos < test1.length(); in TestSearching()
728 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching()
735 for ( occurrences = 0, startPos = 5; in TestSearching()
736 startPos != -1 && startPos < test1.length(); in TestSearching()
737 …(startPos = test1.indexOf(test2, startPos, endPos - startPos)) != -1 ? (++occurrences, startPos +=… in TestSearching()
744 for ( startPos=0, occurrences=0; in TestSearching()
745 startPos != -1 && startPos < test3.length(); in TestSearching()
746 (startPos = test3.indexOf(test4, startPos)) != -1 ? (++occurrences, startPos += 2) : 0) in TestSearching()
751 for ( startPos=10, occurrences=0; in TestSearching()
752 startPos != -1 && startPos < test3.length(); in TestSearching()
753 (startPos = test3.indexOf(test4, startPos)) != -1 ? (++occurrences, startPos += 2) : 0) in TestSearching()
759 for ( occurrences = 0, startPos = 0; in TestSearching()
760 startPos != -1 && startPos < test1.length(); in TestSearching()
761 (startPos = test1.indexOf(testChar, startPos)) != -1 ? (++occurrences, startPos += 1) : 0) in TestSearching()
767 for ( occurrences = 0, startPos = 10; in TestSearching()
768 startPos != -1 && startPos < test1.length(); in TestSearching()
769 (startPos = test1.indexOf(testChar, startPos)) != -1 ? (++occurrences, startPos += 1) : 0) in TestSearching()
775 for ( occurrences = 0, startPos = 5, endPos = 28; in TestSearching()
776 startPos != -1 && startPos < test1.length(); in TestSearching()
777 …(startPos = test1.indexOf(testChar, startPos, endPos - startPos)) != -1 ? (++occurrences, startPos… in TestSearching()
785 for( occurrences =0, startPos=0; startPos < test3.length(); startPos +=1){ in TestSearching()
786 subString.append(test3, startPos, test3.length()); in TestSearching()
795 for ( occurrences = 0, startPos = 0; in TestSearching()
796 startPos != -1 && startPos < test3.length(); in TestSearching()
797 … (startPos = test3.indexOf(testChar32, startPos)) != -1 ? (++occurrences, startPos += 1) : 0) in TestSearching()
803 for ( occurrences = 0, startPos = 5; in TestSearching()
804 startPos != -1 && startPos < test3.length(); in TestSearching()
805 …(startPos = test3.indexOf(testChar32, startPos, endPos - startPos)) != -1 ? (++occurrences, startP… in TestSearching()
819 for ( occurrences = 0, startPos = 32; in TestSearching()
820 startPos != -1; in TestSearching()
821 (startPos = test1.lastIndexOf(test2, 5, startPos - 5)) != -1 ? ++occurrences : 0) in TestSearching()
827 for ( occurrences = 0, startPos = 32; in TestSearching()
828 startPos != -1; in TestSearching()
829 (startPos = test1.lastIndexOf(testChar, 5, startPos - 5)) != -1 ? ++occurrences : 0) in TestSearching()
836 startPos=test3.length(); in TestSearching()
838 startPos != -1; in TestSearching()
839 (startPos = test3.lastIndexOf(testChar32, 5, startPos - 5)) != -1 ? ++occurrences : 0) in TestSearching()