Home
last modified time | relevance | path

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

123

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DReferenceType.java45 public static String toString(int referenceType) { in toString() argument
46 switch (referenceType) { in toString()
58 throw new InvalidReferenceTypeException(referenceType); in toString()
83 public static void validateReferenceType(int referenceType) { in validateReferenceType() argument
84 if (referenceType < 0 || referenceType > 4) { in validateReferenceType()
85 throw new InvalidReferenceTypeException(referenceType); in validateReferenceType()
90 private final int referenceType; field in ReferenceType.InvalidReferenceTypeException
92 public InvalidReferenceTypeException(int referenceType) { in InvalidReferenceTypeException() argument
93 super("Invalid reference type: %d", referenceType); in InvalidReferenceTypeException()
94 this.referenceType = referenceType; in InvalidReferenceTypeException()
[all …]
/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/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DObjectReferenceImpl.java89 return (ClassTypeImpl)referenceType(); in invokableReferenceType()
146 return referenceType(); in type()
149 public ReferenceType referenceType() { in referenceType() method in ObjectReferenceImpl
154 type = vm.referenceType(rtinfo.typeID, in referenceType()
181 ((ReferenceTypeImpl)referenceType()).validateFieldAccess(field); in getValues()
195 map = referenceType().getValues(staticFields); in getValues()
236 ((ReferenceTypeImpl)referenceType()).validateFieldSet(field); in setValue()
239 ReferenceType type = referenceType(); in setValue()
394 if (referenceType() instanceof InterfaceType) { in invokeMethod()
395 InterfaceType type = (InterfaceType)referenceType(); in invokeMethod()
[all …]
DClassObjectReferenceImpl.java44 reflectedType = vm.referenceType(reply.typeID, in reflectedType()
59 return "instance of " + referenceType().name() + in toString()
DEventSetImpl.java364 private ReferenceType referenceType; field in EventSetImpl.ClassPrepareEventImpl
368 referenceType = this.vm.referenceType(evt.typeID, evt.refTypeTag, in ClassPrepareEventImpl()
370 ((ReferenceTypeImpl)referenceType).setStatus(evt.status); in ClassPrepareEventImpl()
373 public ReferenceType referenceType() { in referenceType() method in EventSetImpl.ClassPrepareEventImpl
374 return referenceType; in referenceType()
497 this.refType = this.vm.referenceType(typeID, refTypeTag); in WatchpointEventImpl()
/external/smali/baksmali/src/main/java/org/jf/baksmali/
DListReferencesCommand.java44 private final int referenceType; field in ListReferencesCommand
50 public ListReferencesCommand(@Nonnull List<JCommander> commandAncestors, int referenceType) { in ListReferencesCommand() argument
52 this.referenceType = referenceType; in ListReferencesCommand()
70 for (Reference reference: dexFile.getReferences(referenceType)) { in run()
/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()
DDexBackedInstruction21c.java54 …return DexBackedReference.makeReference(dexFile, opcode.referenceType, dexFile.readUshort(instruct… in getReference()
59 return opcode.referenceType; in getReferenceType()
DDexBackedInstruction31c.java54 return DexBackedReference.makeReference(dexFile, opcode.referenceType, in getReference()
60 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()
DDexBackedInstruction4rcc.java61 return DexBackedReference.makeReference(dexFile, opcode.referenceType, in getReference()
67 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/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DTypeHelper.java35 ResolvedReferenceType referenceType = (ResolvedReferenceType) type; in isProperType() local
36 return referenceType.typeParametersValues().stream().allMatch(it -> isProperType(it)); in isProperType()
136 private static boolean isUnboxable(ResolvedType referenceType) { in isUnboxable() argument
137 if (!referenceType.isReferenceType()) { in isUnboxable()
140 …return Arrays.stream(ResolvedPrimitiveType.values()).anyMatch(pt -> referenceType.asReferenceType(… in isUnboxable()
143 private static ResolvedType toUnboxedType(ResolvedReferenceType referenceType) { in toUnboxedType() argument
144 throw new UnsupportedOperationException(referenceType.toString()); in toUnboxedType()
/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()
55 throw new ExceptionWithContext("Invalid reference type: %d", referenceType); in makeReference()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/
DImmutableReferenceFactory.java62 public static ImmutableReference of(int referenceType, Reference reference) { in of() argument
63 switch (referenceType) { in of()
75 throw new ExceptionWithContext("Invalid reference type: %d", referenceType); in of()
/external/mockito/src/main/java/org/mockito/internal/util/
DPrimitives.java45 public static boolean isAssignableFromWrapper(Class<?> valueClass, Class<?> referenceType) { in isAssignableFromWrapper() argument
46 if(isPrimitiveOrWrapper(valueClass) && isPrimitiveOrWrapper(referenceType)) { in isAssignableFromWrapper()
47 …Primitives.primitiveTypeOf(valueClass).isAssignableFrom(Primitives.primitiveTypeOf(referenceType)); in isAssignableFromWrapper()
/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()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DMethodHTML.java84 + Class2HTML.referenceType(type) + "</TD><TD><A NAME=\"field" + name + "\">" + name in writeField()
125 file.print("<TD>" + Class2HTML.referenceType(type) + "</TD><TD>" + "<A HREF=" + class_name in writeMethod()
129 file.print(Class2HTML.referenceType(args[i])); in writeMethod()

123