Home
last modified time | relevance | path

Searched refs:regexp (Results 1 – 25 of 33) sorted by relevance

12

/build/soong/cmd/javac_wrapper/
Djavac_wrapper.go43 warningRe = regexp.MustCompile(filelinePrefix + `?(warning:) .*$`)
44 errorRe = regexp.MustCompile(filelinePrefix + `(.*?:) .*$`)
45 markerRe = regexp.MustCompile(`()\s*(\^)\s*$`)
179 func applyColor(line, color string, re *regexp.Regexp) (string, bool) {
191 re *regexp.Regexp
199 var warningCount = regexp.MustCompile(`^([0-9]+) warning(s)?$`)
201 var warningFilters = []*regexp.Regexp{
202 regexp.MustCompile(`bootstrap class path not set in conjunction with -source`),
205 var filters = []*regexp.Regexp{
206 regexp.MustCompile(`Note: (Some input files|.*\.java) uses? or overrides? a deprecated API.`),
[all …]
/build/soong/ui/status/
Dkati.go26 var katiError = regexp.MustCompile(`^(\033\[1m)?[^ ]+:[0-9]+: (\033\[31m)?error:`)
27 var katiIncludeRe = regexp.MustCompile(`^(\[(\d+)/(\d+)] )?((including [^ ]+|initializing (build|pa…
28 var katiLogRe = regexp.MustCompile(`^\*kati\*: `)
29 var katiNinjaMissing = regexp.MustCompile("^[^ ]+ is missing, regenerating...$")
/build/soong/cc/
Dtidy.go45 var quotedFlagRegexp, _ = regexp.Compile(`^-?-[^=]+=('|").*('|")$`)
168 re := regexp.MustCompile(`'?-?-warnings-as-errors=[^ ]* *`)
Dcompiler.go615 var invalidDefineCharRegex = regexp.MustCompile("[^a-zA-Z0-9_]")
669 var thirdPartyDirPrefixExceptions = []*regexp.Regexp{
670 regexp.MustCompile("^vendor/[^/]*google[^/]*/"),
671 regexp.MustCompile("^hardware/google/"),
672 regexp.MustCompile("^hardware/interfaces/"),
673 regexp.MustCompile("^hardware/libhardware[^/]*/"),
674 regexp.MustCompile("^hardware/ril/"),
Dutil.go46 var libNameRegexp = regexp.MustCompile(`^lib(.*)$`)
/build/soong/cmd/pom2mk/
Dpom2mk.go37 regexp *regexp.Regexp member
50 regex, err := regexp.Compile(split[0])
55 regexp: regex,
63 if r.regexp.MatchString(groupId + ":" + artifactId) {
64 return r.regexp.ReplaceAllString(groupId+":"+artifactId, r.repl)
65 } else if r.regexp.MatchString(artifactId) {
66 return r.regexp.ReplaceAllString(artifactId, r.repl)
/build/blueprint/gotestmain/
Dgotestmain.go138 var matchRe *regexp.Regexp
145 matchRe, err = regexp.Compile(matchPat)
/build/soong/cmd/pom2bp/
Dpom2bp.go40 regexp *regexp.Regexp member
53 regex, err := regexp.Compile(split[0])
58 regexp: regex,
66 if r.regexp.MatchString(groupId + ":" + artifactId) {
67 return r.regexp.ReplaceAllString(groupId+":"+artifactId, r.repl)
68 } else if r.regexp.MatchString(artifactId) {
69 return r.regexp.ReplaceAllString(artifactId, r.repl)
/build/soong/cc/config/
Dbp2build.go104 r := regexp.MustCompile(`\${([a-zA-Z0-9_]+)}`)
/build/soong/cmd/extract_apks/
Dmain.go367 rex *regexp.Regexp
371 regexp.MustCompile(`^.*/` + selected.moduleName + `-master\.apk$`),
375 regexp.MustCompile(`^.*/` + selected.moduleName + `(-.*\.apk)$`),
379 regexp.MustCompile(`^universal\.apk$`),
/build/soong/android/
Dutil.go315 var pkgPathRe = regexp.MustCompile(`^(.*?)\.([^/]+)$`)
383 var shlibVersionPattern = regexp.MustCompile("(?:\\.\\d+(?:svn)?)+")
Dneverallow.go304 re *regexp.Regexp
563 r, err := regexp.Compile(re)
Dtesting.go673 re := regexp.MustCompile(`\Q` + outSoongDir + `\E\b`)
680 re = regexp.MustCompile(`\Q` + outDir + `\E\b`)
903 matcher, err := regexp.Compile(pattern)
Dvisibility.go59 var visibilityRuleRegexp = regexp.MustCompile(visibilityRulePattern)
/build/soong/java/
Dapp_import_test.go253 jniRuleRe := regexp.MustCompile("^if \\(zipinfo (\\S+)")
386 jniRuleRe := regexp.MustCompile("^if \\(zipinfo (\\S+)")
Dsdk_library_test.go245 …[^:]*/turbine-combined/foo\.stubs\.jar$`, barLibrary.Args["classpath"]; !regexp.MustCompile(expect…
548 …urbine-combined/foo\.stubs.system\.jar$`, bazLibrary.Args["classpath"]; !regexp.MustCompile(expect…
Dtesting.go408 re := regexp.MustCompile(`\n\s+`)
/build/soong/genrule/
Dgenrule_test.go447 expectedErrors = append(expectedErrors, regexp.QuoteMeta(test.err))
606 expectedErrors = append(expectedErrors, regexp.QuoteMeta(test.err))
/build/soong/python/
Dpython_test.go334 errorPatterns[i] = regexp.QuoteMeta(s)
/build/blueprint/bootstrap/bpdoc/
Dreader.go203 var pkgPathRe = regexp.MustCompile("^(.*?)\\.[^/]+$")
/build/soong/third_party/zip/
Dreader_test.go538 s = regexp.MustCompile(`[0-9a-f]{7}`).ReplaceAllString(s, "")
539 s = regexp.MustCompile(`\s+`).ReplaceAllString(s, "")
700 s = regexp.MustCompile(`[0-9a-f]{7}`).ReplaceAllString(s, "")
701 s = regexp.MustCompile(`\s+`).ReplaceAllString(s, "")
/build/soong/cmd/diff_target_files/
Dallow_list.go153 if match, err := regexp.Match(m, b); err != nil {
/build/make/tools/rbcrun/
Dhost.go134 match, err := regexp.MatchString(pattern, s)
/build/soong/bazel/
Dproperties.go36 var productVariableSubstitutionPattern = regexp.MustCompile("%(d|s)")
/build/blueprint/
Dpackage_ctx.go150 var pkgPathRe = regexp.MustCompile(`^(.*?)\.([^/]+)$`)

12