/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...] |
/art/runtime/ |
field_helper.cc | 34 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_index);
|
debugger.h | 318 static bool MatchField(JDWP::RefTypeId expected_type_id, JDWP::FieldId expected_field_id, 384 static void OutputFieldValue(JDWP::FieldId field_id, const JValue* field_value, 391 static std::string GetFieldName(JDWP::FieldId field_id) 393 static JDWP::JdwpTag GetFieldBasicTag(JDWP::FieldId field_id) 395 static JDWP::JdwpTag GetStaticFieldBasicTag(JDWP::FieldId field_id) 397 static JDWP::JdwpError GetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id, 400 static JDWP::JdwpError SetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id, 403 static JDWP::JdwpError GetStaticFieldValue(JDWP::RefTypeId ref_type_id, JDWP::FieldId field_id, 406 static JDWP::JdwpError SetStaticFieldValue(JDWP::FieldId field_id, uint64_t value, int width) 644 static JDWP::FieldId ToFieldId(const mirror::ArtField* f [all...] |
dex_file_verifier.h | 108 const DexFile::FieldId* CheckLoadFieldId(uint32_t idx, const char* error_fmt);
|
dex_file.h | 163 struct FieldId { 169 DISALLOW_COPY_AND_ASSIGN(FieldId); 547 // Returns the FieldId at the specified index. 548 const FieldId& GetFieldId(uint32_t idx) const { 553 uint32_t GetIndexForFieldId(const FieldId& field_id) const { 560 const FieldId* FindFieldId(const DexFile::TypeId& declaring_klass, 565 const char* GetFieldDeclaringClassDescriptor(const FieldId& field_id) const { 571 const char* GetFieldTypeDescriptor(const FieldId& field_id) const { 577 const char* GetFieldName(const FieldId& field_id) const { [all...] |
dex_file_verifier.cc | 85 const DexFile::FieldId* DexFileVerifier::CheckLoadFieldId(uint32_t idx, const char* error_string) { 122 const DexFile::FieldId* var = CheckLoadFieldId(idx, fmt); \ [all...] |
dex_file_test.cc | 338 const DexFile::FieldId& to_find = java_lang_dex_file_->GetFieldId(i); 342 const DexFile::FieldId* found = java_lang_dex_file_->FindFieldId(klass, name, type);
|
debugger.cc | [all...] |
dex_file.cc | 356 field_ids_(reinterpret_cast<const FieldId*>(base + header_->field_ids_off_)), 482 const DexFile::FieldId* DexFile::FindFieldId(const DexFile::TypeId& declaring_klass, 493 const DexFile::FieldId& field = GetFieldId(mid); [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 | 54 typedef uint32_t FieldId; /* static or instance field */ 62 static inline void SetFieldId(uint8_t* buf, FieldId val) { return Set4BE(buf, val); } 67 static inline void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { expandBufAdd4BE(pReply, id); } 386 std::string DescribeField(const FieldId& field_id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 404 FieldId ReadFieldId() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
jdwp_request.cc | 89 FieldId Request::ReadFieldId() { 90 FieldId id = Read4BE();
|
jdwp_handler.cc | 40 std::string DescribeField(const FieldId& field_id) { 264 expandBufAdd4BE(pReply, sizeof(FieldId)); 478 FieldId fieldId = request.ReadFieldId(); 479 JdwpError status = Dbg::GetStaticFieldValue(refTypeId, fieldId, pReply); 667 FieldId fieldId = request.ReadFieldId(); 668 JDWP::JdwpTag fieldTag = Dbg::GetStaticFieldBasicTag(fieldId); 672 VLOG(jdwp) << " --> field=" << fieldId << " tag=" << fieldTag << " --> " << value; 673 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);
|
/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()));
|
DexMerger.java | 26 import com.android.dex.FieldId; 468 new IdMerger<FieldId>(idsDefsOut) { 473 @Override FieldId read(Dex.Section in, IndexMap indexMap, int index) { 484 @Override void write(FieldId value) { [all...] |
/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...] |
/art/runtime/mirror/ |
art_field-inl.h | 264 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_index);
|
/external/dexmaker/src/test/java/com/google/dexmaker/ |
DexMakerTest.java | 421 FieldId<G, Integer> fieldId = generated.getField(TypeId.INT, "a"); 422 dexMaker.declare(fieldId, PUBLIC | FINAL, null); 428 code.iput(fieldId, thisRef, parameter); [all...] |
/art/runtime/native/ |
dalvik_system_VMRuntime.cc | 281 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_idx);
|