Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 48) sorted by relevance

12

/dalvik/dexgen/src/com/android/dexgen/dex/file/
DFieldAnnotationStruct.java31 private final CstFieldRef field; field in FieldAnnotationStruct
42 public FieldAnnotationStruct(CstFieldRef field, in FieldAnnotationStruct() argument
44 if (field == null) { in FieldAnnotationStruct()
52 this.field = field; in FieldAnnotationStruct()
58 return field.hashCode(); in hashCode()
67 return field.equals(((FieldAnnotationStruct) other).field); in equals()
72 return field.compareTo(other.field); in compareTo()
80 fieldIds.intern(field); in addContents()
86 int fieldIdx = file.getFieldIds().indexOf(field); in writeTo()
90 out.annotate(0, " " + field.toHuman()); in writeTo()
[all …]
DEncodedField.java34 private final CstFieldRef field; field in EncodedField
42 public EncodedField(CstFieldRef field, int accessFlags) { in EncodedField() argument
45 if (field == null) { in EncodedField()
54 this.field = field; in EncodedField()
59 return field.hashCode(); in hashCode()
80 return field.compareTo(other.field); in compareTo()
92 sb.append(field); in toString()
101 fieldIds.intern(field); in addContents()
107 return field.getNat().getName(); in getName()
112 return field.toHuman(); in toHuman()
[all …]
DClassDataItem.java123 public void addStaticField(EncodedField field, Constant value) { in addStaticField() argument
124 if (field == null) { in addStaticField()
133 staticFields.add(field); in addStaticField()
134 staticValues.put(field, value); in addStaticField()
142 public void addInstanceField(EncodedField field) { in addInstanceField() argument
143 if (field == null) { in addInstanceField()
147 instanceFields.add(field); in addInstanceField()
232 for (EncodedField field : staticFields) { in addContents()
233 field.addContents(file); in addContents()
239 for (EncodedField field : instanceFields) { in addContents()
[all …]
DFieldIdsSection.java98 public FieldIdItem intern(CstFieldRef field) { in intern() argument
99 if (field == null) { in intern()
105 FieldIdItem result = fieldIds.get(field); in intern()
108 result = new FieldIdItem(field); in intern()
109 fieldIds.put(field, result); in intern()
DFieldIdItem.java30 public FieldIdItem(CstFieldRef field) { in FieldIdItem() argument
31 super(field); in FieldIdItem()
DClassDefItem.java279 public void addStaticField(EncodedField field, Constant value) { in addStaticField() argument
280 classData.addStaticField(field, value); in addStaticField()
288 public void addInstanceField(EncodedField field) { in addInstanceField() argument
289 classData.addInstanceField(field); in addInstanceField()
338 public void addFieldAnnotations(CstFieldRef field, in addFieldAnnotations() argument
340 annotationsDirectory.addFieldAnnotations(field, annotations); in addFieldAnnotations()
/dalvik/dx/src/com/android/dx/dex/file/
DFieldAnnotationStruct.java31 private final CstFieldRef field; field in FieldAnnotationStruct
42 public FieldAnnotationStruct(CstFieldRef field, in FieldAnnotationStruct() argument
44 if (field == null) { in FieldAnnotationStruct()
52 this.field = field; in FieldAnnotationStruct()
59 return field.hashCode(); in hashCode()
69 return field.equals(((FieldAnnotationStruct) other).field); in equals()
75 return field.compareTo(other.field); in compareTo()
83 fieldIds.intern(field); in addContents()
89 int fieldIdx = file.getFieldIds().indexOf(field); in writeTo()
93 out.annotate(0, " " + field.toHuman()); in writeTo()
[all …]
DEncodedField.java33 private final CstFieldRef field; field in EncodedField
41 public EncodedField(CstFieldRef field, int accessFlags) { in EncodedField() argument
44 if (field == null) { in EncodedField()
53 this.field = field; in EncodedField()
59 return field.hashCode(); in hashCode()
82 return field.compareTo(other.field); in compareTo()
94 sb.append(field); in toString()
103 fieldIds.intern(field); in addContents()
109 return field.getNat().getName(); in getName()
115 return field.toHuman(); in toHuman()
[all …]
DClassDataItem.java119 public void addStaticField(EncodedField field, Constant value) { in addStaticField() argument
120 if (field == null) { in addStaticField()
129 staticFields.add(field); in addStaticField()
130 staticValues.put(field, value); in addStaticField()
138 public void addInstanceField(EncodedField field) { in addInstanceField() argument
139 if (field == null) { in addInstanceField()
143 instanceFields.add(field); in addInstanceField()
228 for (EncodedField field : staticFields) { in addContents()
229 field.addContents(file); in addContents()
235 for (EncodedField field : instanceFields) { in addContents()
[all …]
DFieldIdsSection.java97 public synchronized FieldIdItem intern(CstFieldRef field) { in intern() argument
98 if (field == null) { in intern()
104 FieldIdItem result = fieldIds.get(field); in intern()
107 result = new FieldIdItem(field); in intern()
108 fieldIds.put(field, result); in intern()
DFieldIdItem.java30 public FieldIdItem(CstFieldRef field) { in FieldIdItem() argument
31 super(field); in FieldIdItem()
DClassDefItem.java276 public void addStaticField(EncodedField field, Constant value) { in addStaticField() argument
277 classData.addStaticField(field, value); in addStaticField()
285 public void addInstanceField(EncodedField field) { in addInstanceField() argument
286 classData.addInstanceField(field); in addInstanceField()
337 public void addFieldAnnotations(CstFieldRef field, in addFieldAnnotations() argument
339 annotationsDirectory.addFieldAnnotations(field, annotations, dexFile); in addFieldAnnotations()
/dalvik/dexgen/src/com/android/dexgen/rop/
DStdField.java47 public StdField(java.lang.reflect.Field field) { in StdField() argument
48 this(CstType.intern(field.getDeclaringClass()), in StdField()
49 field.getModifiers(), in StdField()
50 new CstNat(new CstUtf8(field.getName()), in StdField()
51 CstType.intern(field.getType()).getDescriptor()), in StdField()
DStdFieldList.java46 public void set(int n, Field field) { in set() argument
47 set0(n, field); in set()
/dalvik/dx/tests/131-perf/
DClassGen.java30 for (int field = 1; field <= fields; field++) { in main()
31 pw.println(" public static int f" + field + ";"); in main()
/dalvik/opcode-gen/
Dbytecode.txt67 # field-ref
70 # field-offset
168 op 52 iget 22c y field-ref continue|throw
169 op 53 iget-wide 22c y field-ref continue|throw
170 op 54 iget-object 22c y field-ref continue|throw
171 op 55 iget-boolean 22c y field-ref continue|throw
172 op 56 iget-byte 22c y field-ref continue|throw
173 op 57 iget-char 22c y field-ref continue|throw
174 op 58 iget-short 22c y field-ref continue|throw
175 op 59 iput 22c n field-ref continue|throw
[all …]
/dalvik/dx/src/com/android/dx/cf/direct/
DFieldListParser.java80 StdField field = in set() local
83 fields.set(n, field); in set()
84 return field; in set()
/dalvik/dx/src/com/android/dx/cf/iface/
DStdFieldList.java47 public void set(int n, Field field) { in set() argument
48 set0(n, field); in set()
/dalvik/dx/tests/118-find-usages/
Dexpected.txt2 LFoo;.readStreamTokenizerNval: field reference D.nval (iget-wide)
3 LFoo;.writeStreamTokenizerNval: field reference D.nval (iput-wide)
/dalvik/dx/tests/115-merge/testdata/
DBasic.java5 String field = "this is a field"; field in Basic
/dalvik/dx/tests/024-code-bytecode/
Dexpected.txt26 0014: field{Small.blort:x/y/Zzz}
246 014e: getstatic field{Small.blort:x/y/Zzz}
247 0151: putstatic field{Small.blort:x/y/Zzz}
248 0154: getfield field{Small.blort:x/y/Zzz}
249 0157: putfield field{Small.blort:x/y/Zzz}
/dalvik/dx/tests/137-dexmerger-dex38/
Dexpected.txt46 … |0000: sget-object v0, Ljava/lang/System;.out:Ljava/io/PrintStream; // field@0010
87 … |0001: sput v0, Linvokecustom/InvokeCustom;.staticFieldTest9:I // field@000f
106 … |0004: iput v0, v1, Linvokecustom/InvokeCustom;.fieldTest9:F // field@000e
128 … |0004: iput v0, v3, Linvokecustom/InvokeCustom;.fieldTest9:F // field@000e
129 … |0006: sget-object v0, Ljava/lang/System;.out:Ljava/io/PrintStream; // field@0010
164 … |0000: sget-object v0, Ljava/lang/System;.out:Ljava/io/PrintStream; // field@0010
201 … |0000: sget-object v0, Ljava/lang/System;.out:Ljava/io/PrintStream; // field@0010
236 … |0000: sget-object v0, Ljava/lang/System;.out:Ljava/io/PrintStream; // field@0010
301 … |0000: sget-object v0, Ljava/lang/System;.out:Ljava/io/PrintStream; // field@0010
330 … |003c: sget-object v0, Ljava/lang/System;.out:Ljava/io/PrintStream; // field@0010
[all …]
/dalvik/dx/tests/016-field-attrib-Deprecated/
Dinfo.txt6 field with a valid Deprecated attribute.
/dalvik/dx/tests/015-field-attrib-Synthetic/
Dinfo.txt6 field with a valid Synthetic attribute.
/dalvik/dx/tests/026-field-attrib-Signature/
Dinfo.txt6 field with a syntactically valid Signature attribute.

12