Home
last modified time | relevance | path

Searched refs:SubchannelKey (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dsubchannel_pool_interface.h36 class SubchannelKey {
38 explicit SubchannelKey(const grpc_channel_args* args);
39 ~SubchannelKey();
42 SubchannelKey(const SubchannelKey& other);
43 SubchannelKey& operator=(const SubchannelKey& other);
45 SubchannelKey(SubchannelKey&&) = delete;
46 SubchannelKey& operator=(SubchannelKey&&) = delete;
48 int Cmp(const SubchannelKey& other) const;
75 virtual Subchannel* RegisterSubchannel(SubchannelKey* key,
79 virtual void UnregisterSubchannel(SubchannelKey* key) = 0;
[all …]
Dlocal_subchannel_pool.cc35 Subchannel* LocalSubchannelPool::RegisterSubchannel(SubchannelKey* key, in RegisterSubchannel()
46 subchannel_map_ = grpc_avl_add(subchannel_map_, new SubchannelKey(*key), in RegisterSubchannel()
53 void LocalSubchannelPool::UnregisterSubchannel(SubchannelKey* key) { in UnregisterSubchannel()
57 Subchannel* LocalSubchannelPool::FindSubchannel(SubchannelKey* key) { in FindSubchannel()
66 SubchannelKey* key = static_cast<SubchannelKey*>(p); in sck_avl_destroy()
71 const SubchannelKey* key = static_cast<const SubchannelKey*>(p); in sck_avl_copy()
72 auto new_key = new SubchannelKey(*key); in sck_avl_copy()
77 const SubchannelKey* key_a = static_cast<const SubchannelKey*>(a); in sck_avl_compare()
78 const SubchannelKey* key_b = static_cast<const SubchannelKey*>(b); in sck_avl_compare()
Dsubchannel_pool_interface.cc34 SubchannelKey::SubchannelKey(const grpc_channel_args* args) { in SubchannelKey() function in grpc_core::SubchannelKey
38 SubchannelKey::~SubchannelKey() { in ~SubchannelKey()
42 SubchannelKey::SubchannelKey(const SubchannelKey& other) { in SubchannelKey() function in grpc_core::SubchannelKey
46 SubchannelKey& SubchannelKey::operator=(const SubchannelKey& other) { in operator =()
52 int SubchannelKey::Cmp(const SubchannelKey& other) const { in Cmp()
56 void SubchannelKey::Init( in Init()
Dglobal_subchannel_pool.cc60 Subchannel* GlobalSubchannelPool::RegisterSubchannel(SubchannelKey* key, in RegisterSubchannel()
103 grpc_avl_ref(old_map, nullptr), new SubchannelKey(*key), in RegisterSubchannel()
122 void GlobalSubchannelPool::UnregisterSubchannel(SubchannelKey* key) { in UnregisterSubchannel()
149 Subchannel* GlobalSubchannelPool::FindSubchannel(SubchannelKey* key) { in FindSubchannel()
166 SubchannelKey* key = static_cast<SubchannelKey*>(p); in sck_avl_destroy()
171 const SubchannelKey* key = static_cast<const SubchannelKey*>(p); in sck_avl_copy()
172 auto* new_key = new SubchannelKey(*key); in sck_avl_copy()
177 const SubchannelKey* key_a = static_cast<const SubchannelKey*>(a); in sck_avl_compare()
178 const SubchannelKey* key_b = static_cast<const SubchannelKey*>(b); in sck_avl_compare()
Dlocal_subchannel_pool.h43 Subchannel* RegisterSubchannel(SubchannelKey* key,
45 void UnregisterSubchannel(SubchannelKey* key) override;
46 Subchannel* FindSubchannel(SubchannelKey* key) override;
Dglobal_subchannel_pool.h48 Subchannel* RegisterSubchannel(SubchannelKey* key,
50 void UnregisterSubchannel(SubchannelKey* key) override;
51 Subchannel* FindSubchannel(SubchannelKey* key) override;
Dsubchannel.h216 Subchannel(SubchannelKey* key, OrphanablePtr<SubchannelConnector> connector,
380 SubchannelKey* key_;
Dsubchannel.cc650 Subchannel::Subchannel(SubchannelKey* key, in Subchannel()
712 SubchannelKey* key = new SubchannelKey(args); in Create()