Searched refs:StringReplace (Results 1 – 13 of 13) sorted by relevance
/external/v8/src/js/ |
D | string.js | 178 function StringReplace(search, replace) { class 524 return %_Call(StringReplace, TO_STRING(str), /"/g, """); 795 "replace", StringReplace, 830 to.StringReplace = StringReplace;
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_helpers.cc | 55 return StringReplace(name, ".", "_", true); in DotsToUnderscores() 59 return StringReplace(name, ".", "::", true); in DotsToColons() 387 return StringReplace(to_escape, "?", "\\?", true); in EscapeTrigraphs()
|
D | cpp_extension.cc | 146 string global_name = StringReplace(name, "::", "_", true); in GenerateDefinition()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | importer.cc | 251 path = "\\\\" + StringReplace(path.substr(2), "\\", "/", true); in CanonicalizePath() 253 path = StringReplace(path, "\\", "/", true); in CanonicalizePath()
|
D | command_line_interface_unittest.cc | 307 args[i] = StringReplace(args[i], "$tmpdir", temp_directory_, true); in Run() 361 EXPECT_EQ(StringReplace(expected_text, "$tmpdir", temp_directory_, true), in ExpectErrorText()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_generator.cc | 196 StringReplace(file_generator.java_package(), ".", "/", true); in Generate()
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_generator.cc | 171 StringReplace(file_generator.java_package(), ".", "/", true); in Generate()
|
D | javamicro_message.cc | 88 return "static_" + StringReplace(descriptor->full_name(), ".", "_", true); in UniqueFileScopeIdentifier()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_helpers.cc | 152 return "static_" + StringReplace(descriptor->full_name(), ".", "_", true); in UniqueFileScopeIdentifier() 186 StringReplace(package_name, ".", "/", true); in JavaPackageToDir()
|
D | java_name_resolver.cc | 244 result += StringReplace(name_without_package, ".", "$", true); in GetJavaClassFullName()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | strutil.cc | 104 void StringReplace(const string& s, const string& oldsub, in StringReplace() function 135 string StringReplace(const string& s, const string& oldsub, in StringReplace() function 138 StringReplace(s, oldsub, newsub, replace_all, &ret); in StringReplace()
|
D | strutil.h | 166 LIBPROTOBUF_EXPORT string StringReplace(const string& s, const string& oldsub,
|
/external/protobuf/src/google/protobuf/ |
D | text_format_unittest.cc | 693 text = StringReplace(text, "e+0", "e+", true); in RemoveRedundantZeros() 694 text = StringReplace(text, "e-0", "e-", true); in RemoveRedundantZeros()
|