/third_party/grpc/src/compiler/ |
D | python_generator_helpers.h | 41 using grpc_generator::StringReplace; 71 basename = StringReplace(basename, "-", "_"); in ModuleName() 72 basename = StringReplace(basename, "/", "."); in ModuleName() 88 module_name = StringReplace(module_name, "_", "__"); in ModuleAlias() 89 module_name = StringReplace(module_name, ".", "_dot_"); in ModuleAlias()
|
D | cpp_generator_helpers.h | 30 return grpc_generator::StringReplace(name, ".", "::"); in DotsToColons() 34 return grpc_generator::StringReplace(name, ".", "_"); in DotsToUnderscores()
|
D | node_generator.cc | 49 basename = grpc_generator::StringReplace(basename, "-", "$"); in ModuleAlias() 50 basename = grpc_generator::StringReplace(basename, "/", "_"); in ModuleAlias() 51 basename = grpc_generator::StringReplace(basename, ".", "_"); in ModuleAlias() 111 return grpc_generator::StringReplace(name, ".", "_"); in MessageIdentifierName()
|
D | generator_helpers.h | 61 inline std::string StringReplace(std::string str, const std::string& from, in StringReplace() function 77 inline std::string StringReplace(std::string str, const std::string& from, in StringReplace() function 79 return StringReplace(str, from, to, true); in StringReplace()
|
D | csharp_generator.cc | 43 using grpc_generator::StringReplace; 66 comments = grpc_generator::StringReplace(comments, "&", "&", true); in GenerateDocCommentBodyImpl() 67 comments = grpc_generator::StringReplace(comments, "<", "<", true); in GenerateDocCommentBodyImpl() 221 grpc_generator::StringReplace(message->full_name(), ".", "_", true); in GetMarshallerFieldName()
|
/third_party/protobuf/src/google/protobuf/ |
D | test_util2.h | 49 path = StringReplace(path, "internal/", "", false); in TranslatePathToOpensource() 50 path = StringReplace(path, "proto/", "", false); in TranslatePathToOpensource() 51 path = StringReplace(path, "public/", "", false); in TranslatePathToOpensource()
|
D | text_format_unittest.cc | 1064 text = StringReplace(text, "e+0", "e+", true); in RemoveRedundantZeros() 1065 text = StringReplace(text, "e-0", "e-", true); in RemoveRedundantZeros()
|
/third_party/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_doc_comment.cc | 57 comments = StringReplace(comments, "&", "&", true); in WriteDocCommentBodyImpl() 58 comments = StringReplace(comments, "<", "<", true); in WriteDocCommentBodyImpl()
|
D | csharp_helpers.cc | 336 result += StringReplace(classname, ".", ".Types.", true); in ToCSharpName() 422 string namespace_dir = StringReplace(namespace_suffix, ".", "/", true); in GetOutputFile()
|
/third_party/cef/tests/cefclient/browser/ |
D | test_runner.cc | 60 std::string StringReplace(const std::string& str, in StringReplace() function 82 std::string source = StringReplace(string, "<", "<"); in RunGetSourceTest() 83 source = StringReplace(source, ">", ">"); in RunGetSourceTest() 103 std::string text = StringReplace(string, "<", "<"); in RunGetTextTest() 104 text = StringReplace(text, ">", ">"); in RunGetTextTest() 855 std::string msg = StringReplace(message, "\\", "\\\\"); in Alert() 856 msg = StringReplace(msg, "'", "\\'"); in Alert()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/soft_dvpp/utils/ |
D | yuv_scaler_para_set.cc | 37 void StringReplace(std::string *str_big, const std::string &str_src, const std::string &str_dst) { in StringReplace() function 58 StringReplace(&str_line, ",", " "); // Replaces commas in a string with spaces. in GetParaSet()
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_extension.cc | 157 StringReplace(variables_["scoped_name"], "::", "_", true) + "_default"; in GenerateDefinition()
|
D | cpp_file.cc | 338 path = StringReplace(path, "internal/", "", false); in DoIncludeFile() 339 path = StringReplace(path, "proto/", "", false); in DoIncludeFile() 340 path = StringReplace(path, "public/", "", false); in DoIncludeFile()
|
D | cpp_helpers.cc | 72 return StringReplace(name, ".", "::", true); in DotsToColons() 385 ret = StringReplace(ret, in Namespace() 767 return StringReplace(to_escape, "?", "\\?", true); in EscapeTrigraphs()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
D | importer.cc | 284 path = "\\\\" + StringReplace(path.substr(2), "\\", "/", true); in CanonicalizePath() 286 path = StringReplace(path, "\\", "/", true); in CanonicalizePath()
|
D | command_line_interface_unittest.cc | 359 args[i] = StringReplace(args[i], "$tmpdir", temp_directory_, true); in RunWithArgs() 396 full_name, StringReplace(contents, "$tmpdir", temp_directory_, true), in CreateTempFile() 415 EXPECT_EQ(StringReplace(expected_text, "$tmpdir", temp_directory_, true), in ExpectErrorText() 522 EXPECT_EQ(StringReplace(content, "$tmpdir", temp_directory_, true), in ExpectFileContent()
|
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_helpers.cc | 357 return StringReplace(to_escape, "?", "\\?", true); in EscapeTrigraphs() 973 line = StringReplace(line, "\\", "\\\\", true); in BuildCommentsString() 974 line = StringReplace(line, "@", "\\@", true); in BuildCommentsString() 976 line = StringReplace(line, "/*", "/\\*", true); in BuildCommentsString() 977 line = StringReplace(line, "*/", "*\\/", true); in BuildCommentsString()
|
/third_party/protobuf/src/google/protobuf/testing/ |
D | googletest.cc | 153 result = StringReplace(result, "\\", "/", true); in GetTemporaryDirectoryName()
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_name_resolver.cc | 260 result += StringReplace(name_without_package, ".", "$", true); in GetJavaClassFullName()
|
D | java_helpers.cc | 219 return "static_" + StringReplace(descriptor->full_name(), ".", "_", true); in UniqueFileScopeIdentifier() 264 std::string package_dir = StringReplace(package_name, ".", "/", true); in JavaPackageToDir()
|
/third_party/gn/src/gn/ |
D | functions_unittest.cc | 263 TEST(Functions, StringReplace) { in TEST() argument
|
D | functions.cc | 1403 INSERT_FUNCTION(StringReplace, false) in FunctionInfoInitializer()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | strutil.cc | 132 void StringReplace(const string& s, const string& oldsub, in StringReplace() function 163 string StringReplace(const string& s, const string& oldsub, in StringReplace() function 166 StringReplace(s, oldsub, newsub, replace_all, &ret); in StringReplace()
|
D | strutil.h | 207 PROTOBUF_EXPORT string StringReplace(const string& s, const string& oldsub,
|
/third_party/protobuf/ |
D | libprotobuf_lite.map | 275 …"google::protobuf::StringReplace(std::__cxx11::basic_string<char, std::char_traits<char>, std::all… 488 …"google::protobuf::StringReplace(std::__1::basic_string<char, std::__1::char_traits<char>, std::__…
|