Home
last modified time | relevance | path

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

12

/external/rust/crates/grpcio-sys/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() argument
136 grpc_slice_refcount(grpc_slice_refcount::Type type, grpc_core::RefCount* ref, in grpc_slice_refcount() function
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()
/external/grpc-grpc/include/grpc/impl/codegen/
Dslice.h55 typedef struct grpc_slice_refcount { struct
61 struct grpc_slice_refcount* sub_refcount; argument
62 } grpc_slice_refcount; typedef
81 struct grpc_slice_refcount* refcount;
Dgpr_slice.h32 #define gpr_slice_refcount grpc_slice_refcount
/external/rust/crates/grpcio-sys/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
/external/rust/crates/grpcio-sys/grpc/spm-core-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
/external/rust/crates/grpcio-sys/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;
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_parser.h61 grpc_slice_refcount* current_slice_refcount;
Dhpack_encoder.cc59 static grpc_slice_refcount terminal_slice_refcount = {nullptr, nullptr};
/external/grpc-grpc/src/core/lib/slice/
Dslice.cc88 static grpc_slice_refcount noop_refcount = {&noop_refcount_vtable,
106 grpc_slice_refcount rc;
155 grpc_slice_refcount rc;
209 grpc_slice_refcount base;
Dslice_intern.cc43 grpc_slice_refcount base;
44 grpc_slice_refcount sub;
/external/rust/crates/grpcio-sys/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)
/external/grpc-grpc/src/core/lib/transport/
Dtransport.h59 grpc_slice_refcount slice_refcount;
Dstatic_metadata.cc119 static grpc_slice_refcount static_sub_refcnt = {&static_sub_vtable,
121 grpc_slice_refcount grpc_static_metadata_refcounts[GRPC_STATIC_MDSTR_COUNT] = {
Dstatic_metadata.h253 extern grpc_slice_refcount
/external/rust/crates/grpcio-sys/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_;
/external/grpc-grpc/src/core/lib/iomgr/
Dresource_quota.cc422 grpc_slice_refcount base;

12