| /packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/ |
| suggestions_output_utils.cpp | 174 int codePoints[MAX_WORD_LENGTH]; 175 terminalDicNode->outputResult(codePoints); 180 outSuggestionResults->addSuggestion(codePoints,
|
| /external/icu/icu4c/source/test/cintltst/ |
| utf8tst.c | 600 static const UChar32 codePoints[]={ 616 expected = codePoints[i]; 630 expected = codePoints[i]; 637 for(i=UPRV_LENGTHOF(codePoints)-1, offset=sizeof(input); offset > 0; --i){ 639 expected = codePoints[i]; 646 for(i=UPRV_LENGTHOF(codePoints)-1, offset=sizeof(input); offset > 0; --i){ 648 expected = codePoints[i]; [all...] |
| /external/icu/icu4c/source/tools/makeconv/ |
| gencnvex.c | 935 UChar32 *codePoints; 952 codePoints=UCM_GET_CODE_POINTS(table, m); 953 next=codePoints[0]; 961 codePoints=UCM_GET_CODE_POINTS(table, m); 962 next=codePoints[0]; 972 codePoints=UCM_GET_CODE_POINTS(table, m); [all...] |
| /external/icu/icu4c/source/tools/toolutil/ |
| ucm.cpp | 45 printMapping(UCMapping *m, UChar32 *codePoints, uint8_t *bytes, FILE *f) { 49 fprintf(f, "<U%04lX>", (long)codePoints[j]); 786 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], 824 codePoints[uLen++]=cp; 832 m->u=codePoints[0]; 835 u_strFromUTF32(NULL, 0, &u16Length, codePoints, uLen, &errorCode); 898 uprv_free(table->codePoints); 919 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], 949 table->codePoints=(UChar32 *)uprv_malloc(table->codePointsCapacity*4); 950 if(table->codePoints==NULL) [all...] |
| /external/smali/util/src/main/java/org/jf/util/ |
| ClassFileNameHandler.java | 178 * The removed codePoints in the middle of the string will be replaced with a # character. 185 int[] codePoints; 188 codePoints = new int[intBuffer.limit()]; 189 intBuffer.get(codePoints); 194 int midPoint = codePoints.length/2; 198 int bytesRemoved = utf8Length(codePoints[midPoint]); 200 // if we have an even number of codepoints, start by removing both middle characters, 202 if (((codePoints.length % 2) == 0) && bytesRemoved < bytesToRemove) { 203 bytesRemoved += utf8Length(codePoints[secondStart]); 208 (firstEnd > 0 || secondStart < codePoints.length)) [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
| AndroidWordLevelSpellCheckerSession.java | 284 final int[] codePoints = StringUtils.toCodePointArray(text); 286 coordinates = keyboard.getCoordinates(codePoints); 287 composer.setComposingWord(codePoints, coordinates);
|
| /external/okhttp/okio/okio/src/test/java/okio/ |
| BufferedSourceTest.java | 747 @Test public void codePoints() throws IOException {
|
| /packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
| StringUtils.java | 253 final int[] codePoints = 255 copyCodePointsAndReturnCodePointCount(codePoints, charSequence, startIndex, endIndex, 257 return codePoints; 261 * Copies the codepoints in a CharSequence to an int array. 295 final int[] codePoints = toCodePointArray(string); 296 Arrays.sort(codePoints); 297 return codePoints; 303 * @param codePoints a code point array that is null terminated when its logical length is 309 @Nonnull final int[] codePoints) { 310 int stringLength = codePoints.length [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
| WordComposer.java | 238 final int[] codePoints = StringUtils.toCodePointArray(mTypedWordCache); 242 while (actualMoveAmount < expectedMoveAmount && cursorPos < codePoints.length) { 243 actualMoveAmount += Character.charCount(codePoints[cursorPos]); 251 actualMoveAmount -= Character.charCount(codePoints[cursorPos]); 287 * @param codePoints the code points to set as the composing word. 290 public void setComposingWord(final int[] codePoints, final int[] coordinates) { 292 final int length = codePoints.length; 295 processEvent(Event.createEventForCodePointFromAlreadyTypedText(codePoints[i],
|
| BinaryDictionary.java | 361 final int[] codePoints = StringUtils.toCodePointArray(word); 362 return getProbabilityNative(mNativeDict, codePoints); 370 final int[] codePoints = StringUtils.toCodePointArray(word); 371 return getMaxProbabilityOfExactMatchesNative(mNativeDict, codePoints); 395 final int[] codePoints = StringUtils.toCodePointArray(word); 407 getWordPropertyNative(mNativeDict, codePoints, isBeginningOfSentence, outCodePoints, 411 return new WordProperty(codePoints, 435 final int[] codePoints = new int[DICTIONARY_MAX_WORD_LENGTH]; 437 final int nextToken = getNextWordNative(mNativeDict, token, codePoints, 439 final String word = StringUtils.getStringFromNullTerminatedCodePointArray(codePoints); [all...] |
| /packages/inputmethods/LatinIME/native/jni/ |
| com_android_inputmethod_latin_BinaryDictionary.cpp | 268 int codePoints[codePointCount]; 269 env->GetIntArrayRegion(word, 0, codePointCount, codePoints); 270 return dictionary->getProbability(CodePointArrayView(codePoints, codePointCount)); 278 int codePoints[codePointCount]; 279 env->GetIntArrayRegion(word, 0, codePointCount, codePoints); 281 CodePointArrayView(codePoints, codePointCount)); 368 int codePoints[codePointCount]; 369 env->GetIntArrayRegion(word, 0, codePointCount, codePoints); 382 return dictionary->addUnigramEntry(CodePointArrayView(codePoints, codePointCount), 393 int codePoints[codePointCount] [all...] |
| /art/test/956-methodhandles/src/ |
| Main.java | 791 // String(int[] codePoints, int offset, int count) 793 int[] codePoints = new int[sb.codePointCount(0, sb.length())]; 795 codePoints[i] = sb.codePointAt(i); 799 s = (String) mh.invokeExact(codePoints, 0, codePoints.length); [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
| UTF16Test.java | [all...] |
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
| UTF16Test.java | [all...] |
| /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
| FusionDictionary.java | 251 final int[] codePoints = new int[Character.codePointCount(characters, 0, length)]; 256 codePoints[dsti] = codePoint; 259 codePoints[dsti] = codePoint; 260 return codePoints; 508 final int[] codePoints = getCodePoints(string); 512 int indexOfGroup = findIndexOfChar(nodeArray, codePoints[index]); 516 if (codePoints.length - index < currentPtNode.mChars.length) return null; 518 while (newIndex < codePoints.length && newIndex - index < currentPtNode.mChars.length) { 519 if (currentPtNode.mChars[newIndex - index] != codePoints[newIndex]) return null; 527 if (index < codePoints.length) [all...] |
| /external/icu/icu4c/source/common/ |
| ucnvmbcs.cpp | 374 * @param codePoints resulting Unicode code points, or negative if a byte sequence does 379 UConverterEnumToUCallback(const void *context, uint32_t value, UChar32 codePoints[32]); 640 UChar32 codePoints[32]; 655 codePoints[0]=U_SENTINEL; 674 codePoints[b&0x1f]=U_SENTINEL; 716 codePoints[b&0x1f]=c; 721 if(!callback(context, value|(uint32_t)(b-0x20), codePoints)) { [all...] |
| /libcore/luni/src/test/java/libcore/java/lang/invoke/ |
| MethodHandlesTest.java | [all...] |
| /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/ |
| InputLogic.java | [all...] |
| /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
| CharsetMBCS.java | 507 private static boolean writeStage3Roundtrip(UConverterMBCSTable mbcsTable, long value, int codePoints[]) { 552 c=codePoints[i]; 701 int[] codePoints = new int[32]; 716 codePoints[0] = UConverterConstants.U_SENTINEL; 730 codePoints[b&0x1f] = UConverterConstants.U_SENTINEL; [all...] |
| /prebuilts/tools/common/m2/repository/org/smali/util/2.1.3/ |
| util-2.1.3.jar | |
| /prebuilts/gradle-plugin/org/jetbrains/kotlin/kotlin-stdlib/1.0.5/ |
| kotlin-stdlib-1.0.5.jar | |
| /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-runtime/1.0.5/ |
| kotlin-runtime.jar | |
| /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.0.2/ |
| kotlin-stdlib-1.0.2.jar | |
| /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.0.5/ |
| kotlin-stdlib-1.0.5.jar | |
| /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.0.6/ |
| kotlin-stdlib-1.0.6.jar | |