Home
last modified time | relevance | path

Searched refs:bigramFlags (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dbigram_dict_content.cpp44 const int bigramFlags = bigramListBuffer->readUintAndAdvancePosition( in getBigramEntryAndAdvancePosition() local
46 const bool hasNext = (bigramFlags & Ver4DictConstants::BIGRAM_HAS_NEXT_MASK) != 0; in getBigramEntryAndAdvancePosition()
80 const int bigramFlags = createAndGetBigramFlags(bigramEntryToWrite->hasNext()); in writeBigramEntryAndAdvancePosition() local
81 if (!bigramListBuffer->writeUintAndAdvancePosition(bigramFlags, in writeBigramEntryAndAdvancePosition()
83 AKLOGE("Cannot write bigram flags. pos: %d, flags: %x", *entryWritingPos, bigramFlags); in writeBigramEntryAndAdvancePosition()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/bigram/
Dbigram_list_read_write_utils.cpp49 const BigramFlags bigramFlags = ByteArrayUtils::readUint8AndAdvancePosition(buffer.data(), in getBigramEntryPropertiesAndAdvancePosition() local
52 *outBigramFlags = bigramFlags; in getBigramEntryPropertiesAndAdvancePosition()
54 const int targetPos = getBigramAddressAndAdvancePosition(buffer, bigramFlags, bigramEntryPos); in getBigramEntryPropertiesAndAdvancePosition()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictEncoderUtils.java563 int bigramFlags = (more ? FormatSpec.FLAG_BIGRAM_SHORTCUT_ATTR_HAS_NEXT : 0) in makeBigramFlags() local
567 bigramFlags |= FormatSpec.FLAG_BIGRAM_ATTR_ADDRESS_TYPE_ONEBYTE; in makeBigramFlags()
570 bigramFlags |= FormatSpec.FLAG_BIGRAM_ATTR_ADDRESS_TYPE_TWOBYTES; in makeBigramFlags()
573 bigramFlags |= FormatSpec.FLAG_BIGRAM_ATTR_ADDRESS_TYPE_THREEBYTES; in makeBigramFlags()
587 bigramFlags += getBigramFrequencyDiff(unigramFrequency, frequency) in makeBigramFlags()
589 return bigramFlags; in makeBigramFlags()
DVer2DictEncoder.java261 final int bigramFlags = BinaryDictEncoderUtils.makeBigramFlags(bigramIterator.hasNext(), in writeBigrams() local
263 mPosition = BinaryDictEncoderUtils.writeUIntToBuffer(mBuffer, mPosition, bigramFlags, in writeBigrams()