Searched defs:type (Results 1 - 25 of 113) sorted by relevance

12345

/dalvik/dexgen/src/com/android/dexgen/rop/type/
H A DTypeList.java17 package com.android.dexgen.rop.type;
65 * @param type {@code non-null;} item to append
68 public TypeList withAddedType(Type type); argument
H A DTypeBearer.java17 package com.android.dexgen.rop.type;
22 * Object which has an associated type, possibly itself.
27 * Gets the type associated with this instance.
29 * @return {@code non-null;} the type
34 * Gets the frame type corresponding to this type. This method returns
36 * type returns {@code true} but the underlying type is not in
38 * whose underlying type <i>is</i> {@code INT}.
40 * @return {@code non-null;} the frame type fo
[all...]
/dalvik/dx/src/com/android/dx/rop/type/
H A DTypeList.java17 package com.android.dx.rop.type;
65 * @param type {@code non-null;} item to append
68 public TypeList withAddedType(Type type); argument
H A DTypeBearer.java17 package com.android.dx.rop.type;
22 * Object which has an associated type, possibly itself.
27 * Gets the type associated with this instance.
29 * @return {@code non-null;} the type
34 * Gets the frame type corresponding to this type. This method returns
36 * type returns {@code true} but the underlying type is not in
38 * whose underlying type <i>is</i> {@code INT}.
40 * @return {@code non-null;} the frame type fo
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DIdItem.java26 * {@code non-null;} the type constant for the defining class of
29 private final CstType type; field in class:IdItem
34 * @param type {@code non-null;} the type constant for the defining
37 public IdItem(CstType type) { argument
38 if (type == null) {
39 throw new NullPointerException("type == null");
42 this.type = type;
49 typeIds.intern(type);
[all...]
H A DTypeIdItem.java25 * Representation of a type reference inside a Dalvik file.
34 * @param type {@code non-null;} the constant for the type
36 public TypeIdItem(CstType type) { argument
37 super(type);
61 CstType type = getDefiningClass();
62 CstUtf8 descriptor = type.getDescriptor();
H A DProtoIdItem.java21 import com.android.dexgen.rop.type.Prototype;
22 import com.android.dexgen.rop.type.StdTypeList;
23 import com.android.dexgen.rop.type.Type;
85 * Gets the short-form character for the given type.
87 * @param type {@code non-null;} the type
90 private static char shortFormCharFor(Type type) { argument
91 char descriptorChar = type.getDescriptor().charAt(0);
H A DTypeIdsSection.java21 import com.android.dexgen.rop.type.Type;
63 Type type = ((CstType) cst).getClassType();
64 IndexedItem result = typeIds.get(type);
85 throw new UnsupportedOperationException("too many type ids");
100 * @param type {@code non-null;} the type to intern
103 public TypeIdItem intern(Type type) { argument
104 if (type == null) {
105 throw new NullPointerException("type == null");
110 TypeIdItem result = typeIds.get(type);
126 intern(CstType type) argument
151 indexOf(Type type) argument
174 indexOf(CstType type) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
H A DZeroes.java19 import com.android.dexgen.rop.type.Type;
33 * Gets the "zero" (or {@code null}) value for the given type.
35 * @param type {@code non-null;} the type in question
38 public static Constant zeroFor(Type type) { argument
39 switch (type.getBasicType()) {
50 throw new UnsupportedOperationException("no zero for type: " +
51 type.toHuman());
/dalvik/dx/src/com/android/dx/dex/file/
H A DIdItem.java26 * {@code non-null;} the type constant for the defining class of
29 private final CstType type; field in class:IdItem
34 * @param type {@code non-null;} the type constant for the defining
37 public IdItem(CstType type) { argument
38 if (type == null) {
39 throw new NullPointerException("type == null");
42 this.type = type;
49 typeIds.intern(type);
[all...]
H A DTypeIdItem.java26 * Representation of a type reference inside a Dalvik file.
32 * @param type {@code non-null;} the constant for the type
34 public TypeIdItem(CstType type) { argument
35 super(type);
59 CstType type = getDefiningClass();
60 CstString descriptor = type.getDescriptor();
H A DProtoIdItem.java21 import com.android.dx.rop.type.Prototype;
22 import com.android.dx.rop.type.StdTypeList;
23 import com.android.dx.rop.type.Type;
82 * Gets the short-form character for the given type.
84 * @param type {@code non-null;} the type
87 private static char shortFormCharFor(Type type) { argument
88 char descriptorChar = type.getDescriptor().charAt(0);
H A DTypeIdsSection.java24 import com.android.dx.rop.type.Type;
66 Type type = ((CstType) cst).getClassType();
67 IndexedItem result = typeIds.get(type);
88 throw new DexException("Too many type references: " + sz +
105 * @param type {@code non-null;} the type to intern
108 public TypeIdItem intern(Type type) { argument
109 if (type == null) {
110 throw new NullPointerException("type == null");
115 TypeIdItem result = typeIds.get(type);
131 intern(CstType type) argument
156 indexOf(Type type) argument
179 indexOf(CstType type) argument
[all...]
/dalvik/dx/src/com/android/dx/rop/cst/
H A DZeroes.java19 import com.android.dx.rop.type.Type;
33 * Gets the "zero" (or {@code null}) value for the given type.
35 * @param type {@code non-null;} the type in question
38 public static Constant zeroFor(Type type) { argument
39 switch (type.getBasicType()) {
50 throw new UnsupportedOperationException("no zero for type: " +
51 type.toHuman());
/dalvik/libdex/
H A DDexDataMap.h47 void dexDataMapAdd(DexDataMap* map, u4 offset, u2 type);
50 * Get the type associated with the given offset. This returns -1 if
57 * the given type. This will return true if such an entry exists and
60 bool dexDataMapVerify(DexDataMap* map, u4 offset, u2 type);
65 DEX_INLINE bool dexDataMapVerify0Ok(DexDataMap* map, u4 offset, u2 type) { argument
70 return dexDataMapVerify(map, offset, type);
H A DDexDataMap.cpp74 void dexDataMapAdd(DexDataMap* map, u4 offset, u2 type) { argument
86 map->types[map->count] = type;
91 * Get the type associated with the given offset. This returns -1 if
97 // Note: Signed type is important for max and min.
122 * the given type. This will return true if such an entry exists and
125 bool dexDataMapVerify(DexDataMap* map, u4 offset, u2 type) { argument
128 if (found == type) {
134 offset, type);
137 offset, type, found);
/dalvik/vm/native/
H A Dorg_apache_harmony_dalvik_ddmc_DdmServer.cpp25 * private static void nativeSendChunk(int type, byte[] data,
33 int type = args[0]; local
40 dvmDbgDdmSendChunk(type, length, (const u1*)data->contents + offset);
/dalvik/dexgen/src/com/android/dexgen/rop/
H A DStdField.java34 * @param nat {@code non-null;} member name and type (descriptor)
59 * @param type {@code non-null;} type of the field
63 public StdField(Class definingClass, Class type, String name, int modifiers) { argument
66 new CstNat(new CstUtf8(name), CstType.intern(type).getDescriptor()),
/dalvik/dx/src/com/android/dx/cf/attrib/
H A DAttEnclosingMethod.java27 /** {@code non-null;} attribute name for attributes of this type */
31 private final CstType type; field in class:AttEnclosingMethod
33 /** {@code null-ok;} the name-and-type of the innermost enclosing method, if any */
39 * @param type {@code non-null;} the innermost enclosing class
40 * @param method {@code null-ok;} the name-and-type of the innermost enclosing
43 public AttEnclosingMethod(CstType type, CstNat method) { argument
46 if (type == null) {
47 throw new NullPointerException("type == null");
50 this.type = type;
[all...]
/dalvik/tests/064-field-access/src/
H A DMain.java43 * "type" determines which "get" call is made, e.g. 'B' turns into
51 public Object getValue(Field field, Object obj, char type, argument
56 switch (type) {
85 throw new RuntimeException("bad type '" + type + "'");
213 * has the correct type.
239 * Valid object, wrong field type.
266 /* wrong object + wrong field type */
283 public Object getValue(Field field, Object obj, char type, argument
288 switch (type) {
[all...]
/dalvik/vm/reflect/
H A DReflect.h78 * Convert the argument to the specified type.
83 int dvmConvertArgument(DataObject* arg, ClassObject* type, s4* ins);
217 u1 type; member in struct:AnnotationValue
/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DPlainCstInsn.java20 import com.android.dexgen.rop.type.StdTypeList;
21 import com.android.dexgen.rop.type.Type;
22 import com.android.dexgen.rop.type.TypeList;
63 public Insn withAddedCatch(Type type) { argument
H A DPlainInsn.java20 import com.android.dexgen.rop.type.StdTypeList;
21 import com.android.dexgen.rop.type.Type;
22 import com.android.dexgen.rop.type.TypeBearer;
23 import com.android.dexgen.rop.type.TypeList;
84 public Insn withAddedCatch(Type type) { argument
/dalvik/dx/src/com/android/dx/rop/code/
H A DPlainCstInsn.java20 import com.android.dx.rop.type.StdTypeList;
21 import com.android.dx.rop.type.Type;
22 import com.android.dx.rop.type.TypeList;
63 public Insn withAddedCatch(Type type) { argument
H A DPlainInsn.java21 import com.android.dx.rop.type.StdTypeList;
22 import com.android.dx.rop.type.Type;
23 import com.android.dx.rop.type.TypeBearer;
24 import com.android.dx.rop.type.TypeList;
85 public Insn withAddedCatch(Type type) { argument

Completed in 4210 milliseconds

12345