Home
last modified time | relevance | path

Searched refs:grpc_slice_refcount (Results 1 – 14 of 14) sorted by relevance

/third_party/grpc/src/core/lib/slice/
Dslice_internal.h100 struct grpc_slice_refcount { struct
110 grpc_slice_refcount() = default; argument
112 explicit grpc_slice_refcount(Type t) : ref_type_(t) {} in grpc_slice_refcount() argument
114 explicit grpc_slice_refcount(grpc_slice_refcount* sub) : sub_refcount_(sub) {} in grpc_slice_refcount() function
136 grpc_slice_refcount(grpc_slice_refcount::Type type, grpc_core::RefCount* ref, in grpc_slice_refcount() argument
138 grpc_slice_refcount* sub) in grpc_slice_refcount()
145 grpc_slice_refcount(grpc_slice_refcount* sub, Type type) in grpc_slice_refcount() function
164 grpc_slice_refcount* sub_refcount() const { return sub_refcount_; } in sub_refcount() argument
169 grpc_slice_refcount* sub_refcount_ = this; argument
177 static grpc_slice_refcount kStaticSubRefcount; argument
[all …]
Dslice.cc68 grpc_slice_refcount kNoopRefcount(grpc_slice_refcount::Type::NOP);
79 : base_(grpc_slice_refcount::Type::REGULAR, &refs_, Destroy, this, in NewSliceRefcount()
85 grpc_slice_refcount* base_refcount() { return &base_; } in base_refcount()
88 grpc_slice_refcount base_;
139 : base_(grpc_slice_refcount::Type::REGULAR, &refs_, Destroy, this, in NewWithLenSliceRefcount()
146 grpc_slice_refcount* base_refcount() { return &base_; } in base_refcount()
149 grpc_slice_refcount base_;
160 : base_(grpc_slice_refcount::Type::REGULAR, &refs_, Destroy, this, in MovedStringSliceRefCount()
164 grpc_slice_refcount* base_refcount() { return &base_; } in base_refcount()
171 grpc_slice_refcount base_;
[all …]
Dslice_utils.h145 extern grpc_slice_refcount kNoopRefcount;
156 ExternallyManagedSlice(grpc_slice_refcount* ref, size_t length, in ExternallyManagedSlice()
175 StaticMetadataSlice(grpc_slice_refcount* ref, size_t length, in StaticMetadataSlice()
/third_party/grpc/include/grpc/impl/codegen/
Dslice.h50 struct grpc_slice_refcount;
61 struct grpc_slice_refcount* refcount;
Dgpr_slice.h32 #define gpr_slice_refcount grpc_slice_refcount
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_encoder.cc86 typedef grpc_slice_refcount* Type;
87 static grpc_slice_refcount* Null() { return nullptr; } in Null()
88 static bool IsNull(const grpc_slice_refcount* sref) { in IsNull()
91 static bool Equals(const grpc_slice_refcount* s1, in Equals()
92 const grpc_slice_refcount* s2) { in Equals()
95 static void Ref(grpc_slice_refcount* sref) { in Ref()
99 static void Unref(grpc_slice_refcount* sref) { in Unref()
435 grpc_slice_refcount* key_ref, uint32_t new_index, in AddKeyWithIndex()
774 auto* const key = GetEntry<grpc_slice_refcount*>(c->key_table.entries, i); in grpc_chttp2_hpack_compressor_destroy()
Dhpack_encoder.h80 grpc_slice_refcount* value;
Dhpack_parser.h60 grpc_slice_refcount* current_slice_refcount;
/third_party/grpc/src/core/lib/transport/
Dtransport.cc97 new (&refcount->slice_refcount) grpc_slice_refcount(
98 grpc_slice_refcount::Type::REGULAR, &refcount->refs, slice_stream_destroy,
Dtransport.h62 grpc_slice_refcount slice_refcount;
Dmetadata.cc412 key.refcount->GetType() == grpc_slice_refcount::Type::STATIC; in md_create_maybe_static()
415 value.refcount->GetType() == grpc_slice_refcount::Type::STATIC; in md_create_maybe_static()
Dstatic_metadata.h304 (slice).refcount->GetType() == grpc_slice_refcount::Type::STATIC)
Dstatic_metadata.cc134 grpc_slice_refcount grpc_core::StaticSliceRefcount::kStaticSubRefcount;
/third_party/grpc/src/core/lib/iomgr/
Dresource_quota.cc450 : base_(grpc_slice_refcount::Type::REGULAR, &refs_, Destroy, this, in RuSliceRefcount()
458 grpc_slice_refcount* base_refcount() { return &base_; } in base_refcount()
461 grpc_slice_refcount base_;