Home
last modified time | relevance | path

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

12

/dalvik/dx/src/com/android/dex/
DMutf8.java33 int s = 0; in decode() local
37 return new String(out, 0, s); in decode()
39 out[s] = a; in decode()
41 s++; in decode()
47 out[s++] = (char) (((a & 0x1F) << 6) | (b & 0x3F)); in decode()
54 out[s++] = (char) (((a & 0x0F) << 12) | ((b & 0x3F) << 6) | (c & 0x3F)); in decode()
64 private static long countBytes(String s, boolean shortLength) throws UTFDataFormatException { in countBytes() argument
66 final int length = s.length(); in countBytes()
68 char ch = s.charAt(i); in countBytes()
87 public static void encode(byte[] dst, int offset, String s) { in encode() argument
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DDalvInsnList.java134 String s; in writeTo() local
137 s = insn.listingString(" ", out.getAnnotationWidth(), in writeTo()
140 s = null; in writeTo()
143 if (s != null) { in writeTo()
144 out.annotate(codeBytes, s); in writeTo()
231 String s; in debugPrint() local
234 s = insn.listingString("", 0, verbose); in debugPrint()
236 s = null; in debugPrint()
239 if (s != null) { in debugPrint()
240 iw.write(s); in debugPrint()
/dalvik/dx/src/com/android/dx/dex/code/
DDalvInsnList.java138 String s; in writeTo() local
141 s = insn.listingString(" ", out.getAnnotationWidth(), in writeTo()
144 s = null; in writeTo()
147 if (s != null) { in writeTo()
148 out.annotate(codeBytes, s); in writeTo()
249 String s; in debugPrint() local
252 s = insn.listingString("", 0, verbose); in debugPrint()
254 s = null; in debugPrint()
257 if (s != null) { in debugPrint()
258 iw.write(s); in debugPrint()
/dalvik/dx/tests/066-dex-try-catch-rethrow/
DBlort.java19 public static Object zorch1(String s) { in zorch1() argument
31 public static void zorch2(String s) { in zorch2() argument
43 public static int zorch3(String s) { in zorch3() argument
/dalvik/dx/tests/143-interface-methods/
DDefaultDefinition.java18 default int countIt(String s) { in countIt() argument
19 return s.length(); in countIt()
DStaticDefinition.java19 public static void printIt(String s) { in printIt() argument
20 System.out.println(s); in printIt()
/dalvik/dx/src/com/android/dx/dex/file/
DStringIdsSection.java162 StringIdItem s = strings.get(string); in indexOf() local
164 if (s == null) { in indexOf()
168 return s.getIndex(); in indexOf()
176 for (StringIdItem s : strings.values()) { in orderItems()
177 s.setIndex(idx); in orderItems()
/dalvik/dx/src/com/android/dx/cf/code/
DByteOps.java559 String s = OPCODE_DETAILS;
560 int len = s.length();
563 int idx = (Character.digit(s.charAt(i), 16) << 4) |
564 Character.digit(s.charAt(i + 1), 16);
566 switch (s.charAt(i + 3)) {
590 if (s.charAt(i - 1) == ':') {
593 switch (s.charAt(i)) {
610 int endAt = s.indexOf(';', i);
612 OPCODE_NAMES[idx] = s.substring(i, endAt);
DOneLocalsArray.java63 String s = (type == null) ? "<invalid>" : type.toString(); in annotate() local
64 ex.addContext("locals[" + Hex.u2(i) + "]: " + s); in annotate()
75 String s = (type == null) ? "<invalid>" : type.toString(); in toHuman() local
76 sb.append("locals[" + Hex.u2(i) + "]: " + s + "\n"); in toHuman()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DStringIdsSection.java180 StringIdItem s = strings.get(string); in indexOf() local
182 if (s == null) { in indexOf()
186 return s.getIndex(); in indexOf()
205 for (StringIdItem s : strings.values()) { in orderItems()
206 s.setIndex(idx); in orderItems()
/dalvik/dx/src/com/android/dx/command/annotool/
DAnnotationLister.java252 private boolean isMatchingInnerClass(String s) { in isMatchingInnerClass() argument
255 while (0 < (i = s.lastIndexOf('$'))) { in isMatchingInnerClass()
256 s = s.substring(0, i); in isMatchingInnerClass()
257 if (matchInnerClassesOf.contains(s)) { in isMatchingInnerClass()
272 private boolean isMatchingPackage(String s) { in isMatchingPackage() argument
273 int slashIndex = s.lastIndexOf('/'); in isMatchingPackage()
280 = s.substring(0, slashIndex); in isMatchingPackage()
DMain.java30 InvalidArgumentException(String s) { in InvalidArgumentException() argument
31 super(s); in InvalidArgumentException()
/dalvik/dx/tests/132-invoke-polymorphic/
DTestInvokePolymorphic.java83 float f, String s) throws Throwable { in testInvokeIntReturn5Arguments() argument
84 return (int) mh.invoke(o, l, d, f, s); in testInvokeIntReturn5Arguments()
88 double d, float f, String s) in testInvokeExactIntReturn5Arguments() argument
90 return (int) mh.invokeExact(o, l, d, f, s); in testInvokeExactIntReturn5Arguments()
DTestInvokePolymorphic.class ... mh Object o long l double d float f String s public static int testInvokeExactIntReturn5Arguments (java.lang.invoke
/dalvik/dx/src/com/android/dx/util/
DByteArray.java218 private void checkOffsets(int s, int e) { in checkOffsets() argument
219 if ((s < 0) || (e < s) || (e > size)) { in checkOffsets()
220 throw new IllegalArgumentException("bad range: " + s + ".." + e + in checkOffsets()
/dalvik/dexgen/src/com/android/dexgen/util/
DByteArray.java221 private void checkOffsets(int s, int e) { in checkOffsets() argument
222 if ((s < 0) || (e < s) || (e > size)) { in checkOffsets()
223 throw new IllegalArgumentException("bad range: " + s + ".." + e + in checkOffsets()
/dalvik/dx/src/com/android/dx/command/dump/
DBaseDumper.java197 protected final void print(String s) { in print() argument
198 out.print(s); in print()
207 protected final void println(String s) { in println() argument
208 out.println(s); in println()
/dalvik/docs/
Dprettify.js427 /(?:[^<]+|<!--[\s\S]*?-->|<!\[CDATA\[([\s\S]*?)\]\]>|<\/?[a-zA-Z][^>]*>|<)/g;
441 function extractTags(s) { argument
445 var matches = s.match(pr_chunkPattern);
613 [PR_COMMENT, /^<!--[\s\S]*?(?:-->|$)/, null],
614 [PR_SOURCE, /^<\?[\s\S]*?(?:\?>|$)/, null],
615 [PR_SOURCE, /^<%[\s\S]*?(?:%>|$)/, null],
618 /^<(script|style|xmp)\b[^>]*>[\s\S]*?<\/\1\b[^>]*>/i, null],
/dalvik/dx/tests/095-dex-const-string-jumbo/
DBlort.java18 static public void consume(String s) { in consume() argument
/dalvik/dx/tests/140-ssa-phi-overlap/
DTest$C.class ... private void <init> () public static int s () public int c () public int x ...
/dalvik/dexgen/src/com/android/dexgen/rop/code/
DRegisterSpecSet.java202 RegisterSpec s = specs[reg]; in findMatchingLocal() local
204 if (s == null) { in findMatchingLocal()
208 if (spec.matchesVariable(s)) { in findMatchingLocal()
209 return s; in findMatchingLocal()
/dalvik/dx/tests/137-dexmerger-dex38/src/invokecustom/
DInvokeCustom.java44 private static void targetMethodTest2(boolean z, byte b, char c, short s, int i, float f, long l, in targetMethodTest2() argument
49 System.out.println(s); in targetMethodTest2()
94 public static void targetMethodTest8(String s) { in targetMethodTest8() argument
95 System.out.println("targetMethodTest8 " + s); in targetMethodTest8()
/dalvik/dx/src/com/android/dx/rop/code/
DRegisterSpecSet.java201 RegisterSpec s = specs[reg]; in findMatchingLocal() local
203 if (s == null) { in findMatchingLocal()
207 if (spec.matchesVariable(s)) { in findMatchingLocal()
208 return s; in findMatchingLocal()
/dalvik/dx/tests/135-invoke-custom/src/invokecustom/
DInvokeCustom.java48 private static void targetMethodTest2(boolean z, byte b, char c, short s, int i, float f, long l, in targetMethodTest2() argument
53 System.out.println(s); in targetMethodTest2()
98 public static void targetMethodTest8(String s) { in targetMethodTest8() argument
99 System.out.println("targetMethodTest8 " + s); in targetMethodTest8()
/dalvik/dx/src/com/android/dx/ssa/
DSsaConverter.java327 for (int bi = 0, s = ssaBlocks.size(); bi < s; bi++) { in placePhiFunctions()
356 for (int reg = 0, s = regCount; reg < s; reg++) { in placePhiFunctions()

12