Home
last modified time | relevance | path

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

/art/libartbase/base/
Dstl_util.h92 template <typename Container, typename T>
93 size_t IndexOfElement(const Container& container, const T& value) { in IndexOfElement()
100 template <typename Container, typename T>
101 void RemoveElement(Container& container, const T& value) { in RemoveElement()
108 template <typename Container, typename T>
109 void ReplaceElement(Container& container, const T& old_value, const T& new_value) { in ReplaceElement()
116 template <typename Container, typename T>
117 bool ContainsElement(const Container& container, const T& value, size_t start_pos = 0u) {
Dtransform_array_ref.h180 template <typename Container, typename Function>
181 TransformArrayRef<typename Container::value_type, Function> MakeTransformArrayRef( in MakeTransformArrayRef()
182 Container& container, Function f) { in MakeTransformArrayRef()
183 return TransformArrayRef<typename Container::value_type, Function>( in MakeTransformArrayRef()
184 ArrayRef<typename Container::value_type>(container.data(), container.size()), f); in MakeTransformArrayRef()
187 template <typename Container, typename Function>
188 TransformArrayRef<const typename Container::value_type, Function> MakeTransformArrayRef( in MakeTransformArrayRef()
189 const Container& container, Function f) { in MakeTransformArrayRef()
190 return TransformArrayRef<const typename Container::value_type, Function>( in MakeTransformArrayRef()
191 ArrayRef<const typename Container::value_type>(container.data(), container.size()), f); in MakeTransformArrayRef()
Diteration_range.h57 template <typename Container>
58 inline auto ReverseRange(Container&& c) { in ReverseRange()
Dbit_utils_test.cc441 template <typename Container>
442 void CheckElements(const std::initializer_list<uint32_t>& expected, const Container& elements) { in CheckElements()
/art/dexlayout/
Dcompact_dex_writer.h113 class Container : public DexContainer {
128 explicit Container(bool dedupe_code_items);
Dcompact_dex_writer.cc37 CompactDexWriter::Container::Container(bool dedupe_code_items) in Container() function in art::CompactDexWriter::Container
391 Container* const container = down_cast<Container*>(output); in Write()
539 new CompactDexWriter::Container(dex_layout_->GetOptions().dedupe_code_items_)); in CreateDexContainer()
Ddex_writer.h193 class Container : public DexContainer {
Ddex_writer.cc948 return std::unique_ptr<DexContainer>(new DexWriter::Container); in CreateDexContainer()
/art/compiler/optimizing/
Dgraph_visualizer.cc75 template <typename Container>
76 explicit StringList(const Container& list, Format format = kArrayBrackets) : StringList(format) { in StringList()
77 for (const typename Container::value_type& current : list) { in StringList()
Dregister_allocator_graph_color.cc1755 template <typename Container>
1756 static std::bitset<kMaxNumRegs> BuildConflictMask(const Container& intervals) { in BuildConflictMask()