Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 48) 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/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/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/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.mk234 $(transform-$(PRIVATE_HOST)s-to-o)
238 gen_s_sources := $(filter %.s,$(LOCAL_GENERATED_SOURCES))
239 gen_s_objects := $(gen_s_sources:%.s=%.o)
242 $(gen_s_objects): $(intermediates)/%.o: $(intermediates)/%.s $(LOCAL_ADDITIONAL_DEPENDENCIES)
243 $(transform-$(PRIVATE_HOST)s-to-o-no-deps)
311 $(transform-$(PRIVATE_HOST)s-to-o)
315 asm_sources_s := $(filter %.s,$(LOCAL_SRC_FILES))
316 asm_objects_s := $(addprefix $(intermediates)/,$(asm_sources_s:.s=.o))
319 $(asm_objects_s): $(intermediates)/%.o: $(TOPDIR)$(LOCAL_PATH)/%.s $(LOCAL_ADDITIONAL_DEPENDENCIES)
320 $(transform-$(PRIVATE_HOST)s-to-o-no-deps)
Dproguard.flags16 # Add this flag in your package's own configuration if it's needed.
60 # Please specify classes to be kept explicitly in your package's configuration.
/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.java377 public static String escape(String s) { in escape() argument
379 return s; in escape()
383 final int N = s.length(); in escape()
385 char c = s.charAt(i); in escape()
389 b = new StringBuffer(s.length() + mapped.length()); in escape()
392 b.append(s.substring(begin, i)); in escape()
400 b.append(s.substring(begin, N)); in escape()
404 return s; in escape()
409 String s = title; in setPageTitle() local
411 s += " - " + DroidDoc.title; in setPageTitle()
[all …]
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()
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()
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()
536 String s = params[i]; in matchesParams() local
537 int slen = s.length(); in matchesParams()
539 if (!(qn.equals(s) || in matchesParams()
541 && qn.endsWith(s)))) { in matchesParams()
DClearPage.java61 private static int countSlashes(String s) in countSlashes() argument
63 final int N = s.length(); in countSlashes()
66 if (s.charAt(i) == '/') { in countSlashes()
/build/tools/droiddoc/templates/assets/
Dsearch_autocomplete.js141 var s = DATA[i];
143 s.label.toLowerCase().indexOf(text.toLowerCase()) != -1) {
144 gMatches[matchedCount] = s;
150 var s = gMatches[i];
151 if (gSelectedID == s.id) {
168 var _lastSearch = function(s, re) { argument
169 if (s == '')
173 while ((tmp = s.search(re)) >= 0) {
176 s = s.substr(tmp + 1);
183 var _countChar = function(s, c) { argument
[all …]
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
Dprettify.js15 …p(Ub,R)),s=[],k=[],h=f[0]===M,e=h?1:0,p=f.length;e<p;++e){var t=f[e];switch(t){case Vb:case Wb:cas…
16s);for(e=0;e<B.length;++e){A=B[e];D.push(n(A[0]));if(A[1]>A[0]){A[1]+1>A[0]&&D.push(Sb);D.push(n(A…
17s;++e){p=f[e];if(p===H){++h;if(k[h]===undefined)f[e]=dc}else if(Q===p.charAt(0))if((t=+p.substring…
21s=w[1],k=P+s;if(!n.hasOwnProperty(k)){l.push(s);n[k]=r}}l.push(/[\0-\uffff]/);d=Na(l)})();var g=b.…
/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/
Devent_log_tags.py99 def BooleanFromString(s): argument
103 s = s.lower()
104 if s in ("true", "t", "1", "on", "yes", "y"):
106 if s in ("false", "f", "0", "off", "no", "n"):
108 raise ValueError("'%s' not a valid boolean" % (s,))
/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/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/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