/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()
|
D | cli_call.h | 42 typedef std::multimap<grpc::string_ref, grpc::string_ref>
|
D | grpc_tool_test.cc | 135 for (std::multimap<grpc::string_ref, grpc::string_ref>::const_iterator in Echo() 153 for (std::multimap<grpc::string_ref, grpc::string_ref>::const_iterator in RequestStream() 171 for (std::multimap<grpc::string_ref, grpc::string_ref>::const_iterator in ResponseStream() 195 for (std::multimap<grpc::string_ref, grpc::string_ref>::const_iterator in BidiStream()
|
D | grpc_tool.cc | 183 std::multimap<grpc::string_ref, grpc::string_ref> server_initial_metadata; in ReadResponse() 584 std::multimap<grpc::string_ref, grpc::string_ref> server_trailing_metadata; in CallMethod() 646 std::multimap<grpc::string_ref, grpc::string_ref> in CallMethod() 740 std::multimap<grpc::string_ref, grpc::string_ref> server_initial_metadata, in CallMethod()
|
/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()
|
D | client_context.h | 204 const std::multimap<grpc::string_ref, grpc::string_ref>& 216 const std::multimap<grpc::string_ref, grpc::string_ref>&
|
D | slice.h | 120 inline grpc::string_ref StringRefFromSlice(const grpc_slice* slice) { in StringRefFromSlice() 121 return grpc::string_ref( in StringRefFromSlice()
|
/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/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()
|
/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
|
D | test_service_impl.h | 76 const std::multimap<grpc::string_ref, grpc::string_ref>& metadata,
|
/external/tensorflow/tensorflow/lite/experimental/resource/ |
D | lookup_util.h | 53 auto string_ref = GetString(input_, index); in GetData() local 54 return std::string(string_ref.str, string_ref.len); in GetData()
|
/external/grpc-grpc/include/grpcpp/security/ |
D | auth_metadata_processor.h | 35 typedef std::multimap<grpc::string_ref, grpc::string_ref> InputMetadata;
|
D | credentials.h | 216 grpc::string_ref service_url, grpc::string_ref method_name,
|
/external/perfetto/src/trace_processor/importers/fuchsia/ |
D | fuchsia_trace_utils.cc | 28 bool IsInlineString(uint32_t string_ref) { in IsInlineString() argument 31 return (string_ref & kInlineStringMarker) || (string_ref == 0); in IsInlineString()
|
/external/harfbuzz_ng/src/ |
D | hb-coretext.cc | 641 CFStringRef string_ref = nullptr; in _hb_coretext_shape() local 650 assert (string_ref); in _hb_coretext_shape() 652 CFRelease (string_ref); in _hb_coretext_shape() 654 string_ref = nullptr; in _hb_coretext_shape() 676 string_ref = CFStringCreateWithCharactersNoCopy (nullptr, in _hb_coretext_shape() 679 if (unlikely (!string_ref)) in _hb_coretext_shape() 688 CFAttributedStringReplaceString (attr_string, CFRangeMake (0, 0), string_ref); in _hb_coretext_shape() 914 UniChar ch = CFStringGetCharacterAtIndex (string_ref, j); in _hb_coretext_shape() 917 ch = CFStringGetCharacterAtIndex (string_ref, j - 1); in _hb_coretext_shape() 1126 if (string_ref) in _hb_coretext_shape() [all …]
|
/external/grpc-grpc/test/cpp/common/ |
D | secure_auth_context_test.cc | 52 std::vector<grpc::string_ref> peer_identity = context.GetPeerIdentity(); in TEST_F() 57 std::vector<grpc::string_ref> bar = context.FindPropertyValues("foo"); in TEST_F()
|
/external/grpc-grpc/test/cpp/test/ |
D | server_context_test_spouse_test.cc | 38 const grpc::string_ref& key, in ClientMetadataContains() 39 const grpc::string_ref& value) { in ClientMetadataContains()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | gather.cc | 122 const auto string_ref = GetString(input, pos); in GatherStrings() local 123 buffer.AddString(string_ref.str, string_ref.len); in GatherStrings()
|
/external/grpc-grpc/src/cpp/util/ |
D | string_ref.cc | 23 const size_t string_ref::npos = size_t(-1);
|