Home
last modified time | relevance | path

Searched refs:Pattern (Results 1 – 13 of 13) sorted by relevance

/build/blueprint/
Dglob.go27 Pattern string member
35 if pattern != g.Pattern {
36 panic(fmt.Errorf("Mismatched patterns %q and %q for glob file %q", pattern, g.Pattern, fileName))
/build/kati/
Dstrutil.cc189 Pattern::Pattern(StringPiece pat) : pat_(pat), percent_index_(pat.find('%')) {} in Pattern() function in Pattern
191 bool Pattern::Match(StringPiece str) const { in Match()
197 bool Pattern::MatchImpl(StringPiece str) const { in MatchImpl()
202 StringPiece Pattern::Stem(StringPiece str) const { in Stem()
209 void Pattern::AppendSubst(StringPiece str, in AppendSubst()
238 void Pattern::AppendSubstRef(StringPiece str, in AppendSubstRef()
Dstrutil.h96 class Pattern {
98 explicit Pattern(StringPiece pat);
Dfunc.cc107 Pattern pat(pat_str); in PatsubstFunc()
153 vector<Pattern> pats; in FilterFunc()
155 pats.push_back(Pattern(pat)); in FilterFunc()
159 for (const Pattern& pat : pats) { in FilterFunc()
171 vector<Pattern> pats; in FilterOutFunc()
173 pats.push_back(Pattern(pat)); in FilterOutFunc()
178 for (const Pattern& pat : pats) { in FilterOutFunc()
551 Pattern pat(g_flags.ignore_dirty_pattern); in ShouldStoreCommandResult()
552 Pattern nopat(g_flags.no_ignore_dirty_pattern); in ShouldStoreCommandResult()
Drule.cc82 if (!Pattern(target_pattern).Match(target.str())) { in ParsePrerequisites()
Dstrutil_test.cc75 Pattern(pat).AppendSubst(str, subst, &r); in SubstPattern()
Dregen.cc48 Pattern pat(g_flags.ignore_dirty_pattern); in ShouldIgnoreDirty()
49 Pattern nopat(g_flags.no_ignore_dirty_pattern); in ShouldIgnoreDirty()
Dcommand.cc122 Pattern pat(n->output_pattern.str()); in Eval()
Ddep.cc66 Pattern pat(r.output_patterns[0].str()); in ApplyOutputPattern()
515 Pattern pat(output_pattern.str()); in CanPickImplicitRule()
539 Pattern pat(matched.str()); in CanPickImplicitRule()
Deval.cc442 Pattern(g_flags.ignore_optional_include_pattern).Match(fname)) { in EvalInclude()
Dexpr.cc186 Pattern pat(pat_str); in Eval()
/build/make/tools/signapk/src/com/android/signapk/
DSignApk.java84 import java.util.regex.Pattern;
375 Pattern ignoredFilenamePattern, in copyFiles()
384 List<Pattern> pinPatterns = extractPinPatterns(in); in copyFiles()
403 for (Pattern pinPattern : pinPatterns) { in copyFiles()
561 private static List<Pattern> extractPinPatterns(JarFile in) throws IOException { in extractPinPatterns()
711 private static final Pattern STRIP_PATTERN =
712 Pattern.compile("^(META-INF/((.*)[.](SF|RSA|DSA|EC)|com/android/otacert))|("
713 + Pattern.quote(JarFile.MANIFEST_NAME) + ")$");
/build/blueprint/bootstrap/
Dglob.go137 GlobFile(ctx, g.Pattern, g.Excludes, fileListFile, depFile)