Home
last modified time | relevance | path

Searched refs:container (Results 1 – 18 of 18) 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/
Dcompact_dex_file.cc94 std::unique_ptr<DexFileContainer> container) in CompactDexFile() argument
102 std::move(container), in CompactDexFile()
Dstandard_dex_file.h119 std::unique_ptr<DexFileContainer> container) in StandardDexFile() argument
127 std::move(container), in StandardDexFile()
Dart_dex_file_loader.h71 std::unique_ptr<DexFileContainer> container = nullptr) const override;
165 std::unique_ptr<DexFileContainer> container,
Ddex_file_loader.cc255 std::unique_ptr<DexFileContainer> container) const { in Open()
266 std::move(container), in Open()
351 std::unique_ptr<DexFileContainer> container, in OpenCommon() argument
366 std::move(container))); in OpenCommon()
383 std::move(container))); in OpenCommon()
Ddex_file_loader.h148 std::unique_ptr<DexFileContainer> container = nullptr) const;
192 std::unique_ptr<DexFileContainer> container,
Dart_dex_file_loader.cc170 std::unique_ptr<DexFileContainer> container) const { in Open()
182 std::move(container), in Open()
571 std::unique_ptr<DexFileContainer> container, in OpenCommon() argument
583 std::move(container), in OpenCommon()
Dcompact_dex_file.h312 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.h823 std::unique_ptr<DexFileContainer> container,
/art/simulator/
DAndroid.bp95 name: "libart-simulator-container",
104 name: "libartd-simulator-container",
/art/compiler/
DAndroid.bp484 "libartd-simulator-container",
503 // For now, link `libart-simulator-container` statically for simplicity,
506 // TODO(b/192070541): Consider linking `libart-simulator-container`
508 "libart-simulator-container",
/art/dexlayout/
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()
Dcompact_dex_writer.cc385 Container* const container = down_cast<Container*>(output); in Write() local
398 data_item_dedupe_ = &container->data_item_dedupe_; in Write()
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/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()