/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
D | CstType.java | 32 public static final CstType OBJECT = intern(Type.OBJECT); 35 public static final CstType BOOLEAN = intern(Type.BOOLEAN_CLASS); 38 public static final CstType BYTE = intern(Type.BYTE_CLASS); 41 public static final CstType CHARACTER = intern(Type.CHARACTER_CLASS); 44 public static final CstType DOUBLE = intern(Type.DOUBLE_CLASS); 47 public static final CstType FLOAT = intern(Type.FLOAT_CLASS); 50 public static final CstType LONG = intern(Type.LONG_CLASS); 53 public static final CstType INTEGER = intern(Type.INTEGER_CLASS); 56 public static final CstType SHORT = intern(Type.SHORT_CLASS); 59 public static final CstType VOID = intern(Type.VOID_CLASS); [all …]
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
D | Exceptions.java | 28 Type.intern("Ljava/lang/ArithmeticException;"); 35 Type.intern("Ljava/lang/ArrayIndexOutOfBoundsException;"); 39 Type.intern("Ljava/lang/ArrayStoreException;"); 43 Type.intern("Ljava/lang/ClassCastException;"); 46 public static final Type TYPE_Error = Type.intern("Ljava/lang/Error;"); 53 Type.intern("Ljava/lang/IllegalMonitorStateException;"); 57 Type.intern("Ljava/lang/NegativeArraySizeException;"); 61 Type.intern("Ljava/lang/NullPointerException;");
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | Exceptions.java | 28 Type.intern("Ljava/lang/ArithmeticException;"); 35 Type.intern("Ljava/lang/ArrayIndexOutOfBoundsException;"); 39 Type.intern("Ljava/lang/ArrayStoreException;"); 43 Type.intern("Ljava/lang/ClassCastException;"); 46 public static final Type TYPE_Error = Type.intern("Ljava/lang/Error;"); 53 Type.intern("Ljava/lang/IllegalMonitorStateException;"); 57 Type.intern("Ljava/lang/NegativeArraySizeException;"); 61 Type.intern("Ljava/lang/NullPointerException;");
|
/dalvik/dexgen/src/com/android/dexgen/rop/type/ |
D | Type.java | 145 intern("Ljava/lang/annotation/Annotation;"); 148 public static final Type CLASS = intern("Ljava/lang/Class;"); 151 public static final Type CLONEABLE = intern("Ljava/lang/Cloneable;"); 154 public static final Type OBJECT = intern("Ljava/lang/Object;"); 157 public static final Type SERIALIZABLE = intern("Ljava/io/Serializable;"); 160 public static final Type STRING = intern("Ljava/lang/String;"); 163 public static final Type THROWABLE = intern("Ljava/lang/Throwable;"); 170 public static final Type BOOLEAN_CLASS = intern("Ljava/lang/Boolean;"); 177 public static final Type BYTE_CLASS = intern("Ljava/lang/Byte;"); 184 public static final Type CHARACTER_CLASS = intern("Ljava/lang/Character;"); [all …]
|
D | Prototype.java | 53 public static Prototype intern(String descriptor) { in intern() method in Prototype 92 Type.intern(descriptor.substring(startAt, at)); in intern() 164 public static Prototype intern(String descriptor, Type definer, in intern() method in Prototype 166 Prototype base = intern(descriptor); in intern() 202 return intern(sb.toString()); in internInts()
|
/dalvik/dx/junit-tests/com/android/dx/rop/cst/ |
D | CstTypeTest.java | 32 assertTrue(boolArray == CstType.intern(Type.BOOLEAN_ARRAY)); in checkClearInternTable() 33 CstType myClass = CstType.intern(Type.intern("Lcom/example/Foo;")); in checkClearInternTable() 38 assertTrue(boolArray == CstType.intern(Type.BOOLEAN_ARRAY)); in checkClearInternTable() 39 CstType myClass2 = CstType.intern(Type.intern("Lcom/example/Foo;")); in checkClearInternTable()
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | AnnotationUtils.java | 41 CstType.intern(Type.intern("Ldalvik/annotation/AnnotationDefault;")); 45 CstType.intern(Type.intern("Ldalvik/annotation/EnclosingClass;")); 49 CstType.intern(Type.intern("Ldalvik/annotation/EnclosingMethod;")); 53 CstType.intern(Type.intern("Ldalvik/annotation/InnerClass;")); 57 CstType.intern(Type.intern("Ldalvik/annotation/MemberClasses;")); 61 CstType.intern(Type.intern("Ldalvik/annotation/Signature;")); 65 CstType.intern(Type.intern("Ldalvik/annotation/SourceDebugExtension;")); 69 CstType.intern(Type.intern("Ldalvik/annotation/Throws;")); 263 list.set(i, CstType.intern(types.getType(i))); in makeCstArray()
|
D | StringIdsSection.java | 100 public StringIdItem intern(String string) { in intern() method in StringIdsSection 101 return intern(new StringIdItem(new CstString(string))); in intern() 110 public StringIdItem intern(CstString string) { in intern() method in StringIdsSection 111 return intern(new StringIdItem(string)); in intern() 120 public synchronized StringIdItem intern(StringIdItem string) { in intern() method in StringIdsSection 143 public synchronized void intern(CstNat nat) { in intern() method in StringIdsSection 144 intern(nat.getName()); in intern() 145 intern(nat.getDescriptor()); in intern()
|
D | ClassDefItem.java | 134 typeIds.intern(thisClass); in addContents() 143 byteData.intern(new EncodedArrayItem(staticValues)); in addContents() 148 typeIds.intern(superclass); in addContents() 152 interfaces = typeLists.intern(interfaces); in addContents() 156 stringIds.intern(sourceFile); in addContents() 161 annotationsDirectory = wordData.intern(annotationsDirectory); in addContents()
|
D | DexFile.java | 530 stringIds.intern((CstString) cst); in internIfAppropriate() 532 typeIds.intern((CstType) cst); in internIfAppropriate() 534 methodIds.intern((CstBaseMethodRef) cst); in internIfAppropriate() 536 fieldIds.intern((CstFieldRef) cst); in internIfAppropriate() 538 fieldIds.intern(((CstEnumRef) cst).getFieldRef()); in internIfAppropriate() 540 protoIds.intern(((CstProtoRef) cst).getPrototype()); in internIfAppropriate() 542 methodHandles.intern((CstMethodHandle) cst); in internIfAppropriate() 567 return fieldIds.intern(((CstEnumRef) cst).getFieldRef()); in findItemOrNull()
|
D | ProtoIdItem.java | 116 typeIds.intern(prototype.getReturnType()); in addContents() 117 stringIds.intern(shortForm); in addContents() 120 parameterTypes = typeLists.intern(parameterTypes); in addContents()
|
D | MethodAnnotationStruct.java | 83 methodIds.intern(method); in addContents() 84 annotations = wordData.intern(annotations); in addContents()
|
D | FieldAnnotationStruct.java | 83 fieldIds.intern(field); in addContents() 84 annotations = wordData.intern(annotations); in addContents()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | StringIdsSection.java | 106 public StringIdItem intern(String string) { in intern() method in StringIdsSection 108 return intern(new StringIdItem(utf8)); in intern() 117 public StringIdItem intern(CstString string) { in intern() method in StringIdsSection 119 return intern(new StringIdItem(utf8)); in intern() 128 public StringIdItem intern(CstUtf8 string) { in intern() method in StringIdsSection 129 return intern(new StringIdItem(string)); in intern() 138 public StringIdItem intern(StringIdItem string) { in intern() method in StringIdsSection 161 public void intern(CstNat nat) { in intern() method in StringIdsSection 162 intern(nat.getName()); in intern() 163 intern(nat.getDescriptor()); in intern()
|
D | AnnotationUtils.java | 43 CstType.intern(Type.intern("Ldalvik/annotation/AnnotationDefault;")); 47 CstType.intern(Type.intern("Ldalvik/annotation/EnclosingClass;")); 51 CstType.intern(Type.intern("Ldalvik/annotation/EnclosingMethod;")); 55 CstType.intern(Type.intern("Ldalvik/annotation/InnerClass;")); 59 CstType.intern(Type.intern("Ldalvik/annotation/MemberClasses;")); 63 CstType.intern(Type.intern("Ldalvik/annotation/Signature;")); 67 CstType.intern(Type.intern("Ldalvik/annotation/Throws;")); 248 list.set(i, CstType.intern(types.getType(i))); in makeCstArray()
|
D | ClassDefItem.java | 137 typeIds.intern(thisClass); in addContents() 146 byteData.intern(new EncodedArrayItem(staticValues)); in addContents() 151 typeIds.intern(superclass); in addContents() 155 interfaces = typeLists.intern(interfaces); in addContents() 159 stringIds.intern(sourceFile); in addContents() 164 annotationsDirectory = wordData.intern(annotationsDirectory); in addContents()
|
D | DexFile.java | 424 stringIds.intern((CstString) cst); in internIfAppropriate() 426 stringIds.intern((CstUtf8) cst); in internIfAppropriate() 428 typeIds.intern((CstType) cst); in internIfAppropriate() 430 methodIds.intern((CstBaseMethodRef) cst); in internIfAppropriate() 432 fieldIds.intern((CstFieldRef) cst); in internIfAppropriate() 434 fieldIds.intern(((CstEnumRef) cst).getFieldRef()); in internIfAppropriate()
|
D | ProtoIdItem.java | 119 typeIds.intern(prototype.getReturnType()); in addContents() 120 stringIds.intern(shortForm); in addContents() 123 parameterTypes = typeLists.intern(parameterTypes); in addContents()
|
D | MethodAnnotationStruct.java | 80 methodIds.intern(method); in addContents() 81 annotations = wordData.intern(annotations); in addContents()
|
D | FieldAnnotationStruct.java | 80 fieldIds.intern(field); in addContents() 81 annotations = wordData.intern(annotations); in addContents()
|
D | IdItem.java | 49 typeIds.intern(type); in addContents()
|
/dalvik/dx/junit-tests/com/android/dx/rop/type/ |
D | TypeTest.java | 31 assertTrue(boolArray == Type.intern("[Z")); in testClearInternTable() 32 Type myClass = Type.intern("Lcom/example/Foo;"); in testClearInternTable() 36 assertTrue(boolArray == Type.intern("[Z")); in testClearInternTable() 37 Type myClass2 = Type.intern("Lcom/example/Foo;"); in testClearInternTable()
|
/dalvik/dexgen/src/com/android/dexgen/rop/ |
D | StdField.java | 48 this(CstType.intern(field.getDeclaringClass()), in StdField() 51 CstType.intern(field.getType()).getDescriptor()), in StdField() 64 this(CstType.intern(definingClass), in StdField() 66 new CstNat(new CstUtf8(name), CstType.intern(type).getDescriptor()), in StdField()
|
/dalvik/dx/src/com/android/dx/rop/type/ |
D | Prototype.java | 58 public static Prototype intern(String descriptor) { in intern() method in Prototype 120 Type.intern(descriptor.substring(startAt, at)); in fromDescriptor() 195 public static Prototype intern(String descriptor, Type definer, in intern() method in Prototype 197 Prototype base = intern(descriptor); in intern() 233 return intern(sb.toString()); in internInts()
|
D | Type.java | 342 public static Type intern(String descriptor) { in intern() method in Type 365 result = intern(descriptor.substring(1)); in intern() 437 return intern(descriptor); in internReturnType() 459 return intern(name); in internClassName() 462 return intern('L' + name + ';'); in internClassName() 852 componentType = intern(descriptor.substring(1)); in getComponentType()
|