Home
last modified time | relevance | path

Searched refs:intern (Results 1 – 25 of 55) sorted by relevance

123

/dalvik/dx/src/com/android/dx/rop/cst/
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(Type.VOID_CLASS);
[all …]
/dalvik/dx/src/com/android/dx/rop/code/
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;");
DRegisterSpec.java61 private static RegisterSpec intern(int reg, TypeBearer type, in intern() method in RegisterSpec
86 return intern(reg, type, null); in make()
106 return intern(reg, type, local); in make()
124 return intern(reg, type, local); in makeLocalOptional()
/dalvik/dx/src/com/android/dx/rop/type/
DType.java127 intern("Ljava/lang/annotation/Annotation;");
130 public static final Type CLASS = intern("Ljava/lang/Class;");
133 public static final Type CLONEABLE = intern("Ljava/lang/Cloneable;");
136 public static final Type OBJECT = intern("Ljava/lang/Object;");
139 public static final Type SERIALIZABLE = intern("Ljava/io/Serializable;");
142 public static final Type STRING = intern("Ljava/lang/String;");
145 public static final Type THROWABLE = intern("Ljava/lang/Throwable;");
152 public static final Type BOOLEAN_CLASS = intern("Ljava/lang/Boolean;");
159 public static final Type BYTE_CLASS = intern("Ljava/lang/Byte;");
166 public static final Type CHARACTER_CLASS = intern("Ljava/lang/Character;");
[all …]
DPrototype.java53 public static Prototype intern(String descriptor) { in intern() method in Prototype
93 Type.intern(descriptor.substring(startAt, at)); in intern()
165 public static Prototype intern(String descriptor, Type definer, in intern() method in Prototype
167 Prototype base = intern(descriptor); in intern()
203 return intern(sb.toString()); in internInts()
/dalvik/dx/src/com/android/dx/dex/file/
DStringIdsSection.java106 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()
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("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()
DClassDefItem.java137 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()
DDexFile.java425 stringIds.intern((CstString) cst); in internIfAppropriate()
427 stringIds.intern((CstUtf8) cst); in internIfAppropriate()
429 typeIds.intern((CstType) cst); in internIfAppropriate()
431 methodIds.intern((CstBaseMethodRef) cst); in internIfAppropriate()
433 fieldIds.intern((CstFieldRef) cst); in internIfAppropriate()
435 fieldIds.intern(((CstEnumRef) cst).getFieldRef()); in internIfAppropriate()
DProtoIdItem.java119 typeIds.intern(prototype.getReturnType()); in addContents()
120 stringIds.intern(shortForm); in addContents()
123 parameterTypes = typeLists.intern(parameterTypes); in addContents()
DFieldAnnotationStruct.java80 fieldIds.intern(field); in addContents()
81 annotations = wordData.intern(annotations); in addContents()
DMethodAnnotationStruct.java80 methodIds.intern(method); in addContents()
81 annotations = wordData.intern(annotations); in addContents()
DIdItem.java49 typeIds.intern(type); in addContents()
DMethodIdItem.java46 protoIds.intern(getMethodRef().getPrototype()); in addContents()
DFieldIdItem.java46 typeIds.intern(getFieldRef().getType()); in addContents()
DTypeIdsSection.java103 public TypeIdItem intern(Type type) { in intern() method in TypeIdsSection
126 public TypeIdItem intern(CstType type) { in intern() method in TypeIdsSection
DAnnotationSetRefItem.java60 annotations = wordData.intern(annotations); in addContents()
DTypeIdItem.java55 file.getStringIds().intern(getDefiningClass().getDescriptor()); in addContents()
/dalvik/tests/003-omnibus-opcodes/src/
DInternedString.java31 WeakReference strRef = new WeakReference<String>(s.intern()); in testDeadInternedString()
40 WeakReference strRef = new WeakReference<String>(CONST.intern()); in testImmortalInternedString()
44 assert(CONST == CONST.intern()); in testImmortalInternedString()
50 strRef = new WeakReference<String>(s.intern()); in testImmortalInternedString()
/dalvik/tests/016-intern/src/
DMain.java26 a = foo.concat(bar).intern(); in main()
27 b = foo.concat(bar).intern(); in main()
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
DDERPrintableString.java72 this.string = new String(cs).intern(); in DERPrintableString()
83 this.string = string.intern(); in DERPrintableString()
/dalvik/libcore/xml/src/main/java/org/xml/sax/helpers/
DParserAdapter.java494 contentHandler.startElement("", "", qName.intern(), in startElement()
565 attQName.intern(), type, value); in startElement()
568 attQName.intern(), type, value); in startElement()
618 contentHandler.endElement("", "", qName.intern()); in endElement()
754 parts[2] = qName.intern(); in processName()
932 return qAtts.getName(i).intern(); in getQName()
944 return qAtts.getType(i).intern(); in getType()
1014 return qAtts.getType(qName).intern(); in getType()
DNamespaceSupport.java612 prefix = prefix.intern(); in declarePrefix()
613 uri = uri.intern(); in declarePrefix()
667 name[2] = qName.intern(); in processName()
701 name[1] = local.intern(); in processName()
/dalvik/dx/src/com/android/dx/cf/iface/
DStdMethod.java46 Prototype.intern(descStr, definingClass.getClassType(), in StdMethod()
/dalvik/libcore/luni-kernel/src/main/java/org/apache/harmony/kernel/vm/
DVM.java100 public static final String intern(String string) { in intern() method in VM

123