Home
last modified time | relevance | path

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

/art/libartbase/base/
Dstl_util.h58 void STLDeleteElements(T *container) { in STLDeleteElements() argument
59 if (container != nullptr) { in STLDeleteElements()
60 STLDeleteContainerPointers(container->begin(), container->end()); in STLDeleteElements()
61 container->clear(); in STLDeleteElements()
92 size_t IndexOfElement(const Container& container, const T& value) { in IndexOfElement() argument
93 auto it = std::find(container.begin(), container.end(), value); in IndexOfElement()
94 DCHECK(it != container.end()); // Must exist. in IndexOfElement()
95 return std::distance(container.begin(), it); in IndexOfElement()
100 void RemoveElement(Container& container, const T& value) { in RemoveElement() argument
101 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.h99 std::unique_ptr<DexFileContainer> container) in StandardDexFile() argument
107 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.cc103 std::unique_ptr<DexFileContainer> container, in DexFile() argument
124 container_(std::move(container)), in DexFile()
Ddex_file.h798 std::unique_ptr<DexFileContainer> container,
/art/simulator/
DAndroid.bp82 name: "libart-simulator-container",
91 name: "libartd-simulator-container",
/art/libdexfile/external/
Ddex_file_ext.cc264 auto container = std::make_unique<art::MappedFileContainer>(std::move(map)); in ExtDexFileOpenFromFd() local
277 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.cc960 std::unique_ptr<DexContainer>* container, in Output() argument
971 DCHECK(container != nullptr); in Output()
972 if (*container == nullptr) { in Output()
973 *container = writer->CreateDexContainer(); in Output()
975 return writer->Write(container->get(), error_msg); in Output()
Ddex_writer.h217 std::unique_ptr<DexContainer>* container,
Ddexlayout.cc1853 DexContainer* const container = dex_container->get(); in OutputDexFile() local
1854 DexContainer::Section* const main_section = container->GetMainSection(); in OutputDexFile()
1860 DexContainer::Section* const data_section = container->GetDataSection(); in OutputDexFile()
/art/compiler/
DAndroid.bp446 "libartd-simulator-container",
/art/runtime/verifier/
Dreg_type_test.cc1003 auto print_set = [](auto& container) REQUIRES_SHARED(Locks::mutator_lock_) { in TEST_F()
1005 for (auto r : container) { in TEST_F()