Lines Matching refs:charIdx
734 int32_t charIdx = 0; in TestExtended() local
741 for (charIdx = 0; charIdx < len; ) { in TestExtended()
743 UChar c = testString.charAt(charIdx); in TestExtended()
744 charIdx++; in TestExtended()
745 if (c == u'\r' && charIdx<len && testString.charAt(charIdx) == u'\n') { in TestExtended()
748 charIdx++; in TestExtended()
752 colStart = charIdx; in TestExtended()
754 column = charIdx - colStart + 1; in TestExtended()
773 if (testString.compare(charIdx-1, 6, u"<word>") == 0) { in TestExtended()
777 charIdx += 5; in TestExtended()
780 if (testString.compare(charIdx-1, 6, u"<char>") == 0) { in TestExtended()
784 charIdx += 5; in TestExtended()
787 if (testString.compare(charIdx-1, 6, u"<line>") == 0) { in TestExtended()
791 charIdx += 5; in TestExtended()
794 if (testString.compare(charIdx-1, 6, u"<sent>") == 0) { in TestExtended()
798 charIdx += 5; in TestExtended()
801 if (testString.compare(charIdx-1, 7, u"<title>") == 0) { in TestExtended()
804 charIdx += 6; in TestExtended()
808 if (testString.compare(charIdx-1, 7, u"<rules>") == 0 || in TestExtended()
809 testString.compare(charIdx-1, 10, u"<badrules>") == 0) { in TestExtended()
810 charIdx = testString.indexOf(u'>', charIdx) + 1; in TestExtended()
819 if (localeMatcher.lookingAt(charIdx-1, status)) { in TestExtended()
824 charIdx += localeMatcher.group(0, status).length() - 1; in TestExtended()
828 if (testString.compare(charIdx-1, 6, u"<data>") == 0) { in TestExtended()
830 charIdx += 5; in TestExtended()
846 if (testString.compare(charIdx-1, 8, u"</rules>") == 0) { in TestExtended()
847 charIdx += 7; in TestExtended()
857 } else if (testString.compare(charIdx-1, 11, u"</badrules>") == 0) { in TestExtended()
858 charIdx += 10; in TestExtended()
884 if (testString.compare(charIdx-1, 7, u"</data>") == 0) { in TestExtended()
892 charIdx += 6; in TestExtended()
910 if (testString.compare(charIdx-1, 3, u"\\N{") == 0) { in TestExtended()
915 int32_t nameEndIdx = testString.indexOf(u'}', charIdx); in TestExtended()
916 int32_t nameLength = nameEndIdx - (charIdx+2); in TestExtended()
921 testString.extract(charIdx+2, nameLength, charNameBuf, sizeof(charNameBuf)); in TestExtended()
940 if (nameEndIdx > charIdx) { in TestExtended()
941 charIdx = nameEndIdx+1; in TestExtended()
949 if (testString.compare(charIdx-1, 2, u"<>") == 0) { in TestExtended()
950 charIdx++; in TestExtended()
976 UChar32 cp = testString.char32At(charIdx); in TestExtended()
977 if (cp == u'\r' && charIdx<len && testString.charAt(charIdx+1) == u'\n') { in TestExtended()
980 charIdx++; in TestExtended()
984 colStart = charIdx; in TestExtended()
985 charIdx++; in TestExtended()
990 cp = testString.unescapeAt(charIdx); in TestExtended()
1006 c = testString.charAt(charIdx); in TestExtended()
1007 charIdx = testString.moveIndex32(charIdx, 1); in TestExtended()
3874 int32_t charIdx = m_rand() % classSet->size(); in RunMonkey() local
3875 UChar32 c = classSet->charAt(charIdx); in RunMonkey()