Home
last modified time | relevance | path

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

123

/build/tools/isprelinked/
Ddebug.c9 int i, last; in dump_hex_buffer() local
12 for (i = last = 0; i < len; i++) { in dump_hex_buffer()
14 if (i && !(i % 4)) fprintf(s, " "); in dump_hex_buffer()
15 if (i && !(i % 8)) fprintf(s, " "); in dump_hex_buffer()
17 if (i && !(i % elsize)) fprintf(s, " "); in dump_hex_buffer()
20 if (i && !(i % NUM_COLS)) { in dump_hex_buffer()
21 while (last < i) { in dump_hex_buffer()
30 fprintf(s, " (%d)\n", i); in dump_hex_buffer()
32 fprintf(s, "%02x", (unsigned char)pchr[i]); in dump_hex_buffer()
34 if (i && (i % NUM_COLS)) fputs("\n", s); in dump_hex_buffer()
/build/tools/soslim/
Ddebug.c11 int i, last;
14 for (i = last = 0; i < len; i++) {
16 if (i && !(i % 4)) fprintf(s, " ");
17 if (i && !(i % 8)) fprintf(s, " ");
19 if (i && !(i % elsize)) fprintf(s, " ");
22 if (i && !(i % NUM_COLS)) {
23 while (last < i) {
32 fprintf(s, " (%d)\n", i);
34 fprintf(s, "%02x", (unsigned char)pchr[i]);
36 if (i && (i % NUM_COLS)) fputs("\n", s);
/build/tools/lsd/
Ddebug.c10 int i, last; in dump_hex_buffer() local
13 for (i = last = 0; i < len; i++) { in dump_hex_buffer()
15 if (i && !(i % 4)) fprintf(s, " "); in dump_hex_buffer()
16 if (i && !(i % 8)) fprintf(s, " "); in dump_hex_buffer()
19 if (i && !(i % elsize)) fprintf(s, " "); in dump_hex_buffer()
22 if (i && !(i % NUM_COLS)) { in dump_hex_buffer()
23 while (last < i) { in dump_hex_buffer()
32 fprintf(s, " (%d)\n", i); in dump_hex_buffer()
34 fprintf(s, "%02x", (unsigned char)pchr[i]); in dump_hex_buffer()
36 if (i && (i % NUM_COLS)) fputs("\n", s); in dump_hex_buffer()
/build/tools/apriori/
Ddebug.c9 int i, last; in dump_hex_buffer() local
13 for (i = last = 0; i < len; i++) { in dump_hex_buffer()
15 if (i && !(i % 4)) fprintf(s, " "); in dump_hex_buffer()
16 if (i && !(i % 8)) fprintf(s, " "); in dump_hex_buffer()
18 if (i && !(i % elsize)) fprintf(s, " "); in dump_hex_buffer()
21 if (i && !(i % NUM_COLS)) { in dump_hex_buffer()
22 while (last < i) { in dump_hex_buffer()
31 fprintf(s, " (%d)\n%p: ", i, b); in dump_hex_buffer()
33 fprintf(s, "%02x", (unsigned char)pchr[i]); in dump_hex_buffer()
35 if (i && (i % NUM_COLS)) fputs("\n", s); in dump_hex_buffer()
/build/tools/droiddoc/templates/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 …]
/build/tools/fs_config/
Dfs_config.c48 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/libs/host/
Dpseudolocalize.cpp77 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()
/build/tools/bin2asm/
Dicudata.c12 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()
/build/tools/droiddoc/src/
DClassInfo.java329 for (int i=0; i<methods.length; i++) { in constructors()
330 MethodInfo m = methods[i]; in constructors()
436 for (int i=0; i<N; i++) { in addFields()
437 FieldInfo f = fields[i]; in addFields()
450 for (int i=0; i<N; i++) { in fields()
451 addFields(interfaces[i], all); in fields()
461 for (int i=0; i<N; i++) { in fields()
462 FieldInfo f = fields[i]; in fields()
498 for (int i=0; i<selfFields.length; i++) { in selfFields()
499 FieldInfo f = selfFields[i]; in selfFields()
[all …]
DMethodInfo.java48 for (ClassInfo i: ifaces) { in addInterfaces()
49 queue.add(i); in addInterfaces()
51 for (ClassInfo i: ifaces) { in addInterfaces()
52 addInterfaces(i.interfaces(), queue); in addInterfaces()
85 for (ClassInfo i: ifaces) { in addRealInterfaces()
86 queue.add(i); in addRealInterfaces()
87 if (i.realSuperclass() != null && i.realSuperclass().isAbstract()) { in addRealInterfaces()
88 queue.add(i.superclass()); in addRealInterfaces()
91 for (ClassInfo i: ifaces) { in addRealInterfaces()
92 addInterfaces(i.realInterfaces(), queue); in addRealInterfaces()
[all …]
DConverter.java33 int N, i; in makeInfo() local
38 for (i=0; i<N; i++) { in makeInfo()
39 Converter.obtainClass(classDocs[i]); in makeInfo()
44 i = mClassesNeedingInit.size()-1; in makeInfo()
45 ClassNeedingInit clni = mClassesNeedingInit.get(i); in makeInfo()
46 mClassesNeedingInit.remove(i); in makeInfo()
154 for (int i=0; i<len; i++) { in convertTags()
155 Tag t = tags[i]; in convertTags()
161 out[i] = Converter.convertSeeTag((SeeTag)t, base); in convertTags()
164 out[i] = Converter.convertThrowsTag((ThrowsTag)t, base); in convertTags()
[all …]
DSourcePositionInfo.java52 for (int i=0; i<index; i++) { in add()
53 char c = str.charAt(i); in add()
69 for (int i=str.length()-1; i>=0; i--) { in findBeginning()
70 char c = str.charAt(i); in findBeginning()
DSampleTagInfo.java102 int i = 0; in getTrimString() local
104 for (; i<len; i++) { in getTrimString()
105 char c = line.charAt(i); in getTrimString()
110 if (i == len) { in getTrimString()
113 return line.substring(0, i); in getTrimString()
164 for (int i=0; i<trimLength; i++) { in loadInclude()
165 if (line.charAt(i) != trimString.charAt(i)){ in loadInclude()
176 for (int i=0; i<trailing; i++) { in loadInclude()
236 for (int i=0; i<trailing; i++) { in readFile()
DThrowsTagInfo.java72 for (int i=0; i<tags.length; i++) { in makeHDF()
73 TagInfo.makeHDF(data, base + '.' + i + ".comment", in makeHDF()
74 tags[i].commentTags()); in makeHDF()
75 if (tags[i].exceptionType() != null) { in makeHDF()
76 tags[i].exceptionType().makeHDF(data, base + "." + i + ".type"); in makeHDF()
DTypeInfo.java72 for (int i=0; i<args.length; i++) { in typeArgumentsName()
73 result += args[i].fullName(typeVars); in typeArgumentsName()
74 if (i != args.length-1) { in typeArgumentsName()
110 for (int i=1; i<mSuperBounds.length; i++) { in fullNameNoDimension()
111 fullName += " & " + mSuperBounds[i].fullName(typeVars); in fullNameNoDimension()
116 for (int i=1; i<mExtendsBounds.length; i++) { in fullNameNoDimension()
117 fullName += " & " + mExtendsBounds[i].fullName(typeVars); in fullNameNoDimension()
188 for (int i=0; i<N; i++) { in makeHDF()
189 types[i].makeHDFRecursive(data, base + "." + i, qualified, false, typeVariables); in makeHDF()
DDroidDoc.java311 int i=0; in readTemplateSettings() local
313 String k = data.getValue("template.escape." + i + ".key", ""); in readTemplateSettings()
314 String v = data.getValue("template.escape." + i + ".value", ""); in readTemplateSettings()
319 System.err.println("template.escape." + i + ".key must have a length of 1: " + k); in readTemplateSettings()
323 i++; in readTemplateSettings()
384 for (int i=0; i<N; i++) { in escape()
385 char c = s.charAt(i); in escape()
391 if (begin != i) { in escape()
392 b.append(s.substring(begin, i)); in escape()
395 begin = i+1; in escape()
[all …]
DParameterInfo.java61 for (int i=0; i<params.length; i++) { in makeHDF()
62 params[i].makeHDF(data, base + "." + i, in makeHDF()
63 isVararg && (i == params.length - 1), typeVariables); in makeHDF()
DNavTree.java93 for (int i=0; i<N; i++) { in renderString()
94 char c = s.charAt(i); in renderString()
99 for (int j=0; i<4; i++) { in renderString()
124 for (int i=0; i<N; i++) { in renderChildren()
125 list.get(i).render(buf); in renderChildren()
126 if (i != N-1) { in renderChildren()
DClearPage.java65 for (int i=0; i<N; i++) { in countSlashes()
66 if (s.charAt(i) == '/') { in countSlashes()
91 for (int i=0; i<slashcount; i++) { in write()
106 int i=0; in write() local
109 data.setValue("hdf.loadpaths." + i, dir); in write()
110 i++; in write()
115 data.setValue("hdf.loadpaths." + i, dir); in write()
116 i++; in write()
119 data.setValue("hdf.loadpaths." + i, "templates"); in write()
/build/tools/apicheck/src/com/android/apicheck/
DSourcePositionInfo.java56 for (int i=0; i<index; i++) { in add()
57 char c = str.charAt(i); in add()
73 for (int i=str.length()-1; i>=0; i--) { in findBeginning()
74 char c = str.charAt(i); in findBeginning()
109 for (int i = 0; i < source.length(); i++) { in fromXml()
110 if (source.charAt(i) == ':') { in fromXml()
111 return new SourcePositionInfo(source.substring(0, i), in fromXml()
112 Integer.parseInt(source.substring(i+1)), 0); in fromXml()
/build/tools/
Dfindleaves.py39 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 …]
Dwarn.py424 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/
Dto565.c45 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/
Dcheck_target_files_signatures127 certs = [os.path.join(dirpath, i)
128 for i in filenames if i.endswith(".x509.pem")]
132 for i in to_load:
133 f = open(i)
136 name, _ = os.path.splitext(i)
290 x = [(i.cert, i.package, i) for i in apks]
349 for i in all:
350 if i in self.apks:
351 if i in other.apks:
353 if self.apks[i].cert != other.apks[i].cert:
[all …]
Dota_from_target_files121 for i in self.children:
122 i.Dump(indent=indent+1)
145 input = "".join(["%s%s\n" % (i.name, suffix[i.dir])
146 for i in cls.ITEMS.itervalues() if i.name])
153 i = cls.ITEMS.get(name, None)
154 if i is not None:
155 i.uid = int(uid)
156 i.gid = int(gid)
157 i.mode = int(mode, 8)
158 if i.dir:
[all …]

123