Home
last modified time | relevance | path

Searched refs:Substitute (Results 1 - 25 of 30) sorted by relevance

12

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dsubstitute_test.cc25 TEST(SubstituteTest, Substitute) { in TEST()
27 EXPECT_EQ("Hello, world!", absl::Substitute("$0, $1!", "Hello", "world")); in TEST()
31 absl::Substitute("$0 $1 $2 $3 $4 $5 $6", 123, 0.2, 0.1f, in TEST()
40 absl::Substitute( in TEST()
49 absl::Substitute("$0$1$2$3$4 $5", // in TEST()
58 absl::Substitute("$0$1$2$3$4 $5", // in TEST()
67 std::string str = absl::Substitute("$0", int_p); in TEST()
74 str = absl::Substitute("$0", volptr); in TEST()
77 // null is special. StrCat prints 0x0. Substitute prints NULL. in TEST()
79 str = absl::Substitute(" in TEST()
[all...]
H A Dsubstitute.h22 // `Substitute()` and `SubstituteAndAppend()`.
24 // Unlike printf-style format specifiers, `Substitute()` functions do not need
30 // `Substitute()` does not allow you to specify *how* to format a value, beyond
42 // std::string s = Substitute("$1 purchased $0 $2 for $$10. Thanks $1!",
59 // If an invalid format string is provided, Substitute returns an empty string
65 // e.g. Substitute("Hello $2", "world"), or
94 // This class provides an argument type for `absl::Substitute()` and
482 // Substitute()
487 // The declarations of `Substitute()` below consist of overloads for passing 0
490 // NOTE: A zero-argument `Substitute()` ma
498 ABSL_MUST_USE_RESULT inline std::string Substitute(absl::string_view format) { Substitute() function
504 ABSL_MUST_USE_RESULT inline std::string Substitute( Substitute() function
511 ABSL_MUST_USE_RESULT inline std::string Substitute( Substitute() function
519 ABSL_MUST_USE_RESULT inline std::string Substitute( Substitute() function
527 ABSL_MUST_USE_RESULT inline std::string Substitute( Substitute() function
536 ABSL_MUST_USE_RESULT inline std::string Substitute( Substitute() function
545 ABSL_MUST_USE_RESULT inline std::string Substitute( Substitute() function
555 ABSL_MUST_USE_RESULT inline std::string Substitute( Substitute() function
565 ABSL_MUST_USE_RESULT inline std::string Substitute( Substitute() function
576 ABSL_MUST_USE_RESULT inline std::string Substitute( Substitute() function
587 ABSL_MUST_USE_RESULT inline std::string Substitute( Substitute() function
[all...]
H A Dstr_cat_benchmark.cc109 std::string result = absl::Substitute( in BM_HexCat_By_Substitute()
/third_party/node/deps/v8/src/diagnostics/arm64/
H A Ddisasm-arm64.cc1665 Format(instr, mnemonic, nfd.Substitute(form)); in VisitNEON3Same()
1929 Format(instr, nfd.Mnemonic(mnemonic), nfd.Substitute(form)); in VisitNEON2RegMisc()
1936 Format(instr, mnemonic, nfd.Substitute(form)); in VisitNEON2RegMisc()
2041 Format(instr, nfd.Mnemonic(mnemonic), nfd.Substitute(form)); in VisitNEON3Different()
2102 nfd.Substitute(form, NEONFormatDecoder::kPlaceholder, in VisitNEONAcrossLanes()
2191 Format(instr, nfd.Mnemonic(mnemonic), nfd.Substitute(form)); in VisitNEONByIndexedElement()
2194 Format(instr, mnemonic, nfd.Substitute(form)); in VisitNEONByIndexedElement()
2197 Format(instr, mnemonic, nfd.Substitute(form)); in VisitNEONByIndexedElement()
2247 Format(instr, mnemonic, nfd.Substitute(form)); in VisitNEONCopy()
2258 Format(instr, mnemonic, nfd.Substitute(for in VisitNEONExtract()
3649 void DisassemblingDecoder::Substitute(Instruction* instr, const char* string) { Substitute() function in v8::internal::DisassemblingDecoder
[all...]
H A Ddisasm-arm64.h39 void Substitute(Instruction* instr, const char* string);
/third_party/protobuf/src/google/protobuf/compiler/
H A Dsubprocess.cc258 *error = strings::Substitute("Plugin failed with status code $0.", exit_code); in Communicate()
451 strings::Substitute("Plugin failed with status code $0.", error_code);
456 *error = strings::Substitute("Plugin killed by signal $0.", signal);
H A Dcommand_line_interface_unittest.cc807 Run(strings::Substitute( in TEST_F()
823 Run(strings::Substitute( in TEST_F()
881 Run(strings::Substitute( in TEST_F()
1287 Run(strings::Substitute( in TEST_F()
H A Dmock_code_generator.cc331 return strings::Substitute("$0: $1, $2, $3, $4\n", generator_name, parameter, in GetOutputFileContent()
/third_party/skia/third_party/externals/abseil-cpp/CMake/install_test_project/
H A Dsimple.cc21 std::cout << absl::Substitute("Arg $0: $1\n", i, argv[i]); in main()
/third_party/vixl/src/aarch64/
H A Ddisasm-aarch64.cc2176 Format(instr, mnemonic, nfd.Substitute(form)); in Disassembler()
2183 Format(instr, mnemonic, nfd.Substitute(form)); in Disassembler()
2190 Format(instr, mnemonic, nfd.Substitute(form)); in Disassembler()
2213 Format(instr, nfd.Mnemonic(mnemonic), nfd.Substitute(form)); in Disassembler()
2220 Format(instr, mnemonic, nfd.Substitute(form)); in Disassembler()
2230 Format(instr, mnemonic, nfd.Substitute(form)); in Disassembler()
2255 Format(instr, nfd.Mnemonic(mnemonic), nfd.Substitute(form), suffix); in Disassembler()
2295 Format(instr, mnemonic, nfd.Substitute(form)); in Disassembler()
2331 Format(instr, mnemonic, nfd.Substitute(form)); in Disassembler()
2345 Format(instr, mnemonic, nfd.Substitute(for in Disassembler()
[all...]
H A Dinstructions-aarch64.h869 // Substitute %s in the input string with the placeholder string for each
872 return Substitute(string, kPlaceholder, kPlaceholder, kPlaceholder); in SubstitutePlaceholders()
875 // Substitute %s in the input string with a new string based on the
877 const char* Substitute(const char* string, in Substitute() function in vixl::aarch64::NEONFormatDecoder
H A Ddisasm-aarch64.h259 void Substitute(const Instruction* instr, const char* string);
/third_party/protobuf/src/google/protobuf/stubs/
H A Dsubstitute.cc46 // to Substitute().
55 string Substitute( in Substitute() function
87 << "strings::Substitute format string invalid: asked for \"$" in SubstituteAndAppend()
100 << "Invalid strings::Substitute() format string: \"" in SubstituteAndAppend()
H A Dsubstitute.h48 // strings::Substitute()
54 // return strings::Substitute("My name is $0 $1 and I am $2 years old.",
75 // SubstituteAndAppend() is like Substitute() but appends the result to
83 // Substitute() is significantly faster than StringPrintf(). For very
143 Substitute(const char* format,
H A Dcommon_unittest.cc85 strings::Substitute("$0 $1:$2: $3", in CaptureLog()
/third_party/protobuf/src/google/protobuf/
H A Dtext_format_unittest.cc584 strings::Substitute("# REDACTED, $0 bytes\n", message.ByteSizeLong()));
811 strings::Substitute("optional_nested_enum: $0", unittest::TestAllTypes::BAZ); in TEST_F()
820 strings::Substitute("sparse_enum: $0", unittest::SPARSE_E); in TEST_F()
1907 for (int i = 0; i < 100; ++i) input = strings::Substitute(format, input); in TEST_F()
1912 input = strings::Substitute(format, input); in TEST_F()
1926 for (int i = 0; i < 100; ++i) input = strings::Substitute(format, input); in TEST_F()
1933 input = strings::Substitute(format, input); in TEST_F()
H A Ddescriptor.cc4659 strings::Substitute("Reserved range $0 to $1 overlaps with " in BuildMessage()
4674 strings::Substitute("Field name \"$0\" is reserved multiple times.", in BuildMessage()
4688 strings::Substitute( in BuildMessage()
4698 strings::Substitute("Field \"$0\" uses reserved number $1.", in BuildMessage()
4706 strings::Substitute("Field name \"$0\" is reserved.", field->name())); in BuildMessage()
4720 strings::Substitute("Extension range $0 to $1 overlaps with " in BuildMessage()
4731 strings::Substitute("Extension range $0 to $1 overlaps with " in BuildMessage()
4971 strings::Substitute("Field numbers cannot be greater than $0.", in BuildFieldOrExtension()
4976 strings::Substitute( in BuildFieldOrExtension()
5014 strings::Substitute("FieldDescriptorProt in BuildFieldOrExtension()
[all...]
/third_party/node/deps/v8/src/codegen/arm64/
H A Dinstructions-arm64.cc360 return Substitute(string, kPlaceholder, kPlaceholder, kPlaceholder, in SubstitutePlaceholders()
364 const char* NEONFormatDecoder::Substitute(const char* string, in Substitute() function in v8::internal::NEONFormatDecoder
H A Dinstructions-arm64.h614 // Substitute %s in the input string with the placeholder string for each
618 // Substitute %s in the input string with a new string based on the
620 const char* Substitute(const char* string, SubstitutionMode mode0 = kFormat,
/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_helpers.cc545 return strings::Substitute( in DefaultValue()
557 return strings::Substitute( in DefaultValue()
H A Djava_message.cc323 builder_type = strings::Substitute( in Generate()
337 strings::Substitute("com.google.protobuf.GeneratedMessage$0.Builder<?>", in Generate()
H A Djava_message_lite.cc183 builder_type = strings::Substitute( in Generate()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-shape-complex-arabic-win1256.hh142 OT_UARRAY(Name##Substitute, OT_LIST(ToGlyphs)) \
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
H A Dparse_test.cc185 flagfile_out << absl::Substitute(line, GetTestTempDir()) << "\n"; in GetFlagfileFlag()
/third_party/protobuf/src/google/protobuf/compiler/python/
H A Dpython_generator.cc1050 return strings::Substitute("$0.$1['$2']", in FieldReferencingExpression()
1365 std::string oneof_name = strings::Substitute( in FixOptionsForOneof()

Completed in 41 milliseconds

12