Home
last modified time | relevance | path

Searched refs:codeUnitIdx (Results 1 – 4 of 4) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/breakiter/
DCjkBreakEngine.java267 int codeUnitIdx = 0, prevCodeUnitIdx = 0, length = 0; in divideUpDictionaryRange() local
269 codeUnitIdx = prenormstr.offsetByCodePoints(0, i); in divideUpDictionaryRange()
271 length = prevCodeUnitIdx - codeUnitIdx; in divideUpDictionaryRange()
273 String pattern = getPatternFromText(text, s, codeUnitIdx, length); in divideUpDictionaryRange()
276 text.setIndex(codeUnitIdx); in divideUpDictionaryRange()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/
DCjkBreakEngine.java263 int codeUnitIdx = 0, prevCodeUnitIdx = 0, length = 0; in divideUpDictionaryRange() local
265 codeUnitIdx = prenormstr.offsetByCodePoints(0, i); in divideUpDictionaryRange()
267 length = prevCodeUnitIdx - codeUnitIdx; in divideUpDictionaryRange()
269 String pattern = getPatternFromText(text, s, codeUnitIdx, length); in divideUpDictionaryRange()
272 text.setIndex(codeUnitIdx); in divideUpDictionaryRange()
/external/cronet/third_party/icu/source/common/
Ddictbe.cpp1364 int32_t codeUnitIdx = -1; in divideUpDictionaryRange() local
1368 codeUnitIdx = inString.moveIndex32(0, i); in divideUpDictionaryRange()
1371 length = prevCodeUnitIdx - codeUnitIdx; in divideUpDictionaryRange()
1375 if (!fSkipSet.containsKey(inString.tempSubString(codeUnitIdx, length)) in divideUpDictionaryRange()
1376 && (!isKatakana(inString.char32At(inString.moveIndex32(codeUnitIdx, -1))) in divideUpDictionaryRange()
1377 || !isKatakana(inString.char32At(codeUnitIdx)))) { in divideUpDictionaryRange()
/external/icu/icu4c/source/common/
Ddictbe.cpp1383 int32_t codeUnitIdx = -1; in divideUpDictionaryRange() local
1387 codeUnitIdx = inString.moveIndex32(0, i); in divideUpDictionaryRange()
1390 length = prevCodeUnitIdx - codeUnitIdx; in divideUpDictionaryRange()
1394 if (!fSkipSet.containsKey(inString.tempSubString(codeUnitIdx, length)) in divideUpDictionaryRange()
1395 && (!isKatakana(inString.char32At(inString.moveIndex32(codeUnitIdx, -1))) in divideUpDictionaryRange()
1396 || !isKatakana(inString.char32At(codeUnitIdx)))) { in divideUpDictionaryRange()