/build/blueprint/parser/ |
D | sort.go | 39 for i := 0; i < len(list.Values); i++ { 41 line := list.Values[i].Pos().Line 43 for j = i + 1; j < len(list.Values); j++ { 54 sortSubList(list.Values[i:j], nextPos, file) 55 i = j - 1 60 for i := 0; i < len(list.Values); i++ { 62 line := list.Values[i].Pos().Line 64 for j = i + 1; j < len(list.Values); j++ { 71 if !subListIsSorted(list.Values[i:j]) { 74 i = j - 1 [all …]
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | search_autocomplete.js | 34 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 …]
|
D | android-developer-resource-browser.js | 25 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 …]
|
D | jquery-1.6.2.min.js | 16 …i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&… function 17 …i.sort());if(!!e&&!f.event.customEvent[h]||!!f.event.global[h]){c=typeof c=="object"?c[f.expando]?…
|
/build/make/tools/ |
D | findleaves.py | 40 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/soong/android/ |
D | expand.go | 47 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 …]
|
D | util.go | 47 for i, s := range strs { 48 if i != 0 { 72 for i, s := range strs { 73 if i != 0 { 111 for i, l := range list { 113 return i 156 for i, l := range list { 158 return i 188 i := IndexList(s, list) 189 if i == -1 { [all …]
|
/build/blueprint/ |
D | ninja_strings.go | 116 for i := 0; i < len(str); i++ { 117 r := rune(str[i]) 118 state, err = state(parseState, i, r) 132 func parseFirstRuneState(state *parseState, i int, r rune) (stateFunc, error) { 136 return parseStringState(state, i, r) 139 func parseStringState(state *parseState, i int, r rune) (stateFunc, error) { 142 state.varStart = i + 1 146 state.pushString(state.str[state.stringStart:i]) 154 func parseDollarStartState(state *parseState, i int, r rune) (stateFunc, error) { 160 state.pushString(state.str[state.stringStart : i-1]) [all …]
|
/build/soong/ui/terminal/ |
D | util.go | 74 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/ |
D | zip_test.go | 28 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/cmd/diff_target_files/ |
D | compare.go | 101 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 …]
|
D | allow_list.go | 106 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/soong/androidmk/parser/ |
D | parser_test.go | 53 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())
|
D | make_strings.go | 94 for i := range ms.Strings[1:] { 95 ret += ms.Variables[i].Value(scope) 96 ret += unescape(ms.Strings[i+1]) 107 for i := range ms.Strings[1:] { 108 ret += ms.Variables[i].Dump() 109 ret += ms.Strings[i+1] 142 var i int 144 for i, s = range ms.Strings { 164 if i < len(ms.Strings)-1 { 165 curMs.appendVariable(ms.Variables[i]) [all …]
|
/build/make/tools/droiddoc/templates-ndk/assets/js/ |
D | docs.js | 48 for (var i=0; i<GCM_DATA.length; i++) { 49 GOOGLE_DATA.push({id:start+i, label:GCM_DATA[i].label, 50 link:GCM_DATA[i].link, type:GCM_DATA[i].type}); 169 for (var i = 0; i < upDirs; i++) { 172 for (var i = 0; i < upDirs; i++) { 173 relativePagePathParts.push(pathParts[pathParts.length - (upDirs - i) - 1]); 1223 function(i) { argument 1366 $links.each(function(i){ // for each link with a translation argument 1551 for (var i=0;i<tl;i++) { 1552 var li = $("<li>"+i+"</li>"); [all …]
|
D | prettify.js | 3 …i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c… 4 …i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.… 5 (j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");i… 8 …i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0… 12 …i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[… 22 …'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
|
/build/blueprint/bootstrap/bpdoc/ |
D | properties.go | 38 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 …]
|
D | bpdoc.go | 99 …sort.Slice(pkg.ModuleTypes, func(i, j int) bool { return pkg.ModuleTypes[i].Name < pkg.ModuleTypes… 102 sort.Slice(pkgs, func(i, j int) bool { return pkgs[i].Path < pkgs[j].Path }) 161 for i := 0; i < structValue.NumField(); i++ { 162 field := typ.Field(i) 171 fieldValue := structValue.Field(i) 209 for i := 0; i < len(mt.PropertyStructs); i++ { 210 if len(mt.PropertyStructs[i].Properties) == 0 { 211 mt.PropertyStructs = append(mt.PropertyStructs[:i], mt.PropertyStructs[i+1:]...) 212 i-- 237 for i := range *to { [all …]
|
/build/blueprint/proptools/ |
D | typeequal.go | 65 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/make/tools/releasetools/ |
D | rangelib.py | 46 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 …]
|
D | check_target_files_signatures | 140 certs = [os.path.join(dirpath, i) 141 for i in filenames if i.endswith(".x509.pem")] 145 for i in to_load: 146 with open(i) as f: 148 name, _ = os.path.splitext(i) 424 for i in all_apks: 425 if i in self.apks: 426 if i in other.apks: 428 if self.apks[i].cert_digests != other.apks[i].cert_digests: 429 by_digestpair.setdefault((other.apks[i].cert_digests, [all …]
|
D | check_target_files_signatures.py | 140 certs = [os.path.join(dirpath, i) 141 for i in filenames if i.endswith(".x509.pem")] 145 for i in to_load: 146 with open(i) as f: 148 name, _ = os.path.splitext(i) 424 for i in all_apks: 425 if i in self.apks: 426 if i in other.apks: 428 if self.apks[i].cert_digests != other.apks[i].cert_digests: 429 by_digestpair.setdefault((other.apks[i].cert_digests, [all …]
|
/build/soong/cc/ |
D | test_data_test.go | 143 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/make/tools/fs_config/ |
D | fs_config.c | 116 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/make/tools/ziptime/ |
D | ZipFile.cpp | 79 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()
|