Home
last modified time | relevance | path

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

1234

/external/connectedappssdk/tests/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DCrossProfileSupportedReturnTypeTest.java51 TypeWithReturnValue.referenceType("Void"), in data()
52 TypeWithReturnValue.referenceType("String"), in data()
53 TypeWithReturnValue.referenceType("String[]"), in data()
55 TypeWithReturnValue.referenceType("Byte"), in data()
57 TypeWithReturnValue.referenceType("Short"), in data()
59 TypeWithReturnValue.referenceType("Integer"), in data()
61 TypeWithReturnValue.referenceType("Long"), in data()
63 TypeWithReturnValue.referenceType("Float"), in data()
65 TypeWithReturnValue.referenceType("Double"), in data()
67 TypeWithReturnValue.referenceType("Character"), in data()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DReferenceType.java47 public static String toString(int referenceType) { in toString() argument
48 switch (referenceType) { in toString()
64 throw new InvalidReferenceTypeException(referenceType); in toString()
93 public static void validateReferenceType(int referenceType) { in validateReferenceType() argument
94 if (referenceType < 0 || referenceType > 4) { in validateReferenceType()
95 throw new InvalidReferenceTypeException(referenceType); in validateReferenceType()
100 private final int referenceType; field in ReferenceType.InvalidReferenceTypeException
102 public InvalidReferenceTypeException(int referenceType) { in InvalidReferenceTypeException() argument
103 super("Invalid reference type: %d", referenceType); in InvalidReferenceTypeException()
104 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/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()
DDexBackedInstruction45cc.java82 return DexBackedReference.makeReference(dexFile, opcode.referenceType, in getReference()
88 return opcode.referenceType; in getReferenceType()
/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()
/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()
/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()
59 throw new ExceptionWithContext("Invalid reference type: %d", referenceType); in makeReference()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/
DImmutableReferenceFactory.java68 public static ImmutableReference of(int referenceType, Reference reference) { in of() argument
69 switch (referenceType) { in of()
85 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/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DAvoidNonConstGlobalVariablesCheck.cpp29 hasType(referenceType())))); // References can't be changed, only the in registerMatchers()
33 varDecl(hasGlobalStorage(), hasType(referenceType()), in registerMatchers()
/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()

1234