Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node_vector.h36 AK_FORCE_INLINE DicNodeVector() : mDicNodes(), mLock(false) {} in DicNodeVector()
39 AK_FORCE_INLINE DicNodeVector(const int size) : mDicNodes(), mLock(false) { in DicNodeVector()
40 mDicNodes.reserve(size); in DicNodeVector()
47 mDicNodes.clear(); in clear()
53 return static_cast<int>(mDicNodes.size()); in getSizeAndLock()
58 mDicNodes.emplace_back(); in pushPassingChild()
59 mDicNodes.back().initAsPassingChild(dicNode); in pushPassingChild()
65 mDicNodes.emplace_back(); in pushLeavingChild()
66 mDicNodes.back().initAsChild(dicNode, childrenPtNodeArrayPos, wordId, mergedCodePoints); in pushLeavingChild()
70 ASSERT(id < static_cast<int>(mDicNodes.size()));
[all …]
Ddic_node_pool.h31 explicit DicNodePool(const int capacity) : mDicNodes(), mPooledDicNodes() { in DicNodePool()
36 if (capacity == static_cast<int>(mDicNodes.size()) in reset()
41 mDicNodes.resize(capacity); in reset()
42 mDicNodes.shrink_to_fit(); in reset()
44 for (auto &dicNode : mDicNodes) { in reset()
68 for (const auto &dicNode : mDicNodes) { in dump()
83 std::vector<DicNode> mDicNodes; variable