/build/blueprint/pathtools/ |
D | glob_test.go | 29 matches []string member 39 matches: []string{"a/", "b/", "c/", "d.ext", "e.ext"}, 44 matches: []string{"d.ext", "e.ext"}, 49 matches: []string{"a/a/", "b/a"}, 54 matches: []string{"a/a/a"}, 59 matches: []string{"a/a/a"}, 64 matches: []string{"c/h/h"}, 69 matches: []string{"c/g/g.ext", "c/h/h"}, 74 matches: []string{"c/f/f.ext", "c/g/g.ext", "c/h/h"}, 79 matches: []string{"c/f/f.ext", "c/g/g.ext", "c/h/h"}, [all …]
|
D | glob.go | 43 func Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (matches, deps []string, … 48 follow ShouldFollowSymlinks) (matches, deps []string, err error) { 53 matches, deps, err = glob(fs, pattern, false, follow) 60 matches, err = filterExcludes(matches, excludes) 75 deps = append(deps, matches...) 78 for i, match := range matches { 95 matches[i] = match + "/" 100 return matches, deps, nil 106 follow ShouldFollowSymlinks) (matches, dirs []string, err error) { 112 matches, err = fs.glob(pattern) [all …]
|
D | fs.go | 98 …Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (matches, dirs []string, err … 99 glob(pattern string) (matches []string, err error) 197 func (fs *osFs) Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (matches, dirs… 349 func (m *mockFs) Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (matches, dir… 371 var matches []string 384 matches = append(matches, filepath.Join(dir, fFile)) 388 return matches, nil
|
/build/blueprint/ |
D | glob_test.go | 28 matches, err := ctx.glob("a/*", nil) 32 if len(matches) != 2 || matches[0] != "a/a" || matches[1] != "a/b" { 33 t.Error(`expected ["a/a", "a/b"], got`, matches) 39 matches, err = ctx.glob("a/*", []string{}) 43 if len(matches) != 2 || matches[0] != "a/a" || matches[1] != "a/b" { 44 t.Error(`expected ["a/a", "a/b"], got`, matches) 48 matches, err = ctx.glob("a/*", []string{"a/b"}) 52 if len(matches) != 1 || matches[0] != "a/a" { 53 t.Error(`expected ["a/a"], got`, matches)
|
/build/soong/scripts/ |
D | manifest_check_test.py | 57 matches = self.run_test(manifest_input, uses_libraries=['foo']) 58 self.assertTrue(matches) 62 matches = self.run_test(manifest_input, uses_libraries=['foo']) 63 self.assertTrue(matches) 67 matches = self.run_test(manifest_input, optional_uses_libraries=['foo']) 68 self.assertTrue(matches) 72 matches = self.run_test(manifest_input, uses_libraries=['foo']) 73 self.assertFalse(matches) 77 matches = self.run_test(manifest_input, optional_uses_libraries=['foo']) 78 self.assertFalse(matches) [all …]
|
/build/soong/cmd/extract_apks/ |
D | main.go | 99 func (m abiTargetingMatcher) matches(config TargetConfig) bool { func 134 func (m apkDescriptionMatcher) matches(config TargetConfig) bool { func 135 return m.ApkDescription == nil || (apkTargetingMatcher{m.Targeting}).matches(config) 142 func (m apkTargetingMatcher) matches(config TargetConfig) bool { func 144 (abiTargetingMatcher{m.AbiTargeting}.matches(config) && 145 languageTargetingMatcher{m.LanguageTargeting}.matches(config) && 146 screenDensityTargetingMatcher{m.ScreenDensityTargeting}.matches(config) && 147 sdkVersionTargetingMatcher{m.SdkVersionTargeting}.matches(config) && 148 multiAbiTargetingMatcher{m.MultiAbiTargeting}.matches(config)) 155 func (m languageTargetingMatcher) matches(_ TargetConfig) bool { func [all …]
|
/build/soong/cmd/zip2zip/ |
D | zip2zip.go | 116 matches := []pair{} 118 sortMatches := func(matches []pair) { 120 sort.SliceStable(matches, func(i, j int) bool { 121 return jar.EntryNamesLess(matches[i].newName, matches[j].newName) 124 sort.SliceStable(matches, func(i, j int) bool { 125 return matches[i].newName < matches[j].newName 168 matches = append(matches, includeMatches...) 174 matches = append(matches, pair{file, file.Name, false}) 176 sortMatches(matches) 182 for _, match := range matches {
|
/build/soong/ui/status/ |
D | kati.go | 70 if matches := katiIncludeRe.FindStringSubmatch(line); len(matches) > 0 { 74 matches := katiIncludeRe.FindStringSubmatch(line) 75 if matches[2] != "" { 76 idx, err := strconv.Atoi(matches[2]) 87 if matches[3] != "" { 88 tot, err := strconv.Atoi(matches[3]) 97 Description: matches[4],
|
/build/soong/android/ |
D | visibility.go | 65 matches(m qualifiedModuleName) bool methodSpec 112 func (c compositeRule) matches(m qualifiedModuleName) bool { func 114 if r.matches(m) { 138 func (r packageRule) matches(m qualifiedModuleName) bool { func 152 func (r subpackagesRule) matches(m qualifiedModuleName) bool { func 167 func (r publicRule) matches(_ qualifiedModuleName) bool { func 178 func (r privateRule) matches(_ qualifiedModuleName) bool { func 393 matches := visibilityRuleRegexp.FindStringSubmatch(ruleExpression) 394 if ruleExpression == "" || matches == nil { 405 pkg := matches[1] [all …]
|
D | util.go | 363 matches := shlibVersionPattern.FindAllStringIndex(name, -1) 364 if len(matches) > 0 { 365 lastMatch := matches[len(matches)-1]
|
D | neverallow.go | 511 matches := false 513 if !matches { 515 matches = r.directDeps[name] 519 return matches
|
D | androidmk.go | 472 matches := buf.Len() == len(data) 474 if matches { 477 matches = false 483 if matches {
|
/build/soong/finder/cmd/ |
D | finder.go | 131 matches := []string{} 133 matches, err = runFind(params, logger) 139 logger.Printf("Found these %v inodes in %v :\n", len(matches), findDuration) 140 sort.Strings(matches) 141 for _, match := range matches { 144 logger.Printf("End of %v inodes\n", len(matches))
|
/build/make/core/ |
D | device.mk | 65 $(error No matches for device "$(dn)"), \ 66 $(error Device "$(dn)" ambiguous: matches $(d)) \
|
D | product.mk | 540 $(error No matches for product "$(pn)"), \ 541 $(error Product "$(pn)" ambiguous: matches $(p)) \
|
/build/soong/cc/ |
D | util.go | 49 matches := libNameRegexp.FindStringSubmatch(module) 50 if matches == nil { 53 return matches[1], nil
|
/build/soong/finder/ |
D | finder.go | 242 matches := []string{} 245 matches = append(matches, foundName) 248 return entries.DirNames, matches 264 matches := []string{} 267 matches = append(matches, foundName) 271 if len(matches) > 0 { 272 return []string{}, matches 274 return entries.DirNames, matches 1529 matches := []string{} 1539 matches = append(matches, filePaths...) [all …]
|
/build/blueprint/microfactory/ |
D | microfactory.go | 237 func parseBuildComment(comment string) (matches, ok bool) { 247 matches = false 249 matches = matches || matchBuildTag(tok) 251 return matches, true 299 if matches, ok := parseBuildComment(comment.Text); ok && !matches {
|
/build/make/tools/releasetools/ |
D | sign_target_files_apks.py | 1098 matches = re.match( 1106 if not matches: 1109 name = matches.group('NAME') 1110 payload_private_key = matches.group("PAYLOAD_PRIVATE_KEY") 1122 container_cert = matches.group("CONTAINER_CERT") 1123 container_private_key = matches.group("CONTAINER_PRIVATE_KEY")
|
D | sign_target_files_apks | 1098 matches = re.match( 1106 if not matches: 1109 name = matches.group('NAME') 1110 payload_private_key = matches.group("PAYLOAD_PRIVATE_KEY") 1122 container_cert = matches.group("CONTAINER_CERT") 1123 container_private_key = matches.group("CONTAINER_PRIVATE_KEY")
|
/build/make/tools/droiddoc/templates-ndk/assets/js/ |
D | docs.js | 2413 function rank_autocomplete_doc_results(query, matches) { argument 2415 if (!matches || !matches.length) 2437 for (var i=0; i<matches.length; i++) { 2438 matches[i].__resultScore = _resultScoreFn(matches[i]); 2441 matches.sort(function(a,b){ 2450 function rank_autocomplete_api_results(query, matches) { argument 2452 if (!matches || !matches.length) 2508 for (var i=0; i<matches.length; i++) { 2510 if (matches[i].deprecated == "true") { 2511 matches[i].__resultScore = 0; [all …]
|
/build/make/tools/ |
D | java-layers.py | 48 def matches(self, imp): member in Dependency 230 if dep.matches(imp):
|
/build/make/tools/acp/ |
D | README | 27 library, the time stamp no longer matches. Preserving the time
|
/build/soong/makedeps/ |
D | deps_test.go | 180 matches := true 182 matches = false 186 matches = false 190 if !matches {
|
/build/soong/java/ |
D | app_test.go | 2213 matches := jniRuleRe.FindStringSubmatch(jniRuleCommand) 2214 if len(matches) != 2 { 2217 if test.expected != matches[1] { 2218 t.Errorf("wrong src apk, expected: %q got: %q", test.expected, matches[1]) 2323 matches := jniRuleRe.FindStringSubmatch(jniRuleCommand) 2324 if len(matches) != 2 { 2327 if test.expected != matches[1] { 2328 t.Errorf("wrong src apk, expected: %q got: %q", test.expected, matches[1])
|