Home
last modified time | relevance | path

Searched refs:ptNodeCount (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictIOUtils.java180 final int ptNodeCount = dictDecoder.readPtNodeCount(); in getTerminalPosition() local
182 for (int i = 0; i < ptNodeCount; ++i) { in getTerminalPosition()
225 static int writePtNodeCount(final OutputStream destination, final int ptNodeCount) in writePtNodeCount() argument
227 final int countSize = BinaryDictIOUtils.getPtNodeCountSize(ptNodeCount); in writePtNodeCount()
234 (ptNodeCount | FormatSpec.LARGE_PTNODE_ARRAY_SIZE_FIELD_SIZE_FLAG) : ptNodeCount; in writePtNodeCount()
DVer2DictEncoder.java198 public void writePtNodeCount(final int ptNodeCount) { in writePtNodeCount() argument
199 final int countSize = BinaryDictIOUtils.getPtNodeCountSize(ptNodeCount); in writePtNodeCount()
204 (ptNodeCount | FormatSpec.LARGE_PTNODE_ARRAY_SIZE_FIELD_SIZE_FLAG) : ptNodeCount; in writePtNodeCount()
DBinaryDictEncoderUtils.java658 final int ptNodeCount = ptNodeArray.mData.size(); in writePlacedPtNodeArray() local
659 dictEncoder.writePtNodeCount(ptNodeCount); in writePlacedPtNodeArray()
660 for (int i = 0; i < ptNodeCount; ++i) { in writePlacedPtNodeArray()
DDictEncoder.java36 public void writePtNodeCount(final int ptNodeCount); in writePtNodeCount() argument
DVer4DictEncoder.java126 public void writePtNodeCount(int ptNodeCount) { in writePtNodeCount() argument
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp109 for (int ptNodeCount = PatriciaTrieReadingUtils::getPtNodeArraySizeAndAdvancePosition( in getCodePointsAndProbabilityAndReturnCodePointCount() local
110 mBuffer.data(), &pos); ptNodeCount > 0; --ptNodeCount) { in getCodePointsAndProbabilityAndReturnCodePointCount()
174 } else if (1 >= ptNodeCount) { in getCodePointsAndProbabilityAndReturnCodePointCount()
189 found = (1 >= ptNodeCount); in getCodePointsAndProbabilityAndReturnCodePointCount()