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

1 2 3

  /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 290 public void declare(FieldId<?, ?> fieldId, int flags, Object staticValue) {
291 TypeDeclaration typeDeclaration = getTypeDeclaration(fieldId.declaringType);
292 if (typeDeclaration.fields.containsKey(fieldId)) {
293 throw new IllegalStateException("already declared: " + fieldId);
307 FieldDeclaration fieldDeclaration = new FieldDeclaration(fieldId, flags, staticValue);
308 typeDeclaration.fields.put(fieldId, fieldDeclaration);
452 private final Map<FieldId, FieldDeclaration> fields
453 = new LinkedHashMap<FieldId, FieldDeclaration>();
497 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...]
  /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_request.cc 89 FieldId Request::ReadFieldId() {
90 FieldId id = Read8BE();
jdwp.h 54 * Its OK to change MethodId and FieldId sizes as long as the size is <= 8 bytes.
57 typedef uint64_t FieldId; /* static or instance field */
65 static inline void SetFieldId(uint8_t* buf, FieldId val) { return Set8BE(buf, val); }
70 static inline void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { expandBufAdd8BE(pReply, id); }
413 std::string DescribeField(const FieldId& field_id) SHARED_REQUIRES(Locks::mutator_lock_);
431 FieldId ReadFieldId() SHARED_REQUIRES(Locks::mutator_lock_);
jdwp_handler.cc 42 std::string DescribeField(const FieldId& field_id) {
219 expandBufAdd4BE(pReply, sizeof(FieldId));
432 FieldId fieldId = request->ReadFieldId();
433 JdwpError status = Dbg::GetStaticFieldValue(refTypeId, fieldId, pReply);
621 FieldId fieldId = request->ReadFieldId();
622 JDWP::JdwpTag fieldTag = Dbg::GetStaticFieldBasicTag(fieldId);
626 VLOG(jdwp) << " --> field=" << fieldId << " tag=" << fieldTag << " --> " << value;
627 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/runtime/
debugger.h 323 static bool MatchField(JDWP::RefTypeId expected_type_id, JDWP::FieldId expected_field_id,
387 static void OutputFieldValue(JDWP::FieldId field_id, const JValue* field_value,
394 static std::string GetFieldName(JDWP::FieldId field_id)
396 static JDWP::JdwpTag GetFieldBasicTag(JDWP::FieldId field_id)
398 static JDWP::JdwpTag GetStaticFieldBasicTag(JDWP::FieldId field_id)
400 static JDWP::JdwpError GetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id,
403 static JDWP::JdwpError SetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id,
406 static JDWP::JdwpError GetStaticFieldValue(JDWP::RefTypeId ref_type_id, JDWP::FieldId field_id,
409 static JDWP::JdwpError SetStaticFieldValue(JDWP::FieldId field_id, uint64_t value, int width)
695 static JDWP::FieldId ToFieldId(const ArtField* f
    [all...]
dex_file.h 179 struct FieldId {
185 DISALLOW_COPY_AND_ASSIGN(FieldId);
598 // Returns the FieldId at the specified index.
599 const FieldId& GetFieldId(uint32_t idx) const {
604 uint32_t GetIndexForFieldId(const FieldId& field_id) const {
611 const FieldId* FindFieldId(const DexFile::TypeId& declaring_klass,
616 const char* GetFieldDeclaringClassDescriptor(const FieldId& field_id) const {
622 const char* GetFieldTypeDescriptor(const FieldId& field_id) const {
628 const char* GetFieldName(const FieldId& field_id) const {
    [all...]
dex_file_verifier.cc 89 const DexFile::FieldId* DexFileVerifier::CheckLoadFieldId(uint32_t idx, const char* error_string) {
126 const DexFile::FieldId* var = CheckLoadFieldId(idx, fmt); \
507 (reinterpret_cast<const DexFile::FieldId*>(begin_ + header_->field_ids_off_) + idx)->
775 (reinterpret_cast<const DexFile::FieldId*>(begin_ + header_->field_ids_off_) + index)->
    [all...]
art_field-inl.h 276 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_index);
298 const DexFile::FieldId& field_id = dex_file->GetFieldId(field_index);
dex_file_test.cc 340 const DexFile::FieldId& to_find = java_lang_dex_file_->GetFieldId(i);
344 const DexFile::FieldId* found = java_lang_dex_file_->FindFieldId(klass, name, type);
dex_file_verifier.h 143 const DexFile::FieldId* CheckLoadFieldId(uint32_t idx, const char* error_fmt);
debugger.cc     [all...]
  /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;
461 new IdMerger<FieldId>(idsDefsOut) {
466 @Override FieldId read(Dex.Section in, IndexMap indexMap, int index) {
477 @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;
360 FieldId<G, InvocationHandler> handlerField =
362 FieldId<G, Method[]> allMethods =
557 FieldId<G, InvocationHandler> handlerField = generatedType.getField(
560 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);
  /art/dexdump/
dexdump.cc 572 const DexFile::FieldId& pFieldId = pDexFile->GetFieldId(index);
    [all...]

Completed in 4616 milliseconds

1 2 3