Lines Matching refs:srcIx
1209 int32_t srcIx = ix; in utf8TextAccess() local
1215 c = s8[srcIx]; in utf8TextAccess()
1220 mapToNative[destIx] = (uint8_t)(srcIx - ix); in utf8TextAccess()
1221 mapToUChars[srcIx-ix] = (uint8_t)destIx; in utf8TextAccess()
1222 srcIx++; in utf8TextAccess()
1231 int32_t cIx = srcIx; in utf8TextAccess()
1234 U8_NEXT_OR_FFFD(s8, srcIx, strLen, c); in utf8TextAccess()
1236 srcIx--; in utf8TextAccess()
1247 } while (cIx < srcIx); in utf8TextAccess()
1249 if (srcIx>=strLen) { in utf8TextAccess()
1257 mapToNative[destIx] = (uint8_t)(srcIx - ix); in utf8TextAccess()
1258 mapToUChars[srcIx - ix] = (uint8_t)destIx; in utf8TextAccess()
1262 u8b->bufNativeLimit = srcIx; in utf8TextAccess()
1280 if (nulTerminated && srcIx>ut->c) { in utf8TextAccess()
1281 ut->c = srcIx; in utf8TextAccess()
1285 ut->b = srcIx; in utf8TextAccess()
1317 int32_t srcIx = ix; in utf8TextAccess() local
1324 mapToNative[destIx] = (uint8_t)(srcIx - toUCharsMapStart); in utf8TextAccess()
1325 mapToUChars[srcIx - toUCharsMapStart] = (uint8_t)destIx; in utf8TextAccess()
1330 while (destIx>2 && (srcIx - toUCharsMapStart > 5) && (srcIx > 0)) { in utf8TextAccess()
1331 srcIx--; in utf8TextAccess()
1335 c = s8[srcIx]; in utf8TextAccess()
1339 mapToUChars[srcIx - toUCharsMapStart] = (uint8_t)destIx; in utf8TextAccess()
1340 mapToNative[destIx] = (uint8_t)(srcIx - toUCharsMapStart); in utf8TextAccess()
1344 int32_t sIx = srcIx; // ix of last byte of multi-byte u8 char in utf8TextAccess()
1350 c=utf8_prevCharSafeBody(s8, 0, &srcIx, c, -3); in utf8TextAccess()
1356 mapToNative[destIx] = (uint8_t)(srcIx - toUCharsMapStart); in utf8TextAccess()
1359 mapToNative[destIx] = (uint8_t)(srcIx - toUCharsMapStart); in utf8TextAccess()
1361 mapToNative[destIx] = (uint8_t)(srcIx - toUCharsMapStart); in utf8TextAccess()
1367 } while (sIx >= srcIx); in utf8TextAccess()
1376 u8b->bufNativeStart = srcIx; in utf8TextAccess()