/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 …]
|
/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 …]
|
/external/rust/crates/grpcio-sys/grpc/test/core/security/ |
D | tls_security_connector_test.cc | 99 grpc_core::RefCountedPtr<grpc_tls_certificate_distributor> distributor) in TlsTestCertificateProvider() 102 grpc_core::RefCountedPtr<grpc_tls_certificate_distributor> distributor() in distributor() 108 grpc_core::RefCountedPtr<grpc_tls_certificate_distributor> distributor_; 114 grpc_core::RefCountedPtr<grpc_tls_certificate_distributor> distributor = in TEST_F() 119 grpc_core::RefCountedPtr<::grpc_tls_certificate_provider> provider = in TEST_F() 121 grpc_core::RefCountedPtr<grpc_tls_credentials_options> options = in TEST_F() 128 grpc_core::RefCountedPtr<TlsCredentials> credential = in TEST_F() 131 grpc_core::RefCountedPtr<grpc_channel_security_connector> connector = in TEST_F() 155 grpc_core::RefCountedPtr<grpc_tls_certificate_distributor> distributor = in TEST_F() 160 grpc_core::RefCountedPtr<::grpc_tls_certificate_provider> provider = in TEST_F() [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gprpp/ |
D | ref_counted_ptr.h | 35 class RefCountedPtr { 37 RefCountedPtr() {} in RefCountedPtr() function 39 RefCountedPtr(std::nullptr_t) {} in RefCountedPtr() function 44 RefCountedPtr(Y* value) : value_(value) {} in RefCountedPtr() function 47 RefCountedPtr(RefCountedPtr&& other) noexcept { in RefCountedPtr() function 53 RefCountedPtr(RefCountedPtr<Y>&& other) noexcept { in RefCountedPtr() function 59 RefCountedPtr& operator=(RefCountedPtr&& other) noexcept { 65 RefCountedPtr& operator=(RefCountedPtr<Y>&& other) noexcept { 72 RefCountedPtr(const RefCountedPtr& other) { in RefCountedPtr() function 78 RefCountedPtr(const RefCountedPtr<Y>& other) { in RefCountedPtr() function [all …]
|
/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/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/composite/ |
D | composite_credentials.h | 36 grpc_core::RefCountedPtr<grpc_channel_credentials> channel_creds, in grpc_composite_channel_credentials() 37 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds) in grpc_composite_channel_credentials() 44 grpc_core::RefCountedPtr<grpc_channel_credentials> 49 grpc_core::RefCountedPtr<grpc_channel_security_connector> 51 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds, 66 grpc_core::RefCountedPtr<grpc_channel_credentials> inner_creds_; 67 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds_; 75 absl::InlinedVector<grpc_core::RefCountedPtr<grpc_call_credentials>, 2>; 78 grpc_core::RefCountedPtr<grpc_call_credentials> creds1, 79 grpc_core::RefCountedPtr<grpc_call_credentials> creds2); [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/tls/ |
D | tls_security_connector.h | 38 static grpc_core::RefCountedPtr<grpc_channel_security_connector> 40 grpc_core::RefCountedPtr<grpc_channel_credentials> channel_creds, 41 grpc_core::RefCountedPtr<grpc_tls_credentials_options> options, 42 grpc_core::RefCountedPtr<grpc_call_credentials> request_metadata_creds, 47 grpc_core::RefCountedPtr<grpc_channel_credentials> channel_creds, 48 grpc_core::RefCountedPtr<grpc_tls_credentials_options> options, 49 grpc_core::RefCountedPtr<grpc_call_credentials> request_metadata_creds, 60 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, 129 grpc_core::RefCountedPtr<grpc_tls_credentials_options> options_; 146 static grpc_core::RefCountedPtr<grpc_server_security_connector> [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/rust/crates/grpcio-sys/grpc/src/core/ext/xds/ |
D | xds_certificate_provider.h | 36 RefCountedPtr<grpc_tls_certificate_distributor> root_cert_distributor, 38 RefCountedPtr<grpc_tls_certificate_distributor> identity_cert_distributor, 45 RefCountedPtr<grpc_tls_certificate_distributor> root_cert_distributor); 48 RefCountedPtr<grpc_tls_certificate_distributor> 53 grpc_core::RefCountedPtr<grpc_tls_certificate_distributor> distributor() in distributor() 75 static RefCountedPtr<XdsCertificateProvider> GetFromChannelArgs( 100 RefCountedPtr<grpc_tls_certificate_distributor> root_cert_distributor_; 101 RefCountedPtr<grpc_tls_certificate_distributor> identity_cert_distributor_; 103 RefCountedPtr<grpc_tls_certificate_distributor> distributor_;
|
D | certificate_provider_store.h | 42 RefCountedPtr<CertificateProviderFactory::Config> config; 56 RefCountedPtr<grpc_tls_certificate_provider> CreateOrGetCertificateProvider( 67 RefCountedPtr<grpc_tls_certificate_provider> certificate_provider, in CertificateProviderWrapper() 68 RefCountedPtr<CertificateProviderStore> store, absl::string_view key) in CertificateProviderWrapper() 77 grpc_core::RefCountedPtr<grpc_tls_certificate_distributor> distributor() in distributor() 89 RefCountedPtr<grpc_tls_certificate_provider> certificate_provider_; 90 RefCountedPtr<CertificateProviderStore> store_; 94 RefCountedPtr<CertificateProviderWrapper> CreateCertificateProviderLocked(
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/tls/ |
D | tls_credentials.h | 32 grpc_core::RefCountedPtr<grpc_tls_credentials_options> options); 35 grpc_core::RefCountedPtr<grpc_channel_security_connector> 37 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds, 44 grpc_core::RefCountedPtr<grpc_tls_credentials_options> options_; 50 grpc_core::RefCountedPtr<grpc_tls_credentials_options> options); 53 grpc_core::RefCountedPtr<grpc_server_security_connector> 59 grpc_core::RefCountedPtr<grpc_tls_credentials_options> options_;
|
D | tls_credentials.cc | 61 grpc_core::RefCountedPtr<grpc_tls_credentials_options> options) in TlsCredentials() 67 grpc_core::RefCountedPtr<grpc_channel_security_connector> 69 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds, in create_security_connector() 86 grpc_core::RefCountedPtr<grpc_channel_security_connector> sc = in create_security_connector() 102 grpc_core::RefCountedPtr<grpc_tls_credentials_options> options) in TlsServerCredentials() 108 grpc_core::RefCountedPtr<grpc_server_security_connector> 122 grpc_core::RefCountedPtr<grpc_tls_credentials_options>(options)); in grpc_tls_credentials_create() 131 grpc_core::RefCountedPtr<grpc_tls_credentials_options>(options)); in grpc_tls_server_credentials_create()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/xds/ |
D | xds_credentials.h | 36 RefCountedPtr<grpc_channel_credentials> fallback_credentials) in XdsCredentials() 40 RefCountedPtr<grpc_channel_security_connector> create_security_connector( 41 RefCountedPtr<grpc_call_credentials> call_creds, const char* target_name, 45 RefCountedPtr<grpc_channel_credentials> fallback_credentials_; 51 RefCountedPtr<grpc_server_credentials> fallback_credentials) in XdsServerCredentials() 55 RefCountedPtr<grpc_server_security_connector> create_security_connector() 59 RefCountedPtr<grpc_server_credentials> fallback_credentials_;
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/ |
D | subchannel.h | 77 RefCountedPtr<channelz::SubchannelNode> channelz_subchannel); 98 RefCountedPtr<channelz::SubchannelNode> channelz_subchannel_; 105 RefCountedPtr<ConnectedSubchannel> connected_subchannel; 114 static RefCountedPtr<SubchannelCall> Create(Args args, grpc_error** error); 127 RefCountedPtr<SubchannelCall> Ref() GRPC_MUST_USE_RESULT; 128 RefCountedPtr<SubchannelCall> Ref(const DebugLocation& location, 138 friend class RefCountedPtr; 155 RefCountedPtr<ConnectedSubchannel> connected_subchannel_; 179 RefCountedPtr<ConnectedSubchannel> connected_subchannel; 254 RefCountedPtr<ConnectedSubchannel>* connected_subchannel); [all …]
|
D | dynamic_filters.h | 39 RefCountedPtr<DynamicFilters> channel_stack; 59 RefCountedPtr<Call> Ref() GRPC_MUST_USE_RESULT; 60 RefCountedPtr<Call> Ref(const DebugLocation& location, 70 friend class RefCountedPtr; 78 RefCountedPtr<DynamicFilters> channel_stack_; 82 static RefCountedPtr<DynamicFilters> Create( 91 RefCountedPtr<Call> CreateCall(Call::Args args, grpc_error** error);
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/alts/ |
D | alts_security_connector.h | 42 grpc_core::RefCountedPtr<grpc_channel_security_connector> 44 grpc_core::RefCountedPtr<grpc_channel_credentials> channel_creds, 45 grpc_core::RefCountedPtr<grpc_call_credentials> request_metadata_creds, 57 grpc_core::RefCountedPtr<grpc_server_security_connector> 59 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds); 69 grpc_core::RefCountedPtr<grpc_auth_context>
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/xds/ |
D | xds_cluster_impl.cc | 67 RefCountedPtr<CallCounter> GetOrCreate(const std::string& cluster, 77 RefCountedPtr<CircuitBreakerCallCounterMap::CallCounter> 81 RefCountedPtr<CallCounter> result; in GetOrCreate() 125 RefCountedPtr<LoadBalancingPolicy::Config> child_policy, in XdsClusterImplLbConfig() 129 RefCountedPtr<XdsApi::EdsUpdate::DropConfig> drop_config) in XdsClusterImplLbConfig() 140 RefCountedPtr<LoadBalancingPolicy::Config> child_policy() const { in child_policy() 151 RefCountedPtr<XdsApi::EdsUpdate::DropConfig> drop_config() const { in drop_config() 156 RefCountedPtr<LoadBalancingPolicy::Config> child_policy_; 161 RefCountedPtr<XdsApi::EdsUpdate::DropConfig> drop_config_; 167 XdsClusterImplLb(RefCountedPtr<XdsClient> xds_client, Args args); [all …]
|
D | cds.cc | 60 CdsLb(RefCountedPtr<XdsClient> xds_client, Args args); 71 explicit ClusterWatcher(RefCountedPtr<CdsLb> parent) in ClusterWatcher() 83 Notifier(RefCountedPtr<CdsLb> parent, XdsApi::CdsUpdate update); 84 Notifier(RefCountedPtr<CdsLb> parent, grpc_error* error); 85 explicit Notifier(RefCountedPtr<CdsLb> parent); 93 RefCountedPtr<CdsLb> parent_; 99 RefCountedPtr<CdsLb> parent_; 105 explicit Helper(RefCountedPtr<CdsLb> parent) : parent_(std::move(parent)) {} in Helper() 106 RefCountedPtr<SubchannelInterface> CreateSubchannel( 115 RefCountedPtr<CdsLb> parent_; [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/local/ |
D | local_security_connector.h | 39 grpc_core::RefCountedPtr<grpc_channel_security_connector> 41 grpc_core::RefCountedPtr<grpc_channel_credentials> channel_creds, 42 grpc_core::RefCountedPtr<grpc_call_credentials> request_metadata_creds, 54 grpc_core::RefCountedPtr<grpc_server_security_connector> 56 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds);
|
D | local_security_connector.cc | 49 grpc_core::RefCountedPtr<grpc_auth_context> local_auth_context_create( in local_auth_context_create() 52 grpc_core::RefCountedPtr<grpc_auth_context> ctx = in local_auth_context_create() 70 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, in local_check_peer() 147 grpc_core::RefCountedPtr<grpc_channel_credentials> channel_creds, in grpc_local_channel_security_connector() 148 grpc_core::RefCountedPtr<grpc_call_credentials> request_metadata_creds, in grpc_local_channel_security_connector() 176 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, in check_peer() 210 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds) in grpc_local_server_security_connector() 225 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, in check_peer() 240 grpc_core::RefCountedPtr<grpc_channel_security_connector> 242 grpc_core::RefCountedPtr<grpc_channel_credentials> channel_creds, in grpc_local_channel_security_connector_create() [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/fake/ |
D | fake_security_connector.h | 33 grpc_core::RefCountedPtr<grpc_channel_security_connector> 35 grpc_core::RefCountedPtr<grpc_channel_credentials> channel_creds, 36 grpc_core::RefCountedPtr<grpc_call_credentials> request_metadata_creds, 40 grpc_core::RefCountedPtr<grpc_server_security_connector> 42 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds);
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/health/ |
D | health_check_client.h | 48 RefCountedPtr<ConnectedSubchannel> connected_subchannel, 50 RefCountedPtr<channelz::SubchannelNode> channelz_node, 51 RefCountedPtr<ConnectivityStateWatcherInterface> watcher); 61 CallState(RefCountedPtr<HealthCheckClient> health_check_client, 92 RefCountedPtr<HealthCheckClient> health_check_client_; 154 RefCountedPtr<ConnectedSubchannel> connected_subchannel_; 156 RefCountedPtr<channelz::SubchannelNode> channelz_node_; 159 RefCountedPtr<ConnectivityStateWatcherInterface> watcher_;
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/google_default/ |
D | google_default_credentials.h | 47 grpc_core::RefCountedPtr<grpc_channel_credentials> alts_creds, in grpc_google_default_channel_credentials() 48 grpc_core::RefCountedPtr<grpc_channel_credentials> ssl_creds) in grpc_google_default_channel_credentials() 55 grpc_core::RefCountedPtr<grpc_channel_security_connector> 57 grpc_core::RefCountedPtr<grpc_call_credentials> call_creds, 69 grpc_core::RefCountedPtr<grpc_channel_credentials> alts_creds_; 70 grpc_core::RefCountedPtr<grpc_channel_credentials> ssl_creds_;
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/channel/ |
D | channelz_registry.cc | 71 RefCountedPtr<BaseNode> ChannelzRegistry::InternalGet(intptr_t uuid) { in InternalGet() 86 absl::InlinedVector<RefCountedPtr<BaseNode>, 10> top_level_channels; in InternalGetTopChannels() 87 RefCountedPtr<BaseNode> node_after_pagination_limit; in InternalGetTopChannels() 93 RefCountedPtr<BaseNode> node_ref; in InternalGetTopChannels() 125 absl::InlinedVector<RefCountedPtr<BaseNode>, 10> servers; in InternalGetServers() 126 RefCountedPtr<BaseNode> node_after_pagination_limit; in InternalGetServers() 132 RefCountedPtr<BaseNode> node_ref; in InternalGetServers() 164 absl::InlinedVector<RefCountedPtr<BaseNode>, 10> nodes; in InternalLogAllEntities() 168 RefCountedPtr<BaseNode> node = p.second->RefIfNonZero(); in InternalLogAllEntities() 196 grpc_core::RefCountedPtr<grpc_core::channelz::BaseNode> server_node = in grpc_channelz_get_server() [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/insecure/ |
D | insecure_security_connector.h | 36 RefCountedPtr<grpc_auth_context> TestOnlyMakeInsecureAuthContext(); 42 grpc_core::RefCountedPtr<grpc_channel_credentials> channel_creds, in InsecureChannelSecurityConnector() 43 grpc_core::RefCountedPtr<grpc_call_credentials> request_metadata_creds) in InsecureChannelSecurityConnector() 60 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context, 69 grpc_core::RefCountedPtr<grpc_server_credentials> server_creds) in InsecureServerSecurityConnector() 78 grpc_core::RefCountedPtr<grpc_auth_context>* auth_context,
|