Searched refs:bigramEntryPos (Results 1 – 6 of 6) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | bigram_dict_content.cpp | 33 int *const bigramEntryPos) const { in getBigramEntryAndAdvancePosition() 35 const int bigramEntryTailPos = (*bigramEntryPos) + getBigramEntrySize(); in getBigramEntryAndAdvancePosition() 36 if (*bigramEntryPos < 0 || bigramEntryTailPos > bigramListBuffer->getTailPosition()) { in getBigramEntryAndAdvancePosition() 38 "bufSize: %d", *bigramEntryPos, bigramEntryTailPos, in getBigramEntryAndAdvancePosition() 45 Ver4DictConstants::BIGRAM_FLAGS_FIELD_SIZE, bigramEntryPos); in getBigramEntryAndAdvancePosition() 53 Ver4DictConstants::TIME_STAMP_FIELD_SIZE, bigramEntryPos); in getBigramEntryAndAdvancePosition() 55 Ver4DictConstants::WORD_LEVEL_FIELD_SIZE, bigramEntryPos); in getBigramEntryAndAdvancePosition() 57 Ver4DictConstants::WORD_COUNT_FIELD_SIZE, bigramEntryPos); in getBigramEntryAndAdvancePosition() 60 Ver4DictConstants::PROBABILITY_SIZE, bigramEntryPos); in getBigramEntryAndAdvancePosition() 63 Ver4DictConstants::BIGRAM_TARGET_TERMINAL_ID_FIELD_SIZE, bigramEntryPos); in getBigramEntryAndAdvancePosition()
|
D | bigram_dict_content.h | 54 const BigramEntry getBigramEntry(const int bigramEntryPos) const { in getBigramEntry() argument 55 int readingPos = bigramEntryPos; in getBigramEntry() 59 const BigramEntry getBigramEntryAndAdvancePosition(int *const bigramEntryPos) const;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/bigram/ |
D | bigram_list_read_write_utils.cpp | 43 int *const outTargetPtNodePos, int *const bigramEntryPos) { in getBigramEntryPropertiesAndAdvancePosition() argument 44 if (static_cast<int>(buffer.size()) <= *bigramEntryPos) { in getBigramEntryPropertiesAndAdvancePosition() 46 "bigramEntryPos: %d.", buffer.size(), *bigramEntryPos); in getBigramEntryPropertiesAndAdvancePosition() 50 bigramEntryPos); in getBigramEntryPropertiesAndAdvancePosition() 54 const int targetPos = getBigramAddressAndAdvancePosition(buffer, bigramFlags, bigramEntryPos); in getBigramEntryPropertiesAndAdvancePosition()
|
D | bigram_list_read_write_utils.h | 36 int *const bigramEntryPos);
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/ |
D | ver4_bigram_list_policy.cpp | 40 bool *const outHasNext, int *const bigramEntryPos) const { in getNextBigram() 42 mBigramDictContent->getBigramEntryAndAdvancePosition(bigramEntryPos); in getNextBigram() 281 bool Ver4BigramListPolicy::updateHasNextFlag(const bool hasNext, const int bigramEntryPos) { in updateHasNextFlag() argument 282 const BigramEntry bigramEntry = mBigramDictContent->getBigramEntry(bigramEntryPos); in updateHasNextFlag() 284 return mBigramDictContent->writeBigramEntry(&updatedBigramEntry, bigramEntryPos); in updateHasNextFlag()
|
D | ver4_bigram_list_policy.h | 59 bool *const outHasNext, int *const bigramEntryPos) const; 85 bool updateHasNextFlag(const bool hasNext, const int bigramEntryPos);
|