Home
last modified time | relevance | path

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

/art/libartbase/base/
Dstl_util.h59 void STLDeleteElements(T *container) { in STLDeleteElements() argument
60 if (container != nullptr) { in STLDeleteElements()
61 STLDeleteContainerPointers(container->begin(), container->end()); in STLDeleteElements()
62 container->clear(); in STLDeleteElements()
93 size_t IndexOfElement(const Container& container, const T& value) { in IndexOfElement() argument
94 auto it = std::find(container.begin(), container.end(), value); in IndexOfElement()
95 DCHECK(it != container.end()); // Must exist. in IndexOfElement()
96 return std::distance(container.begin(), it); in IndexOfElement()
101 void RemoveElement(Container& container, const T& value) { in RemoveElement() argument
102 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.h96 std::unique_ptr<DexFileContainer> container) in StandardDexFile() argument
104 std::move(container), in StandardDexFile()
Dcompact_dex_file.cc94 std::unique_ptr<DexFileContainer> container) in CompactDexFile() argument
102 std::move(container), in CompactDexFile()
Ddex_file_loader.cc320 std::unique_ptr<DexFileContainer> container, in OpenCommon() argument
335 std::move(container))); in OpenCommon()
352 std::move(container))); in OpenCommon()
Ddex_file_loader.h174 std::unique_ptr<DexFileContainer> container,
Dcompact_dex_file.h294 std::unique_ptr<DexFileContainer> container);
Ddex_file.cc103 std::unique_ptr<DexFileContainer> container, in DexFile() argument
123 container_(std::move(container)), in DexFile()
Ddex_file.h1029 std::unique_ptr<DexFileContainer> container,
/art/simulator/
DAndroid.bp80 name: "libart-simulator-container",
88 name: "libartd-simulator-container",
/art/runtime/dex/
Dart_dex_file_loader.h134 std::unique_ptr<DexFileContainer> container,
Dart_dex_file_loader.cc519 std::unique_ptr<DexFileContainer> container, in OpenCommon() argument
531 std::move(container), in OpenCommon()
/art/dexlayout/
Dcompact_dex_writer.cc391 Container* const container = down_cast<Container*>(output); in Write() local
404 code_item_dedupe_ = &container->code_item_dedupe_; in Write()
405 data_item_dedupe_ = &container->data_item_dedupe_; in Write()
Ddex_writer.cc914 std::unique_ptr<DexContainer>* container, in Output() argument
925 DCHECK(container != nullptr); in Output()
926 if (*container == nullptr) { in Output()
927 *container = writer->CreateDexContainer(); in Output()
929 return writer->Write(container->get(), error_msg); in Output()
Ddex_writer.h217 std::unique_ptr<DexContainer>* container,
Ddexlayout.cc1845 DexContainer* const container = dex_container->get(); in OutputDexFile() local
1846 DexContainer::Section* const main_section = container->GetMainSection(); in OutputDexFile()
1852 DexContainer::Section* const data_section = container->GetDataSection(); in OutputDexFile()
/art/compiler/
DAndroid.bp425 "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()