Lines Matching refs:charIdx
1517 int32_t charIdx = 0;
1521 for (charIdx = 0; charIdx < len; ) {
1523 UChar c = testString.charAt(charIdx);
1524 charIdx++;
1525 if (c == CH_CR && charIdx<len && testString.charAt(charIdx) == CH_LF) {
1528 charIdx++;
1532 colStart = charIdx;
1534 column = charIdx - colStart + 1;
1553 if (testString.compare(charIdx-1, 6, "<word>") == 0) {
1556 charIdx += 5;
1559 if (testString.compare(charIdx-1, 6, "<char>") == 0) {
1562 charIdx += 5;
1565 if (testString.compare(charIdx-1, 6, "<line>") == 0) {
1568 charIdx += 5;
1571 if (testString.compare(charIdx-1, 6, "<sent>") == 0) {
1575 charIdx += 5;
1578 if (testString.compare(charIdx-1, 7, "<title>") == 0) {
1581 charIdx += 6;
1587 if (localeMatcher.lookingAt(charIdx-1, status)) {
1592 charIdx += localeMatcher.group(0, status).length();
1596 if (testString.compare(charIdx-1, 6, "<data>") == 0) {
1598 charIdx += 5;
1625 if (testString.compare(charIdx-1, 7, "</data>") == 0) {
1633 charIdx += 6;
1640 if (testString.compare(charIdx-1, 3, UNICODE_STRING_SIMPLE("\\N{")) == 0) {
1645 int32_t nameEndIdx = testString.indexOf((UChar)0x7d/*'}'*/, charIdx);
1646 int32_t nameLength = nameEndIdx - (charIdx+2);
1651 testString.extract(charIdx+2, nameLength, charNameBuf, sizeof(charNameBuf));
1670 if (nameEndIdx > charIdx) {
1671 charIdx = nameEndIdx+1;
1680 if (testString.compare(charIdx-1, 2, "<>") == 0) {
1681 charIdx++;
1707 UChar32 cp = testString.char32At(charIdx);
1708 if (cp == CH_CR && charIdx<len && testString.charAt(charIdx+1) == CH_LF) {
1711 charIdx++;
1715 colStart = charIdx;
1716 charIdx++;
1721 cp = testString.unescapeAt(charIdx);
1737 c = testString.charAt(charIdx);
1738 charIdx = testString.moveIndex32(charIdx, 1);
4482 int32_t charIdx = m_rand() % classSet->size();
4483 UChar32 c = classSet->charAt(charIdx);