Searched refs:intern (Results 1 - 25 of 88) sorted by relevance

1234

/dalvik/dx/junit-tests/com/android/dx/rop/cst/
H A DCstTypeTest.java32 assertTrue(boolArray == CstType.intern(Type.BOOLEAN_ARRAY));
33 CstType myClass = CstType.intern(Type.intern("Lcom/example/Foo;"));
38 assertTrue(boolArray == CstType.intern(Type.BOOLEAN_ARRAY));
39 CstType myClass2 = CstType.intern(Type.intern("Lcom/example/Foo;"));
/dalvik/dx/junit-tests/com/android/dx/rop/type/
H A DTypeTest.java31 assertTrue(boolArray == Type.intern("[Z"));
32 Type myClass = Type.intern("Lcom/example/Foo;");
36 assertTrue(boolArray == Type.intern("[Z"));
37 Type myClass2 = Type.intern("Lcom/example/Foo;");
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
H A DCstType.java32 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(Typ
125 public static CstType intern(Type type) { method in class:CstType
143 public static CstType intern(Class clazz) { method in class:CstType
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DExceptions.java28 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/
H A DExceptions.java28 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/dex/file/
H A DStringIdsSection.java102 * @param string {@code non-null;} the string to intern, as a regular Java
106 public StringIdItem intern(String string) { method in class:StringIdsSection
108 return intern(new StringIdItem(utf8));
114 * @param string {@code non-null;} the string to intern, as a {@link CstString}
117 public StringIdItem intern(CstString string) { method in class:StringIdsSection
119 return intern(new StringIdItem(utf8));
125 * @param string {@code non-null;} the string to intern, as a constant
128 public StringIdItem intern(CstUtf8 string) { method in class:StringIdsSection
129 return intern(new StringIdItem(string));
135 * @param string {@code non-null;} the string to intern
138 public StringIdItem intern(StringIdItem string) { method in class:StringIdsSection
161 public void intern(CstNat nat) { method in class:StringIdsSection
[all...]
H A DAnnotationUtils.java43 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("Ldalvi
[all...]
H A DIdItem.java49 typeIds.intern(type);
H A DFieldIdItem.java46 typeIds.intern(getFieldRef().getType());
H A DMethodIdItem.java46 protoIds.intern(getMethodRef().getPrototype());
H A DAnnotationSetRefItem.java60 annotations = wordData.intern(annotations);
H A DFieldAnnotationStruct.java80 fieldIds.intern(field);
81 annotations = wordData.intern(annotations);
H A DMethodAnnotationStruct.java80 methodIds.intern(method);
81 annotations = wordData.intern(annotations);
/dalvik/dexgen/src/com/android/dexgen/rop/type/
H A DType.java30 /** {@code non-null;} intern table mapping string descriptors to instances */
109 * Put all the primitive types into the intern table. This needs
121 * Note: VOID isn't put in the intern table, since it's special and
122 * shouldn't be found by a normal call to intern().
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("Ljav
308 public static Type intern(Class clazz) { method in class:Type
324 public static Type intern(String descriptor) { method in class:Type
[all...]
H A DPrototype.java27 /** {@code non-null;} intern table mapping string descriptors to instances */
53 public static Prototype intern(String descriptor) { method in class:Prototype
92 Type.intern(descriptor.substring(startAt, at));
108 * Helper for {@link #intern} which returns an empty array to
164 public static Prototype intern(String descriptor, Type definer, method in class:Prototype
166 Prototype base = intern(descriptor);
201 // ...and intern it.
202 return intern(sb.toString());
378 * Puts the given instance in the intern table if it's not already
/dalvik/dx/src/com/android/dx/dex/file/
H A DStringIdsSection.java96 * @param string {@code non-null;} the string to intern, as a regular Java
100 public StringIdItem intern(String string) { method in class:StringIdsSection
101 return intern(new StringIdItem(new CstString(string)));
107 * @param string {@code non-null;} the string to intern, as a constant
110 public StringIdItem intern(CstString string) { method in class:StringIdsSection
111 return intern(new StringIdItem(string));
117 * @param string {@code non-null;} the string to intern
120 public synchronized StringIdItem intern(StringIdItem string) { method in class:StringIdsSection
143 public synchronized void intern(CstNat nat) { method in class:StringIdsSection
144 intern(na
[all...]
H A DAnnotationUtils.java41 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("Ldalvi
[all...]
H A DIdItem.java49 typeIds.intern(type);
H A DFieldIdItem.java46 typeIds.intern(getFieldRef().getType());
H A DMethodIdItem.java46 protoIds.intern(getMethodRef().getPrototype());
H A DAnnotationSetRefItem.java61 annotations = wordData.intern(annotations);
H A DFieldAnnotationStruct.java83 fieldIds.intern(field);
84 annotations = wordData.intern(annotations);
H A DMethodAnnotationStruct.java83 methodIds.intern(method);
84 annotations = wordData.intern(annotations);
/dalvik/dexgen/src/com/android/dexgen/rop/
H A DStdField.java48 this(CstType.intern(field.getDeclaringClass()),
51 CstType.intern(field.getType()).getDescriptor()),
64 this(CstType.intern(definingClass),
66 new CstNat(new CstUtf8(name), CstType.intern(type).getDescriptor()),
/dalvik/dx/src/com/android/dx/cf/iface/
H A DStdMethod.java46 Prototype.intern(descStr, definingClass.getClassType(),

Completed in 300 milliseconds

1234