Home
last modified time | relevance | path

Searched refs:container (Results 1 – 19 of 19) sorted by relevance

/art/libartbase/base/
Dstl_util.h62 void STLDeleteElements(T *container) { in STLDeleteElements() argument
63 if (container != nullptr) { in STLDeleteElements()
64 STLDeleteContainerPointers(container->begin(), container->end()); in STLDeleteElements()
65 container->clear(); in STLDeleteElements()
96 size_t IndexOfElement(const Container& container, const T& value) { in IndexOfElement() argument
97 auto it = std::find(container.begin(), container.end(), value); in IndexOfElement()
98 DCHECK(it != container.end()); // Must exist. in IndexOfElement()
99 return std::distance(container.begin(), it); in IndexOfElement()
104 void RemoveElement(Container& container, const T& value) { in RemoveElement() argument
105 auto it = std::find(container.begin(), container.end(), value); in RemoveElement()
[all …]
Dtransform_array_ref.h176 ArrayRef<ValueType> container, Function f) { in MakeTransformArrayRef() argument
177 return TransformArrayRef<ValueType, Function>(container, f); in MakeTransformArrayRef()
182 Container& container, Function f) { in MakeTransformArrayRef() argument
184 ArrayRef<typename Container::value_type>(container.data(), container.size()), f); in MakeTransformArrayRef()
189 const Container& container, Function f) { in MakeTransformArrayRef() argument
191 ArrayRef<const typename Container::value_type>(container.data(), container.size()), f); in MakeTransformArrayRef()
/art/libdexfile/dex/
Dstandard_dex_file.h119 std::unique_ptr<DexFileContainer> container) in StandardDexFile() argument
127 std::move(container), in StandardDexFile()
Dcompact_dex_file.cc94 std::unique_ptr<DexFileContainer> container) in CompactDexFile() argument
102 std::move(container), in CompactDexFile()
Dart_dex_file_loader.h66 std::unique_ptr<DexFileContainer> container = nullptr) const override;
150 std::unique_ptr<DexFileContainer> container,
Ddex_file_loader.h133 std::unique_ptr<DexFileContainer> container = nullptr) const;
177 std::unique_ptr<DexFileContainer> container,
Ddex_file_loader.cc230 std::unique_ptr<DexFileContainer> container) const { in Open()
241 std::move(container), in Open()
326 std::unique_ptr<DexFileContainer> container, in OpenCommon() argument
341 std::move(container))); in OpenCommon()
358 std::move(container))); in OpenCommon()
Dart_dex_file_loader.cc168 std::unique_ptr<DexFileContainer> container) const { in Open()
180 std::move(container), in Open()
553 std::unique_ptr<DexFileContainer> container, in OpenCommon() argument
565 std::move(container), in OpenCommon()
Dcompact_dex_file.h294 std::unique_ptr<DexFileContainer> container);
Ddex_file.cc104 std::unique_ptr<DexFileContainer> container, in DexFile() argument
125 container_(std::move(container)), in DexFile()
Ddex_file.h801 std::unique_ptr<DexFileContainer> container,
/art/simulator/
DAndroid.bp82 name: "libart-simulator-container",
91 name: "libartd-simulator-container",
/art/libdexfile/external/
Ddex_file_ext.cc307 auto container = std::make_unique<art::MappedFileContainer>(std::move(map)); in ExtDexFileOpenFromFd() local
320 std::move(container)); in ExtDexFileOpenFromFd()
/art/dexlayout/
Dcompact_dex_writer.cc387 Container* const container = down_cast<Container*>(output); in Write() local
400 code_item_dedupe_ = &container->code_item_dedupe_; in Write()
401 data_item_dedupe_ = &container->data_item_dedupe_; in Write()
Ddex_writer.cc963 std::unique_ptr<DexContainer>* container, in Output() argument
974 DCHECK(container != nullptr); in Output()
975 if (*container == nullptr) { in Output()
976 *container = writer->CreateDexContainer(); in Output()
978 return writer->Write(container->get(), error_msg); in Output()
Ddex_writer.h217 std::unique_ptr<DexContainer>* container,
Ddexlayout.cc1857 DexContainer* const container = dex_container->get(); in OutputDexFile() local
1858 DexContainer::Section* const main_section = container->GetMainSection(); in OutputDexFile()
1864 DexContainer::Section* const data_section = container->GetDataSection(); in OutputDexFile()
/art/compiler/
DAndroid.bp458 "libartd-simulator-container",
/art/runtime/verifier/
Dreg_type_test.cc1017 auto print_set = [](auto& container) REQUIRES_SHARED(Locks::mutator_lock_) { in TEST_F()
1019 for (auto r : container) { in TEST_F()