/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | bigram_dict_content.cpp | 146 bool BigramDictContent::runGC(const TerminalPositionLookupTable::TerminalIdMap *const terminalIdMap, in runGC() argument 149 for (TerminalPositionLookupTable::TerminalIdMap::const_iterator it = terminalIdMap->begin(); in runGC() 150 it != terminalIdMap->end(); ++it) { in runGC() 161 terminalIdMap, &bigramEntryCount)) { in runGC() 184 const TerminalPositionLookupTable::TerminalIdMap *const terminalIdMap, in runGCBigramList() argument 198 terminalIdMap->find(originalBigramEntry.getTargetTerminalId()); in runGCBigramList() 199 if (it == terminalIdMap->end()) { in runGCBigramList()
|
D | probability_dict_content.cpp | 102 const TerminalPositionLookupTable::TerminalIdMap *const terminalIdMap, in runGC() argument 104 for (TerminalPositionLookupTable::TerminalIdMap::const_iterator it = terminalIdMap->begin(); in runGC() 105 it != terminalIdMap->end(); ++it) { in runGC()
|
D | shortcut_dict_content.cpp | 78 const TerminalPositionLookupTable::TerminalIdMap *const terminalIdMap, in runGC() argument 80 for (TerminalPositionLookupTable::TerminalIdMap::const_iterator it = terminalIdMap->begin(); in runGC() 81 it != terminalIdMap->end(); ++it) { in runGC()
|
D | terminal_position_lookup_table.cpp | 84 bool TerminalPositionLookupTable::runGCTerminalIds(TerminalIdMap *const terminalIdMap) { in runGCTerminalIds() argument 101 terminalIdMap->insert(TerminalIdMap::value_type(i, nextNewTerminalId)); in runGCTerminalIds()
|
D | bigram_dict_content.h | 96 bool runGC(const TerminalPositionLookupTable::TerminalIdMap *const terminalIdMap, 127 const TerminalPositionLookupTable::TerminalIdMap *const terminalIdMap,
|
D | terminal_position_lookup_table.h | 59 bool runGCTerminalIds(TerminalIdMap *const terminalIdMap);
|
D | probability_dict_content.h | 56 bool runGC(const TerminalPositionLookupTable::TerminalIdMap *const terminalIdMap,
|
D | shortcut_dict_content.h | 67 bool runGC(const TerminalPositionLookupTable::TerminalIdMap *const terminalIdMap,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_writing_helper.cpp | 133 TerminalPositionLookupTable::TerminalIdMap terminalIdMap; in runGC() local 135 &terminalIdMap)) { in runGC() 139 if (!buffersToWrite->getMutableLanguageModelDictContent()->runGC(&terminalIdMap, in runGC() 144 if(!buffersToWrite->getMutableShortcutDictContent()->runGC(&terminalIdMap, in runGC() 158 traversePolicyToUpdateAllPtNodeFlagsAndTerminalIds(&newPtNodeWriter, &terminalIdMap); in runGC()
|
D | ver4_patricia_trie_writing_helper.h | 51 const TerminalPositionLookupTable::TerminalIdMap *const terminalIdMap) in TraversePolicyToUpdateAllPtNodeFlagsAndTerminalIds() argument 52 : mPtNodeWriter(ptNodeWriter), mTerminalIdMap(terminalIdMap) {} in TraversePolicyToUpdateAllPtNodeFlagsAndTerminalIds()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_writing_helper.cpp | 163 TerminalPositionLookupTable::TerminalIdMap terminalIdMap; in runGC() local 165 &terminalIdMap)) { in runGC() 169 if (!buffersToWrite->getMutableProbabilityDictContent()->runGC(&terminalIdMap, in runGC() 174 if(!buffersToWrite->getMutableBigramDictContent()->runGC(&terminalIdMap, in runGC() 179 if(!buffersToWrite->getMutableShortcutDictContent()->runGC(&terminalIdMap, in runGC() 193 traversePolicyToUpdateAllPtNodeFlagsAndTerminalIds(&newPtNodeWriter, &terminalIdMap); in runGC()
|
D | ver4_patricia_trie_writing_helper.h | 64 const TerminalPositionLookupTable::TerminalIdMap *const terminalIdMap) in TraversePolicyToUpdateAllPtNodeFlagsAndTerminalIds() argument 65 : mPtNodeWriter(ptNodeWriter), mTerminalIdMap(terminalIdMap) {} in TraversePolicyToUpdateAllPtNodeFlagsAndTerminalIds()
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/ |
D | terminal_position_lookup_table_test.cpp | 65 TerminalPositionLookupTable::TerminalIdMap terminalIdMap; in TEST() local 66 EXPECT_TRUE(lookupTable.runGCTerminalIds(&terminalIdMap)); in TEST() 69 EXPECT_EQ(static_cast<int>(i), terminalIdMap[terminalIds[i]]) in TEST()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.cpp | 36 const TerminalPositionLookupTable::TerminalIdMap *const terminalIdMap, in runGC() argument 38 return runGCInner(terminalIdMap, originalContent->mTrieMap.getEntriesInRootLevel(), in runGC() 275 const TerminalPositionLookupTable::TerminalIdMap *const terminalIdMap, in runGCInner() argument 278 const auto it = terminalIdMap->find(entry.key()); in runGCInner() 279 if (it == terminalIdMap->end() || it->second == Ver4DictConstants::NOT_A_TERMINAL_ID) { in runGCInner() 287 if (!runGCInner(terminalIdMap, entry.getEntriesInNextLevel(), in runGCInner()
|
D | shortcut_dict_content.cpp | 63 const TerminalPositionLookupTable::TerminalIdMap *const terminalIdMap, in runGC() argument 65 for (TerminalPositionLookupTable::TerminalIdMap::const_iterator it = terminalIdMap->begin(); in runGC() 66 it != terminalIdMap->end(); ++it) { in runGC()
|
D | terminal_position_lookup_table.cpp | 73 bool TerminalPositionLookupTable::runGCTerminalIds(TerminalIdMap *const terminalIdMap) { in runGCTerminalIds() argument 90 terminalIdMap->insert(TerminalIdMap::value_type(i, nextNewTerminalId)); in runGCTerminalIds()
|
D | language_model_dict_content.h | 150 bool runGC(const TerminalPositionLookupTable::TerminalIdMap *const terminalIdMap, 238 bool runGCInner(const TerminalPositionLookupTable::TerminalIdMap *const terminalIdMap,
|
D | terminal_position_lookup_table.h | 51 bool runGCTerminalIds(TerminalIdMap *const terminalIdMap);
|
D | shortcut_dict_content.h | 60 bool runGC(const TerminalPositionLookupTable::TerminalIdMap *const terminalIdMap,
|