/external/grpc-grpc/test/core/gprpp/ |
D | ref_counted_ptr_test.cc | 45 TEST(RefCountedPtr, DefaultConstructor) { RefCountedPtr<Foo> foo; } in TEST() argument 47 TEST(RefCountedPtr, ExplicitConstructorEmpty) { in TEST() argument 48 RefCountedPtr<Foo> foo(nullptr); in TEST() 51 TEST(RefCountedPtr, ExplicitConstructor) { RefCountedPtr<Foo> foo(New<Foo>()); } in TEST() argument 53 TEST(RefCountedPtr, MoveConstructor) { in TEST() argument 54 RefCountedPtr<Foo> foo(New<Foo>()); in TEST() 55 RefCountedPtr<Foo> foo2(std::move(foo)); in TEST() 60 TEST(RefCountedPtr, MoveAssignment) { in TEST() argument 61 RefCountedPtr<Foo> foo(New<Foo>()); in TEST() 62 RefCountedPtr<Foo> foo2 = std::move(foo); in TEST() [all …]
|
D | ref_counted_test.cc | 42 RefCountedPtr<Foo> foop = foo->Ref(); in TEST() 59 RefCountedPtr<FooWithTracing> foop = foo->Ref(DEBUG_LOCATION, "extra_ref"); in TEST()
|
D | orphanable_test.cc | 73 RefCountedPtr<Bar> self_ref_; 103 RefCountedPtr<Baz> self_ref_;
|
/external/grpc-grpc/src/core/lib/gprpp/ |
D | ref_counted_ptr.h | 33 class RefCountedPtr { 35 RefCountedPtr() {} in RefCountedPtr() function 36 RefCountedPtr(std::nullptr_t) {} in RefCountedPtr() function 40 explicit RefCountedPtr(Y* value) { in RefCountedPtr() function 45 RefCountedPtr(RefCountedPtr&& other) { in RefCountedPtr() function 50 RefCountedPtr(RefCountedPtr<Y>&& other) { in RefCountedPtr() function 56 RefCountedPtr& operator=(RefCountedPtr&& other) { 63 RefCountedPtr& operator=(RefCountedPtr<Y>&& other) { 71 RefCountedPtr(const RefCountedPtr& other) { in RefCountedPtr() function 76 RefCountedPtr(const RefCountedPtr<Y>& other) { in RefCountedPtr() function [all …]
|
D | ref_counted.h | 46 RefCountedPtr<Child> Ref() GRPC_MUST_USE_RESULT { in Ref() 48 return RefCountedPtr<Child>(static_cast<Child*>(this)); in Ref() 77 friend class RefCountedPtr; 93 RefCountedPtr<Child> Ref() GRPC_MUST_USE_RESULT { in Ref() 95 return RefCountedPtr<Child>(static_cast<Child*>(this)); in Ref() 98 RefCountedPtr<Child> Ref(const DebugLocation& location, in Ref() 157 friend class RefCountedPtr;
|
D | orphanable.h | 90 friend class RefCountedPtr; 95 RefCountedPtr<Child> Ref() GRPC_MUST_USE_RESULT { in Ref() 97 return RefCountedPtr<Child>(static_cast<Child*>(this)); in Ref() 134 friend class RefCountedPtr; 151 RefCountedPtr<Child> Ref() GRPC_MUST_USE_RESULT { in Ref() 153 return RefCountedPtr<Child>(static_cast<Child*>(this)); in Ref() 156 RefCountedPtr<Child> Ref(const DebugLocation& location, in Ref()
|
/external/grpc-grpc/src/core/lib/transport/ |
D | service_config.h | 82 using CreateValue = RefCountedPtr<T> (*)(const grpc_json* method_config_json); 84 RefCountedPtr<SliceHashTable<RefCountedPtr<T>>> CreateMethodConfigTable( 94 static RefCountedPtr<T> MethodConfigTableLookup( 95 const SliceHashTable<RefCountedPtr<T>>& table, grpc_slice path); 118 typename SliceHashTable<RefCountedPtr<T>>::Entry* entries, size_t* idx); 145 typename SliceHashTable<RefCountedPtr<T>>::Entry* entries, size_t* idx) { in ParseJsonMethodConfig() 147 RefCountedPtr<T> method_config = create_value(json); in ParseJsonMethodConfig() 174 RefCountedPtr<SliceHashTable<RefCountedPtr<T>>> 181 typename SliceHashTable<RefCountedPtr<T>>::Entry* entries = nullptr; in CreateMethodConfigTable() 196 entries = static_cast<typename SliceHashTable<RefCountedPtr<T>>::Entry*>( in CreateMethodConfigTable() [all …]
|
/external/grpc-grpc/test/core/slice/ |
D | slice_hash_table_test.cc | 70 RefCountedPtr<TestHashTable> CreateTableFromEntries( in CreateTableFromEntries() 76 RefCountedPtr<TestHashTable> table = in CreateTableFromEntries() 119 RefCountedPtr<TestHashTable> table = in TEST() 137 RefCountedPtr<TestHashTable> table_a = in TEST() 141 RefCountedPtr<TestHashTable> table_b = in TEST() 153 RefCountedPtr<TestHashTable> table_a = in TEST() 157 RefCountedPtr<TestHashTable> table_b = in TEST() 167 RefCountedPtr<TestHashTable> table_a = in TEST() 171 RefCountedPtr<TestHashTable> table_b = in TEST() 181 RefCountedPtr<TestHashTable> table_a = in TEST() [all …]
|
/external/grpc-grpc/src/core/lib/channel/ |
D | channel_trace.h | 66 RefCountedPtr<BaseNode> referenced_entity); 79 RefCountedPtr<BaseNode> referenced_entity_); 101 RefCountedPtr<BaseNode> referenced_entity_;
|
D | channelz.h | 117 static RefCountedPtr<ChannelNode> MakeChannelNode( 155 RefCountedPtr<BaseNode> referenced_channel) { in AddTraceEventWithReference() 186 RefCountedPtr<BaseNode> referenced_channel) { in AddTraceEventWithReference() 209 typedef RefCountedPtr<ChannelNode> (*ChannelNodeCreationFunc)(grpc_channel*,
|
D | channel_trace.cc | 45 RefCountedPtr<BaseNode> referenced_entity) in TraceEvent() 113 RefCountedPtr<BaseNode> referenced_entity) { in AddTraceEventWithReference()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/ |
D | grpclb_channel_secure.cc | 44 RefCountedPtr<TargetAuthorityTable> CreateTargetAuthorityTable( in CreateTargetAuthorityTable() 58 RefCountedPtr<TargetAuthorityTable> target_authority_table = in CreateTargetAuthorityTable() 80 grpc_core::RefCountedPtr<grpc_core::TargetAuthorityTable> in grpc_lb_policy_grpclb_modify_lb_channel_args()
|
D | client_load_reporting_filter.cc | 41 grpc_core::RefCountedPtr<grpc_core::GrpcLbClientStats> client_stats;
|
/external/grpc-grpc/test/core/channel/ |
D | channel_trace_test.cc | 168 RefCountedPtr<ChannelNode> sc1 = in TEST_P() 187 RefCountedPtr<ChannelNode> sc2 = in TEST_P() 216 RefCountedPtr<ChannelNode> sc1 = in TEST_P() 225 RefCountedPtr<ChannelNode> conn1 = in TEST_P() 239 RefCountedPtr<ChannelNode> sc2 = in TEST_P()
|
/external/grpc-grpc/src/core/ext/filters/message_size/ |
D | message_size_filter.cc | 47 static RefCountedPtr<MessageSizeLimits> CreateFromJson(const grpc_json* json); 64 RefCountedPtr<MessageSizeLimits> MessageSizeLimits::CreateFromJson( in CreateFromJson() 116 grpc_core::RefCountedPtr<grpc_core::SliceHashTable< 117 grpc_core::RefCountedPtr<grpc_core::MessageSizeLimits>>> 223 grpc_core::RefCountedPtr<grpc_core::MessageSizeLimits> limits = in init_call_elem()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/ |
D | client_channel_channelz.h | 45 static RefCountedPtr<ChannelNode> MakeClientChannelNode( 85 RefCountedPtr<BaseNode> referenced_channel) { in AddTraceEventWithReference()
|
D | retry_throttle.cc | 166 RefCountedPtr<ServerRetryThrottleData> ServerRetryThrottleMap::GetDataForServer( in GetDataForServer() 169 RefCountedPtr<ServerRetryThrottleData> result; in GetDataForServer()
|
D | method_params.cc | 150 RefCountedPtr<ClientChannelMethodParams> 152 RefCountedPtr<ClientChannelMethodParams> method_params = in CreateFromJson()
|
D | retry_throttle.h | 73 static RefCountedPtr<ServerRetryThrottleData> GetDataForServer(
|
D | method_params.h | 51 static RefCountedPtr<ClientChannelMethodParams> CreateFromJson(
|
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/native/ |
D | dns_resolver.cc | 226 RefCountedPtr<Resolver> self = in OnResolvedLocked() 267 RefCountedPtr<Resolver> self = in MaybeStartResolvingLocked() 283 RefCountedPtr<Resolver> self = Ref(DEBUG_LOCATION, "dns-resolving"); in StartResolvingLocked()
|
/external/grpc-grpc/src/core/lib/slice/ |
D | slice_hash_table.h | 63 static RefCountedPtr<SliceHashTable> Create(size_t num_entries, 107 RefCountedPtr<SliceHashTable<T>> SliceHashTable<T>::Create(size_t num_entries, in Create()
|
D | slice_weak_hash_table.h | 43 static RefCountedPtr<SliceWeakHashTable> Create() { in Create()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | dns_resolver_ares.cc | 354 RefCountedPtr<Resolver> self = r->Ref(DEBUG_LOCATION, "retry-timer"); in OnResolvedLocked() 393 RefCountedPtr<Resolver> self = in MaybeStartResolvingLocked() 409 RefCountedPtr<Resolver> self = Ref(DEBUG_LOCATION, "dns-resolving"); in StartResolvingLocked()
|
/external/grpc-grpc/src/core/tsi/ssl/session_cache/ |
D | ssl_session_cache.h | 52 static grpc_core::RefCountedPtr<SslSessionLRUCache> Create(size_t capacity) { in Create()
|