Home
last modified time | relevance | path

Searched refs:FieldId (Results 1 – 18 of 18) sorted by relevance

/dalvik/dx/src/com/android/dx/gen/
DFieldId.java26 public final class FieldId<D, V> { class
35 FieldId(Type<D> declaringType, Type<V> type, String name) { in FieldId() method in FieldId
59 return o instanceof FieldId in equals()
60 && ((FieldId<?, ?>) o).declaringType.equals(declaringType) in equals()
61 && ((FieldId<?, ?>) o).name.equals(name); in equals()
DDexGenerator.java92 public void declare(FieldId<?, ?> fieldId, int flags, Object staticValue) { in declare() argument
165 private final Map<FieldId, FieldDeclaration> fields
166 = new LinkedHashMap<FieldId, FieldDeclaration>();
210 final FieldId<?, ?> fieldId;
214 FieldDeclaration(FieldId<?, ?> fieldId, int accessFlags, Object staticValue) { in FieldDeclaration() argument
DType.java112 public <V> FieldId<T, V> getField(Type<V> type, String name) { in getField()
113 return new FieldId<T, V>(this, type, name); in getField()
DCode.java391 public <D, V> void iget(FieldId<D, V> fieldId, Local<D> instance, Local<V> target) { in iget()
397 public <D, V> void iput(FieldId<D, V> fieldId, Local<D> instance, Local<V> source) { in iput()
402 public <V> void sget(FieldId<?, V> fieldId, Local<V> target) { in sget() argument
408 public <V> void sput(FieldId<?, V> fieldId, Local<V> source) { in sput() argument
/dalvik/dx/src/com/android/dx/io/
DFieldId.java21 public final class FieldId implements Comparable<FieldId> { class
27 public FieldId(DexBuffer buffer, int declaringClassIndex, int typeIndex, int nameIndex) { in FieldId() method in FieldId
46 public int compareTo(FieldId other) { in compareTo()
DDexBuffer.java97 private final List<FieldId> fieldIds = new AbstractList<FieldId>() {
98 @Override public FieldId get(int index) {
244 public List<FieldId> fieldIds() { in fieldIds()
397 public FieldId readFieldId() {
401 return new FieldId(DexBuffer.this, declaringClassIndex, typeIndex, nameIndex);
DDexIndexPrinter.java72 for (FieldId fieldId : dexBuffer.fieldIds()) { in printFieldIds()
/dalvik/vm/jdwp/
DJdwp.h40 typedef u4 FieldId; /* static or instance field */ typedef
50 INLINE FieldId dvmReadFieldId(const u1** pBuf) { return read4BE(pBuf); } in dvmReadFieldId()
55 INLINE void dvmSetFieldId(u1* buf, FieldId val) { return set4BE(buf, val); } in dvmSetFieldId()
60 INLINE void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { in expandBufAddFieldId()
DJdwpEvent.h67 FieldId fieldId;
DJdwpHandler.cpp307 expandBufAdd4BE(pReply, sizeof(FieldId)); in handleVM_IDSizes()
552 FieldId fieldId = dvmReadFieldId(&buf); in handleRT_GetValues()
733 FieldId fieldId = dvmReadFieldId(&buf); in handleCT_SetValues()
884 FieldId fieldId = dvmReadFieldId(&buf); in handleOR_GetValues()
903 FieldId fieldId = dvmReadFieldId(&buf); in handleOR_SetValues()
1488 FieldId fieldId = dvmReadFieldId(&buf); in handleER_Set()
DJdwpEvent.cpp110 FieldId field; /* FieldOnly */
/dalvik/vm/
DDebugger.h211 u1 dvmDbgGetFieldBasicTag(ObjectId objId, FieldId fieldId);
212 u1 dvmDbgGetStaticFieldBasicTag(RefTypeId refTypeId, FieldId fieldId);
213 void dvmDbgGetFieldValue(ObjectId objectId, FieldId fieldId, ExpandBuf* pReply);
214 void dvmDbgSetFieldValue(ObjectId objectId, FieldId fieldId, u8 value,
216 void dvmDbgGetStaticFieldValue(RefTypeId refTypeId, FieldId fieldId,
218 void dvmDbgSetStaticFieldValue(RefTypeId refTypeId, FieldId fieldId,
DDebugger.cpp339 static FieldId fieldToFieldId(const Field* field) in fieldToFieldId()
341 return (FieldId)(u4) field; in fieldToFieldId()
343 static Field* fieldIdToField(RefTypeId refTypeId, FieldId id) in fieldIdToField()
1445 u1 dvmDbgGetFieldBasicTag(ObjectId objId, FieldId fieldId) in dvmDbgGetFieldBasicTag()
1456 u1 dvmDbgGetStaticFieldBasicTag(RefTypeId refTypeId, FieldId fieldId) in dvmDbgGetStaticFieldBasicTag()
1468 void dvmDbgGetFieldValue(ObjectId objectId, FieldId fieldId, ExpandBuf* pReply) in dvmDbgGetFieldValue()
1517 void dvmDbgSetFieldValue(ObjectId objectId, FieldId fieldId, u8 value, in dvmDbgSetFieldValue()
1565 void dvmDbgGetStaticFieldValue(RefTypeId refTypeId, FieldId fieldId, in dvmDbgGetStaticFieldValue()
1621 void dvmDbgSetStaticFieldValue(RefTypeId refTypeId, FieldId fieldId, in dvmDbgSetStaticFieldValue()
/dalvik/dx/junit-tests/
DHelloWorldMaker.java20 import com.android.dx.gen.FieldId;
29 private static final FieldId<System, PrintStream> SYSTEM_OUT
/dalvik/dx/src/com/android/dx/merge/
DIndexMap.java25 import com.android.dx.io.FieldId;
155 public FieldId adjust(FieldId fieldId) { in adjust()
156 return new FieldId(target, in adjust()
DDexMerger.java27 import com.android.dx.io.FieldId;
460 new IdMerger<FieldId>(idsDefsOut) { in mergeFieldIds()
465 @Override FieldId read(DexBuffer.Section in, IndexMap indexMap, int index) { in mergeFieldIds()
473 @Override void write(FieldId value) { in mergeFieldIds()
/dalvik/dx/src/com/android/dx/command/findusages/
DFindUsages.java23 import com.android.dx.io.FieldId;
158 for (FieldId fieldId : dex.fieldIds()) { in getFieldIds()
/dalvik/dx/junit-tests/com/android/dx/gen/
DDexGeneratorTest.java360 FieldId<G, Integer> fieldId = generated.getField(Type.INT, "a"); in testDeclareConstructor()
902 FieldId<Instance, V> fieldId = objectType.getField(valueType, fieldName); in instanceSwapMethod()
985 FieldId<Static, V> fieldId = objectType.getField(valueType, fieldName); in staticSwapMethod()