Searched refs:type (Results 1 - 25 of 201) sorted by relevance

123456789

/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 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...]
H A DMapItem.java34 /** {@code non-null;} item type this instance covers */
35 private final ItemType type; field in class:MapItem
87 ItemType type = item.itemType();
88 if (type != currentType) {
93 currentType = type;
118 * @param type {@code non-null;} item type this instance covers
124 private MapItem(ItemType type, Section section, Item firstItem, argument
128 if (type == null) {
129 throw new NullPointerException("type
[all...]
/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 DTypeIdsSection.java23 import com.android.dx.rop.type.Type;
64 Type type = ((CstType) cst).getClassType();
65 IndexedItem result = typeIds.get(type);
87 String.format("Too many type identifiers to fit in one dex file: %1$d; max is %2$d.%n"
105 * @param type {@code non-null;} the type to intern
108 public synchronized 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...]
H A DClassDefsSection.java21 import com.android.dx.rop.type.Type;
22 import com.android.dx.rop.type.TypeList;
34 * {@code non-null;} map from type constants for classes to {@link
73 Type type = ((CstType) cst).getClassType();
74 IndexedItem result = classDefs.get(type);
110 Type type;
113 type = clazz.getThisClass().getClassType();
121 if (classDefs.get(type) != null) {
122 throw new IllegalArgumentException("already added: " + type);
125 classDefs.put(type, claz
157 orderItems0(Type type, int idx, int maxDepth) argument
[all...]
H A DMapItem.java33 /** {@code non-null;} item type this instance covers */
34 private final ItemType type; field in class:MapItem
86 ItemType type = item.itemType();
87 if (type != currentType) {
92 currentType = type;
117 * @param type {@code non-null;} item type this instance covers
123 private MapItem(ItemType type, Section section, Item firstItem, argument
127 if (type == null) {
128 throw new NullPointerException("type
[all...]
/dalvik/dx/src/com/android/dx/rop/cst/
H A DCstMethodHandle.java19 import com.android.dx.rop.type.Type;
22 * Constants of type {@code MethodHandle}.
43 /** The type of MethodHandle */
44 private final int type; field in class:CstMethodHandle
53 * @param type the type of this handle
57 public static CstMethodHandle make(int type, Constant ref) { argument
58 if (isAccessor(type)) {
60 throw new IllegalArgumentException("ref has wrong type: " + ref.getClass());
62 } else if (isInvocation(type)) {
78 CstMethodHandle(int type, Constant ref) argument
107 isAccessor(int type) argument
134 isInvocation(int type) argument
162 getMethodHandleTypeName(final int type) argument
[all...]
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/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/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/dx/src/com/android/dx/rop/code/
H A DRegisterSpec.java21 import com.android.dx.rop.type.Type;
22 import com.android.dx.rop.type.TypeBearer;
27 * Combination of a register number and a type, used as the sources and
51 /** {@code non-null;} type loaded or stored */
52 private final TypeBearer type; field in class:RegisterSpec
64 * @param type {@code non-null;} the type (or possibly actual value) which
69 private static RegisterSpec intern(int reg, TypeBearer type, argument
72 interningItem.set(reg, type, local);
85 * Returns an instance for the given register number and type, wit
94 make(int reg, TypeBearer type) argument
109 make(int reg, TypeBearer type, LocalItem local) argument
130 makeLocalOptional( int reg, TypeBearer type, LocalItem local) argument
155 RegisterSpec(int reg, TypeBearer type, LocalItem local) argument
236 equals(int reg, TypeBearer type, LocalItem local) argument
291 hashCodeOf(int reg, TypeBearer type, LocalItem local) argument
635 private TypeBearer type; field in class:RegisterSpec.ForComparison
653 set(int reg, TypeBearer type, LocalItem local) argument
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DRegisterSpec.java21 import com.android.dexgen.rop.type.Type;
22 import com.android.dexgen.rop.type.TypeBearer;
28 * Combination of a register number and a type, used as the sources and
46 /** {@code non-null;} type loaded or stored */
47 private final TypeBearer type; field in class:RegisterSpec
56 * @param type {@code non-null;} the type (or possibly actual value) which
61 private static RegisterSpec intern(int reg, TypeBearer type, argument
63 theInterningItem.set(reg, type, local);
76 * Returns an instance for the given register number and type, wit
85 make(int reg, TypeBearer type) argument
100 make(int reg, TypeBearer type, LocalItem local) argument
121 makeLocalOptional( int reg, TypeBearer type, LocalItem local) argument
146 RegisterSpec(int reg, TypeBearer type, LocalItem local) argument
222 equals(int reg, TypeBearer type, LocalItem local) argument
273 hashCodeOf(int reg, TypeBearer type, LocalItem local) argument
599 private TypeBearer type; field in class:RegisterSpec.ForComparison
617 set(int reg, TypeBearer type, LocalItem local) argument
[all...]
/dalvik/dx/src/com/android/dex/
H A DEncodedValueReader.java44 /** placeholder type if the type is not yet known */
48 private int type = MUST_READ; field in class:EncodedValueReader
62 * known type. This is useful for encoded values without a type prefix,
68 this.type = knownType;
76 * Returns the type of the next value to read.
79 if (type == MUST_READ) {
81 type = argAndType & 0x1f;
84 return type;
[all...]
/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);
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
H A DCstType.java19 import com.android.dexgen.rop.type.Type;
24 * Constants that represent an arbitrary type (reference or primitive).
61 /** {@code non-null;} instance corresponding to the type {@code boolean[]} */
64 /** {@code non-null;} instance corresponding to the type {@code byte[]} */
67 /** {@code non-null;} instance corresponding to the type {@code char[]} */
70 /** {@code non-null;} instance corresponding to the type {@code double[]} */
73 /** {@code non-null;} instance corresponding to the type {@code float[]} */
76 /** {@code non-null;} instance corresponding to the type {@code long[]} */
79 /** {@code non-null;} instance corresponding to the type {@code int[]} */
82 /** {@code non-null;} instance corresponding to the type {
86 private final Type type; field in class:CstType
125 intern(Type type) argument
152 CstType(Type type) argument
[all...]
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/cf/code/
H A DExecutionStack.java20 import com.android.dx.rop.type.Type;
21 import com.android.dx.rop.type.TypeBearer;
93 * Replaces all the occurrences of the given uninitialized type in
96 * @param type {@code non-null;} type to replace
98 public void makeInitialized(Type type) { argument
106 Type initializedType = type.getInitializedType();
109 if (stack[i] == type) {
148 * Pushes a value of the given type onto the stack.
150 * @param type {
154 push(TypeBearer type) argument
274 change(int n, TypeBearer type) argument
326 stackElementString(TypeBearer type) argument
[all...]
H A DOneLocalsArray.java21 import com.android.dx.rop.type.Type;
22 import com.android.dx.rop.type.TypeBearer;
29 * ignores the distinction between {@link com.android.dx.rop.type.Type} and {@link
30 * com.android.dx.rop.type.TypeBearer}.</p>
62 TypeBearer type = locals[i];
63 String s = (type == null) ? "<invalid>" : type.toString();
74 TypeBearer type = locals[i];
75 String s = (type == null) ? "<invalid>" : type
84 makeInitialized(Type type) argument
111 set(int idx, TypeBearer type) argument
[all...]
H A DMachine.java21 import com.android.dx.rop.type.Prototype;
22 import com.android.dx.rop.type.Type;
59 * order, so the first prototype argument type is for the deepest
70 * Pops a value from the stack of the indicated type, and store it
75 * @param type {@code non-null;} type of the argument
77 public void popArgs(Frame frame, Type type); argument
81 * reverse argument order, so the first indicated type is for the
87 * @param type1 {@code non-null;} type of the first argument
88 * @param type2 {@code non-null;} type o
133 auxType(Type type) argument
204 localTarget(int idx, Type type, LocalItem local) argument
[all...]
/dalvik/dx/src/com/android/dx/cf/iface/
H A DMethod.java19 import com.android.dx.rop.type.Prototype;

Completed in 664 milliseconds

123456789