Home
last modified time | relevance | path

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

12

/art/openjdkjvmti/
Djvmti_allocator.h53 template <typename U>
55 using other = JvmtiAllocator<U>;
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 using other = JvmtiAllocator<U>;
98 template <typename U>
[all …]
Dart_jvmti.h176 template <typename U>
177 void operator()(U* ptr) const { in operator()
/art/dex2oat/utils/
Dswap_space.h121 template <typename U>
123 using other = SwapAllocator<U>;
128 template <typename U>
129 SwapAllocator(const SwapAllocator<U>& other) in SwapAllocator()
139 template <typename U>
142 template <typename U>
143 friend bool operator==(const SwapAllocator<U>& lhs, const SwapAllocator<U>& rhs);
157 template <typename U>
159 using other = SwapAllocator<U>;
164 template <typename U>
[all …]
/art/libartbase/base/
Darena_containers.h139 template <typename U>
141 using other = ArenaAllocatorAdapter<U>;
149 template <typename U>
150 ArenaAllocatorAdapter(const ArenaAllocatorAdapter<U>& other) in ArenaAllocatorAdapter()
161 template <typename U>
176 template <typename U>
178 using other = ArenaAllocatorAdapter<U>;
185 template <typename U>
186 ArenaAllocatorAdapter(const ArenaAllocatorAdapter<U>& other) in ArenaAllocatorAdapter()
210 template <typename U, typename... Args>
[all …]
Dscoped_arena_containers.h114 template <typename U>
116 using other = ScopedArenaAllocatorAdapter<U>;
126 template <typename U>
127 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other) in ScopedArenaAllocatorAdapter()
140 template <typename U>
157 template <typename U>
159 using other = ScopedArenaAllocatorAdapter<U>;
169 template <typename U>
170 ScopedArenaAllocatorAdapter(const ScopedArenaAllocatorAdapter<U>& other) in ScopedArenaAllocatorAdapter()
199 template <typename U, typename... Args>
[all …]
Dmemory_region.h83 using U = std::make_unsigned_t<T>; in LoadUnaligned() local
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 using U = std::make_unsigned_t<T>; in StoreUnaligned() local
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 = std::enable_if_t<std::is_same_v<T, const U>>>
69 explicit constexpr ArrayRef(U (&array)[size]) in ArrayRef()
100 template <typename U>
101 std::enable_if_t<std::is_same_v<T, const U>, ArrayRef>&
102 operator=(const ArrayRef<U>& other) {
106 template <typename U>
107 static ArrayRef Cast(const ArrayRef<U>& src) { in Cast()
109 src.size() * sizeof(T) / sizeof(U)); in Cast()
Dallocator.h114 template <class U>
115 …TrackingAllocatorImpl([[maybe_unused]] const TrackingAllocatorImpl<U, kTag>& alloc) noexcept {} /… in TrackingAllocatorImpl() argument
121 template <class U>
123 using other = TrackingAllocatorImpl<U, kTag>;
Dbounded_fifo.h58 DCHECK_GT(size_, 0U); in front()
63 DCHECK_GT(size_, 0U); in pop_front()
Dbit_utils_iterator.h67 template <typename U, typename I>
68 friend bool operator==(const BitIteratorBase<U, I>& lhs, const BitIteratorBase<U, I>& rhs);
Dstride_iterator.h120 template <typename U>
121 friend bool operator<(const StrideIterator<U>& lhs, const StrideIterator<U>& rhs);
Dhash_set.h520 template <typename U, typename = std::enable_if_t<std::is_convertible_v<U, T>>>
521 std::pair<iterator, bool> InsertWithHash(U&& element, size_t hash) { in InsertWithHash()
534 data_[index] = std::forward<U>(element); in InsertWithHash()
548 template <typename U, typename = std::enable_if_t<std::is_convertible_v<U, T>>>
549 void PutWithHash(U&& element, size_t hash) { in PutWithHash()
557 data_[index] = std::forward<U>(element); in PutWithHash()
Dvariant_map.h248 template <typename T, typename U>
249 void AssignIfExists(const TKey<T>& key, U* out) { in AssignIfExists()
/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.h318 DCHECK_GT(num_regs_in_large_region, 0U); in AllocLarge()
511 DCHECK_EQ(objects_allocated_.load(std::memory_order_relaxed), 0U); in ObjectsAllocated()
515 DCHECK_EQ(objects_allocated_.load(std::memory_order_relaxed), 0U); in ObjectsAllocated()
/art/test/2254-class-value-before-and-after-u/
Dinfo.txt1 java.lang.ClassValue should be visible to U or newer Android, but on older versions
/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.h93 DCHECK_EQ(*fake_address_dependency, 0U); in GetReadBarrierState()
109 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/base/
Dgc_visited_arena_pool.h302 template <class U>
303 …GcRootArenaAllocator([[maybe_unused]] const GcRootArenaAllocator<U, kTag>& alloc) noexcept {} // … in GcRootArenaAllocator() argument
309 template <class U>
311 using other = GcRootArenaAllocator<U, kTag>;
/art/runtime/
Dlock_word.h217 DCHECK_EQ(rb_state & ~kReadBarrierStateMask, 0U); in SetReadBarrierState()
232 DCHECK_EQ(mark_bit & ~kMarkBitStateMask, 0U); in SetMarkBitState()
295 DCHECK_EQ(rb_state, 0U); in CheckReadBarrierState()
/art/runtime/gc/allocator/
Drosalloc.h142 SlotFreeList() : head_(0U), tail_(0), size_(0), padding_(0) {} in SlotFreeList()
481 DCHECK_EQ(offset_from_slot_base % bracket_size, 0U); in SlotIndex()
526 DCHECK_EQ(size % kThreadLocalBracketQuantumSize, 0U); in BracketSizeToIndex()
530 DCHECK_EQ((size - kMaxThreadLocalBracketSize) % kBracketQuantumSize, 0U); in BracketSizeToIndex()

12