Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 390) sorted by relevance

12345678910>>...16

/dalvik/dx/src/com/android/dx/rop/code/
DRegisterSpec.java21 import com.android.dx.rop.type.Type;
22 import com.android.dx.rop.type.TypeBearer;
47 private final TypeBearer type; field in RegisterSpec
61 private static RegisterSpec intern(int reg, TypeBearer type, in intern() argument
63 theInterningItem.set(reg, type, local); in intern()
85 public static RegisterSpec make(int reg, TypeBearer type) { in make() argument
86 return intern(reg, type, null); in make()
100 public static RegisterSpec make(int reg, TypeBearer type, in make() argument
106 return intern(reg, type, local); in make()
122 int reg, TypeBearer type, LocalItem local) { in makeLocalOptional() argument
[all …]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/
DASN1Implicit.java47 private final ASN1Type type; field in ASN1Implicit
63 public ASN1Implicit(int tagNumber, ASN1Type type) { in ASN1Implicit() argument
64 this(CLASS_CONTEXTSPECIFIC, tagNumber, type); in ASN1Implicit()
75 public ASN1Implicit(int tagClass, int tagNumber, ASN1Type type) { in ASN1Implicit() argument
78 if ((type instanceof ASN1Choice) || (type instanceof ASN1Any)) { in ASN1Implicit()
87 this.type = type; in ASN1Implicit()
89 if (type.checkTag(type.id)) { in ASN1Implicit()
90 if (type.checkTag(type.constrId)) { in ASN1Implicit()
137 in.tag = type.id; in decode()
139 in.tag = type.constrId; in decode()
[all …]
DDerOutputStream.java50 ASN1Type type = (ASN1Type) val[index][0]; in encodeChoice() local
56 type.encodeASN(this); in encodeChoice()
66 explicit.type.encodeASN(this); in encodeExplicit()
71 ASN1Type[] type = sequence.type; in encodeSequence() local
77 for (int i = 0; i < type.length; i++) { in encodeSequence()
86 type[i].encodeASN(this); in encodeSequence()
109 collection.type.encodeASN(this); in encodeValueCollection()
151 Object[] values = new Object[] { choice.type[i], content }; in getChoiceLength()
155 choice.type[i].setEncodingContent(this); in getChoiceLength()
171 explicit.type.setEncodingContent(this); in getExplicitLength()
[all …]
DASN1Explicit.java41 public final ASN1Type type; field in ASN1Explicit
51 public ASN1Explicit(int tagNumber, ASN1Type type) { in ASN1Explicit() argument
52 this(CLASS_CONTEXTSPECIFIC, tagNumber, type); in ASN1Explicit()
63 public ASN1Explicit(int tagClass, int tagNumber, ASN1Type type) { in ASN1Explicit() argument
66 this.type = type; in ASN1Explicit()
84 in.content = type.decode(in); in decode()
108 return super.toString() + " for type " + type; //$NON-NLS-1$ in toString()
/dalvik/libcore/luni-kernel/src/main/java/org/apache/harmony/lang/annotation/
DAnnotationMember.java129 public AnnotationMember(String name, Object val, Class type, Method m) { in AnnotationMember() argument
134 if (type == int.class) { in AnnotationMember()
136 } else if (type == boolean.class) { in AnnotationMember()
138 } else if (type == char.class) { in AnnotationMember()
140 } else if (type == float.class) { in AnnotationMember()
142 } else if (type == double.class) { in AnnotationMember()
144 } else if (type == long.class) { in AnnotationMember()
146 } else if (type == short.class) { in AnnotationMember()
148 } else if (type == byte.class) { in AnnotationMember()
151 elementType = type; in AnnotationMember()
[all …]
/dalvik/dx/tests/006-interfaces/
Dexpected.txt14 0006: type{java.lang.Object}
15 0007: type{Small}
16 0008: type{Foo}
17 0009: type{Bar}
18 000a: type{Baz}
21 this_class: type{Small}
22 super_class: type{java.lang.Object}
25 type{Foo}
26 type{Bar}
27 type{Baz}
/dalvik/libcore/luni/src/main/java/java/net/
DProxy.java42 private Proxy.Type type; field in Proxy
63 public Proxy(Proxy.Type type, SocketAddress sa) { in Proxy() argument
68 if (type == Type.DIRECT || null == sa) { in Proxy()
72 this.type = type; in Proxy()
81 type = Type.DIRECT; in Proxy()
91 public Proxy.Type type() { in type() method in Proxy
92 return type; in type()
116 String proxyString = String.valueOf(type); in toString()
146 return (type == another.type) && address.equals(another.address); in equals()
158 ret += type.hashCode(); in hashCode()
/dalvik/dx/src/com/android/dx/dex/file/
DTypeIdsSection.java21 import com.android.dx.rop.type.Type;
63 Type type = ((CstType) cst).getClassType(); in get() local
64 IndexedItem result = typeIds.get(type); in get()
103 public TypeIdItem intern(Type type) { in intern() argument
104 if (type == null) { in intern()
110 TypeIdItem result = typeIds.get(type); in intern()
113 result = new TypeIdItem(new CstType(type)); in intern()
114 typeIds.put(type, result); in intern()
126 public TypeIdItem intern(CstType type) { in intern() argument
127 if (type == null) { in intern()
[all …]
DIdItem.java29 private final CstType type; field in IdItem
37 public IdItem(CstType type) { in IdItem() argument
38 if (type == null) { in IdItem()
42 this.type = type; in IdItem()
49 typeIds.intern(type); in addContents()
59 return type; in getDefiningClass()
/dalvik/dx/src/com/android/dx/rop/cst/
DCstType.java19 import com.android.dx.rop.type.Type;
86 private final Type type; field in CstType
125 public static CstType intern(Type type) { in intern() argument
126 CstType cst = interns.get(type); in intern()
129 cst = new CstType(type); in intern()
130 interns.put(type, cst); in intern()
141 public CstType(Type type) { in CstType() argument
142 if (type == null) { in CstType()
146 if (type == type.KNOWN_NULL) { in CstType()
151 this.type = type; in CstType()
[all …]
/dalvik/dx/src/com/android/dx/cf/code/
DExecutionStack.java19 import com.android.dx.rop.type.Type;
20 import com.android.dx.rop.type.TypeBearer;
91 public void makeInitialized(Type type) { in makeInitialized() argument
99 Type initializedType = type.getInitializedType(); in makeInitialized()
102 if (stack[i] == type) { in makeInitialized()
146 public void push(TypeBearer type) { in push() argument
152 type = type.getFrameType(); in push()
153 category = type.getType().getCategory(); in push()
169 stack[stackPtr] = type; in push()
236 public void change(int n, TypeBearer type) { in change() argument
[all …]
DOneLocalsArray.java20 import com.android.dx.rop.type.Type;
21 import com.android.dx.rop.type.TypeBearer;
61 TypeBearer type = locals[i]; in annotate() local
62 String s = (type == null) ? "<invalid>" : type.toString(); in annotate()
72 TypeBearer type = locals[i]; in toHuman() local
73 String s = (type == null) ? "<invalid>" : type.toString(); in toHuman()
81 public void makeInitialized(Type type) { in makeInitialized() argument
91 Type initializedType = type.getInitializedType(); in makeInitialized()
94 if (locals[i] == type) { in makeInitialized()
106 public void set(int idx, TypeBearer type) { in set() argument
[all …]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/
DDistributionPointName.java25 int type; field in DistributionPointName
56 int type, in DistributionPointName() argument
59 this.type = type; in DistributionPointName()
64 int type, in DistributionPointName() argument
67 this.type = type; in DistributionPointName()
78 return this.type; in getType()
94 this.type = obj.getTagNo(); in DistributionPointName()
96 if (type == 0) in DistributionPointName()
108 return new DERTaggedObject(false, type, name); in toASN1Object()
/dalvik/dx/tests/010-class-attrib-InnerClasses/
Dexpected.txt11 0003: type{Small}
12 0004: type{java.lang.Object}
15 0007: type{Zorch}
18 this_class: type{Small}
19 super_class: type{java.lang.Object}
29 inner_class: type{Small}
33 inner_class: type{Small}
37 inner_class: type{Small}
38 outer_class: type{Zorch}
41 inner_class: type{Zorch}
[all …]
/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/
DField.java53 private Class<?> type; field in Field
85 this(orig.declaringClass, orig.type, orig.name, orig.slot); in Field()
93 private Field(Class<?> declaringClass, Class<?> type, String name, int slot) { in Field() argument
95 this.type = type; in Field()
247 return getField(object, declaringClass, type, slot, flag); in get()
276 return getZField(object, declaringClass, type, slot, flag, TYPE_BOOLEAN); in getBoolean()
304 return getBField(object, declaringClass, type, slot, flag, TYPE_BYTE); in getByte()
332 return getCField(object, declaringClass, type, slot, flag, TYPE_CHAR); in getChar()
370 return getDField(object, declaringClass, type, slot, flag, TYPE_DOUBLE); in getDouble()
398 return getFField(object, declaringClass, type, slot, flag, TYPE_FLOAT); in getFloat()
[all …]
/dalvik/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DChunk.java33 public int type; // chunk type field in Chunk
45 public Chunk(int type, byte[] data, int offset, int length) { in Chunk() argument
46 this.type = type; in Chunk()
56 public Chunk(int type, ByteBuffer buf) { in Chunk() argument
57 this.type = type; in Chunk()
DDdmServer.java52 public static void registerHandler(int type, ChunkHandler handler) { in registerHandler() argument
57 if (mHandlerMap.get(type) != null) in registerHandler()
58 throw new RuntimeException("type " + Integer.toHexString(type) in registerHandler()
61 mHandlerMap.put(type, handler); in registerHandler()
70 public static ChunkHandler unregisterHandler(int type) { in unregisterHandler() argument
72 return mHandlerMap.remove(type); in unregisterHandler()
96 nativeSendChunk(chunk.type, chunk.data, chunk.offset, chunk.length); in sendChunk()
100 native private static void nativeSendChunk(int type, byte[] data, in nativeSendChunk() argument
139 private static Chunk dispatch(int type, byte[] data, int offset, int length) in dispatch() argument
163 handler = mHandlerMap.get(type); in dispatch()
[all …]
/dalvik/libcore/nio_char/src/main/java/java/nio/charset/
DCoderResult.java90 private final int type; field in CoderResult
103 private CoderResult(int type, int length) { in CoderResult() argument
105 this.type = type; in CoderResult()
177 return this.type == TYPE_UNDERFLOW; in isUnderflow()
189 return this.type == TYPE_MALFORMED_INPUT in isError()
190 || this.type == TYPE_UNMAPPABLE_CHAR; in isError()
200 return this.type == TYPE_MALFORMED_INPUT; in isMalformed()
210 return this.type == TYPE_OVERFLOW; in isOverflow()
220 return this.type == TYPE_UNMAPPABLE_CHAR; in isUnmappable()
233 if (this.type == TYPE_MALFORMED_INPUT in length()
[all …]
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/
DCollationAttribute.java154 static boolean checkType(int type) in checkType() argument
156 if (type < FRENCH_COLLATION || type > STRENGTH) in checkType()
166 static boolean checkNormalization(int type) in checkNormalization() argument
168 if (type != VALUE_ON && type != VALUE_OFF in checkNormalization()
169 && type != VALUE_ON_WITHOUT_HANGUL) { in checkNormalization()
181 static boolean checkAttribute(int type, int value) in checkAttribute() argument
187 switch (type) in checkAttribute()
/dalvik/dx/tests/003-magic-version-access/
Dexpected.txt38 0003: type{Small}
39 0004: type{java.lang.Object}
42 this_class: type{Small}
43 super_class: type{java.lang.Object}
59 0003: type{Small}
60 0004: type{java.lang.Object}
63 this_class: type{Small}
64 super_class: type{java.lang.Object}
80 0003: type{Small}
81 0004: type{java.lang.Object}
[all …]
/dalvik/libcore/security/src/main/java/java/security/cert/
DCRL.java30 private final String type; field in CRL
39 protected CRL(String type) { in CRL() argument
40 this.type = type; in CRL()
50 return type; in getType()
/dalvik/dx/tests/028-class-attrib-EnclosingMethod/
Dexpected.txt11 0003: type{Small}
12 0004: type{java.lang.Object}
16 this_class: type{Small}
17 super_class: type{java.lang.Object}
26 class: type{Small}
40 0003: type{Small}
41 0004: type{java.lang.Object}
48 this_class: type{Small}
49 super_class: type{java.lang.Object}
58 class: type{Small}
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/
DAudioFileFormat.java26 private AudioFileFormat.Type type; field in AudioFileFormat
32 protected AudioFileFormat(AudioFileFormat.Type type, in AudioFileFormat() argument
36 this.type = type; in AudioFileFormat()
42 public AudioFileFormat(AudioFileFormat.Type type, in AudioFileFormat() argument
45 this.type = type; in AudioFileFormat()
50 public AudioFileFormat(AudioFileFormat.Type type, in AudioFileFormat() argument
54 this.type = type; in AudioFileFormat()
62 return type; in getType()
92 …return type + " (." + type.getExtension() + ") file, data format: " + format + //$NON-NLS-1$ //$NO… in toString()
/dalvik/dx/src/com/android/dx/cf/attrib/
DAttEnclosingMethod.java31 private final CstType type; field in AttEnclosingMethod
43 public AttEnclosingMethod(CstType type, CstNat method) { in AttEnclosingMethod() argument
46 if (type == null) { in AttEnclosingMethod()
50 this.type = type; in AttEnclosingMethod()
65 return type; in getEnclosingClass()
/dalvik/dx/tests/100-local-mismatch/
Dexpected.txt2 …e.SimException: local variable type mismatch: attempt to set or access a value of type int using a…
4 …xception: local variable type mismatch: attempt to set or access a value of type java.lang.Object …
6 …e.SimException: local variable type mismatch: attempt to set or access a value of type int using a…
8 …xception: local variable type mismatch: attempt to set or access a value of type java.lang.String …

12345678910>>...16