Searched refs:regexp (Results 1 – 25 of 26) sorted by relevance
12
/build/soong/cmd/javac_wrapper/ |
D | javac_wrapper.go | 43 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/ |
D | kati.go | 26 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/ |
D | tidy.go | 45 var quotedFlagRegexp, _ = regexp.Compile(`^-?-[^=]+=('|").*('|")$`) 168 re := regexp.MustCompile(`'?-?-warnings-as-errors=[^ ]* *`)
|
D | compiler.go | 615 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/"),
|
D | util.go | 46 var libNameRegexp = regexp.MustCompile(`^lib(.*)$`)
|
/build/soong/cmd/pom2mk/ |
D | pom2mk.go | 37 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/ |
D | gotestmain.go | 138 var matchRe *regexp.Regexp 145 matchRe, err = regexp.Compile(matchPat)
|
/build/soong/cmd/pom2bp/ |
D | pom2bp.go | 40 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/ |
D | bp2build.go | 104 r := regexp.MustCompile(`\${([a-zA-Z0-9_]+)}`)
|
/build/soong/java/ |
D | app_import_test.go | 253 jniRuleRe := regexp.MustCompile("^if \\(zipinfo (\\S+)") 386 jniRuleRe := regexp.MustCompile("^if \\(zipinfo (\\S+)")
|
D | testing.go | 408 re := regexp.MustCompile(`\n\s+`)
|
/build/soong/genrule/ |
D | genrule_test.go | 447 expectedErrors = append(expectedErrors, regexp.QuoteMeta(test.err)) 606 expectedErrors = append(expectedErrors, regexp.QuoteMeta(test.err))
|
/build/blueprint/bootstrap/bpdoc/ |
D | reader.go | 203 var pkgPathRe = regexp.MustCompile("^(.*?)\\.[^/]+$")
|
/build/soong/python/ |
D | python_test.go | 334 errorPatterns[i] = regexp.QuoteMeta(s)
|
D | python.go | 261 pathComponentRegexp = regexp.MustCompile(`^[a-zA-Z_][a-zA-Z0-9_-]*$`)
|
/build/soong/third_party/zip/ |
D | reader_test.go | 538 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/ |
D | neverallow.go | 304 re *regexp.Regexp 563 r, err := regexp.Compile(re)
|
D | visibility.go | 59 var visibilityRuleRegexp = regexp.MustCompile(visibilityRulePattern)
|
D | rule_builder_test.go | 625 re := regexp.MustCompile(" # hash of input list: [a-z0-9]*$")
|
/build/soong/cmd/diff_target_files/ |
D | allow_list.go | 153 if match, err := regexp.Match(m, b); err != nil {
|
/build/make/tools/rbcrun/ |
D | host.go | 134 match, err := regexp.MatchString(pattern, s)
|
/build/soong/bazel/ |
D | properties.go | 36 var productVariableSubstitutionPattern = regexp.MustCompile("%(d|s)")
|
/build/blueprint/ |
D | package_ctx.go | 150 var pkgPathRe = regexp.MustCompile(`^(.*?)\.([^/]+)$`)
|
/build/soong/rust/ |
D | library.go | 560 var validCrateName = regexp.MustCompile("[^a-zA-Z0-9_]+")
|
/build/soong/apex/ |
D | apex_test.go | 261 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