Searched refs:structurePolicy (Results 1 – 3 of 3) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | multi_bigram_map.cpp | 37 const DictionaryStructureWithBufferPolicy *const structurePolicy, in getBigramProbability() argument 41 return structurePolicy->getProbability(unigramProbability, NOT_A_PROBABILITY); in getBigramProbability() 45 return mapPosition->second.getBigramProbability(structurePolicy, nextWordId, in getBigramProbability() 49 addBigramsForWord(structurePolicy, prevWordIds); in getBigramProbability() 50 return mBigramMaps[prevWordIds[0]].getBigramProbability(structurePolicy, in getBigramProbability() 53 return readBigramProbabilityFromBinaryDictionary(structurePolicy, prevWordIds, in getBigramProbability() 58 const DictionaryStructureWithBufferPolicy *const structurePolicy, in init() argument 60 structurePolicy->iterateNgramEntries(prevWordIds, this /* listener */); in init() 64 const DictionaryStructureWithBufferPolicy *const structurePolicy, in getBigramProbability() argument 73 return structurePolicy->getProbability(unigramProbability, bigramProbability); in getBigramProbability() [all …]
|
D | multi_bigram_map.h | 42 int getBigramProbability(const DictionaryStructureWithBufferPolicy *const structurePolicy, 60 void init(const DictionaryStructureWithBufferPolicy *const structurePolicy, 63 const DictionaryStructureWithBufferPolicy *const structurePolicy, 73 void addBigramsForWord(const DictionaryStructureWithBufferPolicy *const structurePolicy, 77 const DictionaryStructureWithBufferPolicy *const structurePolicy,
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 537 DictionaryStructureWithBufferPolicy::StructurePolicyPtr structurePolicy, in runGCAndGetNewStructurePolicy() argument 539 structurePolicy->flushWithGC(dictFilePath); in runGCAndGetNewStructurePolicy() 540 structurePolicy.release(); in runGCAndGetNewStructurePolicy()
|