Subrange 83 tools/gn/file_template.cc std::fill(types_required_, &types_required_[Subrange::NUM_TYPES], false); Subrange 89 tools/gn/file_template.cc std::fill(types_required_, &types_required_[Subrange::NUM_TYPES], false); Subrange 106 tools/gn/file_template.cc bool FileTemplate::IsTypeUsed(Subrange::Type type) const { Subrange 107 tools/gn/file_template.cc DCHECK(type > Subrange::LITERAL && type < Subrange::NUM_TYPES); Subrange 137 tools/gn/file_template.cc std::string subst[Subrange::NUM_TYPES]; Subrange 138 tools/gn/file_template.cc for (int i = 1; i < Subrange::NUM_TYPES; i++) { Subrange 140 tools/gn/file_template.cc subst[i] = GetSubstitution(str, static_cast<Subrange::Type>(i)); Subrange 150 tools/gn/file_template.cc if (t[subrange_i].type == Subrange::LITERAL) Subrange 177 tools/gn/file_template.cc if (t[subrange_i].type == Subrange::LITERAL) { Subrange 201 tools/gn/file_template.cc for (int i = 1; i < Subrange::NUM_TYPES; i++) { Subrange 203 tools/gn/file_template.cc Subrange::Type type = static_cast<Subrange::Type>(i); Subrange 212 tools/gn/file_template.cc const char* FileTemplate::GetNinjaVariableNameForType(Subrange::Type type) { Subrange 214 tools/gn/file_template.cc case Subrange::SOURCE: Subrange 216 tools/gn/file_template.cc case Subrange::NAME_PART: Subrange 218 tools/gn/file_template.cc case Subrange::FILE_PART: Subrange 228 tools/gn/file_template.cc Subrange::Type type) { Subrange 230 tools/gn/file_template.cc case Subrange::SOURCE: Subrange 232 tools/gn/file_template.cc case Subrange::NAME_PART: Subrange 234 tools/gn/file_template.cc case Subrange::FILE_PART: Subrange 271 tools/gn/file_template.cc t.container().push_back(Subrange(Subrange::LITERAL, str.substr(cur))); Subrange 275 tools/gn/file_template.cc Subrange(Subrange::LITERAL, str.substr(cur, next - cur))); Subrange 280 tools/gn/file_template.cc t.container().push_back(Subrange(Subrange::SOURCE)); Subrange 281 tools/gn/file_template.cc types_required_[Subrange::SOURCE] = true; Subrange 286 tools/gn/file_template.cc t.container().push_back(Subrange(Subrange::NAME_PART)); Subrange 287 tools/gn/file_template.cc types_required_[Subrange::NAME_PART] = true; Subrange 292 tools/gn/file_template.cc t.container().push_back(Subrange(Subrange::FILE_PART)); Subrange 293 tools/gn/file_template.cc types_required_[Subrange::FILE_PART] = true; Subrange 300 tools/gn/file_template.cc t.container().push_back(Subrange(Subrange::LITERAL, "{")); Subrange 49 tools/gn/file_template.h Subrange(Type t, const std::string& l = std::string()) Subrange 71 tools/gn/file_template.h bool IsTypeUsed(Subrange::Type type) const; Subrange 117 tools/gn/file_template.h static const char* GetNinjaVariableNameForType(Subrange::Type type); Subrange 122 tools/gn/file_template.h Subrange::Type type); Subrange 143 tools/gn/file_template.h bool types_required_[Subrange::NUM_TYPES]; Subrange 45 tools/gn/pattern.cc void ParsePattern(const std::string& s, std::vector<Pattern::Subrange>* out) { Subrange 48 tools/gn/pattern.cc Pattern::Subrange* last_literal = NULL; Subrange 54 tools/gn/pattern.cc (*out)[out->size() - 1].type != Pattern::Subrange::ANYTHING) Subrange 55 tools/gn/pattern.cc out->push_back(Pattern::Subrange(Pattern::Subrange::ANYTHING)); Subrange 61 tools/gn/pattern.cc out->push_back(Pattern::Subrange(Pattern::Subrange::PATH_BOUNDARY)); Subrange 66 tools/gn/pattern.cc out->push_back(Pattern::Subrange(Pattern::Subrange::LITERAL)); Subrange 79 tools/gn/pattern.cc out->push_back(Pattern::Subrange(Pattern::Subrange::LITERAL)); Subrange 93 tools/gn/pattern.cc subranges_[0].type == Subrange::ANYTHING && Subrange 94 tools/gn/pattern.cc subranges_[1].type == Subrange::LITERAL); Subrange 127 tools/gn/pattern.cc const Subrange& sr = subranges_[subrange_index]; Subrange 129 tools/gn/pattern.cc case Subrange::LITERAL: { Subrange 140 tools/gn/pattern.cc case Subrange::PATH_BOUNDARY: { Subrange 159 tools/gn/pattern.cc case Subrange::ANYTHING: { Subrange 24 tools/gn/pattern.h Subrange(Type t, const std::string& l = std::string()) Subrange 63 tools/gn/pattern.h std::vector<Subrange> subranges_;