Searched defs:internedItems (Results 1 - 10 of 10) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
H A DBuilderAnnotationSetPool.java51 @Nonnull private final ConcurrentMap<Set<? extends Annotation>, BuilderAnnotationSet> internedItems = field in class:BuilderAnnotationSetPool
63 BuilderAnnotationSet ret = internedItems.get(annotations);
76 ret = internedItems.putIfAbsent(annotationSet, annotationSet);
94 return new BuilderMapEntryCollection<BuilderAnnotationSet>(internedItems.values()) {
H A DBuilderStringPool.java45 @Nonnull private final ConcurrentMap<String, BuilderStringReference> internedItems = Maps.newConcurrentMap(); field in class:BuilderStringPool
48 BuilderStringReference ret = internedItems.get(string);
53 ret = internedItems.putIfAbsent(string, stringReference);
73 return internedItems.size() > 65536;
77 return new BuilderMapEntryCollection<BuilderStringReference>(internedItems.values()) {
91 return internedItems.size();
H A DBuilderTypeListPool.java49 @Nonnull private final ConcurrentMap<List<? extends CharSequence>, BuilderTypeList> internedItems = field in class:BuilderTypeListPool
61 BuilderTypeList ret = internedItems.get(types);
73 ret = internedItems.putIfAbsent(typeList, typeList);
91 return new BuilderMapEntryCollection<BuilderTypeList>(internedItems.values()) {
H A DBuilderAnnotationPool.java46 @Nonnull private final ConcurrentMap<Annotation, BuilderAnnotation> internedItems = field in class:BuilderAnnotationPool
54 BuilderAnnotation ret = internedItems.get(annotation);
63 ret = internedItems.putIfAbsent(dexBuilderAnnotation, dexBuilderAnnotation);
95 return new BuilderMapEntryCollection<BuilderAnnotation>(internedItems.values()) {
H A DBuilderProtoPool.java49 @Nonnull private final ConcurrentMap<MethodProtoReference, BuilderMethodProtoReference> internedItems = field in class:BuilderProtoPool
57 BuilderMethodProtoReference ret = internedItems.get(methodProto);
67 ret = internedItems.putIfAbsent(protoReference, protoReference);
93 return new BuilderMapEntryCollection<BuilderMethodProtoReference>(internedItems.values()) {
107 return internedItems.size();
H A DBuilderTypePool.java46 @Nonnull private final ConcurrentMap<String, BuilderTypeReference> internedItems = Maps.newConcurrentMap(); field in class:BuilderTypePool
53 BuilderTypeReference ret = internedItems.get(type);
59 ret = internedItems.putIfAbsent(type, typeReference);
83 return new BuilderMapEntryCollection<BuilderTypeReference>(internedItems.values()) {
97 return internedItems.size();
H A DBuilderFieldPool.java46 @Nonnull private final ConcurrentMap<FieldReference, BuilderFieldReference> internedItems = field in class:BuilderFieldPool
59 BuilderFieldReference ret = internedItems.get(fieldReference);
68 ret = internedItems.putIfAbsent(dexPoolFieldReference, dexPoolFieldReference);
94 return new BuilderMapEntryCollection<BuilderFieldReference>(internedItems.values()) {
108 return internedItems.size();
H A DBuilderMethodPool.java47 @Nonnull private final ConcurrentMap<MethodReference, BuilderMethodReference> internedItems = field in class:BuilderMethodPool
55 BuilderMethodReference ret = internedItems.get(methodReference);
64 ret = internedItems.putIfAbsent(dexPoolMethodReference, dexPoolMethodReference);
105 return new BuilderMapEntryCollection<BuilderMethodReference>(internedItems.values()) {
119 return internedItems.size();
H A DBuilderClassPool.java66 @Nonnull private final ConcurrentMap<String, BuilderClassDef> internedItems = field in class:BuilderClassPool
74 BuilderClassDef prev = internedItems.put(classDef.getType(), classDef);
84 sortedClasses = Ordering.natural().immutableSortedCopy(internedItems.values());
95 final BuilderClassDef classDef = internedItems.get(type.getType());
434 return new BuilderMapEntryCollection<BuilderClassDef>(internedItems.values()) {
448 return internedItems.size();
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
H A DBasePool.java42 @Nonnull protected final Map<Key, Value> internedItems = Maps.newLinkedHashMap(); field in class:BasePool
50 markedItemCount = internedItems.size();
58 if (markedItemCount == internedItems.size()) {
62 Iterator<Key> keys = internedItems.keySet().iterator();
73 return internedItems.size();

Completed in 217 milliseconds