Home
last modified time | relevance | path

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

12

/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/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/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/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DAnnotationEntryGen.java42 private int typeIndex; field in AnnotationEntryGen
62 typeIndex = cpool.addUtf8(a.getAnnotationType()); in AnnotationEntryGen()
64 typeIndex = a.getAnnotationTypeIndex(); in AnnotationEntryGen()
87 final AnnotationEntry a = new AnnotationEntry(typeIndex, cpool.getConstantPool(), in getAnnotation()
99 this.typeIndex = cpool.addUtf8(type.getSignature()); in AnnotationEntryGen()
107 a.typeIndex = dis.readUnsignedShort(); in read()
119 dos.writeShort(typeIndex); // u2 index of type name in cpool in dump()
134 return typeIndex; in getTypeIndex()
140 .getConstant(typeIndex/* c.getNameIndex() */); in getTypeSignature()
/external/swiftshader/third_party/SPIRV-Tools/source/
Doperand.cpp53 for (uint64_t typeIndex = 0; typeIndex < table->count; ++typeIndex) { in spvOperandTableNameLookup() local
54 const auto& group = table->types[typeIndex]; in spvOperandTableNameLookup()
94 for (uint64_t typeIndex = 0; typeIndex < table->count; ++typeIndex) { in spvOperandTableValueLookup() local
95 const auto& group = table->types[typeIndex]; in spvOperandTableValueLookup()
/external/deqp-deps/SPIRV-Tools/source/
Doperand.cpp53 for (uint64_t typeIndex = 0; typeIndex < table->count; ++typeIndex) { in spvOperandTableNameLookup() local
54 const auto& group = table->types[typeIndex]; in spvOperandTableNameLookup()
94 for (uint64_t typeIndex = 0; typeIndex < table->count; ++typeIndex) { in spvOperandTableValueLookup() local
95 const auto& group = table->types[typeIndex]; in spvOperandTableValueLookup()
/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/deqp/external/openglcts/modules/common/
DglcShaderMacroTests.cpp144 for (std::size_t typeIndex = 0; typeIndex < shaderTypes.size(); ++typeIndex) in init() local
146 glu::ShaderType shaderType = shaderTypes[typeIndex]; in init()
DglcShaderConstExprTests.cpp235 for (std::size_t typeIndex = 0; typeIndex < shaderTypes.size(); ++typeIndex) in createTestCasesForAllShaderTypes() local
237 glu::ShaderType shaderType = shaderTypes[typeIndex]; in createTestCasesForAllShaderTypes()
/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DMinimalSymbolDumper.cpp357 std::string MinimalSymbolDumper::typeIndex(TypeIndex TI) const { in typeIndex() function in MinimalSymbolDumper
425 P.formatLine("type = {0}, offset = {1}", typeIndex(BPRel.Type), BPRel.Offset); in visitKnownRecord()
438 P.formatLine("type = {0}, addr = {1}", typeIndex(CSI.Type), in visitKnownRecord()
460 typeIndex(FS.Index), FS.ModFilenameOffset, *FileName, in visitKnownRecord()
467 typeIndex(FS.Index), FS.ModFilenameOffset, in visitKnownRecord()
522 P.formatLine("type = {0}, value = {1}", typeIndex(Constant.Type), in visitKnownRecord()
530 P.formatLine("type = {0}, addr = {1}", typeIndex(Data.Type), in visitKnownRecord()
631 P.formatLine("type = {0}, addr = {1} call size = {2}", typeIndex(HAS.Type), in visitKnownRecord()
654 formatRegisterId(Register.Register), typeIndex(Register.Index)); in visitKnownRecord()
691 P.formatLine("type={0}, flags = {1}", typeIndex(Local.Type), FlagStr); in visitKnownRecord()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResTable.java519 final PackageGroup packageGroup, int typeIndex, int entryIndex,
523 … final List<Type> typeList = getOrDefault(packageGroup.types, typeIndex, Collections.emptyList());
525 ALOGV("Skipping entry type index 0x%02x because type is NULL!\n", typeIndex);
533 byte actualTypeIndex = (byte) typeIndex;
543 int realTypeIndex = typeIndex;
564 Res_MAKEID(packageGroup.id - 1, typeIndex, entryIndex),
893 byte typeIndex = (byte) (typeSpec.id - 1);
896 typeIndex = (byte) (idmapEntry.targetTypeId() - 1);
906 … List<Type> typeList = computeIfAbsent(group.types, (int) typeIndex, k -> new ArrayList<>());
969 byte typeIndex = (byte) (type.id - 1);
[all …]
/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/protobuf/csharp/src/Google.Protobuf/Reflection/
DMessageDescriptor.cs63 …scriptorProto proto, FileDescriptor file, MessageDescriptor parent, int typeIndex, GeneratedClrTyp… in MessageDescriptor() argument
64 : base(file, file.ComputeFullName(parent, proto.Name), typeIndex) in MessageDescriptor()
/external/icu/icu4c/source/common/
Dmessagepattern.cpp594 int32_t typeIndex=index=skipWhiteSpace(index+1); in parseArg() local
598 int32_t length=index-typeIndex; in parseArg()
618 if(isChoice(typeIndex)) { in parseArg()
620 } else if(isPlural(typeIndex)) { in parseArg()
622 } else if(isSelect(typeIndex)) { in parseArg()
626 if(isSelect(typeIndex) && isOrdinal(typeIndex+6)) { in parseArg()
633 addPart(UMSGPAT_PART_TYPE_ARG_TYPE, typeIndex, length, 0, errorCode); in parseArg()

12