Home | History | Annotate | Download | only in intltest

Lines Matching refs:charIdx

1498     int32_t    charIdx  = 0;
1502 for (charIdx = 0; charIdx < len; ) {
1504 UChar c = testString.charAt(charIdx);
1505 charIdx++;
1506 if (c == CH_CR && charIdx<len && testString.charAt(charIdx) == CH_LF) {
1509 charIdx++;
1513 colStart = charIdx;
1515 column = charIdx - colStart + 1;
1534 if (testString.compare(charIdx-1, 6, "<word>") == 0) {
1537 charIdx += 5;
1540 if (testString.compare(charIdx-1, 6, "<char>") == 0) {
1543 charIdx += 5;
1546 if (testString.compare(charIdx-1, 6, "<line>") == 0) {
1549 charIdx += 5;
1552 if (testString.compare(charIdx-1, 6, "<sent>") == 0) {
1556 charIdx += 5;
1559 if (testString.compare(charIdx-1, 7, "<title>") == 0) {
1562 charIdx += 6;
1568 if (localeMatcher.lookingAt(charIdx-1, status)) {
1573 charIdx += localeMatcher.group(0, status).length();
1577 if (testString.compare(charIdx-1, 6, "<data>") == 0) {
1579 charIdx += 5;
1606 if (testString.compare(charIdx-1, 7, "</data>") == 0) {
1614 charIdx += 6;
1621 if (testString.compare(charIdx-1, 3, UNICODE_STRING_SIMPLE("\\N{")) == 0) {
1626 int32_t nameEndIdx = testString.indexOf((UChar)0x7d/*'}'*/, charIdx);
1627 int32_t nameLength = nameEndIdx - (charIdx+2);
1632 testString.extract(charIdx+2, nameLength, charNameBuf, sizeof(charNameBuf));
1651 if (nameEndIdx > charIdx) {
1652 charIdx = nameEndIdx+1;
1661 if (testString.compare(charIdx-1, 2, "<>") == 0) {
1662 charIdx++;
1688 UChar32 cp = testString.char32At(charIdx);
1689 if (cp == CH_CR && charIdx<len && testString.charAt(charIdx+1) == CH_LF) {
1692 charIdx++;
1696 colStart = charIdx;
1697 charIdx++;
1702 cp = testString.unescapeAt(charIdx);
1718 c = testString.charAt(charIdx);
1719 charIdx = testString.moveIndex32(charIdx, 1);
4409 int32_t charIdx = m_rand() % classSet->size();
4410 UChar32 c = classSet->charAt(charIdx);