/art/openjdkjvmti/ |
D | jvmti_allocator.h | 53 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 …]
|
D | art_jvmti.h | 167 template <typename U> 168 void operator()(U* ptr) const { in operator()
|
/art/compiler/utils/ |
D | swap_space.h | 120 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/ |
D | arena_containers.h | 135 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 …]
|
D | scoped_arena_containers.h | 110 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 …]
|
D | memory_region.h | 83 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()
|
D | array_ref.h | 66 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()
|
D | bounded_fifo.h | 58 DCHECK_GT(size_, 0U); in front() 63 DCHECK_GT(size_, 0U); in pop_front()
|
D | allocator.h | 117 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;
|
D | bit_utils_iterator.h | 62 template <typename U, typename I> 63 friend bool operator==(const BitIteratorBase<U, I>& lhs, const BitIteratorBase<U, I>& rhs);
|
D | stride_iterator.h | 117 template <typename U> 118 friend bool operator<(const StrideIterator<U>& lhs, const StrideIterator<U>& rhs);
|
D | variant_map.h | 240 template <typename T, typename U> 241 void AssignIfExists(const TKey<T>& key, U* out) { in AssignIfExists()
|
D | hash_set.h | 460 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/ |
D | zygote_space.h | 62 return 0U; in RevokeThreadLocalBuffers() 65 return 0U; in RevokeAllThreadLocalBuffers()
|
D | dlmalloc_space.h | 89 return 0U; in RevokeThreadLocalBuffers() 92 return 0U; in RevokeAllThreadLocalBuffers()
|
D | large_object_space.h | 72 return 0U; in RevokeThreadLocalBuffers() 75 return 0U; in RevokeAllThreadLocalBuffers()
|
D | region_space-inl.h | 320 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/ |
D | array-alloc-inl.h | 52 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()
|
D | object-readbarrier-inl.h | 90 DCHECK_EQ(*fake_address_dependency, 0U); in GetReadBarrierState() 106 DCHECK_EQ(*fake_address_dependency, 0U); in GetReadBarrierState()
|
D | object_array-inl.h | 128 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/ |
D | dexanalyze_bytecode.cc | 36 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/ |
D | lock_word.h | 214 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/ |
D | nodes_shared.h | 82 template <typename T, typename U> 83 auto Compute(T x, U y) const -> decltype(x & ~y) {
|
/art/runtime/gc/allocator/ |
D | rosalloc.h | 144 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/ |
D | dex_ir.h | 132 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()
|