Searched refs:regexp (Results 1 – 24 of 24) sorted by relevance
/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/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/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/blueprint/gotestmain/ |
D | gotestmain.go | 138 var matchRe *regexp.Regexp 145 matchRe, err = regexp.Compile(matchPat)
|
/build/soong/cc/ |
D | compiler.go | 610 var thirdPartyDirPrefixExceptions = []*regexp.Regexp{ 611 regexp.MustCompile("^vendor/[^/]*google[^/]*/"), 612 regexp.MustCompile("^hardware/google/"), 613 regexp.MustCompile("^hardware/interfaces/"), 614 regexp.MustCompile("^hardware/libhardware[^/]*/"), 615 regexp.MustCompile("^hardware/ril/"),
|
D | util.go | 46 var libNameRegexp = regexp.MustCompile(`^lib(.*)$`)
|
D | library.go | 1391 var charsNotForMacro = regexp.MustCompile("[^a-zA-Z0-9_]+")
|
/build/soong/cmd/extract_apks/ |
D | main.go | 367 rex *regexp.Regexp 371 regexp.MustCompile(`^.*/` + selected.moduleName + `-master\.apk$`), 375 regexp.MustCompile(`^.*/` + selected.moduleName + `(-.*\.apk)$`), 379 regexp.MustCompile(`^universal\.apk$`),
|
/build/soong/android/ |
D | util.go | 285 var pkgPathRe = regexp.MustCompile(`^(.*?)\.([^/]+)$`) 354 var shlibVersionPattern = regexp.MustCompile("(?:\\.\\d+(?:svn)?)+")
|
D | neverallow.go | 324 re *regexp.Regexp 551 r, err := regexp.Compile(re)
|
D | visibility.go | 58 var visibilityRuleRegexp = regexp.MustCompile(visibilityRulePattern)
|
D | testing.go | 372 matcher, err := regexp.Compile(pattern)
|
D | module.go | 1842 var tagCleaner = regexp.MustCompile(`\QBaseDependencyTag:blueprint.BaseDependencyTag{}\E(, )?`)
|
/build/blueprint/bootstrap/bpdoc/ |
D | reader.go | 203 var pkgPathRe = regexp.MustCompile("^(.*?)\\.[^/]+$")
|
/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/cmd/diff_target_files/ |
D | allow_list.go | 153 if match, err := regexp.Match(m, b); err != nil {
|
/build/soong/rust/ |
D | library.go | 433 var validCrateName = regexp.MustCompile("[^a-zA-Z0-9_]+")
|
/build/blueprint/ |
D | package_ctx.go | 150 var pkgPathRe = regexp.MustCompile(`^(.*?)\.([^/]+)$`)
|
/build/soong/python/ |
D | python.go | 214 pyIdentifierRegexp = regexp.MustCompile(`^[a-zA-Z_][a-zA-Z0-9_-]*$`)
|
/build/soong/java/ |
D | java_test.go | 1471 …[^:]*/turbine-combined/foo\.stubs\.jar$`, barLibrary.Args["classpath"]; !regexp.MustCompile(expect… 1730 …urbine-combined/foo\.stubs.system\.jar$`, bazLibrary.Args["classpath"]; !regexp.MustCompile(expect…
|
D | sdk_library.go | 680 var tagSplitter = func() *regexp.Regexp { 694 return regexp.MustCompile(fmt.Sprintf(`^\.(%s)\.(%s)$`, scopesRegexp, componentsRegexp))
|
D | app_test.go | 2202 jniRuleRe := regexp.MustCompile("^if \\(zipinfo (\\S+)") 2317 jniRuleRe := regexp.MustCompile("^if \\(zipinfo (\\S+)")
|
/build/soong/apex/ |
D | apex_test.go | 315 ok, err := regexp.MatchString(expectedRex, result) 4984 …/[^:]*/turbine-combined/foo\.impl\.jar$`, barLibrary.Args["classpath"]; !regexp.MustCompile(expect… 5430 copyCmds := regexp.MustCompile(" *&& *").Split(s, -1)
|