Searched refs:node_queue (Results 1 – 2 of 2) sorted by relevance
166 std::queue<HuffmanNodePtr> node_queue; in FreeHuffmanNodeTree() local167 node_queue.push(root); in FreeHuffmanNodeTree()168 while (!node_queue.empty()) { in FreeHuffmanNodeTree()169 auto cur_node = node_queue.front(); in FreeHuffmanNodeTree()170 node_queue.pop(); in FreeHuffmanNodeTree()172 node_queue.push(cur_node->left); in FreeHuffmanNodeTree()175 node_queue.push(cur_node->right); in FreeHuffmanNodeTree()
464 std::vector<AnfNodePtr> node_queue = {node}; in GetPreNode() local465 while (!node_queue.empty()) { in GetPreNode()466 auto cur_node = (*node_queue.begin())->cast<CNodePtr>(); in GetPreNode()468 (void)node_queue.erase(node_queue.begin()); in GetPreNode()471 (void)node_queue.erase(node_queue.begin()); in GetPreNode()476 …(void)node_queue.insert(node_queue.end(), cur_node->inputs().begin() + 1, cur_node->inputs().end()… in GetPreNode()