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

1 2 3

  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/
ReferenceType.java 37 public final class ReferenceType {
44 public static String toString(int referenceType) {
45 switch (referenceType) {
55 throw new InvalidReferenceTypeException(referenceType);
78 public static void validateReferenceType(int referenceType) {
79 if (referenceType < 0 || referenceType > 3) {
80 throw new InvalidReferenceTypeException(referenceType);
85 private final int referenceType;
87 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;
  /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:
53 throw new ExceptionWithContext("Invalid reference type: %d", referenceType);
  /external/robolectric/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;
59 public static ImmutableReference of(int referenceType, Reference reference) {
60 switch (referenceType) {
61 case ReferenceType.STRING:
63 case ReferenceType.TYPE:
65 case ReferenceType.FIELD:
67 case ReferenceType.METHOD:
70 throw new ExceptionWithContext("Invalid reference type: %d", 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; }
ImmutableInstruction20bc.java 36 import org.jf.dexlib2.ReferenceType;
56 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference);
71 @Override public int getReferenceType() { return ReferenceType.getReferenceType(reference); }
  /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; }
BuilderInstruction22c.java 63 @Override public int getReferenceType() { return opcode.referenceType; }
BuilderInstruction3rc.java 64 @Override public int getReferenceType() { return opcode.referenceType; }
BuilderInstruction35c.java 79 @Override public int getReferenceType() { return opcode.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 837 milliseconds

1 2 3