/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/ |
D | SerializerCache.java | 8 import com.fasterxml.jackson.databind.util.TypeKey; 33 private final HashMap<TypeKey, JsonSerializer<Object>> _sharedMap 34 = new HashMap<TypeKey, JsonSerializer<Object>>(64); 85 return _sharedMap.get(new TypeKey(type, false)); in untypedValueSerializer() 92 return _sharedMap.get(new TypeKey(type, false)); in untypedValueSerializer() 99 return _sharedMap.get(new TypeKey(type, true)); in typedValueSerializer() 106 return _sharedMap.get(new TypeKey(cls, true)); in typedValueSerializer() 124 if (_sharedMap.put(new TypeKey(type, true), ser) == null) { in addTypedSerializer() 134 if (_sharedMap.put(new TypeKey(cls, true), ser) == null) { in addTypedSerializer() 146 if (_sharedMap.put(new TypeKey(type, false), ser) == null) { in addAndResolveNonTypedSerializer() [all …]
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/ |
D | ReadOnlyClassToSerializerMap.java | 7 import com.fasterxml.jackson.databind.util.TypeKey; 26 public ReadOnlyClassToSerializerMap(Map<TypeKey,JsonSerializer<Object>> serializers) in ReadOnlyClassToSerializerMap() argument 32 for (Map.Entry<TypeKey,JsonSerializer<Object>> entry : serializers.entrySet()) { in ReadOnlyClassToSerializerMap() 33 TypeKey key = entry.getKey(); in ReadOnlyClassToSerializerMap() 54 public static ReadOnlyClassToSerializerMap from(HashMap<TypeKey, JsonSerializer<Object>> src) { in from() argument 68 Bucket bucket = _buckets[TypeKey.typedHash(type) & _mask]; in typedValueSerializer() 85 Bucket bucket = _buckets[TypeKey.typedHash(type) & _mask]; in typedValueSerializer() 102 Bucket bucket = _buckets[TypeKey.untypedHash(type) & _mask]; in untypedValueSerializer() 119 Bucket bucket = _buckets[TypeKey.untypedHash(type) & _mask]; in untypedValueSerializer() 150 public Bucket(Bucket next, TypeKey key, JsonSerializer<Object> value) in Bucket()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/ |
D | TypeKey.java | 10 public class TypeKey class 25 public TypeKey() { } in TypeKey() method in TypeKey 27 public TypeKey(TypeKey src) { in TypeKey() method in TypeKey 34 public TypeKey(Class<?> key, boolean typed) { in TypeKey() method in TypeKey 41 public TypeKey(JavaType key, boolean typed) { in TypeKey() method in TypeKey 121 TypeKey other = (TypeKey) o; in equals()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
D | EncodedValueWriter.java | 45 public abstract class EncodedValueWriter<StringKey, TypeKey, FieldRefKey extends FieldReference, 50 @Nonnull private final TypeSection<?, TypeKey, ?> typeSection; 55 …@Nonnull private final AnnotationSection<StringKey, TypeKey, ?, AnnotationElement, EncodedValue> a… 60 @Nonnull TypeSection<?, TypeKey, ?> typeSection, in EncodedValueWriter() argument 65 …@Nonnull AnnotationSection<StringKey, TypeKey, ?, AnnotationElement, EncodedValue> annotationSecti… in EncodedValueWriter() 78 public void writeAnnotation(TypeKey annotationType, in writeAnnotation() 153 public void writeType(@Nonnull TypeKey value) throws IOException { in writeType()
|
D | ClassSection.java | 47 public interface ClassSection<StringKey extends CharSequence, TypeKey extends CharSequence, TypeLis… 51 @Nullable Map.Entry<? extends ClassKey, Integer> getClassEntryByType(@Nullable TypeKey key); in getClassEntryByType() 53 @Nonnull TypeKey getType(@Nonnull ClassKey key); in getType() 55 @Nullable TypeKey getSuperclass(@Nonnull ClassKey key); in getSuperclass() 81 @Nullable TypeKey getExceptionType(@Nonnull ExceptionHandler handler); in getExceptionType() 93 …void writeDebugItem(@Nonnull DebugWriter<StringKey, TypeKey> writer, DebugItem debugItem) throws I… in writeDebugItem()
|
D | TypeSection.java | 38 …blic interface TypeSection<StringKey, TypeKey, TypeRef extends TypeReference> extends NullableInde… 39 @Nonnull StringKey getString(@Nonnull TypeKey key); in getString()
|
D | FieldSection.java | 38 public interface FieldSection<StringKey, TypeKey, FieldRefKey extends FieldReference, FieldKey> 40 @Nonnull TypeKey getDefiningClass(@Nonnull FieldRefKey key); in getDefiningClass() 41 @Nonnull TypeKey getFieldType(@Nonnull FieldRefKey key); in getFieldType()
|
D | DebugWriter.java | 41 public class DebugWriter<StringKey extends CharSequence, TypeKey extends CharSequence> { 43 @Nonnull private final TypeSection<StringKey, TypeKey, ?> typeSection; 49 @Nonnull TypeSection<StringKey, TypeKey, ?> typeSection, in DebugWriter() argument 63 @Nullable TypeKey type, in writeStartLocal()
|
D | TypeListSection.java | 38 public interface TypeListSection<TypeKey, TypeListKey> extends NullableOffsetSection<TypeListKey> { 40 @Nonnull Collection<? extends TypeKey> getTypes(@Nullable TypeListKey key); in getTypes()
|
D | ProtoSection.java | 37 public interface ProtoSection<StringKey, TypeKey, ProtoKey, TypeListKey> extends IndexSection<Proto… 39 @Nonnull TypeKey getReturnType(@Nonnull ProtoKey key); in getReturnType()
|
D | AnnotationSection.java | 37 public interface AnnotationSection<StringKey, TypeKey, AnnotationKey, AnnotationElement, EncodedVal… 40 @Nonnull TypeKey getType(@Nonnull AnnotationKey key); in getType()
|
D | MethodSection.java | 39 public interface MethodSection<StringKey, TypeKey, ProtoRefKey extends MethodProtoReference, 43 @Nonnull TypeKey getDefiningClass(@Nonnull MethodRefKey key); in getDefiningClass()
|
D | DexWriter.java | 81 … StringKey extends CharSequence, StringRef extends StringReference, TypeKey extends CharSequence, 94 TypeSectionType extends TypeSection<StringKey, TypeKey, TypeRef>, 95 ProtoSectionType extends ProtoSection<StringKey, TypeKey, ProtoRefKey, TypeListKey>, 96 FieldSectionType extends FieldSection<StringKey, TypeKey, FieldRefKey, FieldKey>, 97 … MethodSectionType extends MethodSection<StringKey, TypeKey, ProtoRefKey, MethodRefKey, MethodKey>, 98 …ClassSectionType extends ClassSection<StringKey, TypeKey, TypeListKey, ClassKey, FieldKey, MethodK… 102 TypeListSectionType extends TypeListSection<TypeKey, TypeListKey>, 103 …AnnotationSectionType extends AnnotationSection<StringKey, TypeKey, AnnotationKey, AnnotationEleme… 220 …protected class InternalEncodedValueWriter extends EncodedValueWriter<StringKey, TypeKey, FieldRef… 265 for (Entry<? extends TypeKey, Integer> typeReference: typeSection.getItems()) { [all …]
|
/external/rust/crates/bindgen/src/ir/ |
D | context.rs | 301 enum TypeKey { enum 314 types: HashMap<TypeKey, TypeId>, 709 TypeKey::Declaration(declaration) in add_item() 711 TypeKey::USR(usr) in add_item() 717 TypeKey::Declaration(declaration) in add_item() 1791 .get(&TypeKey::Declaration(*decl.cursor())) in get_resolved_type() 1795 .and_then(|usr| self.types.get(&TypeKey::USR(usr))) in get_resolved_type()
|