Searched defs:intern (Results 1 - 25 of 55) sorted by relevance

123

/external/guava/guava/src/com/google/common/collect/
H A DInterner.java22 * Provides equivalent behavior to {@link String#intern} for other immutable
34 * instance. That is, {@code intern(a).equals(a)} always holds, and {@code
35 * intern(a) == intern(b)} if and only if {@code a.equals(b)}. Note that
36 * {@code intern(a)} is permitted to return one instance now and a different
43 E intern(E sample); method in interface:Interner
H A DInterners.java41 * unlike {@link String#intern}, using this interner does not consume memory in the permanent
47 @Override public E intern(E sample) {
65 @Override public E intern(E sample) { method in class:Interners.CustomInterner
99 * String#intern}, using this interner does not consume memory in the permanent generation.
107 * Returns a function that delegates to the {@link Interner#intern} method of the given interner.
124 return interner.intern(input);
/external/llvm/lib/Support/
H A DStringPool.cpp25 PooledStringPtr StringPool::intern(StringRef Key) { function in class:StringPool
/external/jsilver/src/com/google/clearsilver/jsilver/data/
H A DNativeStringInternStrategy.java20 * 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();
H A DNoOpStringInternStrategy.java25 public String intern(String value) { method in class:NoOpStringInternStrategy
H A DStringInternStrategy.java33 * that value == intern(value) will never be true.
38 String intern(String value); method in interface:StringInternStrategy
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
H A DAnnotationSetPool.java49 public void intern(@Nonnull Set<? extends Annotation> annotationSet) { method in class:AnnotationSetPool
54 annotationPool.intern(annotation);
H A DFieldPool.java50 public void intern(@Nonnull FieldReference field) { method in class:FieldPool
53 typePool.intern(field.getDefiningClass());
54 stringPool.intern(field.getName());
55 typePool.intern(field.getType());
H A DStringPool.java42 public void intern(@Nonnull CharSequence string) { method in class:StringPool
48 intern(string);
H A DTypePool.java48 public void intern(@Nonnull CharSequence type) { method in class:TypePool
52 stringPool.intern(typeString);
58 intern(type);
H A DAnnotationPool.java57 public void intern(@Nonnull Annotation annotation) { method in class:AnnotationPool
60 typePool.intern(annotation.getType());
62 stringPool.intern(element.getName());
H A DMethodPool.java52 public void intern(@Nonnull MethodReference method) { method in class:MethodPool
55 typePool.intern(method.getDefiningClass());
56 protoPool.intern(method);
57 stringPool.intern(method.getName());
H A DTypeListPool.java52 public void intern(@Nonnull Collection<? extends CharSequence> types) { method in class:TypeListPool
58 typePool.intern(type);
H A DProtoPool.java60 public void intern(@Nonnull MethodReference method) { method in class:ProtoPool
66 stringPool.intern(key.getShorty());
67 typePool.intern(method.getReturnType());
68 typeListPool.intern(method.getParameterTypes());
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DFieldIdsSection.java95 * @param field {@code non-null;} the reference to intern
98 public FieldIdItem intern(CstFieldRef field) { method in class:FieldIdsSection
H A DMethodIdsSection.java95 * @param method {@code non-null;} the reference to intern
98 public MethodIdItem intern(CstBaseMethodRef method) { method in class:MethodIdsSection
H A DProtoIdsSection.java87 * @param prototype {@code non-null;} the prototype to intern
90 public ProtoIdItem intern(Prototype prototype) { method in class:ProtoIdsSection
H A DStringIdsSection.java97 * @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(na
[all...]
H A DTypeIdsSection.java100 * @param type {@code non-null;} the type to intern
103 public TypeIdItem intern(Type type) { method in class:TypeIdsSection
123 * @param type {@code non-null;} the type to intern
126 public TypeIdItem intern(CstType type) { method in class:TypeIdsSection
H A DMixedItemSection.java190 * @param item {@code non-null;} the item to intern
193 public <T extends OffsettedItem> T intern(T item) { method in class:MixedItemSection
/external/chromium_org/third_party/jinja2/
H A D_compat.py42 intern = sys.intern variable
66 intern = intern variable
/external/dexmaker/src/dx/java/com/android/dx/rop/type/
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
96 Type.intern(descriptor.substring(startAt, at));
112 * Helper for {@link #intern} which returns an empty array to
168 public static Prototype intern(String descriptor, Type definer, method in class:Prototype
170 Prototype base = intern(descriptor);
205 // ...and intern it.
206 return intern(sb.toString());
382 * Puts the given instance in the intern table if it's not already
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
H A DRegisterSpec.java36 /** {@code non-null;} intern table for instances */
64 private static RegisterSpec intern(int reg, TypeBearer type, method in class:RegisterSpec
91 return intern(reg, type, null);
111 return intern(reg, type, local);
129 return intern(reg, type, local);
/external/dexmaker/src/dx/java/com/android/dx/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
[all...]
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Dxmlparser.cpp489 UXMLElement *el = new UXMLElement(this, intern(mEl.group(1, status), status), status);
522 el->fAttNames.addElement((void *)intern(attName, status), status);
649 // intern strings like in Java
652 UXMLParser::intern(const UnicodeString &s, UErrorCode &errorCode) { function in class:UXMLParser

Completed in 374 milliseconds

123