Home
last modified time | relevance | path

Searched refs:CollectionVector (Results 1 – 5 of 5) sorted by relevance

/art/dexlayout/
Ddex_ir.h230 template<class T> class CollectionVector : public CollectionBase {
234 CollectionVector() { } in CollectionVector() function
235 explicit CollectionVector(size_t size) { in CollectionVector() function
239 ~CollectionVector() override { } in ~CollectionVector()
288 DISALLOW_COPY_AND_ASSIGN(CollectionVector);
291 template<class T> class IndexedCollectionVector : public CollectionVector<T> {
295 explicit IndexedCollectionVector(size_t size) : CollectionVector<T>(size) { } in IndexedCollectionVector()
299 T* object = CollectionVector<T>::CreateAndAddItem(std::forward<Args>(args)...); in CreateAndAddIndexedItem()
305 DCHECK_NE(CollectionVector<T>::collection_[index].get(), static_cast<T*>(nullptr));
306 return CollectionVector<T>::collection_[index].get();
[all …]
Ddex_verify.h33 template<class T> bool VerifyIds(dex_ir::CollectionVector<T>& orig,
34 dex_ir::CollectionVector<T>& output,
43 bool VerifyClassDefs(dex_ir::CollectionVector<dex_ir::ClassDef>& orig,
44 dex_ir::CollectionVector<dex_ir::ClassDef>& output,
Ddex_verify.cc51 template<class T> bool VerifyIds(dex_ir::CollectionVector<T>& orig, in VerifyIds()
52 dex_ir::CollectionVector<T>& output, in VerifyIds()
190 bool VerifyClassDefs(dex_ir::CollectionVector<dex_ir::ClassDef>& orig, in VerifyClassDefs()
191 dex_ir::CollectionVector<dex_ir::ClassDef>& output, in VerifyClassDefs()
Ddex_ir_builder.cc100 T* CreateAndAddItem(CollectionVector<T>& vector, in CreateAndAddItem()
Ddexlayout.cc1909 dex_ir::CollectionVector<dex_ir::ClassDef>& class_defs = header_->ClassDefs(); in LayoutClassDefsAndClassData()