Lines Matching refs:unique_ptr
35 std::vector<std::unique_ptr<CallChainNode>> children;
45 std::vector<std::unique_ptr<NodeT>> children;
55 std::unique_ptr<NodeT> new_node = AllocateNode(callchain, 0, period, 0); in AddCallChain()
83 std::unique_ptr<NodeT> new_node = in AddCallChain()
91 std::queue<std::vector<std::unique_ptr<NodeT>>*> queue; in SortByPeriod()
94 std::vector<std::unique_ptr<NodeT>>* v = queue.front(); in SortByPeriod()
107 const std::vector<std::unique_ptr<NodeT>>& nodes, const EntryT* sample, in FindMatchingNode()
131 std::unique_ptr<NodeT> child = AllocateNode( in SplitNode()
141 std::unique_ptr<NodeT> AllocateNode(const std::vector<EntryT*>& chain, in AllocateNode()
144 std::unique_ptr<NodeT> node(new NodeT); in AllocateNode()
153 static bool CompareNodeByPeriod(const std::unique_ptr<NodeT>& n1, in CompareNodeByPeriod()
154 const std::unique_ptr<NodeT>& n2) { in CompareNodeByPeriod()