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

1 2 3 4 5

  /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);
DexMaker.java 297 public void declare(FieldId<?, ?> fieldId, int flags, Object staticValue) {
298 TypeDeclaration typeDeclaration = getTypeDeclaration(fieldId.declaringType);
299 if (typeDeclaration.fields.containsKey(fieldId)) {
300 throw new IllegalStateException("already declared: " + fieldId);
314 FieldDeclaration fieldDeclaration = new FieldDeclaration(fieldId, flags, staticValue);
315 typeDeclaration.fields.put(fieldId, fieldDeclaration);
521 private final Map<FieldId, FieldDeclaration> fields = new LinkedHashMap<>();
566 final FieldId<?, ?> fieldId;
    [all...]
TypeId.java 118 public <V> FieldId<T, V> getField(TypeId<V> type, String name) {
119 return new FieldId<>(this, type, name);
  /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) {
47 public int compareTo(FieldId other) {
Dex.java 232 public List<FieldId> fieldIds() {
422 public FieldId readFieldId() {
426 return new FieldId(Dex.this, declaringClassIndex, typeIndex, nameIndex);
763 private final class FieldIdTable extends AbstractList<FieldId> implements RandomAccess {
765 public FieldId get(int index) {
  /hardware/google/interfaces/media/c2/1.0/
types.hal 87 struct FieldId {
101 FieldId fieldId;
249 FieldId fieldId;
  /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 56 * Its OK to change MethodId and FieldId sizes as long as the size is <= 8 bytes.
59 typedef uint64_t FieldId; /* static or instance field */
67 static inline void SetFieldId(uint8_t* buf, FieldId val) { return Set8BE(buf, val); }
72 static inline void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { expandBufAdd8BE(pReply, id); }
422 std::string DescribeField(const FieldId& field_id) REQUIRES_SHARED(Locks::mutator_lock_);
440 FieldId ReadFieldId() REQUIRES_SHARED(Locks::mutator_lock_);
  /art/tools/veridex/
hidden_api.cc 38 const DexFile::FieldId& field_id = dex_file.GetFieldId(field_index);
resolver.cc 76 const DexFile::FieldId& field_id,
214 const DexFile::FieldId& other_field_id = other_dex_file.GetFieldId(it.GetMemberIndex());
302 const DexFile::FieldId& field_id = dex_file_.GetFieldId(field_index);
  /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 49 class FieldId;
87 virtual void Dispatch(const FieldId* field_id) = 0;
213 CollectionVector<FieldId>::Vector& FieldIds() { return field_ids_.Collection(); }
280 FieldId* GetFieldId(uint32_t index) {
434 IndexedCollectionVector<FieldId> field_ids_;
697 class FieldId : public IndexedItem {
699 FieldId(const TypeId* klass, const TypeId* type, const StringId* name)
701 ~FieldId() OVERRIDE { }
716 DISALLOW_COPY_AND_ASSIGN(FieldId);
743 FieldItem(uint32_t access_flags, const FieldId* field_id
    [all...]
dex_verify.h 40 bool VerifyId(dex_ir::FieldId* orig, dex_ir::FieldId* output, std::string* error_msg);
dex_ir.cc 98 std::vector<FieldId*>* field_ids) {
171 std::vector<FieldId*>* field_ids) {
346 const DexFile::FieldId& disk_field_id = dex_file.GetFieldId(i);
347 FieldId* field_id = new FieldId(GetTypeId(disk_field_id.class_idx_.index_),
350 AddIndexedItem(field_ids_, field_id, FieldIdsOffset() + i * FieldId::ItemSize(), i);
501 FieldId* field_id = GetFieldId(fields[i].field_idx_);
704 std::vector<FieldId*> field_ids;
744 FieldId* field_item = GetFieldId(cdii.GetMemberIndex());
751 FieldId* field_item = GetFieldId(cdii.GetMemberIndex())
    [all...]
dex_visualize.cc 130 void DumpFieldId(const dex_ir::FieldId* field_id, int class_index) {
202 for (dex_ir::FieldId* field_id : fixups->FieldIds()) {
  /art/runtime/
debugger.h 350 static bool MatchField(JDWP::RefTypeId expected_type_id, JDWP::FieldId expected_field_id,
416 static void OutputFieldValue(JDWP::FieldId field_id, const JValue* field_value,
423 static std::string GetFieldName(JDWP::FieldId field_id)
425 static JDWP::JdwpTag GetFieldBasicTag(JDWP::FieldId field_id)
427 static JDWP::JdwpTag GetStaticFieldBasicTag(JDWP::FieldId field_id)
429 static JDWP::JdwpError GetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id,
432 static JDWP::JdwpError SetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id,
435 static JDWP::JdwpError GetStaticFieldValue(JDWP::RefTypeId ref_type_id, JDWP::FieldId field_id,
438 static JDWP::JdwpError SetStaticFieldValue(JDWP::FieldId field_id, uint64_t value, int width)
718 static JDWP::FieldId ToFieldId(const ArtField* f
    [all...]
  /art/libdexfile/dex/
dex_file.h 169 struct FieldId {
175 DISALLOW_COPY_AND_ASSIGN(FieldId);
551 // Returns the FieldId at the specified index.
552 const FieldId& GetFieldId(uint32_t idx) const {
557 uint32_t GetIndexForFieldId(const FieldId& field_id) const {
564 const FieldId* FindFieldId(const DexFile::TypeId& declaring_klass,
574 const char* GetFieldDeclaringClassDescriptor(const FieldId& field_id) const {
580 const char* GetFieldTypeDescriptor(const FieldId& field_id) const;
583 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); \
646 (reinterpret_cast<const DexFile::FieldId*>(begin_ + header_->field_ids_off_) + idx)->
    [all...]
dex_file.cc 114 field_ids_(reinterpret_cast<const FieldId*>(base + header_->field_ids_off_)),
243 const DexFile::FieldId* DexFile::FindFieldId(const DexFile::TypeId& declaring_klass,
254 const DexFile::FieldId& field = GetFieldId(mid);
607 const DexFile::FieldId& field_id = GetFieldId(field_idx);
  /dalvik/dx/src/com/android/dx/merge/
IndexMap.java 45 import com.android.dex.FieldId;
230 public FieldId adjust(FieldId fieldId) {
231 return new FieldId(target,
232 adjustType(fieldId.getDeclaringClassIndex()),
233 adjustType(fieldId.getTypeIndex()),
234 adjustString(fieldId.getNameIndex()));
  /dalvik/dx/src/com/android/dx/command/findusages/
FindUsages.java 22 import com.android.dex.FieldId;
82 int fieldId = one.getIndex();
83 if (fieldIds.contains(fieldId)) {
84 out.println(location() + ": field reference " + dex.fieldIds().get(fieldId)
159 for (FieldId fieldId : dex.fieldIds()) {
160 if (memberNameIndexes.contains(fieldId.getNameIndex())
161 && declaringType == fieldId.getDeclaringClassIndex()) {
  /art/tools/hiddenapi/
hiddenapi.cc 145 const DexFile::FieldId& fid = GetFieldId();
158 inline const DexFile::FieldId& GetFieldId() const {
  /external/dexmaker/dexmaker/src/main/java/com/android/dx/stock/
ProxyBuilder.java 22 import com.android.dx.FieldId;
431 FieldId<G, InvocationHandler> handlerField =
433 FieldId<G, Method[]> allMethods =
628 FieldId<G, InvocationHandler> handlerField = generatedType.getField(
631 FieldId<G, Method[]> allMethods = generatedType.getField(
    [all...]

Completed in 581 milliseconds

1 2 3 4 5