OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:typeIndex
(Results
1 - 25
of
139
) sorted by null
1
2
3
4
5
6
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/
DexBackedTypeReference.java
41
public final int
typeIndex
;
44
int
typeIndex
) {
46
this.
typeIndex
=
typeIndex
;
50
return dexFile.getType(
typeIndex
);
/libcore/dex/src/main/java/com/android/dex/
FieldId.java
24
private final int
typeIndex
;
27
public FieldId(Dex dex, int declaringClassIndex, int
typeIndex
, int nameIndex) {
30
this.
typeIndex
=
typeIndex
;
39
return
typeIndex
;
53
return Unsigned.compare(
typeIndex
, other.
typeIndex
); // should always be 0
58
out.writeUnsignedShort(
typeIndex
);
64
return declaringClassIndex + " " +
typeIndex
+ " " + nameIndex;
66
return dex.typeNames().get(
typeIndex
) + "." + dex.strings().get(nameIndex)
[
all
...]
ClassDef.java
26
private final int
typeIndex
;
35
public ClassDef(Dex buffer, int offset, int
typeIndex
, int accessFlags,
40
this.
typeIndex
=
typeIndex
;
55
return
typeIndex
;
92
return
typeIndex
+ " " + supertypeIndex;
96
result.append(buffer.typeNames().get(
typeIndex
));
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/value/
DexBackedTypeEncodedValue.java
42
private final int
typeIndex
;
46
typeIndex
= reader.readSizedSmallUint(valueArg + 1);
50
return dexFile.getType(
typeIndex
);
/external/javassist/src/main/javassist/bytecode/annotation/
EnumMemberValue.java
32
int
typeIndex
, valueIndex;
45
this.
typeIndex
= type;
55
typeIndex
= valueIndex = 0;
82
return Descriptor.toClassName(cp.getUtf8Info(
typeIndex
));
91
typeIndex
= cp.addUtf8Info(Descriptor.of(typename));
116
writer.enumConstValue(cp.getUtf8Info(
typeIndex
), getValue());
AnnotationsWriter.java
129
* @param
typeIndex
<code>type_index</code> in <code>annotation</code>.
133
public void annotation(int
typeIndex
, int numMemberValuePairs)
136
write16bit(
typeIndex
);
Annotation.java
54
int
typeIndex
;
72
typeIndex
= type;
238
return Descriptor.toClassName(pool.getUtf8Info(
typeIndex
));
306
String typeName = pool.getUtf8Info(
typeIndex
);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
TypeIdItem.java
60
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
public static String getOptionalReferenceAnnotation(@Nonnull DexBackedDexFile dexFile, int
typeIndex
) {
72
if (
typeIndex
== -1) {
75
return getReferenceAnnotation(dexFile,
typeIndex
);
TypeListItem.java
58
int
typeIndex
= dexFile.readUshort(out.getCursor());
59
out.annotate(2, TypeIdItem.getReferenceAnnotation(dexFile,
typeIndex
));
94
int
typeIndex
= dexFile.readUshort(typeListOffset + 4 + i*2);
95
String type = dexFile.getType(
typeIndex
);
FieldIdItem.java
60
int
typeIndex
= dexFile.readUshort(out.getCursor());
61
out.annotate(2, "return_type_idx = %s", TypeIdItem.getReferenceAnnotation(dexFile,
typeIndex
));
75
int
typeIndex
= dexFile.readUshort(fieldOffset + TYPE_OFFSET);
76
String fieldType = dexFile.getType(
typeIndex
);
AnnotationItem.java
82
int
typeIndex
= reader.readSmallUleb128();
83
String annotationType = dexFile.getType(
typeIndex
);
DebugInfoItem.java
112
int
typeIndex
= reader.readSmallUleb128() - 1;
114
TypeIdItem.getOptionalReferenceAnnotation(dexFile,
typeIndex
));
126
int
typeIndex
= reader.readSmallUleb128() - 1;
128
TypeIdItem.getOptionalReferenceAnnotation(dexFile,
typeIndex
));
EncodedValue.java
91
int
typeIndex
= reader.readSizedSmallUint(valueArg+1);
92
out.annotate(valueArg+1, "value = %s", TypeIdItem.getReferenceAnnotation(reader.dexBuf,
typeIndex
));
132
int
typeIndex
= reader.readSmallUleb128();
133
out.annotateTo(reader.getOffset(), TypeIdItem.getReferenceAnnotation(reader.dexBuf,
typeIndex
));
/external/parameter-framework/upstream/parameter/
CompoundRule.cpp
63
for (size_t
typeIndex
= 0;
typeIndex
< 2;
typeIndex
++) {
65
if (ruleParser.getType() == _apcTypes[
typeIndex
]) {
68
_bTypeAll =
typeIndex
!= 0;
/libcore/libart/src/main/java/java/lang/
DexCache.java
110
native Class<?> getResolvedType(int
typeIndex
);
112
native void setResolvedType(int
typeIndex
, Class<?> type);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
FakeAdapter.java
66
int
typeIndex
= mTypes.indexOf(viewRef);
67
if (
typeIndex
== -1) {
68
typeIndex
= mTypes.size();
74
int index = typeCount[
typeIndex
];
75
typeCount[
typeIndex
] += count;
78
mItems.add(new AdapterItem(dataBindingItem,
typeIndex
, mItems.size(), index++));
FakeExpandableAdapter.java
66
int
typeIndex
= types.indexOf(viewRef);
67
if (
typeIndex
== -1) {
68
typeIndex
= types.size();
80
int index = typeCount[
typeIndex
];
81
typeCount[
typeIndex
] += count;
84
AdapterItem item = new AdapterItem(dataBindingItem,
typeIndex
, mItems.size(),
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DexBackedAnnotation.java
44
public final int
typeIndex
;
53
this.
typeIndex
= reader.readSmallUleb128();
58
@Nonnull @Override public String getType() { return dexFile.getType(
typeIndex
); }
DexBackedDexFile.java
177
public int getTypeIdItemOffset(int
typeIndex
) {
178
if (
typeIndex
< 0 ||
typeIndex
>= typeCount) {
179
throw new InvalidItemIndex(
typeIndex
, "Type index out of bounds: %d",
typeIndex
);
181
return typeStartOffset +
typeIndex
*TypeIdItem.ITEM_SIZE;
254
public String getType(int
typeIndex
) {
255
int typeOffset = getTypeIdItemOffset(
typeIndex
);
261
public String getOptionalType(int
typeIndex
) {
262
if (
typeIndex
== -1)
[
all
...]
/external/skia/src/gpu/vk/
GrVkMemory.cpp
16
uint32_t*
typeIndex
) {
23
*
typeIndex
= i;
36
uint32_t
typeIndex
;
40
&
typeIndex
)) {
48
typeIndex
, // memoryTypeIndex
/dalvik/dx/src/com/android/dx/command/findusages/
FindUsages.java
70
int
typeIndex
= Collections.binarySearch(dex.typeIds(), typeStringIndex);
71
if (
typeIndex
< 0) {
74
methodIds.addAll(getMethodIds(dex, memberNameIndexes,
typeIndex
));
75
fieldIds.addAll(getFieldIds(dex, memberNameIndexes,
typeIndex
));
187
* Returns the set of types that can be assigned to {@code
typeIndex
}.
189
private Set<Integer> findAssignableTypes(Dex dex, int
typeIndex
) {
191
assignableTypes.add(
typeIndex
);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DebugWriter.java
66
int
typeIndex
= typeSection.getNullableItemIndex(type);
74
writer.writeUleb128(
typeIndex
+ 1);
79
writer.writeUleb128(
typeIndex
+ 1);
/external/skia/src/animator/
SkBuildCondensedInfo.cpp
131
int
typeIndex
= 0;
132
for (;
typeIndex
< kNumberOfTypes;
typeIndex
++) {
134
maker, (SkDisplayTypes)
typeIndex
, nullptr);
138
SkASSERT(
typeIndex
< kNumberOfTypes);
139
AddInfo((SkDisplayTypes)
typeIndex
, info, oldRefCounts[index]);
/external/proguard/src/proguard/preverify/
CodePreverifier.java
268
int
typeIndex
= 0;
276
typeIndex
++;
283
typeCount =
typeIndex
;
296
typeIndex
= 0;
300
for (int index = 0;
typeIndex
< typeCount; index++)
331
types[
typeIndex
++] = type;
370
int
typeIndex
= typeCount;
379
types[--
typeIndex
] =
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DebugInfoDecoder.java
159
public int
typeIndex
;
165
int
typeIndex
, int signatureIndex) {
170
this.
typeIndex
=
typeIndex
;
177
nameIndex,
typeIndex
, signatureIndex);
333
prevle.nameIndex, prevle.
typeIndex
, 0);
358
prevle.nameIndex, prevle.
typeIndex
,
Completed in 1358 milliseconds
1
2
3
4
5
6