Home
last modified time | relevance | path

Searched refs:Substitution (Results 1 – 25 of 61) sorted by relevance

123

/third_party/gn/src/gn/
Dsubstitution_type.h17 struct Substitution { struct
20 Substitution(const Substitution&) = delete; argument
21 Substitution& operator=(const Substitution&) = delete; argument
24 using SubstitutionTypes = const std::vector<const Substitution*>;
33 extern const Substitution SubstitutionLiteral;
37 extern const Substitution SubstitutionOutput;
38 extern const Substitution SubstitutionLabel;
39 extern const Substitution SubstitutionLabelName;
40 extern const Substitution SubstitutionLabelNoToolchain;
41 extern const Substitution SubstitutionRootGenDir;
[all …]
Dc_substitution_type.h17 extern const Substitution CSubstitutionAsmFlags;
18 extern const Substitution CSubstitutionCFlags;
19 extern const Substitution CSubstitutionCFlagsC;
20 extern const Substitution CSubstitutionCFlagsCc;
21 extern const Substitution CSubstitutionCFlagsObjC;
22 extern const Substitution CSubstitutionCFlagsObjCc;
23 extern const Substitution CSubstitutionDefines;
24 extern const Substitution CSubstitutionFrameworkDirs;
25 extern const Substitution CSubstitutionIncludeDirs;
26 extern const Substitution CSubstitutionModuleDeps;
[all …]
Dsubstitution_type.cc53 const Substitution SubstitutionLiteral = {"<<literal>>", nullptr};
55 const Substitution SubstitutionSource = {"{{source}}", "in"};
56 const Substitution SubstitutionOutput = {"{{output}}", "out"};
58 const Substitution SubstitutionSourceNamePart = {"{{source_name_part}}",
60 const Substitution SubstitutionSourceFilePart = {"{{source_file_part}}",
62 const Substitution SubstitutionSourceDir = {"{{source_dir}}", "source_dir"};
63 const Substitution SubstitutionSourceRootRelativeDir = {
65 const Substitution SubstitutionSourceGenDir = {"{{source_gen_dir}}",
67 const Substitution SubstitutionSourceOutDir = {"{{source_out_dir}}",
69 const Substitution SubstitutionSourceTargetRelative = {
[all …]
Dc_substitution_type.cc43 const Substitution CSubstitutionAsmFlags = {"{{asmflags}}", "asmflags"};
44 const Substitution CSubstitutionCFlags = {"{{cflags}}", "cflags"};
45 const Substitution CSubstitutionCFlagsC = {"{{cflags_c}}", "cflags_c"};
46 const Substitution CSubstitutionCFlagsCc = {"{{cflags_cc}}", "cflags_cc"};
47 const Substitution CSubstitutionCFlagsObjC = {"{{cflags_objc}}", "cflags_objc"};
48 const Substitution CSubstitutionCFlagsObjCc = {"{{cflags_objcc}}",
50 const Substitution CSubstitutionDefines = {"{{defines}}", "defines"};
51 const Substitution CSubstitutionFrameworkDirs = {"{{framework_dirs}}",
53 const Substitution CSubstitutionIncludeDirs = {"{{include_dirs}}",
55 const Substitution CSubstitutionModuleDeps = {"{{module_deps}}", "module_deps"};
[all …]
Drust_substitution_type.h17 extern const Substitution kRustSubstitutionCrateName;
18 extern const Substitution kRustSubstitutionCrateType;
19 extern const Substitution kRustSubstitutionExterns;
20 extern const Substitution kRustSubstitutionRustDeps;
21 extern const Substitution kRustSubstitutionRustEnv;
22 extern const Substitution kRustSubstitutionRustFlags;
23 extern const Substitution kRustSubstitutionSources;
25 bool IsValidRustSubstitution(const Substitution* type);
26 bool IsValidRustScriptArgsSubstitution(const Substitution* type);
27 bool IsValidRustLinkerSubstitution(const Substitution* type);
Drust_substitution_type.cc22 const Substitution kRustSubstitutionCrateName = {"{{crate_name}}",
24 const Substitution kRustSubstitutionCrateType = {"{{crate_type}}",
26 const Substitution kRustSubstitutionExterns = {"{{externs}}", "externs"};
27 const Substitution kRustSubstitutionRustDeps = {"{{rustdeps}}", "rustdeps"};
28 const Substitution kRustSubstitutionRustEnv = {"{{rustenv}}", "rustenv"};
29 const Substitution kRustSubstitutionRustFlags = {"{{rustflags}}", "rustflags"};
30 const Substitution kRustSubstitutionSources = {"{{sources}}", "sources"};
32 bool IsValidRustSubstitution(const Substitution* type) { in IsValidRustSubstitution()
46 bool IsValidRustScriptArgsSubstitution(const Substitution* type) { in IsValidRustScriptArgsSubstitution()
51 bool IsValidRustLinkerSubstitution(const Substitution* type) { in IsValidRustLinkerSubstitution()
Dsubstitution_writer.h158 const std::vector<const Substitution*>& types,
171 const Substitution* type,
193 const Substitution* type,
196 const Substitution* type);
217 const Substitution* type);
235 const Substitution* type);
Dsubstitution_pattern.h23 explicit Subrange(const Substitution* t, const std::string& l = std::string());
30 const Substitution* type;
65 const std::vector<const Substitution*>& required_types() const { in required_types()
78 std::vector<const Substitution*> required_types_;
Dninja_c_binary_target_writer.h33 const Substitution* substitution,
50 void WritePCHCommand(const Substitution* flag_type,
58 void WriteGCCPCHCommand(const Substitution* flag_type,
64 void WriteWindowsPCHCommand(const Substitution* flag_type,
Dsubstitution_list.h37 const std::vector<const Substitution*>& required_types() const { in required_types()
46 std::vector<const Substitution*> required_types_;
Dsubstitution_writer.cc323 const std::vector<const Substitution*>& types, in WriteNinjaVariablesForSource()
348 const Substitution* type, in GetSourceSubstitution()
431 const Substitution* type, in GetTargetSubstitution()
468 const Substitution* type) { in GetTargetSubstitution()
505 const Substitution* type) { in GetCompilerSubstitution()
547 const Substitution* type) { in GetLinkerSubstitution()
Dc_tool.h49 bool ValidateSubstitution(const Substitution* sub_type) const override;
100 bool ValidateOutputSubstitution(const Substitution* sub_type) const;
Dsubstitution_pattern.cc17 SubstitutionPattern::Subrange::Subrange(const Substitution* t, in Subrange()
58 for (const Substitution* sub : *types) { in Parse()
Dbuiltin_tool.h31 bool ValidateSubstitution(const Substitution* sub_type) const override;
Dgeneral_tool.h36 bool ValidateSubstitution(const Substitution* sub_type) const override;
Dbuiltin_tool.cc42 bool BuiltinTool::ValidateSubstitution(const Substitution* sub_type) const { in ValidateSubstitution()
Dc_tool.cc237 bool CTool::ValidateSubstitution(const Substitution* sub_type) const { in ValidateSubstitution()
253 bool CTool::ValidateOutputSubstitution(const Substitution* sub_type) const { in ValidateOutputSubstitution()
Drust_tool.h39 bool ValidateSubstitution(const Substitution* sub_type) const override;
Dgeneral_tool.cc42 bool GeneralTool::ValidateSubstitution(const Substitution* sub_type) const { in ValidateSubstitution()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCheckImpl.h171 class Substitution {
189 Substitution(FileCheckPatternContext *Context, StringRef VarName, in Substitution() function
193 virtual ~Substitution() = default;
206 class StringSubstitution : public Substitution {
210 : Substitution(Context, VarName, InsertIdx) {} in StringSubstitution()
217 class NumericSubstitution : public Substitution {
226 : Substitution(Context, Expr, InsertIdx) { in NumericSubstitution()
275 std::vector<std::unique_ptr<Substitution>> Substitutions;
306 Substitution *makeStringSubstitution(StringRef VarName, size_t InsertIdx);
310 Substitution *
[all …]
DFileCheck.cpp554 Substitution *Substitution = in parsePattern() local
560 Substitutions.push_back(Substitution); in parsePattern()
635 for (const auto &Substitution : Substitutions) { in match() local
637 Expected<std::string> Value = Substitution->getResult(); in match()
642 TmpStr.insert(TmpStr.begin() + Substitution->getIndex() + InsertOffset, in match()
715 for (const auto &Substitution : Substitutions) { in printSubstitutions() local
718 Expected<std::string> MatchedValue = Substitution->getResult(); in printSubstitutions()
738 OS.write_escaped(Substitution->getFromString()) << "\" equal to \""; in printSubstitutions()
831 Substitution *
839 Substitution *FileCheckPatternContext::makeNumericSubstitution( in makeNumericSubstitution()
/third_party/typescript/tests/baselines/reference/
DpathsValidation2.errors.txt1 tests/cases/compiler/tsconfig.json(5,19): error TS5064: Substitution '1' for pattern '*' has incorr…
11 !!! error TS5064: Substitution '1' for pattern '*' has incorrect type, expected 'string', got 'numb…
DpathMappingBasedModuleResolution2_node.errors.txt2 tests/cases/compiler/root/tsconfig.json(8,22): error TS5062: Substitution '*2*' in pattern '*1*' ca…
17 !!! error TS5062: Substitution '*2*' in pattern '*1*' can have at most one '*' character.
DpathMappingBasedModuleResolution2_classic.errors.txt2 tests/cases/compiler/root/tsconfig.json(8,22): error TS5062: Substitution '*2*' in pattern '*1*' ca…
17 !!! error TS5062: Substitution '*2*' in pattern '*1*' can have at most one '*' character.
DpathsValidation4.errors.txt3 tests/cases/compiler/tsconfig.json(7,29): error TS5062: Substitution './src/service/**/*' in patter…
19 !!! error TS5062: Substitution './src/service/**/*' in pattern '@service/**/*' can have at most one…

123