Lines Matching refs:dicNode
30 DicNode *DicNodesCache::setCommitPoint(int commitPoint) {
31 std::list<DicNode> dicNodesList;
33 DicNode dicNode;
34 mCachedDicNodesForContinuousSuggestion->copyPop(&dicNode);
35 dicNodesList.push_front(dicNode);
38 // Get the starting words of the top scoring dicNode (last dicNode popped from priority queue)
40 DicNode *topDicNode = &dicNodesList.front();
41 DicNode topDicNodeCopy;
45 std::list<DicNode>::iterator iter;
47 DicNode *dicNode = &*iter;
48 if (dicNode->truncateNode(&topDicNodeCopy, commitPoint)) {
49 mCachedDicNodesForContinuousSuggestion->copyPush(dicNode);
51 // Top dicNode should be reprocessed.
52 ASSERT(dicNode != topDicNode);
53 DicNode::managedDelete(dicNode);