Lines Matching refs:startPos
710 int32_t startPos = 0; in TestSearching() local
712 startPos != -1 && startPos < test1.length(); in TestSearching()
713 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching()
718 for ( occurrences = 0, startPos = 10; in TestSearching()
719 startPos != -1 && startPos < test1.length(); in TestSearching()
720 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching()
727 for ( occurrences = 0, startPos = 5; in TestSearching()
728 startPos != -1 && startPos < test1.length(); in TestSearching()
729 …(startPos = test1.indexOf(test2, startPos, endPos - startPos)) != -1 ? (++occurrences, startPos +=… in TestSearching()
736 for ( startPos=0, occurrences=0; in TestSearching()
737 startPos != -1 && startPos < test3.length(); in TestSearching()
738 (startPos = test3.indexOf(test4, startPos)) != -1 ? (++occurrences, startPos += 2) : 0) in TestSearching()
743 for ( startPos=10, occurrences=0; in TestSearching()
744 startPos != -1 && startPos < test3.length(); in TestSearching()
745 (startPos = test3.indexOf(test4, startPos)) != -1 ? (++occurrences, startPos += 2) : 0) in TestSearching()
751 for ( occurrences = 0, startPos = 0; in TestSearching()
752 startPos != -1 && startPos < test1.length(); in TestSearching()
753 (startPos = test1.indexOf(testChar, startPos)) != -1 ? (++occurrences, startPos += 1) : 0) in TestSearching()
759 for ( occurrences = 0, startPos = 10; 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 = 5, endPos = 28; in TestSearching()
768 startPos != -1 && startPos < test1.length(); in TestSearching()
769 …(startPos = test1.indexOf(testChar, startPos, endPos - startPos)) != -1 ? (++occurrences, startPos… in TestSearching()
777 for( occurrences =0, startPos=0; startPos < test3.length(); startPos +=1){ in TestSearching()
778 subString.append(test3, startPos, test3.length()); in TestSearching()
787 for ( occurrences = 0, startPos = 0; in TestSearching()
788 startPos != -1 && startPos < test3.length(); in TestSearching()
789 … (startPos = test3.indexOf(testChar32, startPos)) != -1 ? (++occurrences, startPos += 1) : 0) in TestSearching()
795 for ( occurrences = 0, startPos = 5; in TestSearching()
796 startPos != -1 && startPos < test3.length(); in TestSearching()
797 …(startPos = test3.indexOf(testChar32, startPos, endPos - startPos)) != -1 ? (++occurrences, startP… in TestSearching()
811 for ( occurrences = 0, startPos = 32; in TestSearching()
812 startPos != -1; in TestSearching()
813 (startPos = test1.lastIndexOf(test2, 5, startPos - 5)) != -1 ? ++occurrences : 0) in TestSearching()
819 for ( occurrences = 0, startPos = 32; in TestSearching()
820 startPos != -1; in TestSearching()
821 (startPos = test1.lastIndexOf(testChar, 5, startPos - 5)) != -1 ? ++occurrences : 0) in TestSearching()
828 startPos=test3.length(); in TestSearching()
830 startPos != -1; in TestSearching()
831 (startPos = test3.lastIndexOf(testChar32, 5, startPos - 5)) != -1 ? ++occurrences : 0) in TestSearching()