Home
last modified time | relevance | path

Searched refs:character (Results 1 – 25 of 68) sorted by relevance

123

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameLookupBuilder.java178 int character; in appendKoreanNameConsonantsLookup() local
183 character = name.codePointAt(position++); in appendKoreanNameConsonantsLookup()
184 if ((character == 0x20) || (character == 0x2c) || (character == 0x2E)) { in appendKoreanNameConsonantsLookup()
190 if ((character < 0x1100) || (character > 0x1112 && character < 0x3131) || in appendKoreanNameConsonantsLookup()
191 (character > 0x314E && character < 0xAC00) || in appendKoreanNameConsonantsLookup()
192 (character > 0xD7A3)) { in appendKoreanNameConsonantsLookup()
196 if (character >= 0xAC00) { in appendKoreanNameConsonantsLookup()
200 character = 0x1100 + (character - 0xAC00) / 588; in appendKoreanNameConsonantsLookup()
201 } else if (character >= 0x3131) { in appendKoreanNameConsonantsLookup()
204 if (character - 0x3131 >= KOREAN_JAUM_CONVERT_MAP.length) { in appendKoreanNameConsonantsLookup()
[all …]
DHanziToPinyin.java98 private void tokenize(char character, Token token) { in tokenize() argument
99 token.source = Character.toString(character); in tokenize()
102 if (character < 128) { in tokenize()
109 if (character < 0x250 || (0x1e00 <= character && character < 0x1eff)) { in tokenize()
154 final char character = input.charAt(i); in getTokens() local
155 if (Character.isSpaceChar(character)) { in getTokens()
160 tokenize(character, token); in getTokens()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderUtils.java121 private static boolean fitsOnOneByte(final int character, in fitsOnOneByte() argument
123 int codePoint = character; in fitsOnOneByte()
125 if (codePointToOneByteCodeMap.containsKey(character)) { in fitsOnOneByte()
126 codePoint = codePointToOneByteCodeMap.get(character); in fitsOnOneByte()
150 static int getCharSize(final int character, in getCharSize() argument
153 if (fitsOnOneByte(character, codePointToOneByteCodeMap)) return 1; in getCharSize()
154 if (FormatSpec.INVALID_CHARACTER == character) return 1; in getCharSize()
164 for (int character : chars) size += getCharSize(character, codePointToOneByteCodeMap); in getCharArraySize()
267 int character = readChar(dictBuffer); in readString() local
268 while (character != FormatSpec.INVALID_CHARACTER) { in readString()
[all …]
DFusionDictionary.java478 private static int findInsertionIndex(final PtNodeArray nodeArray, int character) { in findInsertionIndex() argument
480 final PtNode reference = new PtNode(new int[] { character }, in findInsertionIndex()
494 private static int findIndexOfChar(final PtNodeArray nodeArray, int character) { in findIndexOfChar() argument
495 final int insertionIndex = findInsertionIndex(nodeArray, character); in findIndexOfChar()
497 return character == nodeArray.mData.get(insertionIndex).mChars[0] ? insertionIndex in findIndexOfChar()
/packages/apps/Terminal/src/com/android/terminal/
DTerminal.java189 public boolean dispatchCharacter(int modifiers, int character) { in dispatchCharacter() argument
190 return nativeDispatchCharacter(mNativePtr, modifiers, character); in dispatchCharacter()
204 private static native boolean nativeDispatchCharacter(long ptr, int modifiers, int character); in nativeDispatchCharacter() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java1364 char character = iterator.current(); in xmlEncode() local
1365 while (character != CharacterIterator.DONE) { in xmlEncode()
1366 if (character == '<') { in xmlEncode()
1368 } else if (character == '>') { in xmlEncode()
1370 } else if (character == '\"') { in xmlEncode()
1372 } else if (character == '\'') { in xmlEncode()
1374 } else if (character == '&') { in xmlEncode()
1378 result.append(character); in xmlEncode()
1380 character = iterator.next(); in xmlEncode()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dstream.md37 …StringStream<UTF8<> >`, user may use another encodings to represent the character set of the strea…
189 … units) may be 8-bit, 16-bit or 32-bit. `AutoUTFInputStream` requires a character type which can h…
247 //! Read the current character from stream without moving the read cursor.
250 //! Read the current character from stream and moving the read cursor to next character.
261 //! Write a character.
374 …tored in file system. Encoded streams converts between byte streams and character streams. Finally…
Dfaq.md69 …ards/Ecma-404.htm). It can handle corner cases, such as supporting null character and surrogate pa…
179 …Also, RapidJSON can handle `\u0000` (null character) within a string. If a string contains null ch…
211character, e.g. `\u5927` representing Chinese character "big". To handle characters other than tho…
215 4. Can it handle `\u0000` (null character) in JSON string?
217 …Yes. RapidJSON fully support null character in JSON string. However, user need to be aware of it a…
219 5. Can I output `\uxxxx` for all non-ASCII character?
Ddom.md36 …ed in JSON files. Unicode-enabled functions in Windows use UTF-16 (wide character) encoding. No ma…
141 `kParseErrorStringEscapeInvalid` | Invalid escape character in string.
148 The offset of error is defined as the character number from beginning of stream. Currently RapidJSO…
182 …` (2 characters) is decoded as `"\n"` (1 character). `"\\u0073"` (6 characters) is decoded as `"s"…
186 …t contain escape character, such as `"msg"`, the parsing process merely replace the closing double…
Dfeatures.md24 * Support null character (`"\u0000"`)
36 * Support custom character types.
37 * By default the character types are `char` for UTF8, `wchar_t` for UTF16, `uint32_t` for UTF32.
Dtutorial.md207 According to RFC 4627, JSON strings can contain Unicode character `U+0000`, which must be escaped a…
226 which accepts the length of string as parameter. This constructor supports storing null character w…
369 …()`, which lacks allocator parameter. For string literals (or constant character arrays), simply …
373 s.SetString("rapidjson"); // can contain null character, length derived at compile time
377 For character pointer, the RapidJSON requires to mark it as safe before using it without copying. T…
386 s.SetString(StringRef(cstr,cstr_len)); // faster, can contain null character
511 2. [Encoding](doc/encoding.md) defines which character encoding is used in streams and memory. Rapi…
Dsax.md124character `'\0'` inside a string. If such situation happens, `strlen(str) < length`. The last `cop…
157 Note that, the default character type of `UTF16` is `wchar_t`. So this `reader`needs to call `Strin…
465 Simply capitalizing the whole JSON would contain incorrect escape character:
Dencoding.md19 > Unicode provides a unique number for every character,
80 …e a little bit confusing, but each `CharType` stores a code unit, not a character (code point). As…
Dinternals.md117 …store short strings in these space internally. For encoding with 1-byte character type (e.g. `char…
184 However, this requires 4 comparisons and a few branching for each character. This was found to be a…
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DCharMatcher.java525 @Override public boolean apply(Character character) {
526 return predicate.apply(checkNotNull(character));
1121 /*@Override*/ public boolean apply(Character character) {
1122 return matches(character);
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info_state_utils.cpp945 int character = NOT_AN_INDEX; in getMostProbableString() local
952 character = it->first; in getMostProbableString()
955 if (character != NOT_AN_INDEX) { in getMostProbableString()
956 const int codePoint = proximityInfo->getCodePointOf(character); in getMostProbableString()
959 character); in getMostProbableString()
/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp117 bool dispatchCharacter(int mod, int character);
387 bool Terminal::dispatchCharacter(int mod, int character) { in dispatchCharacter() argument
389 vterm_keyboard_unichar(mVt, character, static_cast<VTermModifier>(mod)); in dispatchCharacter()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp120 const int character = PatriciaTrieReadingUtils::getCodePointAndAdvancePosition( in getCodePointsAndProbabilityAndReturnCodePointCount() local
125 outCodePoints[wordPos] = character; in getCodePointsAndProbabilityAndReturnCodePointCount()
/packages/apps/Test/connectivity/sl4n/rapidjson/
Dreadme.md42 …the JSON strings into UTF-16 in the DOM. It also supports surrogates and "\u0000" (null character).
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses175 incidental, or consequential damages of any character arising as a
357 incidental, or consequential damages of any character arising as a
563 incidental, or consequential damages of any character arising as a
769 incidental, or consequential damages of any character arising as a
975 incidental, or consequential damages of any character arising as a
1181 incidental, or consequential damages of any character arising as a
1399 incidental, or consequential damages of any character arising as a
1593 incidental, or consequential damages of any character arising as a
1787 incidental, or consequential damages of any character arising as a
1981 incidental, or consequential damages of any character arising as a
[all …]
/packages/inputmethods/LatinIME/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/apps/Calendar/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/apps/Email/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/providers/DownloadProvider/
DNOTICE171 incidental, or consequential damages of any character arising as a
/packages/apps/CellBroadcastReceiver/
DNOTICE171 incidental, or consequential damages of any character arising as a

123