/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/ |
D | utf8_utils_test.cpp | 31 const std::vector<int> codePoints = Utf8Utils::getCodePoints(""); in TEST() local 35 const std::vector<int> codePoints = Utf8Utils::getCodePoints("test"); in TEST() local 43 const std::vector<int> codePoints = Utf8Utils::getCodePoints(u8"\u3042a\u03C2\u0410"); in TEST() local 51 const std::vector<int> codePoints = Utf8Utils::getCodePoints(u8"\U0001F36A?\U0001F752"); in TEST() local 66 const std::vector<int> codePoints = {'t', 'e', 's', 't'}; in TEST() local 70 const std::vector<int> codePoints = { in TEST() local
|
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/offdevice_intermediate_dict/ |
D | offdevice_intermediate_dict_test.cpp | 31 std::vector<int> codePoints; in getCodePointVector() local 39 const WordProperty getDummpWordProperty(const std::vector<int> &&codePoints) { in getDummpWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | char_utils.h | 56 static AK_FORCE_INLINE int getCodePointCount(const int arraySize, const int *const codePoints) { in getCodePointCount() 89 static AK_FORCE_INLINE int attachBeginningOfSentenceMarker(int *const codePoints, in attachBeginningOfSentenceMarker() 105 static AK_FORCE_INLINE int removeBeginningOfSentenceMarker(int *const codePoints, in removeBeginningOfSentenceMarker()
|
D | jni_data_utils.cpp | 32 const CodePointArrayView codePoints = wordProperty.getCodePoints(); in outputWordProperty() local 62 const CodePointArrayView codePoints = ngramContext->getNthPrevWordCodePoints(i + 1); in outputWordProperty() local
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/offdevice_intermediate_dict/ |
D | offdevice_intermediate_dict.cpp | 25 const CodePointArrayView codePoints = wordProperty.getCodePoints(); in addWord() local 32 bool OffdeviceIntermediateDict::addWordInner(const CodePointArrayView codePoints, in addWordInner()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
D | dictionary.cpp | 129 bool Dictionary::addUnigramEntry(const CodePointArrayView codePoints, in addUnigramEntry() 141 bool Dictionary::removeUnigramEntry(const CodePointArrayView codePoints) { in removeUnigramEntry() 152 const CodePointArrayView codePoints) { in removeNgramEntry() 158 const CodePointArrayView codePoints, const bool isValidWord, in updateEntriesForWordWithNgramContext() 187 const WordProperty Dictionary::getWordProperty(const CodePointArrayView codePoints) { in getWordProperty()
|
D | dictionary_utils.cpp | 32 const CodePointArrayView codePoints) { in getMaxProbabilityOfExactMatches()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | pt_node_params.h | 61 const int codePointCount, const int *const codePoints, const int probability, in PtNodeParams() 76 const int parentPos, const int codePointCount, const int *const codePoints, in PtNodeParams() 92 const CodePointArrayView codePoints, const int probability) in PtNodeParams() 109 const CodePointArrayView codePoints, const int probability) in PtNodeParams()
|
D | dynamic_pt_updating_helper.cpp | 165 const CodePointArrayView codePoints) { in createChildrenPtNodeArrayAndAChildPtNode() 281 const CodePointArrayView codePoints, const int probability) const { in getUpdatedPtNodeParams() argument 291 const CodePointArrayView codePoints, const int probability) const { in getPtNodeParamsForNewPtNode() argument
|
D | dynamic_pt_writing_utils.cpp | 90 BufferWithExtendableBuffer *const buffer, const int *const codePoints, in writeCodePointsAndAdvancePosition()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/ |
D | suggestion_results.cpp | 51 void SuggestionResults::addPrediction(const int *const codePoints, const int codePointCount, in addPrediction() 61 void SuggestionResults::addSuggestion(const int *const codePoints, const int codePointCount, in addSuggestion()
|
D | suggested_word.h | 42 SuggestedWord(const int *const codePoints, const int codePointCount, in SuggestedWord()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
D | word_property.h | 36 WordProperty(const std::vector<int> &&codePoints, const UnigramProperty &unigramProperty, in WordProperty()
|
D | ngram_context.cpp | 95 int codePoints[MAX_WORD_LENGTH]; in getWordId() local
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
D | utf8_utils.cpp | 35 std::vector<int> codePoints; in getCodePoints() local 84 /* static */ std::string Utf8Utils::getUtf8String(const CodePointArrayView codePoints) { in getUtf8String()
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/header/ |
D | header_read_write_utils_test.cpp | 71 const std::vector<int> codePoints = { 0x0, 0x20, 0x1F, 0x100000 }; in TEST() local
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_node_reader.cpp | 53 int codePoints[MAX_WORD_LENGTH]; in fetchPtNodeInfoFromBufferAndProcessMovedPtNode() local
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_node_reader.cpp | 62 int codePoints[MAX_WORD_LENGTH]; in fetchPtNodeInfoFromBufferAndProcessMovedPtNode() local
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/shortcut/ |
D | ver4_shortcut_list_policy.h | 56 bool addNewShortcut(const int terminalId, const int *const codePoints, const int codePointCount, in addNewShortcut()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/shortcut/ |
D | ver4_shortcut_list_policy.h | 66 bool addNewShortcut(const int terminalId, const int *const codePoints, const int codePointCount, in addNewShortcut()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionary.java | 361 final int[] codePoints = StringUtils.toCodePointArray(word); in getFrequency() local 370 final int[] codePoints = StringUtils.toCodePointArray(word); in getMaxFrequencyOfExactMatches() local 395 final int[] codePoints = StringUtils.toCodePointArray(word); in getWordProperty() local 435 final int[] codePoints = new int[DICTIONARY_MAX_WORD_LENGTH]; in getNextWordProperty() local 451 final int[] codePoints = StringUtils.toCodePointArray(word); in addUnigramEntry() local 466 final int[] codePoints = StringUtils.toCodePointArray(word); in removeUnigramEntry() local
|
D | WordComposer.java | 238 final int[] codePoints = StringUtils.toCodePointArray(mTypedWordCache); in moveCursorByAndReturnIfInsideComposingWord() local 290 public void setComposingWord(final int[] codePoints, final int[] coordinates) { in setComposingWord()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | byte_array_utils.h | 213 const int *const codePoints, const int codePointCount, const bool writesTerminator, in writeCodePointsAndAdvancePosition() 233 static int calculateRequiredByteCountToStoreCodePoints(const int *const codePoints, in calculateRequiredByteCountToStoreCodePoints()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | StringUtils.java | 253 final int[] codePoints = in toCodePointArray() local 295 final int[] codePoints = toCodePointArray(string); in toSortedCodePointArray() local 308 public static String getStringFromNullTerminatedCodePointArray( in getStringFromNullTerminatedCodePointArray()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | Keyboard.java | 246 public int[] getCoordinates(@Nonnull final int[] codePoints) { in getCoordinates()
|