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

1234

/dalvik/dx/junit-tests/com/android/dx/rop/type/
H A DTypeTest.java17 package com.android.dx.rop.type;
/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...]
H A DClassDefsSection.java21 import com.android.dexgen.rop.type.Type;
22 import com.android.dexgen.rop.type.TypeList;
35 * {@code non-null;} map from type constants for classes to {@link
74 Type type = ((CstType) cst).getClassType();
75 IndexedItem result = classDefs.get(type);
111 Type type;
114 type = clazz.getThisClass().getClassType();
122 if (classDefs.get(type) != null) {
123 throw new IllegalArgumentException("already added: " + type);
126 classDefs.put(type, claz
158 orderItems0(Type type, int idx, int maxDepth) 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.java23 import com.android.dx.rop.type.Type;
65 Type type = ((CstType) cst).getClassType();
66 IndexedItem result = typeIds.get(type);
88 String.format("Too many type identifiers to fit in one dex file: %1$d; max is %2$d.%n"
106 * @param type {@code non-null;} the type to intern
109 public synchronized TypeIdItem intern(Type type) { argument
110 if (type == null) {
111 throw new NullPointerException("type == null");
116 TypeIdItem result = typeIds.get(type);
132 intern(CstType type) argument
157 indexOf(Type type) argument
180 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.cpp75 void dexDataMapAdd(DexDataMap* map, u4 offset, u2 type) { argument
87 map->types[map->count] = type;
92 * Get the type associated with the given offset. This returns -1 if
98 // Note: Signed type is important for max and min.
123 * the given type. This will return true if such an entry exists and
126 bool dexDataMapVerify(DexDataMap* map, u4 offset, u2 type) { argument
129 if (found == type) {
135 offset, type);
138 offset, type, found);
/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/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/dex/
H A DEncodedValueCodec.java32 public static void writeSignedIntegralValue(ByteOutput out, int type, long value) { argument
48 * Write the header byte, which includes the type and
51 out.writeByte(type | ((requiredBytes - 1) << 5));
64 public static void writeUnsignedIntegralValue(ByteOutput out, int type, long value) { argument
75 * Write the header byte, which includes the type and
78 out.writeByte(type | ((requiredBytes - 1) << 5));
91 public static void writeRightZeroExtendedValue(ByteOutput out, int type, long value) { argument
105 * Write the header byte, which includes the type and
108 out.writeByte(type | ((requiredBytes - 1) << 5));
/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 501 milliseconds

1234