Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 49) sorted by relevance

12

/build/tools/apriori/
Ddebug.c7 int dump_hex_buffer(FILE *s, void *b, size_t len, size_t elsize) { in dump_hex_buffer() argument
11 fputc('\n', s); in dump_hex_buffer()
12 fprintf(s, "%p: ", b); 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()
24 fputc(pchr[last], s); in dump_hex_buffer()
26 fputc('.', s); 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()
[all …]
/build/tools/lsd/
Ddebug.c7 int dump_hex_buffer(FILE *s, void *b, size_t len, size_t elsize) in dump_hex_buffer() argument
12 fputc('\n', s); 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()
25 fputc(pchr[last], s); in dump_hex_buffer()
27 fputc('.', s); 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/isprelinked/
Ddebug.c7 int dump_hex_buffer(FILE *s, void *b, size_t len, size_t elsize) { in dump_hex_buffer() argument
11 fputc('\n', s); 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()
23 fputc(pchr[last], s); in dump_hex_buffer()
25 fputc('.', s); 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.c9 int dump_hex_buffer(FILE *s, void *b, size_t len, size_t elsize) {
13 fputc('\n', s);
16 if (i && !(i % 4)) fprintf(s, " ");
17 if (i && !(i % 8)) fprintf(s, " ");
19 if (i && !(i % elsize)) fprintf(s, " ");
25 fputc(pchr[last], s);
27 fputc('.', s);
32 fprintf(s, " (%d)\n", i);
34 fprintf(s, "%02x", (unsigned char)pchr[i]);
36 if (i && (i % NUM_COLS)) fputs("\n", s);
Dmain.c181 struct stat s; in main() local
182 FAILIF(stat(symsfile_name, &s) < 0, in main()
184 if (s.st_size) { in main()
186 build_symfilter(symsfile_name, elf, &symfilter, s.st_size); in main()
/build/tools/dexpreopt/afar/
Dmain.c77 _eject(struct stat *s, char *out, int olen, char *data, size_t datasize) in _eject() argument
154 struct stat s; in _archive() local
160 if (lstat(in, &s)) { in _archive()
164 if (S_ISREG(s.st_mode)) { in _archive()
173 tmp = (char*) malloc(s.st_size); in _archive()
175 die("cannot allocate %d bytes", s.st_size); in _archive()
178 if (read(fd, tmp, s.st_size) != s.st_size) { in _archive()
179 die("cannot read %d bytes", s.st_size); in _archive()
182 _eject(&s, in, ilen, tmp, s.st_size); in _archive()
186 } else if (S_ISDIR(s.st_mode)) { in _archive()
[all …]
/build/core/
Dchecktree22 def split_perforce_parts(s): argument
23 spaces = ((s.count(" ") + 1) / 3) * 2
26 pos = s.find(" ", pos) + 1
28 return s[pos:]
30 def quotate(s): argument
31 return '"' + s + '"'
41 def matchit(s): argument
42 m = regex_compiled.match(s)
47 def filterit(s): argument
48 if filt_compiled.match(s):
[all …]
Dbinary.mk176 $(transform-$(PRIVATE_HOST)s-to-o)
180 gen_s_sources := $(filter %.s,$(LOCAL_GENERATED_SOURCES))
181 gen_s_objects := $(gen_s_sources:%.s=%.o)
184 $(gen_s_objects): $(intermediates)/%.o: $(intermediates)/%.s $(LOCAL_ADDITIONAL_DEPENDENCIES)
185 $(transform-$(PRIVATE_HOST)s-to-o-no-deps)
253 $(transform-$(PRIVATE_HOST)s-to-o)
257 asm_sources_s := $(filter %.s,$(LOCAL_SRC_FILES))
258 asm_objects_s := $(addprefix $(intermediates)/,$(asm_sources_s:.s=.o))
261 $(asm_objects_s): $(intermediates)/%.o: $(TOPDIR)$(LOCAL_PATH)/%.s $(LOCAL_ADDITIONAL_DEPENDENCIES)
262 $(transform-$(PRIVATE_HOST)s-to-o-no-deps)
/build/tools/droiddoc/src/
DPackageInfo.java45 String s = mName; in htmlPage() local
46 s = s.replace('.', '/'); in htmlPage()
47 s += "/package-summary.html"; in htmlPage()
48 s = DroidDoc.javadocDir + s; in htmlPage()
49 return s; in htmlPage()
53 String s = mName; in fullDescriptionHtmlPage() local
54 s = s.replace('.', '/'); in fullDescriptionHtmlPage()
55 s += "/package-descr.html"; in fullDescriptionHtmlPage()
56 s = DroidDoc.javadocDir + s; in fullDescriptionHtmlPage()
57 return s; in fullDescriptionHtmlPage()
DHierarchy.java42 TreeSet<String> s = nodes.get(sname); in makeHierarchy() local
43 if (s == null) { in makeHierarchy()
44 s = new TreeSet<String>(); in makeHierarchy()
45 nodes.put(sname, s); in makeHierarchy()
47 s.add(name); in makeHierarchy()
88 for (String s: derived) { in depth()
89 int n = depth(nodes, s); in depth()
143 for (String s: derived) { in recurse()
146 recurse(nodes, s, children.getObj(index), totalDepth, in recurse()
DProofread.java61 public static void write(String s) in write() argument
67 out.write(s); in write()
73 public static void writeIndented(String s) in writeIndented() argument
75 s = s.trim(); in writeIndented()
76 Matcher m = WHITESPACE.matcher(s); in writeIndented()
77 s = m.replaceAll(NEWLINE); in writeIndented()
79 write(s); in writeIndented()
DDroidDoc.java305 public static String escape(String s) { in escape() argument
307 return s; in escape()
311 final int N = s.length(); in escape()
313 char c = s.charAt(i); in escape()
317 b = new StringBuffer(s.length() + mapped.length()); in escape()
320 b.append(s.substring(begin, i)); in escape()
328 b.append(s.substring(begin, N)); in escape()
332 return s; in escape()
337 String s = title; in setPageTitle() local
339 s += " - " + DroidDoc.title; in setPageTitle()
[all …]
DSampleCode.java51 public static String convertExtension(String s, String ext) { in convertExtension() argument
52 return s.substring(0, s.lastIndexOf('.')) + ext; in convertExtension()
58 public static boolean inList(String s, String[] list) { in inList() argument
60 if (s.endsWith(t)) { in inList()
DNavTree.java87 static void renderString(StringBuilder buf, String s) { in renderString() argument
88 if (s == null) { in renderString()
92 final int N = s.length(); in renderString()
94 char c = s.charAt(i); in renderString()
DAttributeInfo.java90 String s = base + ".methods." + i; in makeHDF() local
91 data.setValue(s + ".href", m.htmlPage()); in makeHDF()
92 data.setValue(s + ".name", m.name() + m.prettySignature()); in makeHDF()
DMethodInfo.java341 String s = "("; in prettySignature() local
347 s += t.simpleTypeName(); in prettySignature()
349 s += t.asClassInfo().name(); in prettySignature()
352 s += ','; in prettySignature()
355 s += ')'; in prettySignature()
356 return s; in prettySignature()
527 String s = params[i]; in matchesParams() local
528 int slen = s.length(); in matchesParams()
530 if (!(qn.equals(s) || in matchesParams()
532 && qn.endsWith(s)))) { in matchesParams()
DClearPage.java60 private static int countSlashes(String s) in countSlashes() argument
62 final int N = s.length(); in countSlashes()
65 if (s.charAt(i) == '/') { in countSlashes()
/build/libs/host/
Dpseudolocalize.cpp74 const char* s = source.c_str(); in pseudolocalize_string() local
78 char c = s[i]; in pseudolocalize_string()
83 c = s[i]; in pseudolocalize_string()
87 result += string(s+i, 5); in pseudolocalize_string()
/build/tools/bin2asm/
Ddata21 * that's a syntax error. It also wants globals to be explicitly\n\
25 .globl _%s\n\
28 _%s:\n\
30 .globl %s\n\
33 %s:\n\
/build/tools/applypatch/
Dbsdiff.c232 off_t s,Sf,lenf,Sb,lenb; in bsdiff() local
304 s=0;Sf=0;lenf=0; in bsdiff()
306 if(old[lastpos+i]==new[lastscan+i]) s++; in bsdiff()
308 if(s*2-i>Sf*2-lenf) { Sf=s; lenf=i; }; in bsdiff()
313 s=0;Sb=0; in bsdiff()
315 if(old[pos-i]==new[scan-i]) s++; in bsdiff()
316 if(s*2-i>Sb*2-lenb) { Sb=s; lenb=i; }; in bsdiff()
322 s=0;Ss=0;lens=0; in bsdiff()
325 old[lastpos+lenf-overlap+i]) s++; in bsdiff()
327 old[pos-lenb+i]) s--; in bsdiff()
[all …]
/build/tools/droiddoc/templates/assets/
Dsearch_autocomplete.js139 var s = DATA[i];
140 if (text.length != 0 && s.label.indexOf(text) != -1) {
141 gMatches[matchedCount] = s;
142 if (gSelectedID == s.id) {
Djquery-resizable.min.js12s=Object.prototype.toString;o.extend({noConflict:function(E){l.$=p;if(E){l.jQuery=y}return o},isFu…
40s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resiza… property
/build/tools/kcm/
Dkcm.cpp359 char* s[COLUMNS]; in parse_key_line() local
361 s[i] = (char*)malloc(len+1); in parse_key_line()
380 memcpy(s[i], p1, p - p1); in parse_key_line()
381 s[i][p - p1] = '\0'; in parse_key_line()
394 int errorcount = parse_keycode(filename, lineno, s[0], &out->values[0]); in parse_key_line()
396 errorcount += parse_number(filename, lineno, s[i], &out->values[i]); in parse_key_line()
/build/tools/dexpreopt/
Ddexpreopt.py336 s = data.tostring()
337 i = s.rfind(prompt)
338 s = s[:i]
339 if s[-1:] != '\n':
340 s += '\n'
342 print 'WaitForPrompt saw """\n%s"""' % s
343 return s
777 s = 'dexpreopt: ERROR'
778 if msg: s += ': %s' % msg
/build/tools/acp/
DREADME10 links. This is the default behavior, so it's not all bad, but it
20 - On some systems it's possible to have microsecond-accurate timestamps
31 It's easier and more reliable to write a cp command that works properly.

12