Home
last modified time | relevance | path

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

12345

/external/dexmaker/src/dx/java/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 …]
/external/dexmaker/src/dx/java/com/android/dx/rop/type/
DType.java130 intern("Ljava/lang/annotation/Annotation;");
133 public static final Type CLASS = intern("Ljava/lang/Class;");
136 public static final Type CLONEABLE = intern("Ljava/lang/Cloneable;");
139 public static final Type OBJECT = intern("Ljava/lang/Object;");
142 public static final Type SERIALIZABLE = intern("Ljava/io/Serializable;");
145 public static final Type STRING = intern("Ljava/lang/String;");
148 public static final Type THROWABLE = intern("Ljava/lang/Throwable;");
155 public static final Type BOOLEAN_CLASS = intern("Ljava/lang/Boolean;");
162 public static final Type BYTE_CLASS = intern("Ljava/lang/Byte;");
169 public static final Type CHARACTER_CLASS = intern("Ljava/lang/Character;");
[all …]
DPrototype.java53 public static Prototype intern(String descriptor) { in intern() method in Prototype
96 Type.intern(descriptor.substring(startAt, at)); in intern()
168 public static Prototype intern(String descriptor, Type definer, in intern() method in Prototype
170 Prototype base = intern(descriptor); in intern()
206 return intern(sb.toString()); in internInts()
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DAnnotationUtils.java42 CstType.intern(Type.intern("Ldalvik/annotation/AnnotationDefault;"));
46 CstType.intern(Type.intern("Ldalvik/annotation/EnclosingClass;"));
50 CstType.intern(Type.intern("Ldalvik/annotation/EnclosingMethod;"));
54 CstType.intern(Type.intern("Ldalvik/annotation/InnerClass;"));
58 CstType.intern(Type.intern("Ldalvik/annotation/MemberClasses;"));
62 CstType.intern(Type.intern("Ldalvik/annotation/Signature;"));
66 CstType.intern(Type.intern("Ldalvik/annotation/Throws;"));
246 list.set(i, CstType.intern(types.getType(i))); in makeCstArray()
DStringIdsSection.java101 public StringIdItem intern(String string) { in intern() method in StringIdsSection
102 return intern(new StringIdItem(new CstString(string))); in intern()
111 public StringIdItem intern(CstString string) { in intern() method in StringIdsSection
112 return intern(new StringIdItem(string)); in intern()
121 public StringIdItem intern(StringIdItem string) { in intern() method in StringIdsSection
144 public void intern(CstNat nat) { in intern() method in StringIdsSection
145 intern(nat.getName()); in intern()
146 intern(nat.getDescriptor()); in intern()
DClassDefItem.java135 typeIds.intern(thisClass); in addContents()
144 byteData.intern(new EncodedArrayItem(staticValues)); in addContents()
149 typeIds.intern(superclass); in addContents()
153 interfaces = typeLists.intern(interfaces); in addContents()
157 stringIds.intern(sourceFile); in addContents()
162 annotationsDirectory = wordData.intern(annotationsDirectory); in addContents()
DDexFile.java445 stringIds.intern((CstString) cst); in internIfAppropriate()
447 typeIds.intern((CstType) cst); in internIfAppropriate()
449 methodIds.intern((CstBaseMethodRef) cst); in internIfAppropriate()
451 fieldIds.intern((CstFieldRef) cst); in internIfAppropriate()
453 fieldIds.intern(((CstEnumRef) cst).getFieldRef()); in internIfAppropriate()
/external/dexmaker/src/dx/java/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;");
/external/guava/guava-tests/test/com/google/common/collect/
DInternersTest.java39 assertSame(canonical, pool.intern(canonical)); in testStrong_simplistic()
40 assertSame(canonical, pool.intern(not)); in testStrong_simplistic()
46 pool.intern(null); in testStrong_null()
56 assertSame(canonical, pool.intern(canonical)); in testWeak_simplistic()
57 assertSame(canonical, pool.intern(not)); in testWeak_simplistic()
63 pool.intern(null); in testWeak_null()
73 assertSame(canonical, pool.intern(canonical)); in testWeak_afterGC()
79 assertSame(not, pool.intern(not)); in testWeak_afterGC()
/external/llvm/unittests/Support/
DStringPool.cpp19 const PooledStringPtr a = pool.intern("a"); in TEST()
20 const PooledStringPtr b = pool.intern("b"); in TEST()
26 const PooledStringPtr a = pool.intern("a"); in TEST()
27 const PooledStringPtr b = pool.intern("b"); in TEST()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DBaseLocale.java29 _language = AsciiUtil.toLowerString(language).intern(); in BaseLocale()
32 _script = AsciiUtil.toTitleString(script).intern(); in BaseLocale()
35 _region = AsciiUtil.toUpperString(region).intern(); in BaseLocale()
40 _variant = variant.intern(); in BaseLocale()
42 _variant = AsciiUtil.toUpperString(variant).intern(); in BaseLocale()
229 String lang = AsciiUtil.toLowerString(key._lang).intern(); in normalize()
230 String scrt = AsciiUtil.toTitleString(key._scrt).intern(); in normalize()
231 String regn = AsciiUtil.toUpperString(key._regn).intern(); in normalize()
235 vart = key._vart.intern(); in normalize()
237 vart = AsciiUtil.toUpperString(key._vart).intern(); in normalize()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DDexPool.java89 ((ClassPool)dexPool.classSection).intern(classDef); in writeTo()
97 ((ClassPool)dexPool.classSection).intern(classDef); in writeTo()
168 typePool.intern(annotationEncodedValue.getType()); in internEncodedValue()
170 stringPool.intern(element.getName()); in internEncodedValue()
180 stringPool.intern(((StringEncodedValue)encodedValue).getValue()); in internEncodedValue()
183 typePool.intern(((TypeEncodedValue)encodedValue).getValue()); in internEncodedValue()
186 fieldPool.intern(((EnumEncodedValue)encodedValue).getValue()); in internEncodedValue()
189 fieldPool.intern(((FieldEncodedValue)encodedValue).getValue()); in internEncodedValue()
192 methodPool.intern(((MethodEncodedValue)encodedValue).getValue()); in internEncodedValue()
DFieldPool.java50 public void intern(@Nonnull FieldReference field) { in intern() method in FieldPool
53 typePool.intern(field.getDefiningClass()); in intern()
54 stringPool.intern(field.getName()); in intern()
55 typePool.intern(field.getType()); in intern()
DMethodPool.java52 public void intern(@Nonnull MethodReference method) { in intern() method in MethodPool
55 typePool.intern(method.getDefiningClass()); in intern()
56 protoPool.intern(method); in intern()
57 stringPool.intern(method.getName()); in intern()
DClassPool.java87 public void intern(@Nonnull ClassDef classDef) { in intern() method in ClassPool
95 typePool.intern(poolClassDef.getType()); in intern()
97 typeListPool.intern(poolClassDef.getInterfaces()); in intern()
107 fieldPool.intern(field); in intern()
114 annotationSetPool.intern(field.getAnnotations()); in intern()
124 methodPool.intern(method); in intern()
127 annotationSetPool.intern(method.getAnnotations()); in intern()
130 annotationSetPool.intern(parameter.getAnnotations()); in intern()
134 annotationSetPool.intern(poolClassDef.getAnnotations()); in intern()
149 stringPool.intern((StringReference)reference); in internCode()
[all …]
DTypePool.java48 public void intern(@Nonnull CharSequence type) { in intern() method in TypePool
52 stringPool.intern(typeString); in intern()
58 intern(type); in internNullable()
DProtoPool.java60 public void intern(@Nonnull MethodReference method) { in intern() method in ProtoPool
66 stringPool.intern(key.getShorty()); in intern()
67 typePool.intern(method.getReturnType()); in intern()
68 typeListPool.intern(method.getParameterTypes()); in intern()
DAnnotationPool.java57 public void intern(@Nonnull Annotation annotation) { in intern() method in AnnotationPool
60 typePool.intern(annotation.getType()); in intern()
62 stringPool.intern(element.getName()); in intern()
DStringPool.java42 public void intern(@Nonnull CharSequence string) { in intern() method in StringPool
48 intern(string); in internNullable()
DAnnotationSetPool.java49 public void intern(@Nonnull Set<? extends Annotation> annotationSet) { in intern() method in AnnotationSetPool
54 annotationPool.intern(annotation); in intern()
/external/guava/guava-tests/benchmark/com/google/common/collect/
DInternersBenchmark.java30 interner.intern(Double.toHexString(Math.random())); in weakInterner()
38 interner.intern(Double.toHexString(Math.random())); in strongInterner()
46 Double.toHexString(Math.random()).intern(); in stringIntern()
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DNamespaceSupport.java41 static final String PREFIX_XML = "xml".intern();
43 static final String PREFIX_XMLNS = "xmlns".intern();
49 public final static String XML_URI = "http://www.w3.org/XML/1998/namespace".intern();
56 public final static String XMLNS_URI = "http://www.w3.org/2000/xmlns/".intern();
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DNativeStringInternStrategy.java26 public String intern(String value) { in intern() method in NativeStringInternStrategy
27 return value.intern(); in intern()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DNamespaceSupport2.java545 prefix = prefix.intern(); in declarePrefix()
546 uri = uri.intern(); in declarePrefix()
609 name[1] = qName.intern(); in processName()
627 name[1] = local.intern(); in processName()
628 name[2] = qName.intern(); in processName()
/external/guava/guava/src/com/google/common/collect/
DInterners.java47 @Override public E intern(E sample) { in newStrongInterner()
73 @Override public E intern(E sample) {
120 return interner.intern(input);

12345