/dalvik/dx/src/com/android/dx/rop/type/ |
D | Type.java | 207 public static final Type BOOLEAN_ARRAY = new Type("[" + BOOLEAN.descriptor, BT_OBJECT); 210 public static final Type BYTE_ARRAY = new Type("[" + BYTE.descriptor, BT_OBJECT); 213 public static final Type CHAR_ARRAY = new Type("[" + CHAR.descriptor, BT_OBJECT); 216 public static final Type DOUBLE_ARRAY = new Type("[" + DOUBLE.descriptor, BT_OBJECT); 219 public static final Type FLOAT_ARRAY = new Type("[" + FLOAT.descriptor, BT_OBJECT);; 222 public static final Type INT_ARRAY = new Type("[" + INT.descriptor, BT_OBJECT); 225 public static final Type LONG_ARRAY = new Type("[" + LONG.descriptor, BT_OBJECT); 228 public static final Type OBJECT_ARRAY = new Type("[" + OBJECT.descriptor, BT_OBJECT); 231 public static final Type SHORT_ARRAY = new Type("[" + SHORT.descriptor, BT_OBJECT); 289 private final String descriptor; field in Type [all …]
|
D | Prototype.java | 37 private final String descriptor; field in Prototype 58 public static Prototype intern(String descriptor) { in intern() argument 59 if (descriptor == null) { in intern() 63 Prototype result = internTable.get(descriptor); in intern() 68 result = fromDescriptor(descriptor); in intern() 84 public static Prototype fromDescriptor(String descriptor) { in fromDescriptor() argument 85 Prototype result = internTable.get(descriptor); in fromDescriptor() 90 Type[] params = makeParameterArray(descriptor); in fromDescriptor() 96 char c = descriptor.charAt(at); in fromDescriptor() 105 c = descriptor.charAt(at); in fromDescriptor() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/rop/type/ |
D | Type.java | 256 private final String descriptor; field in Type 324 public static Type intern(String descriptor) { in intern() argument 326 Type result = internTable.get(descriptor); in intern() 333 firstChar = descriptor.charAt(0); in intern() 347 result = intern(descriptor.substring(1)); in intern() 356 int length = descriptor.length(); in intern() 358 (descriptor.charAt(length - 1) != ';')) { in intern() 359 throw new IllegalArgumentException("bad descriptor" + descriptor); in intern() 373 char c = descriptor.charAt(i); in intern() 380 throw new IllegalArgumentException("bad descriptor" + descriptor); in intern() [all …]
|
D | Prototype.java | 32 private final String descriptor; field in Prototype 53 public static Prototype intern(String descriptor) { in intern() argument 54 if (descriptor == null) { in intern() 57 Prototype result = internTable.get(descriptor); in intern() 62 Type[] params = makeParameterArray(descriptor); in intern() 68 char c = descriptor.charAt(at); in intern() 77 c = descriptor.charAt(at); in intern() 82 int endAt = descriptor.indexOf(';', at); in intern() 92 Type.intern(descriptor.substring(startAt, at)); in intern() 96 Type returnType = Type.internReturnType(descriptor.substring(at)); in intern() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
D | CstNat.java | 38 private final CstUtf8 descriptor; field in CstNat 46 public CstNat(CstUtf8 name, CstUtf8 descriptor) { in CstNat() argument 51 if (descriptor == null) { in CstNat() 56 this.descriptor = descriptor; in CstNat() 68 descriptor.equals(otherNat.descriptor); in equals() 74 return (name.hashCode() * 31) ^ descriptor.hashCode(); in hashCode() 87 return descriptor.compareTo(otherNat.descriptor); in compareTo0() 123 return descriptor; in getDescriptor() 133 return name.toHuman() + ':' + descriptor.toHuman(); in toHuman() 144 return Type.intern(descriptor.getString()); in getFieldType()
|
D | CstType.java | 92 private CstUtf8 descriptor; field in CstType 163 this.descriptor = null; in CstType() 235 if (descriptor == null) { in getDescriptor() 236 descriptor = new CstUtf8(type.getDescriptor()); in getDescriptor() 239 return descriptor; in getDescriptor()
|
D | CstBaseMethodRef.java | 49 String descriptor = getNat().getDescriptor().getString(); in CstBaseMethodRef() local 50 this.prototype = Prototype.intern(descriptor); in CstBaseMethodRef()
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
D | CstNat.java | 38 private final CstString descriptor; field in CstNat 46 public CstNat(CstString name, CstString descriptor) { in CstNat() argument 51 if (descriptor == null) { in CstNat() 56 this.descriptor = descriptor; in CstNat() 68 descriptor.equals(otherNat.descriptor); in equals() 74 return (name.hashCode() * 31) ^ descriptor.hashCode(); in hashCode() 87 return descriptor.compareTo(otherNat.descriptor); in compareTo0() 123 return descriptor; in getDescriptor() 134 return name.toHuman() + ':' + descriptor.toHuman(); in toHuman() 145 return Type.intern(descriptor.getString()); in getFieldType()
|
D | CstType.java | 140 private CstString descriptor; field in CstType 195 this.descriptor = null; in CstType() 269 if (descriptor == null) { in getDescriptor() 270 descriptor = new CstString(type.getDescriptor()); in getDescriptor() 273 return descriptor; in getDescriptor() 283 String descriptor = getDescriptor().getString(); in getPackageName() local 284 int lastSlash = descriptor.lastIndexOf('/'); in getPackageName() 285 int lastLeftSquare = descriptor.lastIndexOf('['); // -1 unless this is an array in getPackageName() 290 return descriptor.substring(lastLeftSquare + 2, lastSlash).replace('/', '.'); in getPackageName()
|
D | CstBaseMethodRef.java | 49 String descriptor = getNat().getDescriptor().getString(); in CstBaseMethodRef() local 56 this.prototype = Prototype.fromDescriptor(descriptor); in CstBaseMethodRef() 58 this.prototype = Prototype.intern(descriptor); in CstBaseMethodRef()
|
D | CstProtoRef.java | 40 public static CstProtoRef make(CstString descriptor) { in make() argument 41 Prototype prototype = Prototype.fromDescriptor(descriptor.getString()); in make()
|
/dalvik/libdex/ |
D | DexProto.cpp | 185 const char* descriptor = dexParameterIteratorNextDescriptor(&iterator); in dexProtoGetParameterDescriptors() local 186 if (descriptor == NULL) { in dexProtoGetParameterDescriptors() 190 length += strlen(descriptor); in dexProtoGetParameterDescriptors() 199 const char* descriptor = dexParameterIteratorNextDescriptor(&iterator); in dexProtoGetParameterDescriptors() local 200 if (descriptor == NULL) { in dexProtoGetParameterDescriptors() 204 strcpy(at, descriptor); in dexProtoGetParameterDescriptors() 205 at += strlen(descriptor); in dexProtoGetParameterDescriptors() 332 static const char* methodDescriptorReturnType(const char* descriptor) { in methodDescriptorReturnType() argument 333 const char* result = strchr(descriptor, ')'); in methodDescriptorReturnType() 349 static const char* methodDescriptorNextType(const char* descriptor) { in methodDescriptorNextType() argument [all …]
|
D | DexDebugInfo.cpp | 62 const char *descriptor; member 74 localInReg[reg].descriptor, in emitLocalCbIfLive() 115 localInReg[argReg].descriptor = classDescriptor; in dexDecodeDebugInfo0() 127 const char* descriptor = dexParameterIteratorNextDescriptor(&iterator); in dexDecodeDebugInfo0() local 131 if ((argReg >= pCode->registersSize) || (descriptor == NULL)) { in dexDecodeDebugInfo0() 139 switch (descriptor[0]) { in dexDecodeDebugInfo0() 151 localInReg[reg].descriptor = descriptor; in dexDecodeDebugInfo0() 187 localInReg[reg].descriptor = readTypeIdx(pDexFile, &stream); in dexDecodeDebugInfo0() 217 || localInReg[reg].descriptor == NULL) { in dexDecodeDebugInfo0()
|
D | DexDebugInfo.h | 37 u4 endAddress, const char *name, const char *descriptor,
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | LocalVariableList.java | 146 CstString descriptor, CstString signature, int index) { in set() argument 147 set0(n, new Item(startPc, length, name, descriptor, signature, index)); in set() 213 private final CstString descriptor; field in LocalVariableList.Item 236 CstString descriptor, CstString signature, int index) { in Item() argument 249 if ((descriptor == null) && (signature == null)) { in Item() 261 this.descriptor = descriptor; in Item() 290 return descriptor; in getDescriptor() 328 return Type.intern(descriptor.getString()); in getType() 339 return new Item(startPc, length, name, descriptor, newSignature, in withSignature()
|
/dalvik/dx/tests/014-field-attrib-ConstantValue/ |
D | expected.txt | 47 descriptor: B 60 descriptor: C 73 descriptor: D 86 descriptor: F 99 descriptor: I 112 descriptor: J 125 descriptor: S 138 descriptor: Z 151 descriptor: Ljava/lang/String;
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | TypeIdItem.java | 62 CstUtf8 descriptor = type.getDescriptor(); in writeTo() local 63 int idx = file.getStringIds().indexOf(descriptor); in writeTo() 66 out.annotate(0, indexString() + ' ' + descriptor.toHuman()); in writeTo()
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | TypeIdItem.java | 60 CstString descriptor = type.getDescriptor(); in writeTo() local 61 int idx = file.getStringIds().indexOf(descriptor); in writeTo() 64 out.annotate(0, indexString() + ' ' + descriptor.toHuman()); in writeTo()
|
/dalvik/dx/src/com/android/dx/cf/iface/ |
D | ParseObserver.java | 44 String descriptor); in startParsingMember() argument 57 String descriptor, Member member); in endParsingMember() argument
|
/dalvik/dx/tests/111-use-null-as-array/ |
D | multidimensional.sh | 26 local descriptor=$4 36 .method public static test_get${typename^}Array()$descriptor
|
/dalvik/dx/tests/009-method/ |
D | small-class.txt | 31 0006 # descriptor
|
/dalvik/dx/tests/008-field/ |
D | small-class.txt | 30 0006 # descriptor
|
/dalvik/dx/tests/019-method-attrib-Synthetic/ |
D | small-class.txt | 31 0006 # descriptor
|
/dalvik/dx/tests/020-method-attrib-Deprecated/ |
D | small-class.txt | 31 0006 # descriptor
|
/dalvik/dx/tests/027-method-attrib-Signature/ |
D | small-class.txt | 32 0006 # descriptor
|