Home
last modified time | relevance | path

Searched refs:Container (Results 1 – 16 of 16) sorted by relevance

/art/libartbase/base/
Dtransform_array_ref.h177 template <typename Container, typename Function>
178 TransformArrayRef<typename Container::value_type, Function> MakeTransformArrayRef( in MakeTransformArrayRef()
179 Container& container, Function f) { in MakeTransformArrayRef()
180 return TransformArrayRef<typename Container::value_type, Function>( in MakeTransformArrayRef()
181 ArrayRef<typename Container::value_type>(container.data(), container.size()), f); in MakeTransformArrayRef()
184 template <typename Container, typename Function>
185 TransformArrayRef<const typename Container::value_type, Function> MakeTransformArrayRef( in MakeTransformArrayRef()
186 const Container& container, Function f) { in MakeTransformArrayRef()
187 return TransformArrayRef<const typename Container::value_type, Function>( in MakeTransformArrayRef()
188 ArrayRef<const typename Container::value_type>(container.data(), container.size()), f); in MakeTransformArrayRef()
Dstl_util.h95 template <typename Container, typename T>
96 size_t IndexOfElement(const Container& container, const T& value) { in IndexOfElement()
103 template <typename Container, typename T>
104 void RemoveElement(Container& container, const T& value) { in RemoveElement()
111 template <typename Container, typename T>
112 void ReplaceElement(Container& container, const T& old_value, const T& new_value) { in ReplaceElement()
119 template <typename Container, typename T>
120 bool ContainsElement(const Container& container, const T& value, size_t start_pos = 0u) {
Ddata_hash.h37 template <class Container,
38 typename = std::enable_if_t<!std::is_same_v<Container, BitMemoryRegion>>>
39 size_t operator()(const Container& array) const { in operator()
42 uint32_t length_in_bytes = sizeof(typename Container::value_type) * array.size(); in operator()
Diteration_range.h65 template <typename Container>
66 inline auto ReverseRange(Container&& c) { in ReverseRange()
Dbit_utils_test.cc444 template <typename Container>
445 void CheckElements(const std::initializer_list<uint32_t>& expected, const Container& elements) { in CheckElements()
/art/runtime/native/
Dstring_array_utils.h35 template <typename Container>
37 Thread* self, size_t size, const Container& entries) REQUIRES_SHARED(Locks::mutator_lock_) { in CreateStringArray()
67 template <typename Container>
69 Thread* self, const Container& entries) REQUIRES_SHARED(Locks::mutator_lock_) { in CreateStringArray()
/art/runtime/mirror/
Dobject_array.h28 template<typename T, typename Container> class ArrayIter;
164 template <typename T, typename Container>
167 using Iter = ArrayIter<T, Container>;
170 ArrayIter(Container array, int32_t idx) NO_THREAD_SAFETY_ANALYSIS : array_(array), idx_(idx) { in ArrayIter()
217 Container array_;
/art/dexlayout/
Dcompact_dex_writer.h110 class Container : public DexContainer {
125 Container();
Dcompact_dex_writer.cc37 CompactDexWriter::Container::Container() in Container() function in art::CompactDexWriter::Container
385 Container* const container = down_cast<Container*>(output); in Write()
525 return std::unique_ptr<DexContainer>(new CompactDexWriter::Container()); in CreateDexContainer()
Ddex_writer.h193 class Container : public DexContainer {
Ddex_writer.cc1004 return std::unique_ptr<DexContainer>(new DexWriter::Container); in CreateDexContainer()
/art/libprofile/profile/
Dprofile_compilation_info.h557 template <typename Container>
559 const Container& dex_files) const { in FindDexFileForProfileIndex()
560 static_assert(std::is_same_v<typename Container::value_type, const DexFile*> || in FindDexFileForProfileIndex()
561 std::is_same_v<typename Container::value_type, std::unique_ptr<const DexFile>>); in FindDexFileForProfileIndex()
/art/compiler/optimizing/
Dgraph_visualizer.cc84 template <typename Container>
85 explicit StringList(const Container& list, Format format = kArrayBrackets) : StringList(format) { in StringList()
86 for (const typename Container::value_type& current : list) { in StringList()
Dregister_allocator_graph_color.cc1764 template <typename Container>
1765 static std::bitset<kMaxNumRegs> BuildConflictMask(const Container& intervals) { in BuildConflictMask()
/art/runtime/
Dtransaction.cc371 template <typename MovingRoots, typename Container>
372 void UpdateKeys(const MovingRoots& moving_roots, Container& container) { in UpdateKeys()
/art/runtime/gc/space/
Dimage_space.cc839 template <typename Container>
841 const Container& old_spaces, in RemoveInternTableDuplicates()