Home
last modified time | relevance | path

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

/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.cc394 const dex::MapItem* item = map->list_; in CheckMap() local
404 if (!CheckListSize(item, count, sizeof(dex::MapItem), "map size")) { in CheckMap()
410 if (UNLIKELY(last_offset >= item->offset_ && i != 0)) { in CheckMap()
413 item->offset_, in CheckMap()
414 static_cast<uint32_t>(item->type_), in CheckMap()
418 if (UNLIKELY(item->offset_ >= header_->file_size_)) { in CheckMap()
420 item->offset_, header_->file_size_); in CheckMap()
424 DexFile::MapItemType item_type = static_cast<DexFile::MapItemType>(item->type_); in CheckMap()
426 uint32_t icount = item->size_; in CheckMap()
440 ErrorStringPrintf("Unknown map section type %x", item->type_); in CheckMap()
[all …]
Dstandard_dex_file.cc75 uint32_t StandardDexFile::GetCodeItemSize(const dex::CodeItem& item) const { in GetCodeItemSize()
76 DCHECK(IsInDataSection(&item)); in GetCodeItemSize()
77 return reinterpret_cast<uintptr_t>(CodeItemDataAccessor(*this, &item).CodeItemDataEnd()) - in GetCodeItemSize()
78 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()
Dcompact_dex_file.h274 uint32_t GetCodeItemSize(const dex::CodeItem& item) const override;
/art/dexlayout/
Ddex_ir_builder.cc103 T* item = vector.CreateAndAddItem(std::forward<Args>(args)...); in CreateAndAddItem() local
105 DCHECK(!item->OffsetAssigned()); in CreateAndAddItem()
107 item->SetOffset(offset); in CreateAndAddItem()
109 AddItem(item, offset); in CreateAndAddItem()
110 return item; in CreateAndAddItem()
203 EncodedValue* item);
218 Type* item = vector.CreateAndAddIndexedItem(index, std::forward<Args>(args)...); in CreateAndAddIndexedItem() local
219 DCHECK(!item->OffsetAssigned()); in CreateAndAddIndexedItem()
221 item->SetOffset(offset); in CreateAndAddIndexedItem()
223 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.cc690 dex::CodeItem* item = const_cast<dex::CodeItem*>(method.GetCodeItem()); in TEST_F() local
691 if (item != nullptr) { in TEST_F()
692 CodeItemInstructionAccessor instructions(*dex, item); in TEST_F()
Dcompact_dex_writer.cc108 dex_ir::Item* item, in ScopedDataSectionItem() argument
112 item_(item), in ScopedDataSectionItem()
/art/libartbase/base/
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.h117 void MakeEmpty(T& item) const { in MakeEmpty() argument
118 item = T(); in MakeEmpty()
120 bool IsEmpty(const T& item) const { in IsEmpty() argument
121 return item == T(); in IsEmpty()
128 void MakeEmpty(T*& item) const { in MakeEmpty() argument
129 item = nullptr; in MakeEmpty()
131 bool IsEmpty(T* const& item) const { in IsEmpty() argument
132 return item == nullptr; in IsEmpty()
/art/runtime/
Dclass_table.h124 void MakeEmpty(TableSlot& item) const NO_THREAD_SAFETY_ANALYSIS { in MakeEmpty() argument
125 item = TableSlot(); in MakeEmpty()
126 DCHECK(IsEmpty(item)); in MakeEmpty()
128 bool IsEmpty(const TableSlot& item) const NO_THREAD_SAFETY_ANALYSIS { in IsEmpty() argument
129 return item.IsNull(); in IsEmpty()
Dintern_table.h96 void MakeEmpty(GcRoot<mirror::String>& item) const { in MakeEmpty() argument
97 item = GcRoot<mirror::String>(); in MakeEmpty()
99 bool IsEmpty(const GcRoot<mirror::String>& item) const { in IsEmpty() argument
100 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/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/435-try-finally-without-catch/
Dinfo.txt16 item would list zero catch block for this method (see
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc651 std::string item; in GetRequestedEventList() local
652 while (std::getline(args_stream, item, ',')) { in GetRequestedEventList()
653 if (item == "") { in GetRequestedEventList()
655 } else if (item == "all") { in GetRequestedEventList()
658 res.push_back(NameToEvent(item)); in GetRequestedEventList()
/art/tools/hiddenapi/
Dhiddenapi.cc156 DexMember(const DexClass& klass, const ClassAccessor::Field& item) in DexMember() argument
157 : klass_(klass), item_(item), is_method_(false) { in DexMember()
161 DexMember(const DexClass& klass, const ClassAccessor::Method& item) in DexMember() argument
162 : klass_(klass), item_(item), is_method_(true) { in DexMember()
/art/compiler/optimizing/
Doptimizing_compiler.cc370 const dex::CodeItem* item) const;