Home
last modified time | relevance | path

Searched refs:U (Results 1 – 25 of 40) 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.h108 template <typename U>
110 typedef ScopedArenaAllocatorAdapter<U> other;
120 template <typename U>
121 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other) in ScopedArenaAllocatorAdapter()
134 template <typename U>
151 template <typename U>
153 typedef ScopedArenaAllocatorAdapter<U> other;
163 template <typename U>
164 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other) in ScopedArenaAllocatorAdapter()
193 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.h454 template <typename U, typename = typename std::enable_if<std::is_convertible<U, T>::value>::type>
455 iterator InsertWithHash(U&& element, size_t hash) { in InsertWithHash()
462 data_[index] = std::forward<U>(element); in InsertWithHash()
/art/runtime/gc/space/
Dzygote_space.h60 return 0U; in RevokeThreadLocalBuffers()
63 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()
518 DCHECK_EQ(objects_allocated_.load(std::memory_order_relaxed), 0U); in ObjectsAllocated()
522 DCHECK_EQ(objects_allocated_.load(std::memory_order_relaxed), 0U); in ObjectsAllocated()
/art/runtime/mirror/
Darray-alloc-inl.h51 DCHECK_NE(header_size, 0U); in ComputeArraySize()
54 const size_t length_limit = (0U - header_size) >> component_size_shift; in ComputeArraySize()
131 DCHECK_NE(size, 0U); in Alloc()
Dobject_array-inl.h127 DCHECK_EQ(fake_address_dependency, 0U); in AssignableMemmove()
152 DCHECK_EQ(fake_address_dependency, 0U); in AssignableMemmove()
202 DCHECK_EQ(fake_address_dependency, 0U); in AssignableMemcpy()
250 DCHECK_EQ(fake_address_dependency, 0U); in AssignableCheckingMemcpy()
Dobject-readbarrier-inl.h90 DCHECK_EQ(*fake_address_dependency, 0U); in GetReadBarrierState()
106 DCHECK_EQ(*fake_address_dependency, 0U); in GetReadBarrierState()
/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.h212 DCHECK_EQ(rb_state & ~kReadBarrierStateMask, 0U); in SetReadBarrierState()
227 DCHECK_EQ(mark_bit & ~kMarkBitStateMask, 0U); in SetMarkBitState()
289 DCHECK_EQ(rb_state, 0U); in CheckReadBarrierState()
/art/runtime/jdwp/
Djdwp_priv.h32 static constexpr size_t kJDWPHeaderSizeOffset = 0U;
/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()
482 DCHECK_EQ(offset_from_slot_base % bracket_size, 0U); in SlotIndex()
527 DCHECK_EQ(size % kThreadLocalBracketQuantumSize, 0U); in BracketSizeToIndex()
531 DCHECK_EQ((size - kMaxThreadLocalBracketSize) % kBracketQuantumSize, 0U); in BracketSizeToIndex()

12