Home
last modified time | relevance | path

Searched refs:BinaryDictIOUtils (Results 1 – 9 of 9) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderUtils.java344 if (BinaryDictIOUtils.hasChildrenAddress(info.mChildrenAddress)) { in getWordAtPositionWithoutParentAddress()
350 groupPos = last.mChildrenAddress + BinaryDictIOUtils.getPtNodeCountSize(i); in getWordAtPositionWithoutParentAddress()
356 if (0 == i && BinaryDictIOUtils.hasChildrenAddress(last.mChildrenAddress)) { in getWordAtPositionWithoutParentAddress()
360 groupPos = last.mChildrenAddress + BinaryDictIOUtils.getPtNodeCountSize(i); in getWordAtPositionWithoutParentAddress()
420 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(file, 0, file.length()); in isBinaryDictionary()
DBinaryDictIOUtils.java30 public final class BinaryDictIOUtils { class
33 private BinaryDictIOUtils() { in BinaryDictIOUtils() method in BinaryDictIOUtils
227 final int countSize = BinaryDictIOUtils.getPtNodeCountSize(ptNodeCount); in writePtNodeCount()
DAbstractDictDecoder.java40 return BinaryDictIOUtils.getTerminalPosition(this, word); in getTerminalPosition()
51 BinaryDictIOUtils.readUnigramsAndBigramsBinary(this, words, frequencies, bigrams); in readUnigramsAndBigramsBinary()
DBinaryDictDecoderEncoderTests.java219 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(file, 0, file.length(), in timeReadingAndCheckDict()
299 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(file, 0, file.length(), in testCharacterTableIsPresent()
397 final int bigramFreq = BinaryDictIOUtils.reconstructBigramFrequency( in checkWordMap()
415 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(file, 0, file.length(),
540 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(file, 0, file.length(),
DBinaryDictEncoderUtils.java89 return BinaryDictIOUtils.getPtNodeCountSize(nodeArray.mData.size()); in getPtNodeCountSize()
155 if (!BinaryDictIOUtils.hasChildrenAddress(address)) { in getByteSize()
DVer2DictEncoder.java199 final int countSize = BinaryDictIOUtils.getPtNodeCountSize(ptNodeCount); in writePtNodeCount()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDictionaryMaker.java20 import com.android.inputmethod.latin.makedict.BinaryDictIOUtils;
234 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(file, 0, file.length()); in readBinaryFile()
DBinaryDictOffdeviceUtils.java20 import com.android.inputmethod.latin.makedict.BinaryDictIOUtils;
286 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder( in getDictionary()
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtilsTests.java24 import com.android.inputmethod.latin.makedict.BinaryDictIOUtils;
111 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(decodeSpec.mResult, 0, in testGetRawDictWorks()