/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
D | CstString.java | 27 private final CstUtf8 string; field in CstString 34 public CstString(CstUtf8 string) { in CstString() argument 35 if (string == null) { in CstString() 39 this.string = string; in CstString() 47 public CstString(String string) { in CstString() argument 48 this(new CstUtf8(string)); in CstString() 58 return string.equals(((CstString) other).string); in equals() 64 return string.hashCode(); in hashCode() 70 return string.compareTo(((CstString) other).string); in compareTo0() 98 return string.toQuoted(); in toHuman() [all …]
|
D | CstUtf8.java | 33 private final String string; field in CstUtf8 46 public static byte[] stringToUtf8Bytes(String string) { in stringToUtf8Bytes() argument 47 int len = string.length(); in stringToUtf8Bytes() 52 char c = string.charAt(i); in stringToUtf8Bytes() 180 public CstUtf8(String string) { in CstUtf8() argument 181 if (string == null) { in CstUtf8() 185 this.string = string.intern(); in CstUtf8() 186 this.bytes = new ByteArray(stringToUtf8Bytes(string)); in CstUtf8() 200 this.string = utf8BytesToString(bytes).intern(); in CstUtf8() 210 return string.equals(((CstUtf8) other).string); in equals() [all …]
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
D | CstString.java | 34 private final String string; field in CstString 46 public static byte[] stringToUtf8Bytes(String string) { in stringToUtf8Bytes() argument 47 int len = string.length(); in stringToUtf8Bytes() 52 char c = string.charAt(i); in stringToUtf8Bytes() 180 public CstString(String string) { in CstString() argument 181 if (string == null) { in CstString() 185 this.string = string.intern(); in CstString() 186 this.bytes = new ByteArray(stringToUtf8Bytes(string)); in CstString() 200 this.string = utf8BytesToString(bytes).intern(); in CstString() 210 return string.equals(((CstString) other).string); in equals() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | StringIdsSection.java | 106 public StringIdItem intern(String string) { in intern() argument 107 CstUtf8 utf8 = new CstUtf8(string); in intern() 117 public StringIdItem intern(CstString string) { in intern() argument 118 CstUtf8 utf8 = string.getString(); in intern() 128 public StringIdItem intern(CstUtf8 string) { in intern() argument 129 return intern(new StringIdItem(string)); in intern() 138 public StringIdItem intern(StringIdItem string) { in intern() argument 139 if (string == null) { in intern() 145 CstUtf8 value = string.getValue(); in intern() 152 strings.put(value, string); in intern() [all …]
|
D | DebugInfoEncoder.java | 639 private void emitStringIndex(CstUtf8 string) throws IOException { in emitStringIndex() argument 640 if ((string == null) || (file == null)) { in emitStringIndex() 644 1 + file.getStringIds().indexOf(string)); in emitStringIndex() 649 string == null ? "<null>" : string.toQuoted()); in emitStringIndex()
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | StringIdsSection.java | 100 public StringIdItem intern(String string) { in intern() argument 101 return intern(new StringIdItem(new CstString(string))); in intern() 110 public StringIdItem intern(CstString string) { in intern() argument 111 return intern(new StringIdItem(string)); in intern() 120 public synchronized StringIdItem intern(StringIdItem string) { in intern() argument 121 if (string == null) { in intern() 127 CstString value = string.getValue(); in intern() 134 strings.put(value, string); in intern() 135 return string; in intern() 155 public int indexOf(CstString string) { in indexOf() argument [all …]
|
D | DebugInfoEncoder.java | 647 private void emitStringIndex(CstString string) throws IOException { in emitStringIndex() argument 648 if ((string == null) || (file == null)) { in emitStringIndex() 652 1 + file.getStringIds().indexOf(string)); in emitStringIndex() 657 string == null ? "<null>" : string.toQuoted()); in emitStringIndex()
|
/dalvik/dx/tests/010-class-attrib-InnerClasses/ |
D | expected.txt | 35 name: string{"Small"} 43 name: string{"Zorch"}
|
/dalvik/dx/tests/095-dex-const-string-jumbo/ |
D | expected.txt | 4 0001: const-string/jumbo v1, "zorch"
|
D | info.txt | 2 const-string/jumbo gets emitted appropriately.
|
/dalvik/dx/tests/108-string-annotation/ |
D | info.txt | 2 string annotations get represented reasonably.
|
/dalvik/dx/tests/012-class-attrib-SourceFile/ |
D | expected.txt | 27 source: string{"Blort.java"}
|
/dalvik/dx/tests/025-class-attrib-Signature/ |
D | expected.txt | 27 signature: string{"LYo;"}
|
/dalvik/dx/tests/027-method-attrib-Signature/ |
D | expected.txt | 34 signature: string{"LYo;"}
|
/dalvik/dx/tests/026-field-attrib-Signature/ |
D | expected.txt | 33 signature: string{"LYo;"}
|
/dalvik/dx/src/com/android/dx/io/ |
D | DexIndexPrinter.java | 53 for (String string : dex.strings()) { in printStrings() 54 System.out.println("string " + index + ": " + string); in printStrings()
|
/dalvik/dx/tests/066-dex-try-catch-rethrow/ |
D | expected.txt | 3 0000: const-string v1, "x" 22 0000: const-string v1, "x" 40 0000: const-string v1, "x"
|
/dalvik/dx/tests/004-cp-bottom-up/ |
D | small-class.txt | 25 08 0001 # 000d: string["Small"]
|
D | expected.txt | 21 000d: string{"Small"}
|
/dalvik/dx/tests/005-cp-top-down/ |
D | expected.txt | 13 0007: string{"Small"}
|
D | small-class.txt | 17 08 0013 # 0007: string["Small"]
|
/dalvik/dx/src/com/android/dx/command/findusages/ |
D | FindUsages.java | 54 String string = strings.get(i); in FindUsages() local 55 if (declaredByPattern.matcher(string).matches()) { in FindUsages() 58 if (memberNamePattern.matcher(string).matches()) { in FindUsages()
|
/dalvik/dx/tests/014-field-attrib-ConstantValue/ |
D | expected.txt | 23 000f: string{"Small"} 157 value: string{"Small"}
|
/dalvik/dx/tests/024-code-bytecode/ |
D | expected.txt | 16 0008: string{"Small"} 67 0015: ldc string{"Small"} 70 001b: ldc_w string{"Small"}
|
D | small-class.txt | 20 08 0003 # 0008: string["Small"] 71 12 08 # 0015: ldc <string> 74 13 0008 # 001b: ldc_w <string>
|