/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
NativeStringInternStrategy.java | 20 * Implementation of {@link StringInternStrategy} using Java String Pool and {@link String#intern()} 26 public String intern(String value) { method in class:NativeStringInternStrategy 27 return value.intern();
|
StringInternStrategy.java | 33 * that value == intern(value) will never be true. 38 String intern(String value); method in interface:StringInternStrategy
|
NoOpStringInternStrategy.java | 25 public String intern(String value) { method in class:NoOpStringInternStrategy
|
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
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) 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/ |
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/ |
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/tests/016-intern/src/ |
Main.java | 26 a = foo.concat(bar).intern(); 27 b = foo.concat(bar).intern();
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
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) 125 public static CstType intern(Type type) { method in class:CstType [all...] |
/dalvik/tests/003-omnibus-opcodes/src/ |
InternedString.java | 31 WeakReference strRef = new WeakReference<String>(s.intern()); 35 // "blahblah" should disappear from the intern list 40 WeakReference strRef = new WeakReference<String>(CONST.intern()); 44 assert(CONST == CONST.intern()); 49 // "Class InternedString" should remain on the intern list 50 strRef = new WeakReference<String>(s.intern());
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
StringIdsSection.java | 102 * @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...] |
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;")) [all...] |
IdItem.java | 49 typeIds.intern(type);
|
FieldIdItem.java | 46 typeIds.intern(getFieldRef().getType());
|
MethodIdItem.java | 46 protoIds.intern(getMethodRef().getPrototype());
|
AnnotationSetRefItem.java | 60 annotations = wordData.intern(annotations);
|
/dalvik/dexgen/src/com/android/dexgen/rop/type/ |
Type.java | 30 /** {@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("Ljava/lang/String;") 308 public static Type intern(Class clazz) { method in class:Type 324 public static Type intern(String descriptor) { method in class:Type [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
StringIdsSection.java | 97 * @param string {@code non-null;} the string to intern, as a regular Java 101 public StringIdItem intern(String string) { method in class:StringIdsSection 102 return intern(new StringIdItem(new CstString(string))); 108 * @param string {@code non-null;} the string to intern, as a constant 111 public StringIdItem intern(CstString string) { method in class:StringIdsSection 112 return intern(new StringIdItem(string)); 118 * @param string {@code non-null;} the string to intern 121 public StringIdItem intern(StringIdItem string) { method in class:StringIdsSection 144 public void intern(CstNat nat) { method in class:StringIdsSection 145 intern(nat.getName()) [all...] |
AnnotationUtils.java | 42 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;")) [all...] |
IdItem.java | 49 typeIds.intern(type);
|
FieldIdItem.java | 46 typeIds.intern(getFieldRef().getType());
|
MethodIdItem.java | 46 protoIds.intern(getMethodRef().getPrototype());
|
/dalvik/dx/src/com/android/dx/rop/type/ |
Type.java | 31 * {@code non-null;} intern table mapping string descriptors to 108 * Put all the primitive types into the intern table. This needs 120 * Note: VOID isn't put in the intern table, since it's special and 121 * shouldn't be found by a normal call to intern(). 130 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;") 294 public static Type intern(String descriptor) { method in class:Type [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/ |
StdField.java | 48 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()),
|
/external/llvm/lib/Support/ |
StringPool.cpp | 25 PooledStringPtr StringPool::intern(StringRef Key) { function in class:StringPool
|
/external/webkit/Source/WebCore/platform/graphics/ca/win/ |
PlatformCALayerWin.cpp | 78 static PlatformCALayerWinInternal* intern(const PlatformCALayer* layer) function 83 static PlatformCALayerWinInternal* intern(void* layer) function 101 intern(caLayer)->displayCallback(caLayer, context); 122 PlatformCALayerWinInternal* intern = new PlatformCALayerWinInternal(this); local 123 CACFLayerSetUserData(m_layer.get(), intern); 137 PlatformCALayerWinInternal* layerIntern = intern(this); 148 PlatformCALayerWinInternal* layerIntern = intern(platformLayer); 165 intern(this)->setNeedsDisplay(dirtyRect); 208 intern(this)->setSublayers(list); 213 intern(this)->removeAllSublayers() [all...] |