/external/dexmaker/src/main/java/com/google/dexmaker/ |
FieldId.java | 29 public final class FieldId<D, V> { 38 FieldId(TypeId<D> declaringType, TypeId<V> type, String name) { 62 return o instanceof FieldId 63 && ((FieldId<?, ?>) o).declaringType.equals(declaringType) 64 && ((FieldId<?, ?>) o).name.equals(name);
|
DexMaker.java | 286 public void declare(FieldId<?, ?> fieldId, int flags, Object staticValue) { 287 TypeDeclaration typeDeclaration = getTypeDeclaration(fieldId.declaringType); 288 if (typeDeclaration.fields.containsKey(fieldId)) { 289 throw new IllegalStateException("already declared: " + fieldId); 303 FieldDeclaration fieldDeclaration = new FieldDeclaration(fieldId, flags, staticValue); 304 typeDeclaration.fields.put(fieldId, fieldDeclaration); 408 private final Map<FieldId, FieldDeclaration> fields 409 = new LinkedHashMap<FieldId, FieldDeclaration>(); 453 final FieldId<?, ?> fieldId [all...] |
TypeId.java | 120 public <V> FieldId<T, V> getField(TypeId<V> type, String name) { 121 return new FieldId<T, V>(this, type, name);
|
Code.java | 574 * Copies the value in instance field {@code fieldId} of {@code instance} to 577 public <D, V> void iget(FieldId<D, V> fieldId, Local<V> target, Local<D> instance) { 579 RegisterSpecList.make(instance.spec()), catches, fieldId.constant)); 584 * Copies the value in {@code source} to the instance field {@code fieldId} 587 public <D, V> void iput(FieldId<D, V> fieldId, Local<D> instance, Local<V> source) { 589 RegisterSpecList.make(source.spec(), instance.spec()), catches, fieldId.constant)); 593 * Copies the value in the static field {@code fieldId} to {@code target}. 595 public <V> void sget(FieldId<?, V> fieldId, Local<V> target) [all...] |
/libcore/dex/src/main/java/com/android/dex/ |
FieldId.java | 21 public final class FieldId implements Comparable<FieldId> { 27 public FieldId(Dex dex, int declaringClassIndex, int typeIndex, int nameIndex) { 46 public int compareTo(FieldId other) {
|
Dex.java | 247 public List<FieldId> fieldIds() { 352 public int findFieldIndex(FieldId fieldId) { 353 return Collections.binarySearch(fieldIds, fieldId); 606 public FieldId readFieldId() { 610 return new FieldId(Dex.this, declaringClassIndex, typeIndex, nameIndex); [all...] |
/dalvik/vm/jdwp/ |
Jdwp.h | 40 typedef u4 FieldId; /* static or instance field */ 50 INLINE FieldId dvmReadFieldId(const u1** pBuf) { return read4BE(pBuf); } 55 INLINE void dvmSetFieldId(u1* buf, FieldId val) { return set4BE(buf, val); } 60 INLINE void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) {
|
JdwpEvent.h | 67 FieldId fieldId;
|
/dalvik/vm/ |
Debugger.h | 211 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, [all...] |
Debugger.cpp | 334 * Convert to/from a FieldId. 339 static FieldId fieldToFieldId(const Field* field) 341 return (FieldId)(u4) field; 343 static Field* fieldIdToField(RefTypeId refTypeId, FieldId id) [all...] |
/external/dexmaker/src/test/java/com/google/dexmaker/examples/ |
HelloWorldMaker.java | 22 import com.google.dexmaker.FieldId; 94 FieldId<System, PrintStream> systemOutField = systemType.getField(printStreamType, "out");
|
/art/runtime/jdwp/ |
jdwp_event.h | 72 FieldId fieldId;
|
jdwp.h | 46 typedef uint32_t FieldId; /* static or instance field */ 54 static inline void SetFieldId(uint8_t* buf, FieldId val) { return Set4BE(buf, val); } 59 static inline void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { expandBufAdd4BE(pReply, id); } 343 std::string DescribeField(const FieldId& field_id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 361 FieldId ReadFieldId() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
jdwp_request.cc | 87 FieldId Request::ReadFieldId() { 88 FieldId id = Read4BE();
|
jdwp_handler.cc | 40 std::string DescribeField(const FieldId& field_id) { 256 expandBufAdd4BE(pReply, sizeof(FieldId)); 469 FieldId fieldId = request.ReadFieldId(); 470 JdwpError status = Dbg::GetStaticFieldValue(refTypeId, fieldId, pReply); 658 FieldId fieldId = request.ReadFieldId(); 659 JDWP::JdwpTag fieldTag = Dbg::GetStaticFieldBasicTag(fieldId); 663 VLOG(jdwp) << " --> field=" << fieldId << " tag=" << fieldTag << " --> " << value; 664 JdwpError status = Dbg::SetStaticFieldValue(fieldId, value, width) [all...] |
/dalvik/dx/src/com/android/dx/io/ |
DexIndexPrinter.java | 21 import com.android.dex.FieldId; 77 for (FieldId fieldId : dex.fieldIds()) { 78 System.out.println("field " + index + ": " + fieldId);
|
/external/srec/srec/cfront/ |
nisthdr.h | 68 // 1. add a name in FieldId, make it uppercase version of header entry 78 enum FieldId 123 void reset(FieldId id); 193 Nist1AHeader::reset(FieldId id) 198 #define Nist1AHeaderSetDef(fname, argType, unionKey, fieldId)\ 200 mpFields[fieldId].mbInUse = TRUE;\ 201 mpFields[fieldId].mValue.##unionKey = x;}
|
/art/runtime/ |
debugger.h | 237 static std::string GetFieldName(JDWP::FieldId field_id) 239 static JDWP::JdwpTag GetFieldBasicTag(JDWP::FieldId field_id) 241 static JDWP::JdwpTag GetStaticFieldBasicTag(JDWP::FieldId field_id) 243 static JDWP::JdwpError GetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id, 246 static JDWP::JdwpError SetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id, 249 static JDWP::JdwpError GetStaticFieldValue(JDWP::RefTypeId ref_type_id, JDWP::FieldId field_id, 252 static JDWP::JdwpError SetStaticFieldValue(JDWP::FieldId field_id, uint64_t value, int width)
|
dex_file.h | 149 struct FieldId { 155 DISALLOW_COPY_AND_ASSIGN(FieldId); 491 // Returns the FieldId at the specified index. 492 const FieldId& GetFieldId(uint32_t idx) const { 497 uint32_t GetIndexForFieldId(const FieldId& field_id) const { 504 const FieldId* FindFieldId(const DexFile::TypeId& declaring_klass, 509 const char* GetFieldDeclaringClassDescriptor(const FieldId& field_id) const { 515 const char* GetFieldTypeDescriptor(const FieldId& field_id) const { 521 const char* GetFieldName(const FieldId& field_id) const { 903 const FieldId* field_ids_ [all...] |
dex_file_verifier.cc | [all...] |
dex_file_test.cc | 259 const DexFile::FieldId& to_find = java_lang_dex_file_->GetFieldId(i); 263 const DexFile::FieldId* found = java_lang_dex_file_->FindFieldId(klass, name, type);
|
/dalvik/dx/src/com/android/dx/merge/ |
IndexMap.java | 43 import com.android.dex.FieldId; 199 public FieldId adjust(FieldId fieldId) { 200 return new FieldId(target, 201 adjustType(fieldId.getDeclaringClassIndex()), 202 adjustType(fieldId.getTypeIndex()), 203 adjustString(fieldId.getNameIndex()));
|
/dalvik/dx/src/com/android/dx/command/findusages/ |
FindUsages.java | 22 import com.android.dex.FieldId; 81 int fieldId = one.getIndex(); 82 if (fieldIds.contains(fieldId)) { 83 out.println(location() + ": field reference " + dex.fieldIds().get(fieldId) 157 for (FieldId fieldId : dex.fieldIds()) { 158 if (memberNameIndexes.contains(fieldId.getNameIndex()) 159 && declaringType == fieldId.getDeclaringClassIndex()) {
|
/external/dexmaker/src/main/java/com/google/dexmaker/stock/ |
ProxyBuilder.java | 22 import com.google.dexmaker.FieldId; 354 FieldId<G, InvocationHandler> handlerField = 356 FieldId<G, Method[]> allMethods = 551 FieldId<G, InvocationHandler> handlerField = generatedType.getField( 554 FieldId<G, Method[]> allMethods = generatedType.getField( [all...] |
/libcore/luni/src/main/java/libcore/reflect/ |
AnnotationAccess.java | 22 import com.android.dex.FieldId; 273 FieldId fieldId = new FieldId(dex, declaringClassIndex, typeIndex, nameIndex); 274 return dex.findFieldIndex(fieldId); 710 FieldId fieldId = dex.fieldIds().get(fieldIndex); 711 String enumName = dex.strings().get(fieldId.getNameIndex());
|