/build/blueprint/pathtools/ |
D | glob_test.go | 28 matches []string member 38 matches: []string{"a/", "b/", "c/", "d.ext", "e.ext"}, 43 matches: []string{"d.ext", "e.ext"}, 48 matches: []string{"a/a/", "b/a"}, 53 matches: []string{"a/a/a"}, 58 matches: []string{"a/a/a"}, 63 matches: []string{"c/h/h"}, 68 matches: []string{"c/g/g.ext", "c/h/h"}, 73 matches: []string{"c/f/f.ext", "c/g/g.ext", "c/h/h"}, 78 matches: []string{"c/f/f.ext", "c/g/g.ext", "c/h/h"}, [all …]
|
D | glob.go | 42 func Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (matches, deps []string, … 47 follow ShouldFollowSymlinks) (matches, deps []string, err error) { 52 matches, deps, err = glob(fs, pattern, false, follow) 59 matches, err = filterExcludes(matches, excludes) 74 deps = append(deps, matches...) 77 for i, match := range matches { 94 matches[i] = match + "/" 99 return matches, deps, nil 105 follow ShouldFollowSymlinks) (matches, dirs []string, err error) { 111 matches, err = fs.glob(pattern) [all …]
|
D | fs.go | 95 …Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (matches, dirs []string, err … 96 glob(pattern string) (matches []string, err error) 153 func (fs osFs) Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (matches, dirs … 303 func (m *mockFs) Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (matches, dir… 325 var matches []string 338 matches = append(matches, filepath.Join(dir, fFile)) 342 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)
|
D | context.go | 1005 var matches []string 1008 matches, err = c.glob(pattern, nil) 1018 if len(matches) == 0 { 1025 for _, foundBlueprints := range matches { 1047 var matches []string 1050 matches, err = c.glob(pattern, nil) 1060 if len(matches) == 0 && !optional { 1067 for _, subBlueprints := 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/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/cc/ |
D | util.go | 53 matches := libNameRegexp.FindStringSubmatch(module) 54 if matches == nil { 57 return matches[1], nil 116 matches := shlibVersionPattern.FindAllStringIndex(name, -1) 117 if len(matches) > 0 { 118 lastMatch := matches[len(matches)-1]
|
/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/kati/ |
D | shellutil.go | 39 compact: func(sh *funcShell, matches []Value) Value { 42 v: matches[0],
|
D | expr.go | 741 var matches []Value 746 matches = append(matches, exp[i]) 758 matches = append(matches, literal(sm)) 766 return matches, true
|
D | pathutil.go | 237 func (c *fsCacheT) glob(dir, pattern string, matches []string) ([]string, error) { 251 matches = append(matches, dir+ent.name) 254 return matches, nil 277 var matches []string 279 matches, err = c.glob(d, file, matches) 284 return matches, nil
|
/build/make/core/ |
D | device.mk | 65 $(error No matches for device "$(dn)"), \ 66 $(error Device "$(dn)" ambiguous: matches $(d)) \
|
D | product.mk | 476 $(error No matches for product "$(pn)"), \ 477 $(error Product "$(pn)" ambiguous: matches $(p)) \
|
D | product_config.mk | 226 $(error Product "$(TARGET_PRODUCT)" ambiguous: matches $(current_product_makefile))
|
/build/kati/testcase/ |
D | gen_testcase_parse_benchmark.go | 96 matches, err := filepath.Glob("testcase/*.mk") 100 for _, tc := range matches {
|
/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 1520 matches := []string{} 1530 matches = append(matches, filePaths...) [all …]
|
/build/soong/android/ |
D | androidmk.go | 127 matches := buf.Len() == len(data) 129 if matches { 132 matches = false 138 if matches {
|
/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 | 998 matches = re.match( 1005 if not matches: 1008 name = matches.group('NAME') 1009 payload_private_key = matches.group("PAYLOAD_PRIVATE_KEY") 1021 container_cert = matches.group("CONTAINER_CERT") 1022 container_private_key = matches.group("CONTAINER_PRIVATE_KEY")
|
D | sign_target_files_apks | 998 matches = re.match( 1005 if not matches: 1008 name = matches.group('NAME') 1009 payload_private_key = matches.group("PAYLOAD_PRIVATE_KEY") 1021 container_cert = matches.group("CONTAINER_CERT") 1022 container_private_key = matches.group("CONTAINER_PRIVATE_KEY")
|
/build/make/tools/ |
D | java-layers.py | 48 def matches(self, imp): member in Dependency 230 if dep.matches(imp):
|
/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/acp/ |
D | README | 27 library, the time stamp no longer matches. Preserving the time
|
/build/soong/cmd/dep_fixer/ |
D | deps_test.go | 166 matches := true 168 matches = false 172 matches = false 176 if !matches {
|