Home
last modified time | relevance | path

Searched refs:container (Results 1 – 20 of 20) 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.h173 ArrayRef<ValueType> container, Function f) { in MakeTransformArrayRef() argument
174 return TransformArrayRef<ValueType, Function>(container, f); in MakeTransformArrayRef()
179 Container& container, Function f) { in MakeTransformArrayRef() argument
181 ArrayRef<typename Container::value_type>(container.data(), container.size()), f); in MakeTransformArrayRef()
186 const Container& container, Function f) { in MakeTransformArrayRef() argument
188 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()
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()
Dart_dex_file_loader.h71 std::unique_ptr<DexFileContainer> container = nullptr) const override;
182 std::unique_ptr<DexFileContainer> container,
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()
602 std::unique_ptr<DexFileContainer> container, in OpenCommon() argument
614 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.h829 std::unique_ptr<DexFileContainer> container,
/art/tools/veridex/
DAndroid.mk71 $(call declare-1p-container,$(VERIDEX_FILES_PATH),art)
72 $(call declare-container-license-deps,$(VERIDEX_FILES_PATH),$(INTERNAL_PLATFORM_HIDDENAPI_FLAGS) \
/art/simulator/
DAndroid.bp95 name: "libart-simulator-container",
104 name: "libartd-simulator-container",
/art/compiler/
DAndroid.bp492 "libartd-simulator-container",
512 // For now, link `libart-simulator-container` statically for simplicity,
515 // TODO(b/192070541): Consider linking `libart-simulator-container`
517 "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.cc1924 DexContainer* const container = dex_container->get(); in OutputDexFile() local
1925 DexContainer::Section* const main_section = container->GetMainSection(); in OutputDexFile()
1931 DexContainer::Section* const data_section = container->GetDataSection(); in OutputDexFile()
/art/runtime/
Dtransaction.cc372 void UpdateKeys(const MovingRoots& moving_roots, Container& container) { in UpdateKeys() argument
376 auto node = container.extract(old_root); in UpdateKeys()
379 bool inserted = container.insert(std::move(node)).inserted; in UpdateKeys()
/art/runtime/verifier/
Dreg_type_test.cc1022 auto print_set = [](auto& container) REQUIRES_SHARED(Locks::mutator_lock_) { in TEST_F()
1024 for (auto r : container) { in TEST_F()