HomeSort by relevance Sort by last modified time
    Searched refs:terminalIdMap (Results 1 - 19 of 19) sorted by null

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

Completed in 502 milliseconds