Home
last modified time | relevance | path

Searched refs:typeIndex (Results 1 – 25 of 43) sorted by relevance

12

/external/annotation-tools/scene-lib/src/annotations/el/
DTypeIndexLocation.java10 public final int typeIndex; field in TypeIndexLocation
12 public TypeIndexLocation(int typeIndex) { in TypeIndexLocation() argument
13 this.typeIndex = typeIndex; in TypeIndexLocation()
17 return typeIndex == l.typeIndex; in equals()
30 h.mash(typeIndex); in hashCode()
36 return "TypeIndexLocation(" + typeIndex + ")"; in toString()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DTypeIdItem.java60 public static String getReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int typeIndex) {
62 String typeString = dexFile.getType(typeIndex);
63 return String.format("type_id_item[%d]: %s", typeIndex, typeString);
67 return String.format("type_id_item[%d]", typeIndex);
71 …ic static String getOptionalReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int typeIndex) {
72 if (typeIndex == -1) {
75 return getReferenceAnnotation(dexFile, typeIndex);
DTypeListItem.java58 int typeIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator() local
59 out.annotate(2, TypeIdItem.getReferenceAnnotation(dexFile, typeIndex)); in makeAnnotator()
94 int typeIndex = dexFile.readUshort(typeListOffset + 4 + i*2);
95 String type = dexFile.getType(typeIndex);
DFieldIdItem.java60 int typeIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator() local
61 … out.annotate(2, "return_type_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile, typeIndex)); in makeAnnotator()
75 int typeIndex = dexFile.readUshort(fieldOffset + TYPE_OFFSET);
76 String fieldType = dexFile.getType(typeIndex);
DEncodedValue.java91 int typeIndex = reader.readSizedSmallUint(valueArg+1); in annotateEncodedValue() local
92 …ut.annotate(valueArg+1, "value = %s", TypeIdItem.getReferenceAnnotation(reader.dexBuf, typeIndex)); in annotateEncodedValue()
132 int typeIndex = reader.readSmallUleb128(); in annotateEncodedAnnotation() local
133 … out.annotateTo(reader.getOffset(), TypeIdItem.getReferenceAnnotation(reader.dexBuf, typeIndex)); in annotateEncodedAnnotation()
DDebugInfoItem.java112 int typeIndex = reader.readSmallUleb128() - 1; in makeAnnotator() local
114 TypeIdItem.getOptionalReferenceAnnotation(dexFile, typeIndex)); in makeAnnotator()
126 int typeIndex = reader.readSmallUleb128() - 1; in makeAnnotator() local
128 TypeIdItem.getOptionalReferenceAnnotation(dexFile, typeIndex)); in makeAnnotator()
DAnnotationItem.java82 int typeIndex = reader.readSmallUleb128();
83 String annotationType = dexFile.getType(typeIndex);
DClassDefItem.java123 int typeIndex = dexFile.readSmallUint(offset + CLASS_OFFSET); in asString() local
124 return dexFile.getType(typeIndex); in asString()
/external/javassist/src/main/javassist/bytecode/annotation/
DEnumMemberValue.java32 int typeIndex, valueIndex; field in EnumMemberValue
45 this.typeIndex = type; in EnumMemberValue()
55 typeIndex = valueIndex = 0; in EnumMemberValue()
82 return Descriptor.toClassName(cp.getUtf8Info(typeIndex)); in getType()
91 typeIndex = cp.addUtf8Info(Descriptor.of(typename)); in setType()
116 writer.enumConstValue(cp.getUtf8Info(typeIndex), getValue()); in write()
DAnnotation.java54 int typeIndex; field in Annotation
72 typeIndex = type; in Annotation()
238 return Descriptor.toClassName(pool.getUtf8Info(typeIndex)); in getTypeName()
306 String typeName = pool.getUtf8Info(typeIndex); in write()
DAnnotationsWriter.java133 public void annotation(int typeIndex, int numMemberValuePairs) in annotation() argument
136 write16bit(typeIndex); in annotation()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/
DDexBackedTypeReference.java42 public final int typeIndex; field in DexBackedTypeReference
45 int typeIndex) { in DexBackedTypeReference() argument
47 this.typeIndex = typeIndex; in DexBackedTypeReference()
51 return dexFile.getType(typeIndex); in getType()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java154 public int getTypeIdItemOffset(int typeIndex) {
155 if (typeIndex < 0 || typeIndex >= typeCount) {
156 throw new InvalidItemIndex(typeIndex, "Type index out of bounds: %d", typeIndex);
158 return typeStartOffset + typeIndex*TypeIdItem.ITEM_SIZE;
231 public String getType(int typeIndex) {
232 int typeOffset = getTypeIdItemOffset(typeIndex);
238 public String getOptionalType(int typeIndex) {
239 if (typeIndex == -1) {
242 return getType(typeIndex);
DDexBackedAnnotation.java44 public final int typeIndex; field in DexBackedAnnotation
53 this.typeIndex = reader.readSmallUleb128(); in DexBackedAnnotation()
58 @Nonnull @Override public String getType() { return dexFile.getType(typeIndex); } in getType()
/external/annotation-tools/annotation-file-utilities/src/annotator/find/
DIntersectionTypeLocationCriterion.java16 private final int typeIndex; field in IntersectionTypeLocationCriterion
19 typeIndex = loc.type_index; in IntersectionTypeLocationCriterion()
39 if (typeIndex < bounds.size() in isSatisfiedBy()
40 && leaf == bounds.get(typeIndex)) { in isSatisfiedBy()
59 return "IntersectionTypeLocation: at type index: " + typeIndex; in toString()
/external/parameter-framework/upstream/parameter/
DCompoundRule.cpp63 for (size_t typeIndex = 0; typeIndex < 2; typeIndex++) { in parse() local
65 if (ruleParser.getType() == _apcTypes[typeIndex]) { in parse()
68 _bTypeAll = typeIndex != 0; in parse()
/external/skia/src/gpu/vk/
DGrVkMemory.cpp22 uint32_t* typeIndex, in get_valid_memory_type_index() argument
29 *typeIndex = i; in get_valid_memory_type_index()
68 uint32_t typeIndex = 0; in AllocAndBindBufferMemory() local
78 &typeIndex, in AllocAndBindBufferMemory()
84 &typeIndex, in AllocAndBindBufferMemory()
88 VkMemoryPropertyFlags mpf = phDevMemProps.memoryTypes[typeIndex].propertyFlags; in AllocAndBindBufferMemory()
101 &typeIndex, in AllocAndBindBufferMemory()
108 if (!heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindBufferMemory()
112 0, &typeIndex, &heapIndex) || in AllocAndBindBufferMemory()
113 !heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindBufferMemory()
[all …]
/external/skqp/src/gpu/vk/
DGrVkMemory.cpp22 uint32_t* typeIndex, in get_valid_memory_type_index() argument
29 *typeIndex = i; in get_valid_memory_type_index()
68 uint32_t typeIndex = 0; in AllocAndBindBufferMemory() local
78 &typeIndex, in AllocAndBindBufferMemory()
84 &typeIndex, in AllocAndBindBufferMemory()
88 VkMemoryPropertyFlags mpf = phDevMemProps.memoryTypes[typeIndex].propertyFlags; in AllocAndBindBufferMemory()
101 &typeIndex, in AllocAndBindBufferMemory()
108 if (!heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindBufferMemory()
112 0, &typeIndex, &heapIndex) || in AllocAndBindBufferMemory()
113 !heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindBufferMemory()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/value/
DDexBackedTypeEncodedValue.java42 private final int typeIndex; field in DexBackedTypeEncodedValue
46 typeIndex = reader.readSizedSmallUint(valueArg + 1); in DexBackedTypeEncodedValue()
50 return dexFile.getType(typeIndex); in getValue()
/external/proguard/src/proguard/preverify/
DCodePreverifier.java268 int typeIndex = 0; in correspondingVerificationTypes() local
276 typeIndex++; in correspondingVerificationTypes()
283 typeCount = typeIndex; in correspondingVerificationTypes()
296 typeIndex = 0; in correspondingVerificationTypes()
300 for (int index = 0; typeIndex < typeCount; index++) in correspondingVerificationTypes()
331 types[typeIndex++] = type; in correspondingVerificationTypes()
370 int typeIndex = typeCount; in correspondingVerificationTypes() local
379 types[--typeIndex] = in correspondingVerificationTypes()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDebugWriter.java66 int typeIndex = typeSection.getNullableItemIndex(type); in writeStartLocal() local
74 writer.writeUleb128(typeIndex + 1); in writeStartLocal()
79 writer.writeUleb128(typeIndex + 1); in writeStartLocal()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePattern.java991 int typeIndex=index=skipWhiteSpace(index+1); in parseArg() local
995 int length=index-typeIndex; in parseArg()
1011 if(isChoice(typeIndex)) { in parseArg()
1013 } else if(isPlural(typeIndex)) { in parseArg()
1015 } else if(isSelect(typeIndex)) { in parseArg()
1019 if(isSelect(typeIndex) && isOrdinal(typeIndex+6)) { in parseArg()
1026 addPart(Part.Type.ARG_TYPE, typeIndex, length, 0); in parseArg()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePattern.java1062 int typeIndex=index=skipWhiteSpace(index+1); in parseArg() local
1066 int length=index-typeIndex; in parseArg()
1082 if(isChoice(typeIndex)) { in parseArg()
1084 } else if(isPlural(typeIndex)) { in parseArg()
1086 } else if(isSelect(typeIndex)) { in parseArg()
1090 if(isSelect(typeIndex) && isOrdinal(typeIndex+6)) { in parseArg()
1097 addPart(Part.Type.ARG_TYPE, typeIndex, length, 0); in parseArg()
/external/annotation-tools/scene-lib/src/annotations/io/
DJavapParser.java158 int typeIndex = Integer.parseInt( in parseTypeIndex() local
161 return typeIndex; in parseTypeIndex()
240 int typeIndex = parseTypeIndex(); in chooseSubElement() local
241 …rType = ((AMethod) member).body.typecasts.vivify(RelativeLocation.createOffset(offset, typeIndex)); in chooseSubElement()
/external/annotation-tools/scene-lib/src/annotations/io/classfile/
DClassAnnotationSceneWriter.java1068 int typeIndex = entry.getKey().type_index; in ensureVisitTypecastAnnotations() local
1078 visitTypeIndex(xav, typeIndex); in ensureVisitTypecastAnnotations()
1098 visitTypeIndex(xav, typeIndex); in ensureVisitTypecastAnnotations()
1235 int typeIndex = entry.getKey().type_index; in ensureVisitMemberReferenceAnnotations() local
1252 visitTypeIndex(xav, typeIndex); in ensureVisitMemberReferenceAnnotations()
1271 visitTypeIndex(xav, typeIndex); in ensureVisitMemberReferenceAnnotations()
1290 int typeIndex = entry.getKey().type_index; in ensureVisitMethodInvocationAnnotations() local
1305 visitTypeIndex(xav, typeIndex); in ensureVisitMethodInvocationAnnotations()
1324 visitTypeIndex(xav, typeIndex); in ensureVisitMethodInvocationAnnotations()

12