Home
last modified time | relevance | path

Searched defs:codePoints (Results 1 – 25 of 39) sorted by relevance

12

/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/
Dutf8_utils_test.cpp31 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/
Doffdevice_intermediate_dict_test.cpp31 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/
Dchar_utils.h56 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()
Djni_data_utils.cpp32 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/
Doffdevice_intermediate_dict.cpp25 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/
Ddictionary.cpp129 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()
Ddictionary_utils.cpp32 const CodePointArrayView codePoints) { in getMaxProbabilityOfExactMatches()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Dpt_node_params.h61 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()
Ddynamic_pt_updating_helper.cpp165 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
Ddynamic_pt_writing_utils.cpp90 BufferWithExtendableBuffer *const buffer, const int *const codePoints, in writeCodePointsAndAdvancePosition()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
Dsuggestion_results.cpp51 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()
Dsuggested_word.h42 SuggestedWord(const int *const codePoints, const int codePointCount, in SuggestedWord()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dword_property.h36 WordProperty(const std::vector<int> &&codePoints, const UnigramProperty &unigramProperty, in WordProperty()
Dngram_context.cpp95 int codePoints[MAX_WORD_LENGTH]; in getWordId() local
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Dutf8_utils.cpp35 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/
Dheader_read_write_utils_test.cpp71 const std::vector<int> codePoints = { 0x0, 0x20, 0x1F, 0x100000 }; in TEST() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_node_reader.cpp53 int codePoints[MAX_WORD_LENGTH]; in fetchPtNodeInfoFromBufferAndProcessMovedPtNode() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_node_reader.cpp62 int codePoints[MAX_WORD_LENGTH]; in fetchPtNodeInfoFromBufferAndProcessMovedPtNode() local
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/shortcut/
Dver4_shortcut_list_policy.h56 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/
Dver4_shortcut_list_policy.h66 bool addNewShortcut(const int terminalId, const int *const codePoints, const int codePointCount, in addNewShortcut()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionary.java361 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
DWordComposer.java238 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/
Dbyte_array_utils.h213 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/
DStringUtils.java253 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/
DKeyboard.java246 public int[] getCoordinates(@Nonnull final int[] codePoints) { in getCoordinates()

12