HomeSort by relevance Sort by last modified time
    Searched refs:FieldId (Results 1 - 25 of 86) sorted by null

1 2 3 4

  /external/dexmaker/dexmaker/src/main/java/com/android/dx/
FieldId.java 29 public final class FieldId<D, V> {
38 FieldId(TypeId<D> declaringType, TypeId<V> type, String name) {
63 return o instanceof FieldId
64 && ((FieldId<?, ?>) o).declaringType.equals(declaringType)
65 && ((FieldId<?, ?>) o).name.equals(name);
TypeId.java 118 public <V> FieldId<T, V> getField(TypeId<V> type, String name) {
119 return new FieldId<>(this, type, name);
DexMaker.java 292 public void declare(FieldId<?, ?> fieldId, int flags, Object staticValue) {
293 TypeDeclaration typeDeclaration = getTypeDeclaration(fieldId.declaringType);
294 if (typeDeclaration.fields.containsKey(fieldId)) {
295 throw new IllegalStateException("already declared: " + fieldId);
309 FieldDeclaration fieldDeclaration = new FieldDeclaration(fieldId, flags, staticValue);
310 typeDeclaration.fields.put(fieldId, fieldDeclaration);
469 private final Map<FieldId, FieldDeclaration> fields = new LinkedHashMap<>();
512 final FieldId<?, ?> fieldId;
    [all...]
Code.java 576 * Copies the value in instance field {@code fieldId} of {@code instance} to
579 public <D, V> void iget(FieldId<D, V> fieldId, Local<V> target, Local<D> instance) {
581 RegisterSpecList.make(instance.spec()), catches, fieldId.constant));
586 * Copies the value in {@code source} to the instance field {@code fieldId}
589 public <D, V> void iput(FieldId<D, V> fieldId, Local<D> instance, Local<V> source) {
591 RegisterSpecList.make(source.spec(), instance.spec()), catches, fieldId.constant));
595 * Copies the value in the static field {@code fieldId} to {@code target}.
597 public <V> void sget(FieldId<?, V> fieldId, Local<V> target)
    [all...]
  /dalvik/dx/src/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 232 public List<FieldId> fieldIds() {
421 public FieldId readFieldId() {
425 return new FieldId(Dex.this, declaringClassIndex, typeIndex, nameIndex);
740 private final class FieldIdTable extends AbstractList<FieldId> implements RandomAccess {
741 @Override public FieldId get(int index) {
  /external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/examples/
HelloWorldMaker.java 20 import com.android.dx.FieldId;
95 FieldId<System, PrintStream> systemOutField = systemType.getField(printStreamType, "out");
  /art/runtime/jdwp/
jdwp_event.h 72 FieldId fieldId;
jdwp_request.cc 90 FieldId Request::ReadFieldId() {
91 FieldId id = Read8BE();
jdwp.h 55 * Its OK to change MethodId and FieldId sizes as long as the size is <= 8 bytes.
58 typedef uint64_t FieldId; /* static or instance field */
66 static inline void SetFieldId(uint8_t* buf, FieldId val) { return Set8BE(buf, val); }
71 static inline void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { expandBufAdd8BE(pReply, id); }
418 std::string DescribeField(const FieldId& field_id) REQUIRES_SHARED(Locks::mutator_lock_);
436 FieldId ReadFieldId() REQUIRES_SHARED(Locks::mutator_lock_);
jdwp_handler.cc 45 std::string DescribeField(const FieldId& field_id) {
222 expandBufAdd4BE(pReply, sizeof(FieldId));
435 FieldId fieldId = request->ReadFieldId();
436 JdwpError status = Dbg::GetStaticFieldValue(refTypeId, fieldId, pReply);
629 FieldId fieldId = request->ReadFieldId();
630 JDWP::JdwpTag fieldTag = Dbg::GetStaticFieldBasicTag(fieldId);
634 VLOG(jdwp) << " --> field=" << fieldId << " tag=" << fieldTag << " --> " << value;
635 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);
  /art/dexlayout/
dex_ir.h 46 class FieldId;
84 virtual void Dispatch(const FieldId* field_id) = 0;
171 std::vector<std::unique_ptr<FieldId>>& FieldIds() { return field_ids_.Collection(); }
229 FieldId* GetFieldId(uint32_t index) {
334 CollectionVector<FieldId> field_ids_;
552 class FieldId : public IndexedItem {
554 FieldId(const TypeId* klass, const TypeId* type, const StringId* name)
556 ~FieldId() OVERRIDE { }
571 DISALLOW_COPY_AND_ASSIGN(FieldId);
598 FieldItem(uint32_t access_flags, const FieldId* field_id
    [all...]
dex_ir.cc 138 std::vector<FieldId*>* field_ids) {
211 std::vector<FieldId*>* field_ids) {
375 const DexFile::FieldId& disk_field_id = dex_file.GetFieldId(i);
376 FieldId* field_id = new FieldId(GetTypeId(disk_field_id.class_idx_.index_),
379 field_ids_.AddIndexedItem(field_id, FieldIdsOffset() + i * FieldId::ItemSize(), i);
518 FieldId* field_id = GetFieldId(fields[i].field_idx_);
700 std::unique_ptr<std::vector<FieldId*>> field_ids(new std::vector<FieldId*>());
748 FieldId* field_item = GetFieldId(cdii.GetMemberIndex())
    [all...]
dex_verify.h 40 bool VerifyId(dex_ir::FieldId* orig, dex_ir::FieldId* output, std::string* error_msg);
dex_visualize.cc 128 void DumpFieldId(const dex_ir::FieldId* field_id, int class_index) {
203 std::vector<dex_ir::FieldId*>* field_ids = fixups->FieldIds();
204 for (dex_ir::FieldId* field_id : *field_ids) {
  /art/runtime/
debugger.h 330 static bool MatchField(JDWP::RefTypeId expected_type_id, JDWP::FieldId expected_field_id,
396 static void OutputFieldValue(JDWP::FieldId field_id, const JValue* field_value,
403 static std::string GetFieldName(JDWP::FieldId field_id)
405 static JDWP::JdwpTag GetFieldBasicTag(JDWP::FieldId field_id)
407 static JDWP::JdwpTag GetStaticFieldBasicTag(JDWP::FieldId field_id)
409 static JDWP::JdwpError GetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id,
412 static JDWP::JdwpError SetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id,
415 static JDWP::JdwpError GetStaticFieldValue(JDWP::RefTypeId ref_type_id, JDWP::FieldId field_id,
418 static JDWP::JdwpError SetStaticFieldValue(JDWP::FieldId field_id, uint64_t value, int width)
698 static JDWP::FieldId ToFieldId(const ArtField* f
    [all...]
dex_file-inl.h 81 inline const char* DexFile::GetFieldTypeDescriptor(const FieldId& field_id) const {
86 inline const char* DexFile::GetFieldName(const FieldId& field_id) const {
dex_file.h 164 struct FieldId {
170 DISALLOW_COPY_AND_ASSIGN(FieldId);
620 // Returns the FieldId at the specified index.
621 const FieldId& GetFieldId(uint32_t idx) const {
626 uint32_t GetIndexForFieldId(const FieldId& field_id) const {
633 const FieldId* FindFieldId(const DexFile::TypeId& declaring_klass,
641 const char* GetFieldDeclaringClassDescriptor(const FieldId& field_id) const {
647 const char* GetFieldTypeDescriptor(const FieldId& field_id) const;
650 const char* GetFieldName(const FieldId& field_id) const;
    [all...]
dex_file_verifier.cc 177 const DexFile::FieldId* DexFileVerifier::CheckLoadFieldId(uint32_t idx, const char* error_string) {
221 const DexFile::FieldId* (var) = CheckLoadFieldId(idx, fmt); \
631 (reinterpret_cast<const DexFile::FieldId*>(begin_ + header_->field_ids_off_) + idx)->
    [all...]
dex_file_verifier.h 161 const DexFile::FieldId* CheckLoadFieldId(uint32_t idx, const char* error_fmt);
  /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/dexmaker/src/main/java/com/android/dx/stock/
ProxyBuilder.java 22 import com.android.dx.FieldId;
390 FieldId<G, InvocationHandler> handlerField =
392 FieldId<G, Method[]> allMethods =
587 FieldId<G, InvocationHandler> handlerField = generatedType.getField(
590 FieldId<G, Method[]> allMethods = generatedType.getField(
    [all...]
  /art/compiler/utils/
test_dex_file_builder.h 146 uint32_t method_ids_offset = field_ids_offset + fields_.size() * sizeof(DexFile::FieldId);
199 uint32_t raw_offset = field_ids_offset + entry.second * sizeof(DexFile::FieldId);

Completed in 1431 milliseconds

1 2 3 4