Lines Matching refs:charIdx
1075 int32_t charIdx = 0;
1079 for (charIdx = 0; charIdx < len; ) {
1081 UChar c = testString.charAt(charIdx);
1082 charIdx++;
1083 if (c == CH_CR && charIdx<len && testString.charAt(charIdx) == CH_LF) {
1086 charIdx++;
1090 colStart = charIdx;
1092 column = charIdx - colStart + 1;
1111 if (testString.compare(charIdx-1, 6, "<word>") == 0) {
1114 charIdx += 5;
1117 if (testString.compare(charIdx-1, 6, "<char>") == 0) {
1120 charIdx += 5;
1123 if (testString.compare(charIdx-1, 6, "<line>") == 0) {
1126 charIdx += 5;
1129 if (testString.compare(charIdx-1, 6, "<sent>") == 0) {
1133 charIdx += 5;
1136 if (testString.compare(charIdx-1, 7, "<title>") == 0) {
1139 charIdx += 6;
1145 if (localeMatcher.lookingAt(charIdx-1, status)) {
1150 charIdx += localeMatcher.group(0, status).length() - 1;
1154 if (testString.compare(charIdx-1, 6, "<data>") == 0) {
1156 charIdx += 5;
1183 if (testString.compare(charIdx-1, 7, "</data>") == 0) {
1191 charIdx += 6;
1198 if (testString.compare(charIdx-1, 3, UNICODE_STRING_SIMPLE("\\N{")) == 0) {
1203 int32_t nameEndIdx = testString.indexOf((UChar)0x7d/*'}'*/, charIdx);
1204 int32_t nameLength = nameEndIdx - (charIdx+2);
1209 testString.extract(charIdx+2, nameLength, charNameBuf, sizeof(charNameBuf));
1228 if (nameEndIdx > charIdx) {
1229 charIdx = nameEndIdx+1;
1238 if (testString.compare(charIdx-1, 2, "<>") == 0) {
1239 charIdx++;
1265 UChar32 cp = testString.char32At(charIdx);
1266 if (cp == CH_CR && charIdx<len && testString.charAt(charIdx+1) == CH_LF) {
1269 charIdx++;
1273 colStart = charIdx;
1274 charIdx++;
1279 cp = testString.unescapeAt(charIdx);
1295 c = testString.charAt(charIdx);
1296 charIdx = testString.moveIndex32(charIdx, 1);
3958 int32_t charIdx = m_rand() % classSet->size();
3959 UChar32 c = classSet->charAt(charIdx);