/build/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-reference.js | 40 for (var i = maxLevel-1; i >= 0; i--) { 41 var option = $("<option />").attr("value",""+SINCE_DATA[i]).append(""+SINCE_DATA[i]); 82 apis.each(function(i) { argument 197 for (var i in mom.children_data) { 198 var node_data = mom.children_data[i]; 199 mom.children[i] = new_node(me, mom, node_data[0], node_data[1], 235 for (var i in nodes) { 236 var d = nodes[i]; 238 return new Array(i); 243 return (new Array(i).concat(result)); [all …]
|
D | prettify.js | 12 ….charAt(0)===ub){d=d.substring(1);g=16}var i=parseInt(d,g);isNaN(i)||(a=a.substring(0,b)+String.fr… 13 …i=a.firstChild;i;i=i.nextSibling)W(i,b);if(a.firstChild||!/^(?:br|link|img)$/.test(c))b.push(zb,c,… 17 …ring.fromCharCode(B&-33,B|32)+Tb})}return f.join(P)}var w=[];g=0;for(i=a.length;g<i;++g){m=a[g];if… 18 …n function(c){for(var d=r,g=0,i=0,m=c.length;i<m;++i){var l=c.charAt(i);switch(l){case ic:d||(d=[]… 19 …i+1;break;case jc:b=0;break;default:++b}}if(!d)return c;d.push(c.substring(g));return d.join(P)}}v… 20 …n)if(w[1]===ra){if(--q===0)break a}else++q}if(v<m){g.push(d,b.slice(i,v+1).join(P));i=v}else g.pus… 21 …erty(k)){l.push(s);n[k]=r}}l.push(/[\0-\uffff]/);d=Na(l)})();var g=b.length,i=function(m){for(var … function 22 …ing(5);ia(n+x,k.substring(0,E),i,q);ia(n+x+E,B,Ra(D,B),q);ia(n+x+A,k.substring(A),i,q)}else q.push…
|
/build/tools/droiddoc/templates-sdk/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 | android-developer-reference.js | 47 for (var i = maxLevel-1; i >= 0; i--) { 48 var option = $("<option />").attr("value",""+SINCE_DATA[i]).append(""+SINCE_DATA[i]); 89 apis.each(function(i) { argument 218 for (var i in mom.children_data) { 219 var node_data = mom.children_data[i]; 220 mom.children[i] = new_node(me, mom, node_data[0], node_data[1], 256 for (var i in nodes) { 257 var d = nodes[i]; 259 return new Array(i); 264 return (new Array(i).concat(result)); [all …]
|
D | prettify.js | 12 ….charAt(0)===ub){d=d.substring(1);g=16}var i=parseInt(d,g);isNaN(i)||(a=a.substring(0,b)+String.fr… 13 …i=a.firstChild;i;i=i.nextSibling)W(i,b);if(a.firstChild||!/^(?:br|link|img)$/.test(c))b.push(zb,c,… 17 …ring.fromCharCode(B&-33,B|32)+Tb})}return f.join(P)}var w=[];g=0;for(i=a.length;g<i;++g){m=a[g];if… 18 …n function(c){for(var d=r,g=0,i=0,m=c.length;i<m;++i){var l=c.charAt(i);switch(l){case ic:d||(d=[]… 19 …i+1;break;case jc:b=0;break;default:++b}}if(!d)return c;d.push(c.substring(g));return d.join(P)}}v… 20 …n)if(w[1]===ra){if(--q===0)break a}else++q}if(v<m){g.push(d,b.slice(i,v+1).join(P));i=v}else g.pus… 21 …erty(k)){l.push(s);n[k]=r}}l.push(/[\0-\uffff]/);d=Na(l)})();var g=b.length,i=function(m){for(var … function 22 …ing(5);ia(n+x,k.substring(0,E),i,q);ia(n+x+E,B,Ra(D,B),q);ia(n+x+A,k.substring(A),i,q)}else q.push…
|
D | android-developer-docs.js | 188 for (var i = 0; i < topics.length; i++) { 192 .attr('href', toRoot + "resources/browser.html?tag=" + topics[i].name) 195 .html(topics[i].title) 205 var i, j; 206 for (i = 0; i < ANDROID_RESOURCES.length; i++) { 207 resource = ANDROID_RESOURCES[i]; 220 for (i = 0; i < resources.length; i++) { 221 resource = resources[i]; 459 function(i) { argument 536 for (i=0; i < nodes.length; i++) { // for each node in this language [all …]
|
/build/libs/host/ |
D | pseudolocalize.cpp | 77 for (size_t i=0; i<I; i++) { in pseudolocalize_string() local 78 char c = s[i]; in pseudolocalize_string() 80 if (i<I-1) { in pseudolocalize_string() 82 i++; in pseudolocalize_string() 83 c = s[i]; in pseudolocalize_string() 87 result += string(s+i, 5); in pseudolocalize_string() 88 i += 4; in pseudolocalize_string()
|
D | list.java | 28 for (int i=0; i<array.length; i++) { in main() 29 int b = array[i]; in main()
|
/build/tools/fs_config/ |
D | fs_config.c | 48 int i; in main() local 49 for (i = 0; i < 1024 && buffer[i]; ++i) { in main() 50 switch (buffer[i]) { in main() 52 buffer[i-is_dir] = '\0'; in main() 53 i = 1025; in main()
|
/build/tools/bin2asm/ |
D | icudata.c | 12 size_t i; in main() local 18 for (i=0; i<argc; i++) { in main() 19 fprintf(stderr, " '%s'", argv[i]); in main() 50 for (i = 0; i < amt; i++) { in main() 54 printf("0x%02x", buf[i]); in main()
|
D | data | 12 size_t i; 39 for (i = 0; i < amt; i++) { 40 printf((col == 0) ? ".byte %3d" : ",%3d", buf[i]);
|
/build/tools/ |
D | findleaves.py | 39 i = 0 40 while i < len(dirs): 41 if dirs[i] in prune: 42 del dirs[i] 44 i += 1 72 i=1 73 while i<len(argv) and len(argv[i])>2 and argv[i][0:2] == "--": 74 arg = argv[i] 87 i += 1 88 if len(argv)-i < 2: # need both <dirlist> and <filename> [all …]
|
D | warn.py | 424 for i in text[1:]: 425 output(i + '<br>') 440 for i in warnpatterns: 441 if i['severity'] == severity.UNKNOWN: 442 unknown += len(i['members']) 443 elif i['severity'] != severity.SKIP: 444 known += len(i['members']) 455 for i in cat['patterns']: 456 pats += i 469 for i in warnpatterns: [all …]
|
/build/tools/rgb2565/ |
D | to565.c | 45 int i = 0; in to_565_raw_dither() local 56 int r = in[0] + error[i*3+0]; in to_565_raw_dither() 59 int g = in[1] + error[i*3+1]; in to_565_raw_dither() 62 int b = in[2] + error[i*3+2]; in to_565_raw_dither() 69 next_error[(i-1)*3+ch] += e * 3 / 16; \ in to_565_raw_dither() 70 next_error[(i)*3+ch] += e * 5 / 16; \ in to_565_raw_dither() 71 next_error[(i+1)*3+ch] += e * 1 / 16; \ in to_565_raw_dither() 72 error[(i+1)*3+ch] += e - ((e*1/16) + (e*3/16) + (e*5/16)); \ in to_565_raw_dither() 86 ++i; in to_565_raw_dither() 87 if (i == width) { in to_565_raw_dither() [all …]
|
/build/tools/releasetools/ |
D | edify_generator.py | 78 % i for i in fp]) + 119 "".join([', "%s"' % (i,) for i in sha1]) + 126 "".join([', "%s"' % (i,) for i in sha1]) + 152 for i in comment.split("\n"): 153 self.script.append("# " + i) 175 cmd = "delete(" + ",\0".join(['"%s"' % (i,) for i in file_list]) + ");" 186 for i in range(0, len(patchpairs), 2): 187 cmd.append(',\0%s, package_extract_file("%s")' % patchpairs[i:i+2]) 228 ",\0".join(['"' + i + '"' for i in sorted(links)]) + ");") 234 ', '.join(['"' + i[0] + '", "' + i[1] + '"' for i in file_list]) + [all …]
|
D | check_target_files_signatures | 131 certs = [os.path.join(dirpath, i) 132 for i in filenames if i.endswith(".x509.pem")] 136 for i in to_load: 137 f = open(i) 140 name, _ = os.path.splitext(i) 347 for i in all: 348 if i in self.apks: 349 if i in other.apks: 351 if not (self.apks[i].cert & other.apks[i].cert): 352 by_certpair.setdefault((other.apks[i].certs, [all …]
|
D | ota_from_target_files | 137 for i in self.children: 138 i.Dump(indent=indent+1) 161 input = "".join(["%s%s\n" % (i.name, suffix[i.dir]) 162 for i in cls.ITEMS.itervalues() if i.name]) 169 i = cls.ITEMS.get(name, None) 170 if i is not None: 171 i.uid = int(uid) 172 i.gid = int(gid) 173 i.mode = int(mode, 8) 174 if i.dir: [all …]
|
D | sign_target_files_apks | 141 maxsize = max([len(os.path.basename(i.filename)) 142 for i in input_tf_zip.infolist() 143 if i.filename.endswith('.apk')]) 302 for i in a.split(","): 303 i = i.strip() 304 if not i or i[0] not in "-+": 305 raise ValueError("Bad tag change '%s'" % (i,)) 306 new.append(i[0] + i[1:].strip())
|
D | common.py | 184 for i in options: 185 if i.startswith("length="): 186 p.length = int(i[7:]) 188 print "%s: unknown option \"%s\"" % (p.mount_point, i) 505 for i in OPTIONS.tempfiles: 506 if os.path.isdir(i): 507 shutil.rmtree(i) 509 os.remove(i) 533 for i in items: 534 if i not in current or not current[i]: [all …]
|
/build/tools/zipalign/ |
D | ZipAlign.cpp | 54 for (int i = 0; i < numEntries; i++) { in copyAndAlign() local 58 pEntry = pZin->getEntryByIndex(i); in copyAndAlign() 60 fprintf(stderr, "ERROR: unable to retrieve entry %d\n", i); in copyAndAlign() 159 for (int i = 0; i < numEntries; i++) { in verify() local 160 pEntry = zipFile.getEntryByIndex(i); in verify()
|
D | ZipFile.cpp | 210 int i; in readCentralDir() local 252 for (i = readAmount - 4; i >= 0; i--) { in readCentralDir() 253 if (buf[i] == 0x50 && in readCentralDir() 254 ZipEntry::getLongLE(&buf[i]) == EndOfCentralDir::kSignature) in readCentralDir() 256 LOGV("+++ Found EOCD at buf+%d\n", i); in readCentralDir() 260 if (i < 0) { in readCentralDir() 267 result = mEOCD.readBuf(buf + i, readAmount - i); in readCentralDir() 269 LOGD("Failure reading %ld bytes of EOCD values", readAmount - i); in readCentralDir() 901 int i, count; in flush() local 918 for (i = 0; i < count; i++) { in flush() [all …]
|
/build/tools/acp/ |
D | acp.c | 44 int i, cc; in process() local 114 for (i = 0; i < argc-1; i++) { in process() 122 srcLen = strlen(argv[i]); in process() 124 memcpy(src, argv[i], srcLen+1); in process()
|
/build/core/ |
D | node_fns.mk | 159 $(foreach i,$(_eiv_i), \ 162 $(call uniq-word,$($(_eiv_tv)),$(INHERIT_TAG)$(i))) \ 166 $(patsubst $(INHERIT_TAG)$(i),$($(1).$(i).$(v)), \ 169 $(eval $(1).$(i).$(v) :=) \
|