Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node_pool.h31 explicit DicNodePool(const int capacity) : mDicNodes(), mPooledDicNodes() { in DicNodePool()
37 && capacity == static_cast<int>(mPooledDicNodes.size())) { in reset()
43 mPooledDicNodes.clear(); in reset()
45 mPooledDicNodes.emplace_back(&dicNode); in reset()
51 if (mPooledDicNodes.empty()) { in getInstance()
54 DicNode *const dicNode = mPooledDicNodes.back(); in getInstance()
55 mPooledDicNodes.pop_back(); in getInstance()
62 mPooledDicNodes.emplace_back(dicNode); in placeBackInstance()
71 for (const auto &dicNodePtr : mPooledDicNodes) { in dump()
84 std::deque<DicNode*> mPooledDicNodes; variable