Searched refs:bigramFlags (Results 1 – 3 of 3) sorted by relevance
44 const int bigramFlags = bigramListBuffer->readUintAndAdvancePosition( in getBigramEntryAndAdvancePosition() local46 const bool hasNext = (bigramFlags & Ver4DictConstants::BIGRAM_HAS_NEXT_MASK) != 0; in getBigramEntryAndAdvancePosition()80 const int bigramFlags = createAndGetBigramFlags(bigramEntryToWrite->hasNext()); in writeBigramEntryAndAdvancePosition() local81 if (!bigramListBuffer->writeUintAndAdvancePosition(bigramFlags, in writeBigramEntryAndAdvancePosition()83 AKLOGE("Cannot write bigram flags. pos: %d, flags: %x", *entryWritingPos, bigramFlags); in writeBigramEntryAndAdvancePosition()
563 int bigramFlags = (more ? FormatSpec.FLAG_BIGRAM_SHORTCUT_ATTR_HAS_NEXT : 0) in makeBigramFlags() local567 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()
49 const BigramFlags bigramFlags = ByteArrayUtils::readUint8AndAdvancePosition(buffer.data(), in getBigramEntryPropertiesAndAdvancePosition() local52 *outBigramFlags = bigramFlags; in getBigramEntryPropertiesAndAdvancePosition()54 const int targetPos = getBigramAddressAndAdvancePosition(buffer, bigramFlags, bigramEntryPos); in getBigramEntryPropertiesAndAdvancePosition()