Lines Matching refs:slice_
38 Slice() : slice_(g_core_codegen_interface->grpc_empty_slice()) {} in Slice()
40 ~Slice() { g_core_codegen_interface->grpc_slice_unref(slice_); } in ~Slice()
45 : slice_(g_core_codegen_interface->grpc_slice_ref(slice)) {} in Slice()
49 Slice(grpc_slice slice, StealRef) : slice_(slice) {} in Slice()
53 : slice_(g_core_codegen_interface->grpc_slice_malloc(len)) {} in Slice()
57 : slice_(g_core_codegen_interface->grpc_slice_from_copied_buffer( in Slice()
62 : slice_(g_core_codegen_interface->grpc_slice_from_copied_buffer( in Slice()
69 : slice_(g_core_codegen_interface->grpc_slice_from_static_buffer( in Slice()
74 : slice_(g_core_codegen_interface->grpc_slice_ref(other.slice_)) {} in Slice()
78 std::swap(slice_, other.slice_);
88 : slice_(g_core_codegen_interface->grpc_slice_new_with_user_data( in Slice()
97 : slice_(g_core_codegen_interface->grpc_slice_new_with_len(buf, len, in Slice()
101 size_t size() const { return GRPC_SLICE_LENGTH(slice_); } in size()
104 const uint8_t* begin() const { return GRPC_SLICE_START_PTR(slice_); } in begin()
107 const uint8_t* end() const { return GRPC_SLICE_END_PTR(slice_); } in end()
111 return g_core_codegen_interface->grpc_slice_ref(slice_); in c_slice()
117 grpc_slice slice_; variable