HomeSort by relevance Sort by last modified time
    Searched refs:referenceType (Results 1 - 25 of 106) sorted by null

1 2 3 4 5

  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/
ReferenceType.java 37 public final class ReferenceType {
45 public static String toString(int referenceType) {
46 switch (referenceType) {
58 throw new InvalidReferenceTypeException(referenceType);
83 public static void validateReferenceType(int referenceType) {
84 if (referenceType < 0 || referenceType > 4) {
85 throw new InvalidReferenceTypeException(referenceType);
90 private final int referenceType;
92 public InvalidReferenceTypeException(int referenceType) {
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/
DexBackedInstruction20bc.java 35 import org.jf.dexlib2.ReferenceType;
55 int referenceType = getReferenceType();
56 return DexBackedReference.makeReference(dexFile, referenceType, dexFile.readUshort(instructionStart + 2));
60 int referenceType = (dexFile.readUbyte(instructionStart + 1) >>> 6) + 1;
61 ReferenceType.validateReferenceType(referenceType);
62 return referenceType;
DexBackedInstruction21c.java 54 return DexBackedReference.makeReference(dexFile, opcode.referenceType, dexFile.readUshort(instructionStart + 2));
59 return opcode.referenceType;
DexBackedInstruction31c.java 54 return DexBackedReference.makeReference(dexFile, opcode.referenceType,
60 return opcode.referenceType;
DexBackedInstruction3rc.java 61 return DexBackedReference.makeReference(dexFile, opcode.referenceType,
67 return opcode.referenceType;
DexBackedInstruction22c.java 63 return DexBackedReference.makeReference(dexFile, opcode.referenceType, dexFile.readUshort(instructionStart + 2));
68 return opcode.referenceType;
DexBackedInstruction35c.java 82 return DexBackedReference.makeReference(dexFile, opcode.referenceType,
88 return opcode.referenceType;
DexBackedInstruction45cc.java 82 return DexBackedReference.makeReference(dexFile, opcode.referenceType,
88 return opcode.referenceType;
DexBackedInstruction4rcc.java 61 return DexBackedReference.makeReference(dexFile, opcode.referenceType,
67 return opcode.referenceType;
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/
DexBackedReference.java 34 import org.jf.dexlib2.ReferenceType;
42 public static Reference makeReference(@Nonnull DexBackedDexFile dexFile, int referenceType, int referenceIndex) {
43 switch (referenceType) {
44 case ReferenceType.STRING:
46 case ReferenceType.TYPE:
48 case ReferenceType.METHOD:
50 case ReferenceType.FIELD:
52 case ReferenceType.METHOD_PROTO:
55 throw new ExceptionWithContext("Invalid reference type: %d", referenceType);
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
ResourceReferenceResolver.java 11 private String referenceType;
14 ResourceReferenceResolver(String referenceType) {
15 this(referenceType, new String[] { referenceType });
18 ResourceReferenceResolver(String referenceType, String[] allowedReferenceTypesForRawValues) {
19 this.referenceType = referenceType;
28 String valuePointer = referenceType + "/" + name;
  /external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
ReferenceFormatter.java 31 import org.jf.dexlib2.ReferenceType;
46 public static void writeReference(IndentingWriter writer, int referenceType,
48 switch (referenceType) {
49 case ReferenceType.STRING:
52 case ReferenceType.TYPE:
55 case ReferenceType.METHOD:
58 case ReferenceType.FIELD:
SyntheticAccessCommentMethodItem.java 31 import org.jf.dexlib2.ReferenceType;
112 int referenceType;
114 referenceType = ReferenceType.METHOD;
116 referenceType = ReferenceType.FIELD;
118 ReferenceFormatter.writeReference(writer, referenceType, accessedMember.accessedMember);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/threegpp26244/
SegmentIndexBox.java 176 byte referenceType;
186 public Entry(byte referenceType, int referencedSize, long subsegmentDuration, byte startsWithSap, byte sapType, int sapDeltaTime) {
187 this.referenceType = referenceType;
196 return referenceType;
199 public void setReferenceType(byte referenceType) {
200 this.referenceType = referenceType;
246 "referenceType=" + referenceType
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/
ImmutableReferenceFactory.java 34 import org.jf.dexlib2.ReferenceType;
62 public static ImmutableReference of(int referenceType, Reference reference) {
63 switch (referenceType) {
64 case ReferenceType.STRING:
66 case ReferenceType.TYPE:
68 case ReferenceType.FIELD:
70 case ReferenceType.METHOD:
72 case ReferenceType.METHOD_PROTO:
75 throw new ExceptionWithContext("Invalid reference type: %d", referenceType);
  /external/mockito/src/main/java/org/mockito/internal/util/
Primitives.java 45 public static boolean isAssignableFromWrapper(Class<?> valueClass, Class<?> referenceType) {
46 if(isPrimitiveOrWrapper(valueClass) && isPrimitiveOrWrapper(referenceType)) {
47 return Primitives.primitiveTypeOf(valueClass).isAssignableFrom(referenceType);
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/
ImmutableInstruction21c.java 55 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference);
70 @Override public int getReferenceType() { return opcode.referenceType; }
ImmutableInstruction22c.java 58 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference);
75 @Override public int getReferenceType() { return opcode.referenceType; }
ImmutableInstruction31c.java 55 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference);
70 @Override public int getReferenceType() { return opcode.referenceType; }
ImmutableInstruction3rc.java 59 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference);
76 @Override public int getReferenceType() { return opcode.referenceType; }
ImmutableInstruction35c.java 70 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference);
95 @Override public int getReferenceType() { return opcode.referenceType; }
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/instruction/
BuilderInstruction21c.java 59 @Override public int getReferenceType() { return opcode.referenceType; }
BuilderInstruction31c.java 59 @Override public int getReferenceType() { return opcode.referenceType; }
  /external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/value/
LazyObjectReference.java 51 @Override public ReferenceType referenceType() {
52 return getValue().referenceType();
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
Preconditions.java 36 import org.jf.dexlib2.ReferenceType;
191 public static <T extends Reference> T checkReference(int referenceType, T reference) {
192 switch (referenceType) {
193 case ReferenceType.STRING:
198 case ReferenceType.TYPE:
203 case ReferenceType.FIELD:
208 case ReferenceType.METHOD:
214 throw new IllegalArgumentException(String.format("Not a valid reference type: %d", referenceType));

Completed in 2340 milliseconds

1 2 3 4 5