/third_party/abseil-cpp/absl/strings/ |
D | strip_test.cc | 92 TEST(Strip, StripPrefix) { in TEST() argument 95 EXPECT_EQ(absl::StripPrefix("foobar", "foo"), "bar"); in TEST() 96 EXPECT_EQ(absl::StripPrefix("foobar", ""), "foobar"); in TEST() 97 EXPECT_EQ(absl::StripPrefix("foobar", null_str), "foobar"); in TEST() 98 EXPECT_EQ(absl::StripPrefix("foobar", "foobar"), ""); in TEST() 99 EXPECT_EQ(absl::StripPrefix("foobar", "bar"), "foobar"); in TEST() 100 EXPECT_EQ(absl::StripPrefix("foobar", "foobarr"), "foobar"); in TEST() 101 EXPECT_EQ(absl::StripPrefix("", ""), ""); in TEST()
|
D | strip.h | 71 ABSL_MUST_USE_RESULT inline absl::string_view StripPrefix( in StripPrefix() function
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | strip_test.cc | 92 TEST(Strip, StripPrefix) { in TEST() argument 95 EXPECT_EQ(absl::StripPrefix("foobar", "foo"), "bar"); in TEST() 96 EXPECT_EQ(absl::StripPrefix("foobar", ""), "foobar"); in TEST() 97 EXPECT_EQ(absl::StripPrefix("foobar", null_str), "foobar"); in TEST() 98 EXPECT_EQ(absl::StripPrefix("foobar", "foobar"), ""); in TEST() 99 EXPECT_EQ(absl::StripPrefix("foobar", "bar"), "foobar"); in TEST() 100 EXPECT_EQ(absl::StripPrefix("foobar", "foobarr"), "foobar"); in TEST() 101 EXPECT_EQ(absl::StripPrefix("", ""), ""); in TEST()
|
D | strip.h | 71 ABSL_MUST_USE_RESULT inline absl::string_view StripPrefix( in StripPrefix() function
|
/third_party/grpc/src/core/ext/filters/client_channel/ |
D | http_proxy.cc | 142 if (!SplitHostPort(absl::StripPrefix(uri->path(), "/"), &server_host, in MapName() 179 const_cast<char*>(absl::StripPrefix(uri->path(), "/").data())); in MapName()
|
D | resolver_factory.h | 61 return std::string(absl::StripPrefix(uri.path(), "/")); in GetDefaultAuthority()
|
D | client_channel.cc | 1919 server_name_ = std::string(absl::StripPrefix(uri->path(), "/")); in ChannelData()
|
/third_party/grpc/src/core/lib/iomgr/ |
D | parse_address.cc | 198 return grpc_parse_ipv4_hostport(absl::StripPrefix(uri.path(), "/"), in grpc_parse_ipv4() 293 return grpc_parse_ipv6_hostport(absl::StripPrefix(uri.path(), "/"), in grpc_parse_ipv6()
|
/third_party/grpc/src/cpp/ext/filters/census/ |
D | context.h | 130 return absl::StripPrefix(absl::string_view(reinterpret_cast<const char*>( in GetMethod()
|
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/native/ |
D | dns_resolver.cc | 104 : name_to_resolve_(absl::StripPrefix(args.uri.path(), "/")), in NativeDnsResolver()
|
/third_party/grpc/src/compiler/ |
D | generator_helpers.h | 44 inline bool StripPrefix(std::string* name, const std::string& prefix) { in StripPrefix() function
|
D | objective_c_plugin.cc | 55 grpc_generator::StripPrefix(&base_name, "google/protobuf/"); in ImportProtoHeaders()
|
D | node_generator.cc | 117 grpc_generator::StripPrefix(&name, descriptor->file()->package() + "."); in NodeObjectPath()
|
/third_party/grpc/src/core/ext/filters/client_channel/resolver/google_c2p/ |
D | google_c2p_resolver.cc | 232 absl::string_view name_to_resolve = absl::StripPrefix(args.uri.path(), "/"); in GoogleCloud2ProdResolver()
|
/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | dns_resolver_ares.cc | 134 name_to_resolve_(absl::StripPrefix(args.uri.path(), "/")), in AresDnsResolver()
|
/third_party/grpc/src/core/lib/channel/ |
D | channelz.cc | 354 SplitHostPort(absl::StripPrefix(uri->path(), "/"), &host, &port)); in PopulateSocketAddressJson()
|
/third_party/grpc/src/core/ext/filters/client_channel/resolver/xds/ |
D | xds_resolver.cc | 51 server_name_(absl::StripPrefix(args.uri.path(), "/")), in XdsResolver()
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
D | ninja.py | 71 def StripPrefix(arg, prefix): function 1470 target = StripPrefix(target, 'lib')
|
/third_party/node/tools/gyp/pylib/gyp/generator/ |
D | ninja.py | 71 def StripPrefix(arg, prefix): function 1837 target = StripPrefix(target, "lib")
|
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/xds/ |
D | xds_cluster_resolver.cc | 566 server_name_ = std::string(absl::StripPrefix(uri->path(), "/")); in XdsClusterResolverLb()
|
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/ |
D | grpclb.cc | 1343 server_name_ = std::string(absl::StripPrefix(uri->path(), "/")); in GrpcLb()
|