Home
last modified time | relevance | path

Searched refs:regexp (Results 1 – 25 of 26) 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/java/
Dapp_import_test.go253 jniRuleRe := regexp.MustCompile("^if \\(zipinfo (\\S+)")
386 jniRuleRe := regexp.MustCompile("^if \\(zipinfo (\\S+)")
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/blueprint/bootstrap/bpdoc/
Dreader.go203 var pkgPathRe = regexp.MustCompile("^(.*?)\\.[^/]+$")
/build/soong/python/
Dpython_test.go334 errorPatterns[i] = regexp.QuoteMeta(s)
Dpython.go261 pathComponentRegexp = regexp.MustCompile(`^[a-zA-Z_][a-zA-Z0-9_-]*$`)
/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/android/
Dneverallow.go304 re *regexp.Regexp
563 r, err := regexp.Compile(re)
Dvisibility.go59 var visibilityRuleRegexp = regexp.MustCompile(visibilityRulePattern)
Drule_builder_test.go625 re := regexp.MustCompile(" # hash of input list: [a-z0-9]*$")
/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(`^(.*?)\.([^/]+)$`)
/build/soong/rust/
Dlibrary.go560 var validCrateName = regexp.MustCompile("[^a-zA-Z0-9_]+")
/build/soong/apex/
Dapex_test.go261 ok, err := regexp.MatchString(expectedRex, result)
5927 … [^:]*/turbine-combined/foo\.impl\.jar$`, barLibrary.Args["classpath"]; !regexp.MustCompile(expect…
6373 copyCmds := regexp.MustCompile(" *&& *").Split(s, -1)

12