Home
last modified time | relevance | path

Searched refs:referenceType (Results 1 – 25 of 40) sorted by relevance

12

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DReferenceType.java44 public static String toString(int referenceType) { in toString() argument
45 switch (referenceType) { in toString()
55 throw new InvalidReferenceTypeException(referenceType); in toString()
78 public static void validateReferenceType(int referenceType) { in validateReferenceType() argument
79 if (referenceType < 0 || referenceType > 3) { in validateReferenceType()
80 throw new InvalidReferenceTypeException(referenceType); in validateReferenceType()
85 private final int referenceType; field in ReferenceType.InvalidReferenceTypeException
87 public InvalidReferenceTypeException(int referenceType) { in InvalidReferenceTypeException() argument
88 super("Invalid reference type: %d", referenceType); in InvalidReferenceTypeException()
89 this.referenceType = referenceType; in InvalidReferenceTypeException()
[all …]
DOpcode.java327 public final int referenceType; field in Opcode
331 Opcode(short opcodeValue, String opcodeName, int referenceType, Format format) { in Opcode() argument
332 this(opcodeValue, opcodeName, ALL_APIS, referenceType, format, 0, (short)-1); in Opcode()
335 Opcode(short opcodeValue, String opcodeName, int referenceType, Format format, int flags) { in Opcode() argument
336 this(opcodeValue, opcodeName, ALL_APIS, referenceType, format, flags, (short)-1); in Opcode()
339 …Opcode(short opcodeValue, String opcodeName, int referenceType, Format format, int flags, short ju… in Opcode() argument
340 this(opcodeValue, opcodeName, ALL_APIS, referenceType, format, flags, jumboOpcodeValue); in Opcode()
343 …Opcode(short opcodeValue, String opcodeName, int apiConstraints, int referenceType, Format format)… in Opcode() argument
344 this(opcodeValue, opcodeName, apiConstraints, referenceType, format, 0, (short)-1); in Opcode()
347 …Opcode(short opcodeValue, String opcodeName, int apiConstraints, int referenceType, Format format,… in Opcode() argument
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
DResourceReferenceResolver.java11 private String referenceType; field in ResourceReferenceResolver
14 ResourceReferenceResolver(String referenceType) { in ResourceReferenceResolver() argument
15 this(referenceType, new String[] { referenceType }); in ResourceReferenceResolver()
18 ResourceReferenceResolver(String referenceType, String[] allowedReferenceTypesForRawValues) { in ResourceReferenceResolver() argument
19 this.referenceType = referenceType; in ResourceReferenceResolver()
28 String valuePointer = referenceType + "/" + name; in processResource()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/threegpp26244/
DSegmentIndexBox.java176 byte referenceType; field in SegmentIndexBox.Entry
186 …public Entry(byte referenceType, int referencedSize, long subsegmentDuration, byte startsWithSap, … in Entry() argument
187 this.referenceType = referenceType; in Entry()
196 return referenceType; in getReferenceType()
199 public void setReferenceType(byte referenceType) { in setReferenceType() argument
200 this.referenceType = referenceType; in setReferenceType()
246 "referenceType=" + referenceType + in toString()
262 if (referenceType != entry.referenceType) return false; in equals()
274 int result = (int) referenceType; in hashCode()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/
DDexBackedInstruction20bc.java55 int referenceType = getReferenceType(); in getReference() local
56 …return DexBackedReference.makeReference(dexFile, referenceType, dexFile.readUshort(instructionStar… in getReference()
60 int referenceType = (dexFile.readUbyte(instructionStart + 1) >>> 6) + 1; in getReferenceType() local
61 ReferenceType.validateReferenceType(referenceType); in getReferenceType()
62 return referenceType; in getReferenceType()
DDexBackedInstruction31c.java54 return DexBackedReference.makeReference(dexFile, opcode.referenceType, in getReference()
60 return opcode.referenceType; in getReferenceType()
DDexBackedInstruction21c.java54 …return DexBackedReference.makeReference(dexFile, opcode.referenceType, dexFile.readUshort(instruct… in getReference()
59 return opcode.referenceType; in getReferenceType()
DDexBackedInstruction3rc.java61 return DexBackedReference.makeReference(dexFile, opcode.referenceType, in getReference()
67 return opcode.referenceType; in getReferenceType()
DDexBackedInstruction22c.java63 …return DexBackedReference.makeReference(dexFile, opcode.referenceType, dexFile.readUshort(instruct… in getReference()
68 return opcode.referenceType; in getReferenceType()
DDexBackedInstruction35c.java82 return DexBackedReference.makeReference(dexFile, opcode.referenceType, in getReference()
88 return opcode.referenceType; in getReferenceType()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DSyntheticAccessCommentMethodItem.java112 int referenceType; in writeTo() local
114 referenceType = ReferenceType.METHOD; in writeTo()
116 referenceType = ReferenceType.FIELD; in writeTo()
118 ReferenceFormatter.writeReference(writer, referenceType, accessedMember.accessedMember); in writeTo()
DReferenceFormatter.java46 public static void writeReference(IndentingWriter writer, int referenceType, in writeReference() argument
48 switch (referenceType) { in writeReference()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/
DDexBackedReference.java42 …public static Reference makeReference(@Nonnull DexBackedDexFile dexFile, int referenceType, int re… in makeReference() argument
43 switch (referenceType) { in makeReference()
53 throw new ExceptionWithContext("Invalid reference type: %d", referenceType); in makeReference()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/
DImmutableReferenceFactory.java59 public static ImmutableReference of(int referenceType, Reference reference) { in of() argument
60 switch (referenceType) { in of()
70 throw new ExceptionWithContext("Invalid reference type: %d", referenceType); in of()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DPreconditions.java191 public static <T extends Reference> T checkReference(int referenceType, T reference) { in checkReference() argument
192 switch (referenceType) { in checkReference()
214 …throw new IllegalArgumentException(String.format("Not a valid reference type: %d", referenceType)); in checkReference()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/instruction/
DImmutableInstruction31c.java55 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); in ImmutableInstruction31c()
70 @Override public int getReferenceType() { return opcode.referenceType; } in getReferenceType()
DImmutableInstruction21c.java55 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); in ImmutableInstruction21c()
70 @Override public int getReferenceType() { return opcode.referenceType; } in getReferenceType()
DImmutableInstruction3rc.java59 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); in ImmutableInstruction3rc()
76 @Override public int getReferenceType() { return opcode.referenceType; } in getReferenceType()
DImmutableInstruction22c.java58 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); in ImmutableInstruction22c()
75 @Override public int getReferenceType() { return opcode.referenceType; } in getReferenceType()
DImmutableInstruction35c.java70 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); in ImmutableInstruction35c()
95 @Override public int getReferenceType() { return opcode.referenceType; } in getReferenceType()
DImmutableInstruction20bc.java56 this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); in ImmutableInstruction20bc()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/instruction/
DBuilderInstruction21c.java59 @Override public int getReferenceType() { return opcode.referenceType; } in getReferenceType()
DBuilderInstruction31c.java59 @Override public int getReferenceType() { return opcode.referenceType; } in getReferenceType()
DBuilderInstruction3rc.java64 @Override public int getReferenceType() { return opcode.referenceType; } in getReferenceType()
DBuilderInstruction22c.java63 @Override public int getReferenceType() { return opcode.referenceType; } in getReferenceType()

12