Home
last modified time | relevance | path

Searched refs:SubstitutionLiteral (Results 1 – 8 of 8) sorted by relevance

/third_party/gn/src/gn/
Dsubstitution_pattern_unittest.cc17 EXPECT_EQ(&SubstitutionLiteral, pattern.ranges()[0].type); in TEST()
29 EXPECT_EQ(&SubstitutionLiteral, pattern.ranges()[0].type); in TEST()
33 EXPECT_EQ(&SubstitutionLiteral, pattern.ranges()[3].type); in TEST()
62 EXPECT_EQ(&SubstitutionLiteral, pattern.ranges()[0].type); in TEST()
66 EXPECT_EQ(&SubstitutionLiteral, pattern.ranges()[3].type); in TEST()
70 EXPECT_EQ(&SubstitutionLiteral, pattern.ranges()[6].type); in TEST()
Dsubstitution_pattern.cc15 SubstitutionPattern::Subrange::Subrange() : type(&SubstitutionLiteral) {} in Subrange()
48 ranges_.push_back(Subrange(&SubstitutionLiteral, str.substr(cur))); in Parse()
52 Subrange(&SubstitutionLiteral, str.substr(cur, next - cur))); in Parse()
104 if (elem.type == &SubstitutionLiteral) in AsString()
114 if (elem.type != &SubstitutionLiteral) in FillRequiredTypes()
126 if (ranges_[0].type == &SubstitutionLiteral) { in IsInOutputDir()
Dsubstitution_type.cc18 &SubstitutionLiteral,
53 const Substitution SubstitutionLiteral = {"<<literal>>", nullptr}; variable
143 return type == &SubstitutionLiteral || in IsValidBundleDataSubstitution()
155 return type == &SubstitutionLiteral || type == &SubstitutionSource || in IsValidSourceSubstitution()
172 return type == &SubstitutionLiteral || type == &SubstitutionOutput || in IsValidToolSubstitution()
Dsubstitution_writer.cc163 if (range.type == &SubstitutionLiteral) {
183 pattern.ranges()[0].type == &SubstitutionLiteral) in GetListAsSourceFiles()
226 if (subrange.type == &SubstitutionLiteral) { in ApplyPatternToSourceAsString()
408 if (subrange.type == &SubstitutionLiteral) { in ApplyPatternToTargetAsOutputFile()
481 if (subrange.type == &SubstitutionLiteral) { in ApplyPatternToCompilerAsOutputFile()
524 if (subrange.type == &SubstitutionLiteral) { in ApplyPatternToLinkerAsOutputFile()
Dsubstitution_type.h33 extern const Substitution SubstitutionLiteral;
Dbundle_file_rule.cc54 if (subrange.type == &SubstitutionLiteral) { in ApplyPatternToSource()
Dcompile_commands_writer.cc168 if (range.type == &SubstitutionLiteral) { in WriteCommand()
Dtarget_generator.cc407 if (pattern.ranges()[0].type == &SubstitutionLiteral) { in EnsureSubstitutionIsInOutputDir()