Home
last modified time | relevance | path

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

123

/art/libartbase/base/
Dtransform_array_ref.h46 using value_type = typename Iter::value_type;
175 TransformArrayRef<typename Container::value_type, Function> MakeTransformArrayRef( in MakeTransformArrayRef()
177 return TransformArrayRef<typename Container::value_type, Function>( in MakeTransformArrayRef()
178 ArrayRef<typename Container::value_type>(container.data(), container.size()), f); in MakeTransformArrayRef()
182 TransformArrayRef<const typename Container::value_type, Function> MakeTransformArrayRef( in MakeTransformArrayRef()
184 return TransformArrayRef<const typename Container::value_type, Function>( in MakeTransformArrayRef()
185 ArrayRef<const typename Container::value_type>(container.data(), container.size()), f); in MakeTransformArrayRef()
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()
Dstl_util.h162 using value_type = std::pair<typename IterLeft::value_type, typename IterRight::value_type>; variable
184 std::pair<typename IterLeft::value_type, typename IterRight::value_type> operator*() const {
196 using value_type = size_t; variable
254 using value_type = typename std::iterator_traits<RealIter>::value_type; member
286 typename RealIter::value_type operator*() const {
314 using FilterNull = FilterIterator<InnerIter, NonNullFilter<typename InnerIter::value_type>>;
318 return Filter(inner, NonNullFilter<typename InnerIter::value_type>()); in FilterOutNull()
344 using value_type = std::string_view; member
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()
Dintrusive_forward_list.h65 using value_type = T; variable
67 using pointer = value_type*;
68 using reference = value_type&;
143 using value_type = T; variable
193 void push_front(value_type& value) { in push_front()
200 iterator insert_after(const_iterator position, value_type& value) { in insert_after()
291 void remove(const value_type& value) { in remove()
292 remove_if([value](const value_type& v) { return value == v; }); in remove()
307 unique(std::equal_to<value_type>()); in unique()
326 merge(other, std::less<value_type>()); in merge()
[all …]
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 …]
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 …]
Dstride_iterator.h30 using value_type = T; variable
32 using pointer = value_type*;
33 using reference = value_type&;
Diteration_range.h32 using value_type = typename std::iterator_traits<Iter>::value_type; variable
Dleb128.h168 static_assert(std::is_same_v<typename Vector::value_type, uint8_t>, "Invalid value type"); in EncodeUnsignedLeb128()
220 static_assert(std::is_same_v<typename Vector::value_type, uint8_t>, "Invalid value type");
268 static_assert(std::is_same_v<typename Vector::value_type, uint8_t>, "Invalid 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()
Dtransform_iterator.h48 typename std::iterator_traits<BaseIterator>::value_type,
54 using value_type = std::remove_const_t<std::remove_reference_t<ResultType>>; variable
/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/libdexfile/dex/
Dclass_iterator.h47 using value_type = ClassIteratorData; variable
68 const value_type& operator*() const {
Dclass_accessor.h184 using value_type = DataType; variable
186 using pointer = value_type*;
187 using reference = value_type&;
213 const value_type& operator*() const {
217 const value_type* operator->() const {
Ddex_instruction_iterator.h63 using value_type = DexInstructionPcPair; variable
145 const value_type& operator*() const {
197 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/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/
Dintrinsics_riscv64.cc3253 DataType::Type value_type = in GenerateVarHandleArrayChecks() local
3255 Primitive::Type primitive_type = DataTypeToPrimitive(value_type); in GenerateVarHandleArrayChecks()
3315 bool can_be_view = (DataType::Size(value_type) != 1u) && boot_image_available; in GenerateVarHandleArrayChecks()
3433 DataType::Type value_type = in GenerateVarHandleTarget() local
3435 MemberOffset data_offset = mirror::Array::DataOffset(DataType::Size(value_type)); in GenerateVarHandleTarget()
3439 codegen->GetInstructionVisitor()->ShNAdd(target.offset, index, target.offset, value_type); in GenerateVarHandleTarget()
3635 DataType::Type value_type = GetDataTypeFromShorty(invoke, value_index); in CreateVarHandleSetLocations() local
3636 if (value_type == DataType::Type::kReference && !locations->InAt(value_index).IsConstant()) { in CreateVarHandleSetLocations()
3647 DataType::Type value_type = GetDataTypeFromShorty(invoke, value_index); in GenerateVarHandleSet() local
3655 slow_path = GenerateVarHandleChecks(invoke, codegen, order, value_type); in GenerateVarHandleSet()
[all …]
Dlinear_order.h42 static_assert(std::is_same<HBasicBlock*, typename Vector::value_type>::value, in LinearizeGraph()
Dintrinsics_arm_vixl.cc4253 DataType::Type value_type = in GenerateVarHandleArrayChecks() local
4255 Primitive::Type primitive_type = DataTypeToPrimitive(value_type); in GenerateVarHandleArrayChecks()
4318 ((value_type != DataType::Type::kReference) && (DataType::Size(value_type) != 1u)) && in GenerateVarHandleArrayChecks()
4436 DataType::Type value_type = in GenerateVarHandleTarget() local
4438 uint32_t size_shift = DataType::SizeShift(value_type); in GenerateVarHandleTarget()
4439 MemberOffset data_offset = mirror::Array::DataOffset(DataType::Size(value_type)); in GenerateVarHandleTarget()
4664 DataType::Type value_type = GetDataTypeFromShorty(invoke, number_of_arguments - 1u); in CreateVarHandleSetLocations() local
4665 if (DataType::Is64BitType(value_type)) { in CreateVarHandleSetLocations()
4678 : ((value_type == DataType::Type::kFloat64) ? 3u : 2u); in CreateVarHandleSetLocations()
4695 DataType::Type value_type = GetDataTypeFromShorty(invoke, value_index); in GenerateVarHandleSet() local
[all …]
Dintrinsics_arm64.cc4533 DataType::Type value_type = in GenerateVarHandleArrayChecks() local
4535 Primitive::Type primitive_type = DataTypeToPrimitive(value_type); in GenerateVarHandleArrayChecks()
4597 bool can_be_view = (DataType::Size(value_type) != 1u) && boot_image_available; in GenerateVarHandleArrayChecks()
4715 DataType::Type value_type = in GenerateVarHandleTarget() local
4717 size_t size_shift = DataType::SizeShift(value_type); in GenerateVarHandleTarget()
4718 MemberOffset data_offset = mirror::Array::DataOffset(DataType::Size(value_type)); in GenerateVarHandleTarget()
4926 DataType::Type value_type = GetDataTypeFromShorty(invoke, value_index); in GenerateVarHandleSet() local
4934 slow_path = GenerateVarHandleChecks(invoke, codegen, order, value_type); in GenerateVarHandleSet()
4950 if (kPoisonHeapReferences && value_type == DataType::Type::kReference) { in GenerateVarHandleSet()
4960 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.py1052 for value_type in test_types:
1060 … print(", SampleValues.get_{0}({1})".format(value_type.boxed_type, i), end="", file=body_text)
1062 if value_type in compatible_types:
1114 for value_type in test_types:
1116 print("{0} result = ({0}) ".format(value_type.boxed_type), end="", file=body_text)
1122 if value_type in compatible_types:

123