HomeSort by relevance Sort by last modified time
    Searched defs:codePoint (Results 1 - 25 of 168) sorted by null

1 2 3 4 5 6 7

  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
dictionary_utils.cpp 43 for (const int codePoint : codePoints) {
45 const int baseLowerCodePoint = CharUtils::toBaseLowerCase(codePoint);
80 const int codePoint = CharUtils::toBaseLowerCase(childDicNode->getNodeCodePoint());
81 if (inputCodePoint == codePoint) {
92 if (childDicNode->getNodeCodePoint() == codePoint) {
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
UCharacterThreadTest.java 38 // Test multi-threaded parallel calls to UCharacter.getName(codePoint)
45 int codePoint = 47 + t;
46 String correctName = UCharacter.getName(codePoint);
47 GetNameThread thread = new GetNameThread(codePoint, correctName);
62 private final int codePoint;
66 GetNameThread(int codePoint, String correctName) {
67 this.codePoint = codePoint;
73 actualName = UCharacter.getName(codePoint);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
UCharacterThreadTest.java 37 // Test multi-threaded parallel calls to UCharacter.getName(codePoint)
44 int codePoint = 47 + t;
45 String correctName = UCharacter.getName(codePoint);
46 GetNameThread thread = new GetNameThread(codePoint, correctName);
61 private final int codePoint;
65 GetNameThread(int codePoint, String correctName) {
66 this.codePoint = codePoint;
72 actualName = UCharacter.getName(codePoint);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
IllegalFormatCodePointExceptionTest.java 42 int codePoint = 12345;
44 codePoint);
45 assertEquals(codePoint, illegalFormatCodePointException.getCodePoint());
52 int codePoint = 12345;
54 codePoint);
69 assertEquals("CodePoint", initEx.getCodePoint(), desrEx
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
EncodingInfo.java 189 int codePoint = Encodings.toCodePoint(ch1);
190 if (codePoint < m_explFirst) {
201 codePoint);
203 } else if (m_explLast < codePoint) {
214 codePoint);
218 final int idx = codePoint - m_explFirst;
236 int codePoint = Encodings.toCodePoint(high,low);
237 if (codePoint < m_explFirst) {
248 codePoint);
250 } else if (m_explLast < codePoint) {
    [all...]
Encodings.java 443 int codePoint =
447 return codePoint;
459 int codePoint = ch;
460 return codePoint;
  /external/caliper/examples/src/main/java/examples/
Utf8Benchmark.java 69 throw new IllegalArgumentException("Can't decode codepoint " + userFriendly);
105 int codePoint;
108 codePoint = rnd.nextInt(maxCodePoint.value);
109 } while (isSurrogate(codePoint));
110 sb.appendCodePoint(codePoint);
  /external/guava/guava-tests/benchmark/com/google/common/base/
Utf8Benchmark.java 65 throw new IllegalArgumentException("Can't decode codepoint " + userFriendly);
106 int codePoint;
109 codePoint = rnd.nextInt(maxCodePoint.value);
110 } while (isSurrogate(codePoint));
111 sb.appendCodePoint(codePoint);
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
ArabicCharacterData.java 26 return codePoint;
46 codePoint = character;
67 private int codePoint;
  /frameworks/support/emoji/core/tests/java/android/support/text/emoji/
MetadataRepoTest.java 54 final int[] codePoint = new int[]{1};
55 final TestEmojiMetadata metadata = new TestEmojiMetadata(codePoint);
57 assertSame(metadata, getNode(codePoint));
62 final int[] codePoint = new int[]{1, 2, 3, 4};
63 final TestEmojiMetadata metadata = new TestEmojiMetadata(codePoint);
65 assertSame(metadata, getNode(codePoint));
  /packages/apps/Contacts/src/com/android/contacts/util/
SearchUtil.java 103 final int codePoint = Character.codePointAt(substring, i);
104 substringCodePoints[substringLength] = codePoint;
106 i += Character.charCount(codePoint);
144 final int codePoint = line.codePointAt(index);
145 if (!Character.isLetterOrDigit(codePoint)) {
148 index += Character.charCount(codePoint);
156 final int codePoint = line.codePointAt(index);
157 if (Character.isLetterOrDigit(codePoint)) {
160 index += Character.charCount(codePoint);
176 int codePoint = query.codePointAt(start)
    [all...]
  /packages/apps/Dialer/java/com/android/contacts/common/util/
SearchUtil.java 86 final int codePoint = Character.codePointAt(substring, i);
87 substringCodePoints[substringLength] = codePoint;
89 i += Character.charCount(codePoint);
127 final int codePoint = line.codePointAt(index);
128 if (!Character.isLetterOrDigit(codePoint)) {
131 index += Character.charCount(codePoint);
139 final int codePoint = line.codePointAt(index);
140 if (Character.isLetterOrDigit(codePoint)) {
143 index += Character.charCount(codePoint);
159 int codePoint = query.codePointAt(start)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
CodesArrayParser.java 61 final int codePoint = Integer.parseInt(codeInHex, BASE_HEX);
62 sb.appendCodePoint(codePoint);
102 final int codePoint = Integer.parseInt(codeInHex, BASE_HEX);
103 sb.appendCodePoint(codePoint);
  /packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
utf8_utils.cpp 38 int codePoint = 0;
47 codePoint = maskFirstByte(c, remainingByteCountForCurrentCodePoint);
49 codePoint <<= CODE_POINT_BIT_COUNT_IN_TRAILING_BYTE;
50 codePoint += maskTrailingByte(c);
54 if (codePoint <= MAX_ENCODED_CODE_POINT_VALUES[currentCodePointSequenceSize - 1]) {
55 AKLOGE("%d bytes encode for codePoint(%x) is a redundant UTF-8 sequence.",
56 currentCodePointSequenceSize, codePoint);
59 codePoints.push_back(codePoint);
86 for (const int codePoint : codePoints) {
87 const int sequenceSize = getSequenceSizeToEncodeCodePoint(codePoint);
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
patricia_trie_reading_utils.cpp 77 const int codePoint = getCodePointAndAdvancePosition(buffer, codePointTable, pos);
78 if (codePoint == NOT_A_CODE_POINT) {
79 // CAVEAT: codePoint == NOT_A_CODE_POINT means the code point is
83 AKLOGE("codePoint is NOT_A_CODE_POINT. pos: %d, codePoint: 0x%x, buffer[pos - 1]: 0x%x",
84 *pos - 1, codePoint, buffer[*pos - 1]);
87 outBuffer[0] = codePoint;
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsIcuTest.java 58 final int codePoint = Character.codePointAt(str, offset);
60 final String ch = new String(new int[]{codePoint}, 0, 1);
70 offset += Character.charCount(codePoint);
  /cts/tests/tests/text/src/android/text/method/cts/
EditorState.java 76 private boolean isGraphicAscii(int codePoint) {
77 return 0x20 < codePoint && codePoint < 0x7F;
101 final int codePoint = Integer.parseInt(token.substring(2), 16);
102 if (codePoint < 0 || 0x10FFFF < codePoint) {
105 sb.append(Character.toChars(codePoint));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
Strings.java 85 int codePoint = ((bytes[i] & 0x03) << 18) | ((bytes[i + 1] & 0x3F) << 12) | ((bytes[i + 2] & 0x3F) << 6) | (bytes[i + 3] & 0x3F);
86 int U = codePoint - 0x10000;
168 throw new IllegalStateException("invalid UTF-16 codepoint");
177 throw new IllegalStateException("invalid UTF-16 codepoint");
179 int codePoint = (((W1 & 0x03FF) << 10) | (W2 & 0x03FF)) + 0x10000;
180 sOut.write(0xf0 | (codePoint >> 18));
181 sOut.write(0x80 | ((codePoint >> 12) & 0x3F));
182 sOut.write(0x80 | ((codePoint >> 6) & 0x3F));
183 sOut.write(0x80 | (codePoint & 0x3F));
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
UConverterDataReader.java 87 * UChar32 codePoint;
502 int codePoint = intBuffer.get();
503 mbcsTable.toUFallbacks[i] = new MBCSToUFallback(offset, codePoint);
  /frameworks/base/core/java/android/text/method/
WordIterator.java 305 final int codePoint = Character.codePointBefore(mCharSeq, offset);
306 return isPunctuation(codePoint);
320 final int codePoint = Character.codePointAt(mCharSeq, offset);
321 return isPunctuation(codePoint);
327 * Indicates if the codepoint is a mid-word-only punctuation.
336 * @param locale the locale to consider the codepoint in. Presently ignored.
337 * @param codePoint the codepoint to check.
338 * @return True if the codepoint is a mid-word punctuation.
340 public static boolean isMidWordPunctuation(Locale locale, int codePoint) {
    [all...]
  /frameworks/base/core/java/android/view/
AccessibilityIterators.java 242 final int codePoint = mText.codePointAt(index);
243 return Character.isLetterOrDigit(codePoint);
  /frameworks/base/core/tests/coretests/src/android/text/method/
EditorState.java 68 private boolean isGraphicAscii(int codePoint) {
69 return 0x20 < codePoint && codePoint < 0x7F;
93 final int codePoint = Integer.parseInt(token.substring(2), 16);
94 if (codePoint < 0 || 0x10FFFF < codePoint) {
97 sb.append(Character.toChars(codePoint));
  /frameworks/minikin/libs/minikin/
WordBreaker.cpp 68 uint32_t codePoint;
70 U16_PREV(buf, 0, prev_offset, codePoint);
72 if (Hyphenator::isLineBreakingHyphen(codePoint) || codePoint == CHAR_SOFT_HYPHEN) {
79 if (codePoint == 0x1039) { // MYANMAR SIGN VIRAMA
89 if (codePoint == CHAR_ZWJ && isEmoji(next_codepoint)) {
95 if (codePoint == 0xFE0F && prev_offset > 0) {
97 U16_PREV(buf, 0, prev_offset, codePoint);
99 if (isEmojiBase(codePoint)) {
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
byte_array_utils.h 189 int codePoint = readCodePointAndAdvancePosition(buffer, codePointTable, pos);
190 while (NOT_A_CODE_POINT != codePoint && length < maxLength) {
191 outBuffer[length++] = codePoint;
192 codePoint = readCodePointAndAdvancePosition(buffer, codePointTable, pos);
201 int codePoint = readCodePointAndAdvancePosition(buffer, nullptr /* codePointTable */, pos);
202 while (NOT_A_CODE_POINT != codePoint && length < maxLength) {
203 codePoint = readCodePointAndAdvancePosition(buffer, nullptr /* codePointTable */, pos);
216 const int codePoint = codePoints[i];
217 if (codePoint == NOT_A_CODE_POINT || codePoint == CHARACTER_ARRAY_TERMINATOR)
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/utils/
jni_data_utils.h 80 const int codePoint = codePoints[i];
81 int codePointToOutput = codePoint;
82 if (!CharUtils::isInUnicodeSpace(codePoint)) {
83 if (codePoint == CODE_POINT_BEGINNING_OF_SENTENCE) {
88 } else if (codePoint >= 0x01 && codePoint <= 0x1F) {

Completed in 798 milliseconds

1 2 3 4 5 6 7