• Home
  • Raw
  • Download

Lines Matching refs:unique_ptr

63   virtual const std::unique_ptr<std::vector<uint8_t>> FinalPacket() {  in FinalPacket()
64 std::unique_ptr<std::vector<uint8_t>> packet = std::make_unique<std::vector<uint8_t>>(); in FinalPacket()
113 virtual const std::unique_ptr<std::vector<uint8_t>> FinalPacket() { in FinalPacket()
114 std::unique_ptr<std::vector<uint8_t>> packet = std::make_unique<std::vector<uint8_t>>(); in FinalPacket()
143 virtual const std::unique_ptr<std::vector<uint8_t>> FinalPacket() { in FinalPacket()
144 std::unique_ptr<std::vector<uint8_t>> packet = std::make_unique<std::vector<uint8_t>>(); in FinalPacket()
202 static std::unique_ptr<NestedBuilder> Create(uint8_t level) { in Create()
203 return std::unique_ptr<NestedBuilder>(new NestedBuilder(level)); in Create()
206 …static std::unique_ptr<NestedBuilder> CreateNested(std::unique_ptr<BasePacketBuilder> payload, uin… in CreateNested()
207 return std::unique_ptr<NestedBuilder>(new NestedBuilder(std::move(payload), level)); in CreateNested()
210 virtual const std::unique_ptr<std::vector<uint8_t>> FinalPacket() { in FinalPacket()
211 std::unique_ptr<std::vector<uint8_t>> packet = std::make_unique<std::vector<uint8_t>>(); in FinalPacket()
226 std::unique_ptr<BasePacketBuilder> payload_;
229 …NestedBuilder(std::unique_ptr<BasePacketBuilder> inner, uint8_t level) : payload_(std::move(inner)… in NestedBuilder()
236 std::unique_ptr<BasePacketBuilder> innermost = NestedBuilder::Create(0); in TEST()
237 …std::unique_ptr<BasePacketBuilder> number_1 = NestedBuilder::CreateNested(std::move(innermost), 1); in TEST()
238 std::unique_ptr<BasePacketBuilder> number_2 = NestedBuilder::CreateNested(std::move(number_1), 2); in TEST()
239 std::unique_ptr<BasePacketBuilder> number_3 = NestedBuilder::CreateNested(std::move(number_2), 3); in TEST()
240 std::unique_ptr<BasePacketBuilder> number_4 = NestedBuilder::CreateNested(std::move(number_3), 4); in TEST()
241 std::unique_ptr<NestedBuilder> number_5 = NestedBuilder::CreateNested(std::move(number_4), 5); in TEST()