Searched refs:SliceAllocator (Results 1 – 2 of 2) sorted by relevance
84 class SliceAllocator : public Allocator {86 SliceAllocator() : slice_(grpc_empty_slice()) {} in SliceAllocator() function88 SliceAllocator(const SliceAllocator &other) = delete;89 SliceAllocator &operator=(const SliceAllocator &other) = delete;91 SliceAllocator(SliceAllocator &&other) in SliceAllocator() function97 SliceAllocator &operator=(SliceAllocator &&other) {99 SliceAllocator temp(std::move(other));104 void swap(SliceAllocator &other) { in swap()109 virtual ~SliceAllocator() { grpc_slice_unref(slice_); } in ~SliceAllocator()157 SliceAllocator slice_allocator_;
174 flatbuffers::grpc::SliceAllocator sa1; in slice_allocator_tests()179 flatbuffers::grpc::SliceAllocator sa2(std::move(sa1)); in slice_allocator_tests()188 flatbuffers::grpc::SliceAllocator sa1, sa2; in slice_allocator_tests()