Home
last modified time | relevance | path

Searched refs:i (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/build/soong/java/
Dhiddenapi_monolithic.go94 func (i *MonolithicHiddenAPIInfo) append(other *HiddenAPIInfo) {
95 i.FlagsFilesByCategory.append(other.FlagFilesByCategory)
107 i.StubFlagsPaths = appendIfNotNil(i.StubFlagsPaths, other.StubFlagsPath)
108 i.AnnotationFlagsPaths = appendIfNotNil(i.AnnotationFlagsPaths, other.AnnotationFlagsPath)
109 i.MetadataPaths = appendIfNotNil(i.MetadataPaths, other.MetadataPath)
110 i.IndexPaths = appendIfNotNil(i.IndexPaths, other.IndexPath)
111 i.AllFlagsPaths = appendIfNotNil(i.AllFlagsPaths, other.AllFlagsPath)
116 func (i *MonolithicHiddenAPIInfo) dedup() {
117 i.FlagsFilesByCategory.dedup()
118 i.StubFlagsPaths = android.FirstUniquePaths(i.StubFlagsPaths)
[all …]
/build/make/tools/droiddoc/templates-pdk/assets/
Dsearch_autocomplete.js34 var i; //TR iterator
46 for (i=0; i<ROW_COUNT; i++) {
75 for (i=0; i<N; i++) {
76 r = filtered.rows[i];
78 set_row_values(toroot, r, gMatches[i]);
79 set_row_selected(r, i == gSelectedIndex);
80 if (i == gSelectedIndex) {
81 gSelectedID = gMatches[i].id;
85 for (; i<ROW_COUNT; i++) {
86 r = filtered.rows[i];
[all …]
Dandroid-developer-resource-browser.js25 for (var i = 0; i < loadedResults.length; i++) {
28 if (!resultMatchesKeyword(loadedResults[i].result, keywords[j])) {
34 loadedResults[i].node[hide ? 'hide' : 'show']();
75 for (var i = 0; i < ANDROID_RESOURCES.length; i++) {
76 var resource = ANDROID_RESOURCES[i];
109 var i, j;
112 for (i = 0; i < params.tag.length; i++) {
113 var tag = params.tag[i];
134 for (i = 0; i < ANDROID_RESOURCES.length; i++) {
135 var resource = ANDROID_RESOURCES[i];
[all …]
/build/soong/android/
Dexpand.go47 i := 0
53 buf = append(buf, s[i:j]...)
63 i = j + 1
66 return string(buf) + s[i:], nil
73 for i := 1; i < len(s); i++ {
74 if s[i] == ')' {
75 ret, ninjaVariable, err := mapping(strings.TrimSpace(s[1:i]))
76 return ret, ninjaVariable, i + 1, err
83 i := strings.IndexFunc(s, unicode.IsSpace)
84 if i == 0 {
[all …]
Dutil.go42 for i := 1; i < len(strs); i++ {
45 buf.WriteString(strs[i])
60 for i := 1; i < len(strs); i++ {
62 buf.WriteString(strs[i])
116 for i, l := range list {
118 return i
172 for i, l := range list {
174 return i
246 for i := 0; i < len(list); i++ {
248 if list[i] == list[j] {
[all …]
Dpath_properties.go81 for _, i := range pathPropertyIndexes {
83 fieldsByIndex(v, i, &values)
106 v.Type().FieldByIndex(i).Name, v.Type(), sv.Type()))
120 for i := 0; i < v.Len(); i++ {
121 *values = append(*values, v.Index(i).Field(index[0]))
145 for i := 0; i < v.Len(); i++ {
146 fieldsByIndex(v.Index(i).Field(index[0]), index[1:], values)
/build/make/tools/
Dfindleaves.py40 i = 0
41 while i < len(dirs):
42 if dirs[i] in prune:
43 del dirs[i]
45 i += 1
58 i = 0
59 while i < len(dirs):
60 st = os.stat(os.path.join(root, dirs[i]))
63 del dirs[i]
65 i += 1
[all …]
/build/blueprint/parser/
Dsort.go134 for i := 0; i < len(list.Values); i++ {
136 line := list.Values[i].Pos().Line
138 for j = i + 1; j < len(list.Values); j++ {
149 sortSubList(list.Values[i:j], nextPos, file)
150 i = j - 1
155 for i := 0; i < len(list.Values); i++ {
157 line := list.Values[i].Pos().Line
159 for j = i + 1; j < len(list.Values); j++ {
166 if !subListIsSorted(list.Values[i:j]) {
169 i = j - 1
[all …]
/build/blueprint/
Dninja_strings.go117 for i := 0; i < len(str); i++ {
118 r := rune(str[i])
119 state, err = state(parseState, i, r)
133 func parseFirstRuneState(state *parseState, i int, r rune) (stateFunc, error) {
137 return parseStringState(state, i, r)
140 func parseStringState(state *parseState, i int, r rune) (stateFunc, error) {
143 state.varStart = i + 1
147 state.pushString(state.str[state.stringStart:i])
155 func parseDollarStartState(state *parseState, i int, r rune) (stateFunc, error) {
161 state.pushString(state.str[state.stringStart : i-1])
[all …]
Dprovider_test.go195 if i, ok := ctx.Module().(*invalidProviderUsageTestModule); ok {
196 ctx.AddDependency(ctx.Module(), nil, i.properties.Deps...)
201 if i, ok := ctx.Module().(*invalidProviderUsageTestModule); ok {
203 module.(*invalidProviderUsageTestModule).parent = i
209 if i, ok := ctx.Module().(*invalidProviderUsageTestModule); ok {
210 if i.properties.Early_mutator_set_of_mutator_provider {
214 if i.properties.Early_mutator_get_of_mutator_provider {
222 if i, ok := ctx.Module().(*invalidProviderUsageTestModule); ok {
223 if i.properties.Early_mutator_set_of_build_actions_provider {
227 if i.properties.Early_mutator_get_of_build_actions_provider {
[all …]
Dglob.go33 for i := range excludes {
34 if g.Excludes[i] != excludes[i] {
90 sort.Slice(keys, func(i, j int) bool {
91 if keys[i].pattern != keys[j].pattern {
92 return keys[i].pattern < keys[j].pattern
94 return keys[i].excludes < keys[j].excludes
98 for i, key := range keys {
99 globs[i] = c.globs[key]
/build/soong/ui/terminal/
Dutil.go74 i := bytes.IndexByte(read, 0x1b)
76 if i == -1 || i+1 >= len(read) {
82 if read[i+1] != '[' {
83 write, read = advance(write, read, i+1)
88 write, read = advance(write, read, i)
91 i = bytes.IndexFunc(read, func(r rune) bool {
94 if i == -1 {
96 i = len(read) - 1
100 i = i + 1
103 read = read[i:]
[all …]
/build/soong/third_party/zip/
Dzip_test.go28 for i := 0; i < nFiles; i++ {
30 Name: fmt.Sprintf("%d.dat", i),
34 t.Fatalf("creating file %d: %v", i, err)
48 for i := 0; i < nFiles; i++ {
49 want := fmt.Sprintf("%d.dat", i)
50 if zr.File[i].Name != want {
51 t.Fatalf("File(%d) = %q, want %q", i, zr.File[i].Name, want)
169 skipParts := sort.Search(len(r.buf), func(i int) bool {
170 part := &r.buf[i]
178 for i := skipBytes; i < part.n; i++ {
[all …]
/build/soong/androidmk/parser/
Dparser_test.go53 for i := range got {
54 if got[i].Dump() != test.out[i].Dump() {
56 i, test.out[i], test.out[i].Dump(), got[i], got[i].Dump())
/build/soong/cmd/diff_target_files/
Dcompare.go101 i := 0
106 for i < len(a) && j < len(b) {
107 if a[i].Name == b[j].Name {
108 if a[i].UncompressedSize64 != b[j].UncompressedSize64 || a[i].CRC32 != b[j].CRC32 {
109 diff.modified = append(diff.modified, [2]*ZipArtifactFile{a[i], b[j]})
111 i++
113 } else if a[i].Name < b[j].Name {
115 diff.onlyInA = append(diff.onlyInA, a[i])
116 i++
123 for i < len(a) {
[all …]
Dallow_list.go106 for i := 0; i < len(l); i++ {
108 if match, err := Match(w.path, l[i][0].Name); err != nil {
111 … if match, err := diffIgnoringMatchingLines(l[i][0], l[i][1], w.ignoreMatchingLines); err != nil {
114 l = append(l[:i], l[i+1:]...)
115 i--
131 for i := 0; i < len(l); i++ {
133 if match, err := Match(w.path, l[i].Name); err != nil {
136 l = append(l[:i], l[i+1:]...)
137 i--
/build/blueprint/proptools/
Dtypeequal.go65 for i := 0; i < v1.NumField(); i++ {
66 v1 := v1.Field(i)
67 v2 := v2.Field(i)
97 for i := 0; i < v.NumField(); i++ {
98 v := v.Field(i)
/build/soong/bp2build/
Dconversion_test.go58 sort.Slice(files, func(i, j int) bool {
59 if dir1, dir2 := files[i].Dir, files[j].Dir; dir1 == dir2 {
60 return files[i].Basename < files[j].Basename
67 for i := range files {
68 actualFile, expectedFile := files[i], expectedFilePaths[i]
100 for i := range files {
101 actualFile, expectedFile := files[i], expectedFilePaths[i]
/build/make/tools/fs_config/
Dfs_config.c116 int i; in main() local
117 for (i = 0; i < 1024 && buffer[i]; ++i) { in main()
118 switch (buffer[i]) { in main()
120 buffer[i-is_dir] = '\0'; in main()
121 if (i == 0) { in main()
124 i = 1025; in main()
/build/soong/cc/
Dtest_data_test.go143 for i := range got {
144 if i >= len(test.data) {
148 path := filepath.Join(test.data[i].path, test.data[i].file)
149 if test.data[i].file != got[i].Rel() ||
150 path != got[i].String() {
152 path, test.data[i].file,
153 got[i].String(), got[i].Rel())
/build/bazel/examples/android_app/java/com/app/
Djni_dep.cc27 for (int i = 0; i < len; i++) { in NewStringLatin1() local
28 str1[i] = (unsigned char)str[i]; in NewStringLatin1()
/build/make/tools/releasetools/
Drangelib.py46 for i in range(0, len(self.data), 2):
47 yield self.data[i:i+2]
99 raw = [int(i) for i in text.split(',')]
135 for i in source:
136 if i == last:
141 last = i
147 for i in range(0, len(self.data), 2):
148 s, e = self.data[i:i+2]
157 return str(len(self.data)) + "," + ",".join(str(i) for i in self.data)
243 for i, p in enumerate(self.data):
[all …]
/build/blueprint/bootstrap/bpdoc/
Dproperties.go38 for i, prop := range ret.Properties {
39 ret.Properties[i] = prop.Clone()
48 for i, prop := range ret.Properties {
49 ret.Properties[i] = prop.Clone()
68 for i := range properties {
69 prop := &properties[i]
104 for i := range a {
105 if a[i] != b[i] {
118 for i := range a {
119 if a[i] != b[i] {
[all …]
/build/make/tools/ziptime/
DZipFile.cpp79 int i; in rewriteCentralDir() local
121 for (i = readAmount - 4; i >= 0; i--) { in rewriteCentralDir()
122 if (buf[i] == 0x50 && in rewriteCentralDir()
123 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature) in rewriteCentralDir()
128 if (i < 0) { in rewriteCentralDir()
135 result = mEOCD.readBuf(buf + i, readAmount - i); in rewriteCentralDir()
137 LOG("Failure reading %ld bytes of EOCD values", readAmount - i); in rewriteCentralDir()
/build/make/tools/product_config/src/com/android/build/config/
DRegexSet.java29 for (int i = 0; i < patterns.length; i++) { in RegexSet()
30 mPatterns[i] = Pattern.compile(patterns[i]); in RegexSet()

12345678910>>...13