Home
last modified time | relevance | path

Searched refs:item (Results 1 – 25 of 29) sorted by relevance

12

/art/tools/dexfuzz/src/dexfuzz/rawdex/
DOffsettable.java38 private RawDexObject item; field in Offsettable
59 public Offsettable(RawDexObject item, boolean isNew) { in Offsettable() argument
60 this.item = item; in Offsettable()
71 return item; in getItem()
DOffsetTracker.java127 public void getNewOffsettable(DexRandomAccessFile file, RawDexObject item) throws IOException { in getNewOffsettable() argument
128 Offsettable offsettable = new Offsettable(item, false); in getNewOffsettable()
412 public Offsettable insertNewOffsettableAsFirstEverTypeList(RawDexObject item, in insertNewOffsettableAsFirstEverTypeList() argument
418 Offsettable offsettable = new Offsettable(item, true); in insertNewOffsettableAsFirstEverTypeList()
433 public Offsettable insertNewOffsettableAsFirstEverField(RawDexObject item, in insertNewOffsettableAsFirstEverField() argument
439 Offsettable offsettable = new Offsettable(item, true); in insertNewOffsettableAsFirstEverField()
454 public Offsettable insertNewOffsettableAsFirstOfType(RawDexObject item, in insertNewOffsettableAsFirstOfType() argument
457 int index = getOffsettableIndexForFirstItemType(item); in insertNewOffsettableAsFirstOfType()
459 Log.errorAndQuit("Could not find any object of class: " + item.getClass()); in insertNewOffsettableAsFirstOfType()
461 Offsettable offsettable = new Offsettable(item, true); in insertNewOffsettableAsFirstOfType()
[all …]
/art/libdexfile/dex/
Ddex_file_verifier.cc661 const dex::MapItem* item = map->list_; in CheckMap() local
671 if (!CheckListSize(item, count, sizeof(dex::MapItem), "map size")) { in CheckMap()
677 if (UNLIKELY(last_offset >= item->offset_ && i != 0)) { in CheckMap()
680 item->offset_, in CheckMap()
681 static_cast<uint32_t>(item->type_), in CheckMap()
685 if (UNLIKELY(item->offset_ >= header_->file_size_)) { in CheckMap()
687 item->offset_, header_->file_size_); in CheckMap()
691 DexFile::MapItemType item_type = static_cast<DexFile::MapItemType>(item->type_); in CheckMap()
693 uint32_t icount = item->size_; in CheckMap()
707 ErrorStringPrintf("Unknown map section type %x", item->type_); in CheckMap()
[all …]
Dstandard_dex_file.cc82 uint32_t StandardDexFile::GetCodeItemSize(const dex::CodeItem& item) const { in GetCodeItemSize()
83 DCHECK(IsInDataSection(&item)); in GetCodeItemSize()
84 return reinterpret_cast<uintptr_t>(CodeItemDataAccessor(*this, &item).CodeItemDataEnd()) - in GetCodeItemSize()
85 reinterpret_cast<uintptr_t>(&item); in GetCodeItemSize()
Dcompact_dex_file.cc58 uint32_t CompactDexFile::GetCodeItemSize(const dex::CodeItem& item) const { in GetCodeItemSize()
59 DCHECK(IsInDataSection(&item)); in GetCodeItemSize()
60 return reinterpret_cast<uintptr_t>(CodeItemDataAccessor(*this, &item).CodeItemDataEnd()) - in GetCodeItemSize()
61 reinterpret_cast<uintptr_t>(&item); in GetCodeItemSize()
Dcode_item_accessors_test.cc74 const dex::CodeItem* item, in TEST()
76 CodeItemInstructionAccessor insns_accessor(*dex, item); in TEST()
81 CodeItemDataAccessor data_accessor(*dex, item); in TEST()
Dstandard_dex_file.h104 uint32_t GetCodeItemSize(const dex::CodeItem& item) const override;
/art/dexlayout/
Ddex_ir_builder.cc104 T* item = vector.CreateAndAddItem(std::forward<Args>(args)...); in CreateAndAddItem() local
106 DCHECK(!item->OffsetAssigned()); in CreateAndAddItem()
108 item->SetOffset(offset); in CreateAndAddItem()
110 AddItem(item, offset); in CreateAndAddItem()
111 return item; in CreateAndAddItem()
204 EncodedValue* item);
219 Type* item = vector.CreateAndAddIndexedItem(index, std::forward<Args>(args)...); in CreateAndAddIndexedItem() local
220 DCHECK(!item->OffsetAssigned()); in CreateAndAddIndexedItem()
222 item->SetOffset(offset); in CreateAndAddIndexedItem()
224 return item; in CreateAndAddIndexedItem()
[all …]
Ddex_writer.h59 void AddIfNotEmpty(const MapItem& item);
265 dex_ir::CodeItem* item,
267 virtual void WriteCodeItem(Stream* stream, dex_ir::CodeItem* item, bool reserve_only);
273 void ProcessOffset(Stream* stream, dex_ir::Item* item);
274 void ProcessOffset(Stream* stream, dex_ir::CollectionBase* item);
Ddex_writer.cc491 const auto& item = header_->HiddenapiClassDatas()[i]; in WriteHiddenapiClassData() local
492 DCHECK(item->GetClassDef() == class_def); in WriteHiddenapiClassData()
499 stream->WriteUleb128(item->GetFlags(&field)); in WriteHiddenapiClassData()
502 stream->WriteUleb128(item->GetFlags(&field)); in WriteHiddenapiClassData()
505 stream->WriteUleb128(item->GetFlags(&method)); in WriteHiddenapiClassData()
508 stream->WriteUleb128(item->GetFlags(&method)); in WriteHiddenapiClassData()
715 const MapItem& item = queue->top(); in WriteMapItems() local
717 map_item.type_ = item.type_; in WriteMapItems()
718 map_item.size_ = item.size_; in WriteMapItems()
719 map_item.offset_ = item.offset_; in WriteMapItems()
[all …]
Ddex_visualize.cc107 void DumpAddressRange(const dex_ir::Item* item, int class_index) { in DumpAddressRange() argument
108 if (item != nullptr) { in DumpAddressRange()
109 DumpAddressRange(item->GetOffset(), item->GetSize(), class_index); in DumpAddressRange()
Dcompact_dex_writer.h100 ScopedDataSectionItem(Stream* stream, dex_ir::Item* item, size_t alignment, Deduper* deduper);
Ddexlayout_test.cc681 dex::CodeItem* item = const_cast<dex::CodeItem*>(method.GetCodeItem()); in TEST_F() local
682 if (item != nullptr) { in TEST_F()
683 CodeItemInstructionAccessor instructions(*dex, item); in TEST_F()
/art/libartbase/base/
Dhash_map.h54 void MakeEmpty(std::pair<Key, Value>& item) const { in MakeEmpty() argument
55 item = std::pair<Key, Value>(); in MakeEmpty()
57 bool IsEmpty(const std::pair<Key, Value>& item) const { in IsEmpty() argument
58 return item.first == Key(); in IsEmpty()
Dhash_set_test.cc34 void MakeEmpty(std::string& item) const { in MakeEmpty()
35 item.clear(); in MakeEmpty()
37 bool IsEmpty(const std::string& item) const { in IsEmpty()
38 return item.empty(); in IsEmpty()
284 void MakeEmpty(std::vector<int>& item) const { in MakeEmpty()
285 item.clear(); in MakeEmpty()
287 bool IsEmpty(const std::vector<int>& item) const { in IsEmpty()
288 return item.empty(); in IsEmpty()
302 std::size_t operator()(const std::vector<int>& item) const { in operator ()()
303 return HashIntSequence(item.begin(), item.end()); in operator ()()
[all …]
Dhash_set.h123 void MakeEmpty(T& item) const { in MakeEmpty() argument
124 item = T(); in MakeEmpty()
126 bool IsEmpty(const T& item) const { in IsEmpty() argument
127 return item == T(); in IsEmpty()
134 void MakeEmpty(T*& item) const { in MakeEmpty() argument
135 item = nullptr; in MakeEmpty()
137 bool IsEmpty(T* const& item) const { in IsEmpty() argument
138 return item == nullptr; in IsEmpty()
/art/runtime/
Dclass_table.h122 void MakeEmpty(TableSlot& item) const NO_THREAD_SAFETY_ANALYSIS { in MakeEmpty() argument
123 item = TableSlot(); in MakeEmpty()
124 DCHECK(IsEmpty(item)); in MakeEmpty()
126 bool IsEmpty(const TableSlot& item) const NO_THREAD_SAFETY_ANALYSIS { in IsEmpty() argument
127 return item.IsNull(); in IsEmpty()
Dintern_table.h93 void MakeEmpty(GcRoot<mirror::String>& item) const { in MakeEmpty() argument
94 item = GcRoot<mirror::String>(); in MakeEmpty()
96 bool IsEmpty(const GcRoot<mirror::String>& item) const { in IsEmpty() argument
97 return item.IsNull(); in IsEmpty()
/art/test/472-unreachable-if-regression/smali/
DTest.smali26 # fall-through out of code item
45 # fall-through out of code item
/art/tools/jvmti-agents/field-null-percent/
Dfieldnull.cc67 std::string item; in GetRequestedFields() local
68 while (std::getline(args_stream, item, ',')) { in GetRequestedFields()
69 if (item == "") { in GetRequestedFields()
72 res.push_back(SplitField(env, item)); in GetRequestedFields()
/art/tools/jvmti-agents/field-counts/
Dfieldcount.cc69 std::string item; in GetRequestedFields() local
70 while (std::getline(args_stream, item, ',')) { in GetRequestedFields()
71 if (item == "") { in GetRequestedFields()
74 res.push_back(SplitField(env, item)); in GetRequestedFields()
/art/tools/runtime_memusage/
Dsymbol_trace_info.py223 offset_list, offset_data = zip(*[get_dex_offset_data(line, item[0])
224 for item in item_split
225 for line in item[1:]
/art/test/1974-resize-array/
Dexpected.txt18 val is: [<SELF REF>, A, B, C] resize +5 item 0 is [<SELF REF>, A, B, C]
26 val is: [<SELF REF>, A, B, C, null, null, null, null, null] resize -7 item 0 is [<SELF REF>, A, B, …
/art/test/435-try-finally-without-catch/
Dinfo.txt16 item would list zero catch block for this method (see
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc646 std::string item; in GetRequestedEventList() local
647 while (std::getline(args_stream, item, ',')) { in GetRequestedEventList()
648 if (item == "") { in GetRequestedEventList()
650 } else if (item == "all") { in GetRequestedEventList()
653 res.push_back(NameToEvent(item)); in GetRequestedEventList()

12