Home
last modified time | relevance | path

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

/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/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/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/blueprint/gotestmain/
Dgotestmain.go138 var matchRe *regexp.Regexp
145 matchRe, err = regexp.Compile(matchPat)
/build/soong/cc/
Dcompiler.go610 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/"),
Dutil.go46 var libNameRegexp = regexp.MustCompile(`^lib(.*)$`)
Dlibrary.go1391 var charsNotForMacro = 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.go285 var pkgPathRe = regexp.MustCompile(`^(.*?)\.([^/]+)$`)
354 var shlibVersionPattern = regexp.MustCompile("(?:\\.\\d+(?:svn)?)+")
Dneverallow.go324 re *regexp.Regexp
551 r, err := regexp.Compile(re)
Dvisibility.go58 var visibilityRuleRegexp = regexp.MustCompile(visibilityRulePattern)
Dtesting.go372 matcher, err := regexp.Compile(pattern)
Dmodule.go1842 var tagCleaner = regexp.MustCompile(`\QBaseDependencyTag:blueprint.BaseDependencyTag{}\E(, )?`)
/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/soong/rust/
Dlibrary.go433 var validCrateName = regexp.MustCompile("[^a-zA-Z0-9_]+")
/build/blueprint/
Dpackage_ctx.go150 var pkgPathRe = regexp.MustCompile(`^(.*?)\.([^/]+)$`)
/build/soong/python/
Dpython.go214 pyIdentifierRegexp = regexp.MustCompile(`^[a-zA-Z_][a-zA-Z0-9_-]*$`)
/build/soong/java/
Djava_test.go1471 …[^:]*/turbine-combined/foo\.stubs\.jar$`, barLibrary.Args["classpath"]; !regexp.MustCompile(expect…
1730 …urbine-combined/foo\.stubs.system\.jar$`, bazLibrary.Args["classpath"]; !regexp.MustCompile(expect…
Dsdk_library.go680 var tagSplitter = func() *regexp.Regexp {
694 return regexp.MustCompile(fmt.Sprintf(`^\.(%s)\.(%s)$`, scopesRegexp, componentsRegexp))
Dapp_test.go2202 jniRuleRe := regexp.MustCompile("^if \\(zipinfo (\\S+)")
2317 jniRuleRe := regexp.MustCompile("^if \\(zipinfo (\\S+)")
/build/soong/apex/
Dapex_test.go315 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)