Home
last modified time | relevance | path

Searched refs:U (Results 1 – 25 of 38) sorted by relevance

12

/art/openjdkjvmti/
Djvmti_allocator.h53 template <typename U>
55 typedef JvmtiAllocator<U> other;
61 template <typename U>
62 JvmtiAllocator(const JvmtiAllocator<U>& other) in JvmtiAllocator()
72 template <typename U>
75 template <typename U>
76 friend bool operator==(const JvmtiAllocator<U>& lhs, const JvmtiAllocator<U>& rhs);
90 template <typename U>
92 typedef JvmtiAllocator<U> other;
98 template <typename U>
[all …]
Dart_jvmti.h167 template <typename U>
168 void operator()(U* ptr) const { in operator()
/art/compiler/utils/
Dswap_space.h120 template <typename U>
122 typedef SwapAllocator<U> other;
127 template <typename U>
128 SwapAllocator(const SwapAllocator<U>& other) in SwapAllocator()
138 template <typename U>
141 template <typename U>
142 friend bool operator==(const SwapAllocator<U>& lhs, const SwapAllocator<U>& rhs);
156 template <typename U>
158 typedef SwapAllocator<U> other;
163 template <typename U>
[all …]
/art/libartbase/base/
Darena_containers.h135 template <typename U>
137 typedef ArenaAllocatorAdapter<U> other;
145 template <typename U>
146 ArenaAllocatorAdapter(const ArenaAllocatorAdapter<U>& other) in ArenaAllocatorAdapter()
157 template <typename U>
172 template <typename U>
174 typedef ArenaAllocatorAdapter<U> other;
181 template <typename U>
182 ArenaAllocatorAdapter(const ArenaAllocatorAdapter<U>& other) in ArenaAllocatorAdapter()
206 template <typename U, typename... Args>
[all …]
Dscoped_arena_containers.h110 template <typename U>
112 typedef ScopedArenaAllocatorAdapter<U> other;
122 template <typename U>
123 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other) in ScopedArenaAllocatorAdapter()
136 template <typename U>
153 template <typename U>
155 typedef ScopedArenaAllocatorAdapter<U> other;
165 template <typename U>
166 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other) in ScopedArenaAllocatorAdapter()
195 template <typename U, typename... Args>
[all …]
Dmemory_region.h83 typedef typename std::make_unsigned<T>::type U; in LoadUnaligned() typedef
84 U equivalent_unsigned_integer_value = 0; in LoadUnaligned()
86 for (size_t i = 0; i < sizeof(U); ++i) { in LoadUnaligned()
90 return bit_cast<T, U>(equivalent_unsigned_integer_value); in LoadUnaligned()
98 typedef typename std::make_unsigned<T>::type U; in StoreUnaligned() typedef
99 U equivalent_unsigned_integer_value = bit_cast<U, T>(value); in StoreUnaligned()
101 for (size_t i = 0; i < sizeof(U); ++i) { in StoreUnaligned()
Darray_ref.h66 template <typename U,
68 typename = typename std::enable_if<std::is_same<T, const U>::value>::type>
69 explicit constexpr ArrayRef(U (&array)[size]) in ArrayRef()
103 template <typename U>
104 typename std::enable_if<std::is_same<T, const U>::value, ArrayRef>::type&
105 operator=(const ArrayRef<U>& other) {
109 template <typename U>
110 static ArrayRef Cast(const ArrayRef<U>& src) { in Cast()
112 src.size() * sizeof(T) / sizeof(U)); in Cast()
Dbounded_fifo.h58 DCHECK_GT(size_, 0U); in front()
63 DCHECK_GT(size_, 0U); in pop_front()
Dallocator.h117 template <class U>
119 const TrackingAllocatorImpl<U, kTag>& alloc ATTRIBUTE_UNUSED) noexcept {} in TrackingAllocatorImpl() argument
128 template <class U>
130 typedef TrackingAllocatorImpl<U, kTag> other;
Dbit_utils_iterator.h62 template <typename U, typename I>
63 friend bool operator==(const BitIteratorBase<U, I>& lhs, const BitIteratorBase<U, I>& rhs);
Dstride_iterator.h117 template <typename U>
118 friend bool operator<(const StrideIterator<U>& lhs, const StrideIterator<U>& rhs);
Dvariant_map.h240 template <typename T, typename U>
241 void AssignIfExists(const TKey<T>& key, U* out) { in AssignIfExists()
Dhash_set.h460 template <typename U, typename = typename std::enable_if<std::is_convertible<U, T>::value>::type>
461 std::pair<iterator, bool> InsertWithHash(U&& element, size_t hash) { in InsertWithHash()
474 data_[index] = std::forward<U>(element); in InsertWithHash()
/art/runtime/gc/space/
Dzygote_space.h62 return 0U; in RevokeThreadLocalBuffers()
65 return 0U; in RevokeAllThreadLocalBuffers()
Ddlmalloc_space.h89 return 0U; in RevokeThreadLocalBuffers()
92 return 0U; in RevokeAllThreadLocalBuffers()
Dlarge_object_space.h72 return 0U; in RevokeThreadLocalBuffers()
75 return 0U; in RevokeAllThreadLocalBuffers()
Dregion_space-inl.h320 DCHECK_GT(num_regs_in_large_region, 0U); in AllocLarge()
513 DCHECK_EQ(objects_allocated_.load(std::memory_order_relaxed), 0U); in ObjectsAllocated()
517 DCHECK_EQ(objects_allocated_.load(std::memory_order_relaxed), 0U); in ObjectsAllocated()
/art/runtime/mirror/
Darray-alloc-inl.h52 DCHECK_NE(header_size, 0U); in ComputeArraySize()
55 const size_t length_limit = (0U - header_size) >> component_size_shift; in ComputeArraySize()
132 DCHECK_NE(size, 0U); in Alloc()
Dobject-readbarrier-inl.h90 DCHECK_EQ(*fake_address_dependency, 0U); in GetReadBarrierState()
106 DCHECK_EQ(*fake_address_dependency, 0U); in GetReadBarrierState()
Dobject_array-inl.h128 DCHECK_EQ(fake_address_dependency, 0U); in AssignableMemmove()
153 DCHECK_EQ(fake_address_dependency, 0U); in AssignableMemmove()
203 DCHECK_EQ(fake_address_dependency, 0U); in AssignableMemcpy()
251 DCHECK_EQ(fake_address_dependency, 0U); in AssignableCheckingMemcpy()
/art/tools/dexanalyze/
Ddexanalyze_bytecode.cc36 template <typename T, typename U>
37 static inline SafeMap<T, U> SortByOrder(const SafeMap<T, U>& usage, Order order) { in SortByOrder()
38 std::vector<std::pair<U, T>> most_used; in SortByOrder()
45 U current_index = 0u; in SortByOrder()
46 SafeMap<T, U> ret; in SortByOrder()
69 template <typename T, typename U, typename... Args, template <typename...> class Map>
71 const Map<T, U, Args...>& usage, in PrintMostUsed()
77 std::vector<std::pair<U, T>> sorted;
/art/runtime/
Dlock_word.h214 DCHECK_EQ(rb_state & ~kReadBarrierStateMask, 0U); in SetReadBarrierState()
229 DCHECK_EQ(mark_bit & ~kMarkBitStateMask, 0U); in SetMarkBitState()
292 DCHECK_EQ(rb_state, 0U); in CheckReadBarrierState()
/art/compiler/optimizing/
Dnodes_shared.h82 template <typename T, typename U>
83 auto Compute(T x, U y) const -> decltype(x & ~y) {
/art/runtime/gc/allocator/
Drosalloc.h144 SlotFreeList() : head_(0U), tail_(0), size_(0), padding_(0) {} in SlotFreeList()
483 DCHECK_EQ(offset_from_slot_base % bracket_size, 0U); in SlotIndex()
528 DCHECK_EQ(size % kThreadLocalBracketQuantumSize, 0U); in BracketSizeToIndex()
532 DCHECK_EQ((size - kMaxThreadLocalBracketSize) % kBracketQuantumSize, 0U); in BracketSizeToIndex()
/art/dexlayout/
Ddex_ir.h132 Iterator() : vector_(nullptr), position_(0U), iterator_end_(0U) { } in Iterator()
208 template <typename U>
209 friend bool operator<(const Iterator<U>& lhs, const Iterator<U>& rhs);
250 Iterator<ElementType> begin() const { return Iterator<ElementType>(collection_, 0U, Size()); } in begin()

12