Home
last modified time | relevance | path

Searched refs:codePointTable (Results 1 – 8 of 8) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Dpatricia_trie_reading_utils.cpp64 const int *const codePointTable, int *const pos) { in getCodePointAndAdvancePosition() argument
65 return ByteArrayUtils::readCodePointAndAdvancePosition(buffer, codePointTable, pos); in getCodePointAndAdvancePosition()
70 const NodeFlags flags, const int maxLength, const int *const codePointTable, in getCharsAndAdvancePosition() argument
74 length = ByteArrayUtils::readStringAndAdvancePosition(buffer, maxLength, codePointTable, in getCharsAndAdvancePosition()
77 const int codePoint = getCodePointAndAdvancePosition(buffer, codePointTable, pos); in getCharsAndAdvancePosition()
96 const int maxLength, const int *const codePointTable, int *const pos) { in skipCharacters() argument
101 getCodePointAndAdvancePosition(buffer, codePointTable, pos); in skipCharacters()
138 const DictionaryBigramsStructurePolicy *const bigramPolicy, const int *const codePointTable, in readPtNodeInfo() argument
146 dictBuf, flags, MAX_WORD_LENGTH, codePointTable, outCodePoint, &readingPos); in readPtNodeInfo()
Dpatricia_trie_reading_utils.h38 const int *const codePointTable, int *const pos);
42 const int maxLength, const int *const codePointTable, int *const outBuffer,
47 const int maxLength, const int *const codePointTable, int *const pos);
111 const int *const codePointTable, NodeFlags *const outFlags,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp88 const int *const codePointTable = mHeaderPolicy.getCodePointTable(); in getCodePointsAndProbabilityAndReturnCodePointCount() local
121 mBuffer.data(), codePointTable, &pos); in getCodePointsAndProbabilityAndReturnCodePointCount()
128 mBuffer.data(), codePointTable, &pos); in getCodePointsAndProbabilityAndReturnCodePointCount()
135 mBuffer.data(), codePointTable, &pos); in getCodePointsAndProbabilityAndReturnCodePointCount()
149 codePointTable, &pos); in getCodePointsAndProbabilityAndReturnCodePointCount()
200 mBuffer.data(), codePointTable, &lastCandidatePtNodePos); in getCodePointsAndProbabilityAndReturnCodePointCount()
205 mBuffer.data(), codePointTable, &lastCandidatePtNodePos); in getCodePointsAndProbabilityAndReturnCodePointCount()
210 mBuffer.data(), codePointTable, &lastCandidatePtNodePos); in getCodePointsAndProbabilityAndReturnCodePointCount()
412 const int *const codePointTable = mHeaderPolicy.getCodePointTable(); in createAndGetLeavingChildNode() local
414 &mBigramListPolicy, codePointTable, &flags, &mergedNodeCodePointCount, in createAndGetLeavingChildNode()
Dver2_patricia_trie_node_reader.h37 const int *const codePointTable) in Ver2ParticiaTrieNodeReader() argument
39 mCodePointTable(codePointTable) {} in Ver2ParticiaTrieNodeReader()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbyte_array_utils.h154 const uint8_t *const buffer, const int *const codePointTable, int *const pos) { in readCodePointAndAdvancePosition() argument
172 if (codePointTable) { in readCodePointAndAdvancePosition()
173 return codePointTable[firstByte - MINIMUM_ONE_BYTE_CHARACTER_VALUE]; in readCodePointAndAdvancePosition()
186 const int maxLength, const int *const codePointTable, int *const outBuffer, in readStringAndAdvancePosition() argument
189 int codePoint = readCodePointAndAdvancePosition(buffer, codePointTable, pos); in readStringAndAdvancePosition()
192 codePoint = readCodePointAndAdvancePosition(buffer, codePointTable, pos); in readStringAndAdvancePosition()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DVer2DictEncoder.java140 final CodePointTable codePointTable; in writeDictionary() local
143 codePointTable = new CodePointTable(); in writeDictionary()
145 codePointTable = makeCodePointTable(dict); in writeDictionary()
149 codePointTable.mCodePointOccurrenceArray); in writeDictionary()
164 codePointTable.mCodePointToOneByteCodeMap); in writeDictionary()
177 codePointTable.mCodePointToOneByteCodeMap); in writeDictionary()
DBinaryDictDecoderEncoderTests.java305 final String codePointTable = in testCharacterTableIsPresent() local
308 assertEquals("codePointTable is incorrect", codePointTable, correctCodePointTable); in testCharacterTableIsPresent()
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dbyte_array_utils_test.cpp27 const int codePointTable[] = { 0x6f, 0x6b }; in TEST() local
31 EXPECT_EQ(0x6f, ByteArrayUtils::readCodePointAndAdvancePosition(buffer, codePointTable, &pos)); in TEST()
33 EXPECT_EQ(0x6b, ByteArrayUtils::readCodePointAndAdvancePosition(buffer, codePointTable, &pos)); in TEST()
36 EXPECT_EQ(0x100, ByteArrayUtils::readCodePointAndAdvancePosition(buffer, codePointTable, &pos)); in TEST()