Home
last modified time | relevance | path

Searched refs:value_type (Results 1 – 25 of 67) sorted by relevance

123

/art/libdexfile/dex/
Dclass_iterator.h46 using value_type = std::iterator<std::forward_iterator_tag, ClassIteratorData>::value_type;
47 using difference_type = std::iterator<std::forward_iterator_tag, value_type>::difference_type;
65 const value_type& operator*() const {
Ddex_instruction_iterator.h63 using value_type = std::iterator<std::forward_iterator_tag, DexInstructionPcPair>::value_type;
64 using difference_type = std::iterator<std::forward_iterator_tag, value_type>::difference_type;
143 const value_type& operator*() const {
195 const value_type& operator*() const {
Dclass_accessor.h182 using value_type = typename std::iterator<std::forward_iterator_tag, DataType>::value_type;
184 typename std::iterator<std::forward_iterator_tag, value_type>::difference_type;
210 const value_type& operator*() const {
214 const value_type* operator->() const {
Dutf.cc229 result += static_cast<std::string::value_type>(ch); in PrintableChar()
256 result += static_cast<std::string::value_type>(leading); in PrintableString()
/art/libartbase/base/
Darray_ref.h43 using value_type = T;
78 typename = std::enable_if_t<std::is_same_v<typename Vector::value_type, value_type>>>
85 std::is_same_v<std::add_const_t<typename Vector::value_type>, value_type>>>
165 value_type* data() { return array_; } in data()
166 const value_type* data() const { return array_; } in data()
Dtransform_array_ref.h47 using value_type = typename Iter::value_type;
178 TransformArrayRef<typename Container::value_type, Function> MakeTransformArrayRef( 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()
185 TransformArrayRef<const typename Container::value_type, Function> MakeTransformArrayRef( 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()
Ddchecked_vector.h44 using typename Base::value_type;
65 const value_type& value,
81 dchecked_vector(std::initializer_list<value_type> il,
93 dchecked_vector& operator=(std::initializer_list<value_type> il) {
150 iterator insert(const_iterator position, const value_type& value) { in insert()
154 iterator insert(const_iterator position, size_type n, const value_type& value) { in insert()
163 iterator insert(const_iterator position, value_type&& value) { in insert()
167 iterator insert(const_iterator position, std::initializer_list<value_type> il) { in insert()
Dtransform_iterator_test.cc49 static_assert(std::is_same_v<int, vector_titer::value_type>); in TEST()
55 static_assert(std::is_same_v<int, vector_ctiter::value_type>); in TEST()
61 static_assert(std::is_same_v<int, vector_rtiter::value_type>); in TEST()
67 static_assert(std::is_same_v<int, vector_crtiter::value_type>); in TEST()
148 static_assert(std::is_same_v<int, list_titer::value_type>); in TEST()
154 static_assert(std::is_same_v<int, list_ctiter::value_type>); in TEST()
160 static_assert(std::is_same_v<int, list_rtiter::value_type>); in TEST()
166 static_assert(std::is_same_v<int, list_crtiter::value_type>); in TEST()
208 static_assert(std::is_same_v<int, flist_titer::value_type>); in TEST()
214 static_assert(std::is_same_v<int, flist_ctiter::value_type>); in TEST()
[all …]
Dstl_util.h161 std::pair<typename IterLeft::value_type, typename IterRight::value_type>> {
180 std::pair<typename IterLeft::value_type, typename IterRight::value_type> operator*() const {
242 : public std::iterator<std::forward_iterator_tag, typename RealIter::value_type> {
271 typename RealIter::value_type operator*() const {
299 using FilterNull = FilterIterator<InnerIter, NonNullFilter<typename InnerIter::value_type>>;
303 return Filter(inner, NonNullFilter<typename InnerIter::value_type>()); in FilterOutNull()
Dintrusive_forward_list_test.cc143 using ValueType = typename ListType::value_type; in IteratorOperators()
168 using ValueType = typename ListType::value_type; in ConstructRange()
183 using ValueType = typename ListType::value_type; in Assign()
203 using ValueType = typename ListType::value_type; in PushPop()
234 using ValueType = typename ListType::value_type; in InsertAfter1()
277 using ValueType = typename ListType::value_type; in InsertAfter2()
311 using ValueType = typename ListType::value_type; in EraseAfter1()
374 using ValueType = typename ListType::value_type; in EraseAfter2()
414 using ValueType = typename ListType::value_type; in SwapClear()
449 using ValueType = typename ListType::value_type; in SpliceAfter()
[all …]
Dintrusive_forward_list.h137 using value_type = T; variable
187 void push_front(value_type& value) { in push_front()
194 iterator insert_after(const_iterator position, value_type& value) { in insert_after()
285 void remove(const value_type& value) { in remove()
286 remove_if([value](const value_type& v) { return value == v; }); in remove()
301 unique(std::equal_to<value_type>()); in unique()
320 merge(other, std::less<value_type>()); in merge()
350 sort(std::less<value_type>()); in sort()
368 value_type& value = front(); in reverse()
Diteration_range.h32 using value_type = typename std::iterator_traits<Iter>::value_type; variable
Dleb128.h260 static_assert(std::is_same_v<typename Vector::value_type, uint8_t>, "Invalid value type"); in EncodeUnsignedLeb128()
299 static_assert(std::is_same_v<typename Vector::value_type, uint8_t>, "Invalid value type"); in EncodeSignedLeb128()
314 static_assert(std::is_same_v<typename Vector::value_type, uint8_t>, "Invalid value type");
362 static_assert(std::is_same_v<typename Vector::value_type, uint8_t>, "Invalid value type");
Dallocator.h108 using value_type = typename std::allocator<T>::value_type;
Dtransform_array_ref_test.cc47 static_assert(std::is_same_v<int, decltype(taref)::value_type>); in TEST()
87 static_assert(std::is_same_v<int, decltype(taref)::value_type>); in TEST()
121 static_assert(std::is_same_v<int, decltype(taref)::value_type>); in TEST()
164 static_assert(std::is_same_v<int, decltype(ctaref)::value_type>); in TEST()
Dsafe_map.h45 using value_type = typename Impl::value_type; variable
85 std::pair<iterator, bool> insert(value_type&& value) { return map_.insert(std::move(value)); } in insert()
Dbit_field.h33 using value_type = T;
/art/openjdkjvmti/
Djvmti_allocator.h49 using value_type = void;
82 using value_type = T;
136 new (static_cast<void*>(p)) value_type(val); in construct()
143 p->~value_type(); in destroy()
/art/dex2oat/utils/
Dswap_space.h117 using value_type = void;
149 using value_type = T;
198 new (static_cast<void*>(p)) value_type(val); in construct()
205 p->~value_type(); in destroy()
/art/compiler/optimizing/
Dlinear_order.h42 static_assert(std::is_same<HBasicBlock*, typename Vector::value_type>::value, in LinearizeGraph()
Dintrinsics_arm_vixl.cc4176 DataType::Type value_type = in GenerateVarHandleArrayChecks() local
4178 Primitive::Type primitive_type = DataTypeToPrimitive(value_type); in GenerateVarHandleArrayChecks()
4241 ((value_type != DataType::Type::kReference) && (DataType::Size(value_type) != 1u)) && in GenerateVarHandleArrayChecks()
4359 DataType::Type value_type = in GenerateVarHandleTarget() local
4361 uint32_t size_shift = DataType::SizeShift(value_type); in GenerateVarHandleTarget()
4362 MemberOffset data_offset = mirror::Array::DataOffset(DataType::Size(value_type)); in GenerateVarHandleTarget()
4586 DataType::Type value_type = GetDataTypeFromShorty(invoke, number_of_arguments - 1u); in CreateVarHandleSetLocations() local
4587 if (DataType::Is64BitType(value_type)) { in CreateVarHandleSetLocations()
4600 : ((value_type == DataType::Type::kFloat64) ? 3u : 2u); in CreateVarHandleSetLocations()
4617 DataType::Type value_type = GetDataTypeFromShorty(invoke, value_index); in GenerateVarHandleSet() local
[all …]
Dintrinsics_arm64.cc4538 DataType::Type value_type = in GenerateVarHandleArrayChecks() local
4540 Primitive::Type primitive_type = DataTypeToPrimitive(value_type); in GenerateVarHandleArrayChecks()
4602 bool can_be_view = (DataType::Size(value_type) != 1u) && boot_image_available; in GenerateVarHandleArrayChecks()
4720 DataType::Type value_type = in GenerateVarHandleTarget() local
4722 size_t size_shift = DataType::SizeShift(value_type); in GenerateVarHandleTarget()
4723 MemberOffset data_offset = mirror::Array::DataOffset(DataType::Size(value_type)); in GenerateVarHandleTarget()
4930 DataType::Type value_type = GetDataTypeFromShorty(invoke, value_index); in GenerateVarHandleSet() local
4938 slow_path = GenerateVarHandleChecks(invoke, codegen, order, value_type); in GenerateVarHandleSet()
4954 if (kPoisonHeapReferences && value_type == DataType::Type::kReference) { in GenerateVarHandleSet()
4964 if (value_type == DataType::Type::kInt16) { in GenerateVarHandleSet()
[all …]
/art/libelffile/dwarf/
Dheaders.h45 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invalid value type"); in WriteCIE()
94 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invalid value type"); in WriteDebugInfoCU()
121 static_assert(std::is_same<typename Vector::value_type, uint8_t>::value, "Invalid value type"); in WriteDebugLineTable()
/art/dex2oat/driver/
Dcompiled_method.h79 typename BitFieldType::value_type GetPackedField() const { in GetPackedField()
84 void SetPackedField(typename BitFieldType::value_type value) { in SetPackedField()
/art/test/712-varhandle-invocations/util-src/
Dgenerate_java.py828 for value_type in test_types:
836 … print(", SampleValues.get_{0}({1})".format(value_type.boxed_type, i), end="", file=body_text)
838 if value_type in compatible_types:
890 for value_type in test_types:
892 print("{0} result = ({0}) ".format(value_type.boxed_type), end="", file=body_text)
898 if value_type in compatible_types:

123