HomeSort by relevance Sort by last modified time
    Searched refs:dictDecoder (Results 1 - 11 of 11) sorted by null

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
BinaryDictIOUtils.java 21 import com.android.inputmethod.latin.makedict.DictDecoder.DictionaryBufferFactory;
41 * @param bufferType The type of buffer, as one of USE_* in DictDecoder.
44 public static DictDecoder getDictDecoder(final File dictFile, final long offset,
49 public static DictDecoder getDictDecoder(final File dictFile, final long offset,
54 public static DictDecoder getDictDecoder(final File dictFile, final long offset,
56 return getDictDecoder(dictFile, offset, length, DictDecoder.USE_READONLY_BYTEBUFFER);
77 private static void readUnigramsAndBigramsBinaryInner(final DictDecoder dictDecoder,
97 if (dictDecoder.getPosition() != p.mAddress) dictDecoder.setPosition(p.mAddress)
    [all...]
BinaryDictDecoderUtils.java 311 * @param dictDecoder the dict decoder.
317 /* package for tests */ static WeightedString getWordAtPosition(final DictDecoder dictDecoder,
320 final int originalPos = dictDecoder.getPosition();
321 dictDecoder.setPosition(pos);
322 result = getWordAtPositionWithoutParentAddress(dictDecoder, headerSize, pos);
323 dictDecoder.setPosition(originalPos);
328 final DictDecoder dictDecoder, final int headerSize, final int pos) {
329 dictDecoder.setPosition(headerSize)
    [all...]
  /prebuilts/go/darwin-x86/src/compress/flate/
dict_decoder.go 7 // dictDecoder implements the LZ77 sliding dictionary as used in decompression.
27 type dictDecoder struct {
36 // init initializes dictDecoder to have a sliding window dictionary of the given
39 func (dd *dictDecoder) init(size int, dict []byte) {
40 *dd = dictDecoder{hist: dd.hist}
59 func (dd *dictDecoder) histSize() int {
67 func (dd *dictDecoder) availRead() int {
72 func (dd *dictDecoder) availWrite() int {
79 func (dd *dictDecoder) writeSlice() []byte {
86 func (dd *dictDecoder) writeMark(cnt int)
    [all...]
dict_decoder_test.go 72 var dd dictDecoder
inflate.go 284 dict dictDecoder
  /prebuilts/go/linux-x86/src/compress/flate/
dict_decoder.go 7 // dictDecoder implements the LZ77 sliding dictionary as used in decompression.
27 type dictDecoder struct {
36 // init initializes dictDecoder to have a sliding window dictionary of the given
39 func (dd *dictDecoder) init(size int, dict []byte) {
40 *dd = dictDecoder{hist: dd.hist}
59 func (dd *dictDecoder) histSize() int {
67 func (dd *dictDecoder) availRead() int {
72 func (dd *dictDecoder) availWrite() int {
79 func (dd *dictDecoder) writeSlice() []byte {
86 func (dd *dictDecoder) writeMark(cnt int)
    [all...]
dict_decoder_test.go 72 var dd dictDecoder
inflate.go 284 dict dictDecoder
  /packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DictionaryMaker.java 21 import com.android.inputmethod.latin.makedict.DictDecoder;
234 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(file, 0, file.length());
235 return dictDecoder.readDictionaryBinary(false /* deleteDictIfBroken */);
BinaryDictOffdeviceUtils.java 21 import com.android.inputmethod.latin.makedict.DictDecoder;
286 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(
288 DictDecoder.USE_BYTEARRAY);
294 return dictDecoder.readDictionaryBinary(false /* deleteDictIfBroken */);
  /packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
BinaryDictOffdeviceUtilsTests.java 26 import com.android.inputmethod.latin.makedict.DictDecoder;
111 final DictDecoder dictDecoder = BinaryDictIOUtils.getDictDecoder(decodeSpec.mResult, 0,
114 dictDecoder.readDictionaryBinary(false /* deleteDictIfBroken */);

Completed in 152 milliseconds