OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ClassDefItem
(Results
1 - 25
of
56
) sorted by null
1
2
3
/dalvik/dexgen/src/com/android/dexgen/dex/file/
ClassDefsSection.java
36
*
ClassDefItem
} instances that define those classes
38
private final TreeMap<Type,
ClassDefItem
> classDefs;
41
private ArrayList<
ClassDefItem
> orderedDefs;
51
classDefs = new TreeMap<Type,
ClassDefItem
>();
110
public void add(
ClassDefItem
clazz) {
135
orderedDefs = new ArrayList<
ClassDefItem
>(sz);
159
ClassDefItem
c = classDefs.get(type);
DexFile.java
141
public void add(
ClassDefItem
clazz) {
152
public
ClassDefItem
getClassOrNull(String name) {
155
return (
ClassDefItem
) classDefs.get(new CstType(type));
ClassDefItem.java
44
public final class
ClassDefItem
extends IndexedItem {
90
public
ClassDefItem
(CstType thisClass, int accessFlags,
/dalvik/dx/src/com/android/dx/dex/file/
ClassDefsSection.java
35
*
ClassDefItem
} instances that define those classes
37
private final TreeMap<Type,
ClassDefItem
> classDefs;
40
private ArrayList<
ClassDefItem
> orderedDefs;
50
classDefs = new TreeMap<Type,
ClassDefItem
>();
109
public void add(
ClassDefItem
clazz) {
134
orderedDefs = new ArrayList<
ClassDefItem
>(sz);
158
ClassDefItem
c = classDefs.get(type);
DexFile.java
160
public void add(
ClassDefItem
clazz) {
171
public
ClassDefItem
getClassOrNull(String name) {
174
return (
ClassDefItem
) classDefs.get(new CstType(type));
ClassDefItem.java
44
public final class
ClassDefItem
extends IndexedItem {
88
public
ClassDefItem
(CstType thisClass, int accessFlags,
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
ClassDefsSection.java
36
*
ClassDefItem
} instances that define those classes
38
private final TreeMap<Type,
ClassDefItem
> classDefs;
41
private ArrayList<
ClassDefItem
> orderedDefs;
51
classDefs = new TreeMap<Type,
ClassDefItem
>();
110
public void add(
ClassDefItem
clazz) {
135
orderedDefs = new ArrayList<
ClassDefItem
>(sz);
159
ClassDefItem
c = classDefs.get(type);
DexFile.java
162
public void add(
ClassDefItem
clazz) {
173
public
ClassDefItem
getClassOrNull(String name) {
176
return (
ClassDefItem
) classDefs.get(new CstType(type));
ClassDefItem.java
44
public final class
ClassDefItem
extends IndexedItem {
88
public
ClassDefItem
(CstType thisClass, int accessFlags,
/cts/tools/dex-tools/src/dex/reader/
DexFileImpl.java
19
import dex.reader.DexFileReader.
ClassDefItem
;
37
private
ClassDefItem
[] classDefItems;
44
MethodsIdItem[] methodIdItems,
ClassDefItem
[] classDefItems) {
DexFileReader.java
65
private
ClassDefItem
[] classDefItems;
243
public static class
ClassDefItem
{
257
classDefItems = new
ClassDefItem
[nClassDefs];
259
ClassDefItem
item = null;
261
item = new
ClassDefItem
();
DexClassImpl.java
28
import dex.reader.DexFileReader.
ClassDefItem
;
43
private final
ClassDefItem
classDefItem
;
69
public DexClassImpl(DexBuffer buffer,
ClassDefItem
classDefItem
,
73
this.
classDefItem
=
classDefItem
;
79
hasClassData =
classDefItem
.class_data_off != 0;
119
if (
classDefItem
.annotations_off != 0) {
120
buffer.setPosition(
classDefItem
.annotations_off)
[
all
...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DexBackedClassDef.java
38
import org.jf.dexlib2.dexbacked.raw.
ClassDefItem
;
77
int classDataOffset = dexFile.readSmallUint(classDefOffset +
ClassDefItem
.CLASS_DATA_OFFSET);
98
return dexFile.getType(dexFile.readSmallUint(classDefOffset +
ClassDefItem
.CLASS_OFFSET));
104
return dexFile.getOptionalType(dexFile.readOptionalUint(classDefOffset +
ClassDefItem
.SUPERCLASS_OFFSET));
109
return dexFile.readSmallUint(classDefOffset +
ClassDefItem
.ACCESS_FLAGS_OFFSET);
115
return dexFile.getOptionalString(dexFile.readOptionalUint(classDefOffset +
ClassDefItem
.SOURCE_FILE_OFFSET));
121
final int interfacesOffset = dexFile.readSmallUint(classDefOffset +
ClassDefItem
.INTERFACES_OFFSET);
156
dexFile.readSmallUint(classDefOffset +
ClassDefItem
.STATIC_VALUES_OFFSET);
402
int annotationsDirectoryOffset = dexFile.readSmallUint(classDefOffset +
ClassDefItem
.ANNOTATIONS_OFFSET);
DexBackedDexFile.java
209
return classStartOffset + classIndex*
ClassDefItem
.ITEM_SIZE;
/dalvik/dx/src/com/android/dx/dex/cf/
CfTranslator.java
31
import com.android.dx.dex.file.
ClassDefItem
;
66
* classfiles into {@link
ClassDefItem
} instances.
81
* translates it into a {@link
ClassDefItem
}.
90
public static
ClassDefItem
translate(DirectClassFile cf, byte[] bytes,
112
private static
ClassDefItem
translate0(DirectClassFile cf, byte[] bytes,
124
ClassDefItem
out =
125
new
ClassDefItem
(thisClass, classAccessFlags,
167
DirectClassFile cf,
ClassDefItem
out, DexFile dexFile) {
249
DexOptions dexOptions,
ClassDefItem
out, DexFile dexFile) {
/cts/tools/dex-tools/test/dex/reader/util/
JavaSourceToDexUtil.java
35
import com.android.dx.dex.file.
ClassDefItem
;
78
ClassDefItem
classDefItem
= CfTranslator.translate(memoryByteCode.getName().replace('.', '/') +".class", memoryByteCode.getBytes(), cfOptions);
79
dexFile.add(
classDefItem
);
/art/tools/dexfuzz/src/dexfuzz/rawdex/
ClassDefItem.java
21
public class
ClassDefItem
implements RawDexObject {
ClassDataItem.java
33
public
ClassDefItem
classDefItem
;
RawDexFile.java
38
public List<
ClassDefItem
> classDefs;
68
classDefs = new ArrayList<
ClassDefItem
>(header.classDefsSize);
198
for (
ClassDefItem
classDef : classDefs) {
365
for (
ClassDefItem
classDef : classDefs) {
MapList.java
105
ClassDefItem
newClassDef = new
ClassDefItem
();
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DexData.java
35
private
ClassDefItem
[] mClassDefs;
267
mClassDefs = new
ClassDefItem
[count];
272
mClassDefs[i] = new
ClassDefItem
();
606
static class
ClassDefItem
{
/external/dexmaker/src/main/java/com/google/dexmaker/
DexMaker.java
24
import com.android.dx.dex.file.
ClassDefItem
;
461
ClassDefItem
toClassDefItem() {
472
ClassDefItem
out = new
ClassDefItem
(thisType, flags, supertype.constant,
/dalvik/dx/src/com/android/dx/command/dexer/
Main.java
37
import com.android.dx.dex.file.
ClassDefItem
;
776
private static
ClassDefItem
translateClass(byte[] bytes, DirectClassFile cf) {
792
private static boolean addClassToDex(
ClassDefItem
clazz) {
[
all
...]
/art/tools/dexfuzz/src/dexfuzz/program/
Program.java
42
import dexfuzz.rawdex.
ClassDefItem
;
237
* Associate
ClassDefItem
to a ClassDataItem and vice-versa.
242
for (
ClassDefItem
classDefItem
: rawDexFile.classDefs) {
243
if (
classDefItem
.classDataOff.pointsToSomething()) {
245
classDefItem
.classDataOff.getPointedToItem();
246
classDataItem.meta.
classDefItem
=
classDefItem
;
247
classDefItem
.meta.classDataItem = classDataItem;
262
if (classDataItem.meta.
classDefItem
!= null)
[
all
...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
ClassDefItem.java
43
public class
ClassDefItem
{
Completed in 472 milliseconds
1
2
3