Home
last modified time | relevance | path

Searched refs:hashedKey (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dtrie_map.cpp251 int TrieMap::getTerminalEntryIndex(const uint32_t key, const uint32_t hashedKey, in getTerminalEntryIndex() argument
253 const int label = getLabel(hashedKey, level); in getTerminalEntryIndex()
261 return getTerminalEntryIndex(key, hashedKey, entry, level + 1); in getTerminalEntryIndex()
283 const TrieMap::Result TrieMap::getInternal(const uint32_t key, const uint32_t hashedKey, in getInternal() argument
285 const int terminalEntryIndex = getTerminalEntryIndex(key, hashedKey, in getInternal()
311 bool TrieMap::putInternal(const uint32_t key, const uint64_t value, const uint32_t hashedKey, in putInternal() argument
313 const int label = getLabel(hashedKey, level); in putInternal()
324 return putInternal(key, value, hashedKey, entryIndex, entry, level + 1); in putInternal()
335 return addNewEntryByResolvingConflict(key, value, hashedKey, entry, entryIndex, level); in putInternal()
350 const uint32_t hashedKey, const Entry &conflictedEntry, const int conflictedEntryIndex, in addNewEntryByResolvingConflict() argument
[all …]
Dtrie_map.h304 int getTerminalEntryIndex(const uint32_t key, const uint32_t hashedKey,
306 const Result getInternal(const uint32_t key, const uint32_t hashedKey,
308 bool putInternal(const uint32_t key, const uint64_t value, const uint32_t hashedKey,
311 const uint32_t hashedKey, const Entry &conflictedEntry, const int conflictedEntryIndex,
347 AK_FORCE_INLINE int getLabel(const uint32_t hashedKey, const int level) const { in getLabel() argument
348 return (hashedKey >> (level * NUM_OF_BITS_USED_FOR_ONE_LEVEL)) & LABEL_MASK; in getLabel()