Searched refs:bestSnlp (Results 1 – 3 of 3) sorted by relevance
129 int[] bestSnlp = new int[numChars + 1]; in divideUpDictionaryRange() local130 bestSnlp[0] = 0; in divideUpDictionaryRange()132 bestSnlp[i] = kint32max; in divideUpDictionaryRange()147 if (bestSnlp[i] == kint32max) { in divideUpDictionaryRange()168 int newSnlp = bestSnlp[i] + values[j]; in divideUpDictionaryRange()169 if (newSnlp < bestSnlp[lengths[j] + i]) { in divideUpDictionaryRange()170 bestSnlp[lengths[j] + i] = newSnlp; in divideUpDictionaryRange()191 int newSnlp = bestSnlp[i] + getKatakanaCost(j - i); in divideUpDictionaryRange()192 if (newSnlp < bestSnlp[j]) { in divideUpDictionaryRange()193 bestSnlp[j] = newSnlp; in divideUpDictionaryRange()[all …]
130 int[] bestSnlp = new int[numChars + 1]; in divideUpDictionaryRange() local131 bestSnlp[0] = 0; in divideUpDictionaryRange()133 bestSnlp[i] = kint32max; in divideUpDictionaryRange()148 if (bestSnlp[i] == kint32max) { in divideUpDictionaryRange()169 int newSnlp = bestSnlp[i] + values[j]; in divideUpDictionaryRange()170 if (newSnlp < bestSnlp[lengths[j] + i]) { in divideUpDictionaryRange()171 bestSnlp[lengths[j] + i] = newSnlp; in divideUpDictionaryRange()192 int newSnlp = bestSnlp[i] + getKatakanaCost(j - i); in divideUpDictionaryRange()193 if (newSnlp < bestSnlp[j]) { in divideUpDictionaryRange()194 bestSnlp[j] = newSnlp; in divideUpDictionaryRange()[all …]
1267 UVector32 bestSnlp(numCodePts + 1, status); in divideUpDictionaryRange() local1268 bestSnlp.addElement(0, status); in divideUpDictionaryRange()1270 bestSnlp.addElement(kuint32max, status); in divideUpDictionaryRange()1297 if ((uint32_t)bestSnlp.elementAti(i) == kuint32max) { in divideUpDictionaryRange()1320 uint32_t newSnlp = (uint32_t)bestSnlp.elementAti(i) + (uint32_t)values.elementAti(j); in divideUpDictionaryRange()1322 if (newSnlp < (uint32_t)bestSnlp.elementAti(ln_j_i)) { in divideUpDictionaryRange()1323 bestSnlp.setElementAt(newSnlp, ln_j_i); in divideUpDictionaryRange()1346 uint32_t newSnlp = bestSnlp.elementAti(i) + getKatakanaCost(katakanaRunLength); in divideUpDictionaryRange()1347 if (newSnlp < (uint32_t)bestSnlp.elementAti(j)) { in divideUpDictionaryRange()1348 bestSnlp.setElementAt(newSnlp, j); in divideUpDictionaryRange()[all …]