Home
last modified time | relevance | path

Searched refs:numCodePts (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCjkBreakEngine.java104 int numCodePts = 0; in divideUpDictionaryRange() local
112 numCodePts++; in divideUpDictionaryRange()
113 charPositions[numCodePts] = index; in divideUpDictionaryRange()
124 numCodePts++; in divideUpDictionaryRange()
126 charPositions[numCodePts] = index; in divideUpDictionaryRange()
132 int[] bestSnlp = new int[numCodePts + 1]; in divideUpDictionaryRange()
134 for (int i = 1; i <= numCodePts; i++) { in divideUpDictionaryRange()
138 int[] prev = new int[numCodePts + 1]; in divideUpDictionaryRange()
139 for (int i = 0; i <= numCodePts; i++) { in divideUpDictionaryRange()
144 int values[] = new int[numCodePts]; in divideUpDictionaryRange()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCjkBreakEngine.java105 int numCodePts = 0; in divideUpDictionaryRange() local
113 numCodePts++; in divideUpDictionaryRange()
114 charPositions[numCodePts] = index; in divideUpDictionaryRange()
125 numCodePts++; in divideUpDictionaryRange()
127 charPositions[numCodePts] = index; in divideUpDictionaryRange()
133 int[] bestSnlp = new int[numCodePts + 1]; in divideUpDictionaryRange()
135 for (int i = 1; i <= numCodePts; i++) { in divideUpDictionaryRange()
139 int[] prev = new int[numCodePts + 1]; in divideUpDictionaryRange()
140 for (int i = 0; i <= numCodePts; i++) { in divideUpDictionaryRange()
145 int values[] = new int[numCodePts]; in divideUpDictionaryRange()
[all …]
/external/icu/icu4c/source/common/
Ddictbe.cpp1211 int32_t numCodePts = inString.countChar32(); in divideUpDictionaryRange() local
1212 if (numCodePts != inString.length()) { in divideUpDictionaryRange()
1242 UVector32 bestSnlp(numCodePts + 1, status); in divideUpDictionaryRange()
1244 for(int32_t i = 1; i <= numCodePts; i++) { in divideUpDictionaryRange()
1251 UVector32 prev(numCodePts + 1, status); in divideUpDictionaryRange()
1252 for(int32_t i = 0; i <= numCodePts; i++){ in divideUpDictionaryRange()
1257 UVector32 values(numCodePts, status); in divideUpDictionaryRange()
1258 values.setSize(numCodePts); in divideUpDictionaryRange()
1259 UVector32 lengths(numCodePts, status); in divideUpDictionaryRange()
1260 lengths.setSize(numCodePts); in divideUpDictionaryRange()
[all …]