/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | patricia_trie_reading_utils.cpp | 64 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()
|
D | patricia_trie_reading_utils.h | 38 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/ |
D | patricia_trie_policy.cpp | 88 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()
|
D | ver2_patricia_trie_node_reader.h | 37 const int *const codePointTable) in Ver2ParticiaTrieNodeReader() argument 39 mCodePointTable(codePointTable) {} in Ver2ParticiaTrieNodeReader()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | byte_array_utils.h | 154 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/ |
D | Ver2DictEncoder.java | 140 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()
|
D | BinaryDictDecoderEncoderTests.java | 305 final String codePointTable = in testCharacterTableIsPresent() local 308 assertEquals("codePointTable is incorrect", codePointTable, correctCodePointTable); in testCharacterTableIsPresent()
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/ |
D | byte_array_utils_test.cpp | 27 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()
|