/external/grpc-grpc/test/cpp/util/ |
D | string_ref_test.cc | 36 string_ref s; in TEST_F() 42 string_ref s(kTestString); in TEST_F() 48 string_ref s(kTestString, 2); in TEST_F() 55 string_ref s(copy); in TEST_F() 61 string_ref s1(kTestString); in TEST_F() 63 const string_ref& s2(s1); in TEST_F() 70 string_ref s(copy); in TEST_F() 77 string_ref s1(kTestString); in TEST_F() 79 string_ref s2; in TEST_F() 87 string_ref s(kTestString); in TEST_F() [all …]
|
D | cli_call_test.cc | 46 for (std::multimap<grpc::string_ref, grpc::string_ref>::const_iterator in Echo() 108 std::multimap<grpc::string_ref, grpc::string_ref> server_initial_metadata, in TEST_F()
|
/external/grpc-grpc/include/grpcpp/impl/codegen/ |
D | string_ref.h | 41 class string_ref { 51 string_ref() : data_(nullptr), length_(0) {} in string_ref() function 52 string_ref(const string_ref& other) in string_ref() function 54 string_ref& operator=(const string_ref& rhs) { 60 string_ref(const char* s) : data_(s), length_(strlen(s)) {} in string_ref() function 61 string_ref(const char* s, size_t l) : data_(s), length_(l) {} in string_ref() function 62 string_ref(const grpc::string& s) : data_(s.data()), length_(s.length()) {} in string_ref() function 92 int compare(string_ref x) const { in compare() 102 bool starts_with(string_ref x) const { in starts_with() 106 bool ends_with(string_ref x) const { in ends_with() [all …]
|
D | metadata_map.h | 66 std::multimap<grpc::string_ref, grpc::string_ref>* map() { in map() 75 std::multimap<grpc::string_ref, grpc::string_ref> map_; 82 map_.insert(std::pair<grpc::string_ref, grpc::string_ref>( in FillMap()
|
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/ |
D | string_ref.h | 41 class string_ref { 51 string_ref() : data_(nullptr), length_(0) {} in string_ref() function 52 string_ref(const string_ref& other) in string_ref() function 54 string_ref& operator=(const string_ref& rhs) { 61 string_ref(const char* s) : data_(s), length_(strlen(s)) {} in string_ref() function 62 string_ref(const char* s, size_t l) : data_(s), length_(l) {} in string_ref() function 64 string_ref(const std::string& s) : data_(s.data()), length_(s.length()) {} in string_ref() function 94 int compare(string_ref x) const { in compare() 104 bool starts_with(string_ref x) const { in starts_with() 108 bool ends_with(string_ref x) const { in ends_with() [all …]
|
D | metadata_map.h | 66 std::multimap<grpc::string_ref, grpc::string_ref>* map() { in map() 82 std::multimap<grpc::string_ref, grpc::string_ref> map_; 95 map_.insert(std::pair<grpc::string_ref, grpc::string_ref>( in FillMap()
|
D | interceptor.h | 185 virtual std::multimap<grpc::string_ref, grpc::string_ref>* 194 virtual std::multimap<grpc::string_ref, grpc::string_ref>*
|
D | interceptor_common.h | 124 std::multimap<grpc::string_ref, grpc::string_ref>* GetRecvInitialMetadata() in GetRecvInitialMetadata() 137 std::multimap<grpc::string_ref, grpc::string_ref>* GetRecvTrailingMetadata() in GetRecvTrailingMetadata() 505 std::multimap<grpc::string_ref, grpc::string_ref>* GetRecvInitialMetadata() in GetRecvInitialMetadata() 520 std::multimap<grpc::string_ref, grpc::string_ref>* GetRecvTrailingMetadata() in GetRecvTrailingMetadata()
|
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/ |
D | string_ref.h | 41 class string_ref { 51 string_ref() : data_(nullptr), length_(0) {} in string_ref() function 52 string_ref(const string_ref& other) in string_ref() function 54 string_ref& operator=(const string_ref& rhs) { 61 string_ref(const char* s) : data_(s), length_(strlen(s)) {} in string_ref() function 62 string_ref(const char* s, size_t l) : data_(s), length_(l) {} in string_ref() function 64 string_ref(const std::string& s) : data_(s.data()), length_(s.length()) {} in string_ref() function 94 int compare(string_ref x) const { in compare() 104 bool starts_with(string_ref x) const { in starts_with() 108 bool ends_with(string_ref x) const { in ends_with() [all …]
|
D | metadata_map.h | 66 std::multimap<grpc::string_ref, grpc::string_ref>* map() { in map() 82 std::multimap<grpc::string_ref, grpc::string_ref> map_; 95 map_.insert(std::pair<grpc::string_ref, grpc::string_ref>( in FillMap()
|
D | interceptor.h | 185 virtual std::multimap<grpc::string_ref, grpc::string_ref>* 194 virtual std::multimap<grpc::string_ref, grpc::string_ref>*
|
D | interceptor_common.h | 124 std::multimap<grpc::string_ref, grpc::string_ref>* GetRecvInitialMetadata() in GetRecvInitialMetadata() 137 std::multimap<grpc::string_ref, grpc::string_ref>* GetRecvTrailingMetadata() in GetRecvTrailingMetadata() 505 std::multimap<grpc::string_ref, grpc::string_ref>* GetRecvInitialMetadata() in GetRecvInitialMetadata() 520 std::multimap<grpc::string_ref, grpc::string_ref>* GetRecvTrailingMetadata() in GetRecvTrailingMetadata()
|
/external/rust/crates/grpcio-sys/grpc/src/cpp/common/ |
D | secure_auth_context.cc | 25 std::vector<grpc::string_ref> SecureAuthContext::GetPeerIdentity() const { in GetPeerIdentity() 27 return std::vector<grpc::string_ref>(); in GetPeerIdentity() 31 std::vector<grpc::string_ref> identity; in GetPeerIdentity() 35 grpc::string_ref(property->value, property->value_length)); in GetPeerIdentity() 48 std::vector<grpc::string_ref> SecureAuthContext::FindPropertyValues( in FindPropertyValues() 51 return std::vector<grpc::string_ref>(); in FindPropertyValues() 56 std::vector<grpc::string_ref> values; in FindPropertyValues() 58 values.push_back(grpc::string_ref(property->value, property->value_length)); in FindPropertyValues() 80 const grpc::string_ref& value) { in AddProperty()
|
D | secure_auth_context.h | 38 std::vector<grpc::string_ref> GetPeerIdentity() const override; 42 std::vector<grpc::string_ref> FindPropertyValues( 50 const grpc::string_ref& value) override;
|
D | auth_property_iterator.cc | 65 return std::pair<grpc::string_ref, grpc::string_ref>( in operator *() 67 grpc::string_ref(property_->value, property_->value_length)); in operator *()
|
/external/grpc-grpc/src/cpp/common/ |
D | secure_auth_context.cc | 33 std::vector<grpc::string_ref> SecureAuthContext::GetPeerIdentity() const { in GetPeerIdentity() 35 return std::vector<grpc::string_ref>(); in GetPeerIdentity() 38 std::vector<grpc::string_ref> identity; in GetPeerIdentity() 42 grpc::string_ref(property->value, property->value_length)); in GetPeerIdentity() 55 std::vector<grpc::string_ref> SecureAuthContext::FindPropertyValues( in FindPropertyValues() 58 return std::vector<grpc::string_ref>(); in FindPropertyValues() 63 std::vector<grpc::string_ref> values; in FindPropertyValues() 65 values.push_back(grpc::string_ref(property->value, property->value_length)); in FindPropertyValues() 87 const grpc::string_ref& value) { in AddProperty()
|
D | secure_auth_context.h | 36 std::vector<grpc::string_ref> GetPeerIdentity() const override; 40 std::vector<grpc::string_ref> FindPropertyValues( 48 const grpc::string_ref& value) override;
|
D | auth_property_iterator.cc | 65 return std::pair<grpc::string_ref, grpc::string_ref>( in operator *() 67 grpc::string_ref(property_->value, property_->value_length)); in operator *()
|
/external/grpc-grpc/include/grpcpp/impl/codegen/security/ |
D | auth_context.h | 35 typedef std::pair<grpc::string_ref, grpc::string_ref> AuthProperty; 76 virtual std::vector<grpc::string_ref> GetPeerIdentity() const = 0; 80 virtual std::vector<grpc::string_ref> FindPropertyValues( 89 const grpc::string_ref& value) = 0;
|
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/security/ |
D | auth_context.h | 35 typedef std::pair<string_ref, string_ref> AuthProperty; 76 virtual std::vector<grpc::string_ref> GetPeerIdentity() const = 0; 80 virtual std::vector<grpc::string_ref> FindPropertyValues( 88 virtual void AddProperty(const std::string& key, const string_ref& value) = 0;
|
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/security/ |
D | auth_context.h | 35 typedef std::pair<string_ref, string_ref> AuthProperty; 76 virtual std::vector<grpc::string_ref> GetPeerIdentity() const = 0; 80 virtual std::vector<grpc::string_ref> FindPropertyValues( 88 virtual void AddProperty(const std::string& key, const string_ref& value) = 0;
|
/external/grpc-grpc/test/cpp/end2end/ |
D | test_service_impl.cc | 57 std::vector<grpc::string_ref> tst = in CheckServerAuthContext() 134 const std::multimap<grpc::string_ref, grpc::string_ref>& client_metadata = in Echo() 136 for (std::multimap<grpc::string_ref, grpc::string_ref>::const_iterator in Echo() 337 const std::multimap<grpc::string_ref, grpc::string_ref>& metadata, in GetIntValueFromMetadata() argument
|
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/test/ |
D | server_context_test_spouse.h | 42 std::pair<grpc::string_ref, grpc::string_ref>( in AddClientMetadata() 44 grpc::string_ref(item.second.data(), item.second.size()))); in AddClientMetadata()
|
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/test/ |
D | server_context_test_spouse.h | 42 std::pair<grpc::string_ref, grpc::string_ref>( in AddClientMetadata() 44 grpc::string_ref(item.second.data(), item.second.size()))); in AddClientMetadata()
|
/external/grpc-grpc/include/grpcpp/test/ |
D | server_context_test_spouse.h | 43 std::pair<grpc::string_ref, grpc::string_ref>( in AddClientMetadata() 45 grpc::string_ref(iter->second.data(), iter->second.size()))); in AddClientMetadata()
|