/art/runtime/ |
D | barrier.cc | 29 : count_(count), in Barrier() 40 SetCountLocked(self, count_ - 1); in Pass() 55 SetCountLocked(self, count_ + delta); in Increment() 64 while (count_ != 0) { in Increment() 75 SetCountLocked(self, count_ + delta); in Increment() 77 if (count_ != 0) { in Increment() 82 if (timed_out || count_ == 0) return timed_out; in Increment() 96 return count_; in GetCount() 100 count_ = count; in SetCountLocked() 107 if (count_ != 0) { in ~Barrier() [all …]
|
D | thread_pool_test.cc | 30 explicit CountTask(AtomicInteger* count) : count_(count), verbose_(false) {} in CountTask() 39 ++*count_; in Run() 50 AtomicInteger* const count_; member in art::CountTask 129 count_(count), in TreeTask() 134 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run() 135 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run() 138 ++*count_; in Run() 147 AtomicInteger* const count_; member in art::TreeTask
|
D | stack_map.h | 65 DexRegisterMap(size_t count, DexRegisterLocation value) : count_(count), regs_small_{} { in DexRegisterMap() 66 if (count_ <= kSmallCount) { 74 return count_ <= kSmallCount ? regs_small_.data() : regs_large_.data(); in data() 77 return count_ <= kSmallCount ? regs_small_.data() : regs_large_.data(); in data() 81 iterator end() { return data() + count_; } in end() 83 const_iterator end() const { return data() + count_; } in end() 84 size_t size() const { return count_; } in size() 85 bool empty() const { return count_ == 0; } in empty() 88 DCHECK_LT(index, count_); 92 DCHECK_LT(index, count_); [all …]
|
D | barrier_test.cc | 91 count_(count), in CheckPassTask() 96 ++*count_; in Run() 107 AtomicInteger* const count_; member in art::CheckPassTask
|
D | barrier.h | 87 int count_ GUARDED_BY(GetLock());
|
D | monitor.cc | 188 count_(0), in SetLockingMethod() 197 count_++; in SetLockingMethod() 198 if (count_ == 2u) { in SetLockingMethod() 205 size_t count_; in SetLockingMethod() member
|
D | thread.cc | 2842 count_, method, pointer_size_); in AddFrame() 2844 static_cast<uint32_t>(methods_and_pcs->GetLength()) / 2 + count_, dex_pc, pointer_size_); in AddFrame() 2848 static_cast<int32_t>(count_) + 1, method->GetDeclaringClass()); in AddFrame() 2849 ++count_; in AddFrame() 2865 uint32_t count_ = 0; member in art::BuildInternalStackTraceVisitor
|
D | class_linker_test.cc | 635 addOffset(OFFSETOF_MEMBER(mirror::String, count_), "count"); in StringOffsets()
|
D | class_linker.cc | 1376 count_(0u) {} in CountInternedStringReferencesVisitor() 1386 ++count_; in TestObject() 1422 return count_; in GetCount() 1428 mutable size_t count_; // Modified from the `const` callbacks. member in art::CountInternedStringReferencesVisitor
|
/art/runtime/mirror/ |
D | string-alloc-inl.h | 40 explicit SetStringCountVisitor(int32_t count) : count_(count) { in SetStringCountVisitor() 47 string->SetCount(count_); in operator() 52 const int32_t count_; 60 : count_(count), src_array_(src_array), offset_(offset), high_byte_(high_byte) { in SetStringCountAndBytesVisitor() 67 string->SetCount(count_); in operator() 69 int32_t length = String::GetLengthFromCount(count_); in operator() 85 const int32_t count_; 96 count_(count), src_array_(src_array), offset_(offset) { in SetStringCountAndValueVisitorFromCharArray() 103 string->SetCount(count_); in operator() 105 const int32_t length = String::GetLengthFromCount(count_); in operator() [all …]
|
D | string.h | 60 return OFFSET_OF_OBJECT_MEMBER(String, count_); in CountOffset() 98 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(String, count_)); in GetCount() 104 SetField32<false, false>(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); in SetCount() 267 int32_t count_; variable
|
/art/openjdkjvmti/ |
D | ti_monitor.cc | 60 JvmtiMonitor() : owner_(nullptr), count_(0) { } in JvmtiMonitor() 69 if (monitor->count_ > 0) { in Destroy() 70 monitor->count_ = 0; in Destroy() 93 count_++; in MonitorEnter() 120 DCHECK_EQ(0u, count_); in MonitorEnter() 121 count_ = 1; in MonitorEnter() 129 --count_; in MonitorExit() 130 if (count_ == 0u) { in MonitorExit() 175 size_t old_count = count_; in Wait() 178 count_ = 0; in Wait() [all …]
|
D | ti_redefine.cc | 2280 count_(0), in REQUIRES_SHARED() 2298 count = count_; in Release() 2323 ++count_; in BeginDefineClass() 2366 std::atomic<uint32_t> count_; member in openjdkjvmti::ClassDefinitionPauser
|
/art/libartbase/base/ |
D | indenter.h | 37 count_(count) {} 74 size_t remaining = count_; in Write() 107 size_t count_; variable 126 return indenter_.count_; in GetIndentation() 130 indenter_.count_ += adjustment; in IncreaseIndentation() 134 DCHECK_GE(indenter_.count_, adjustment); in DecreaseIndentation() 135 indenter_.count_ -= adjustment; in DecreaseIndentation()
|
D | stats.h | 33 size_t Count() const { return count_; } in Count() 55 count_ += count; 65 size_t count_ = 0; // The number of samples for this node. variable
|
D | stl_util.h | 191 CountIter() : count_(0) {} in CountIter() 192 explicit CountIter(size_t count) : count_(count) {} in CountIter() 194 ++count_; 198 size_t ret = count_; 199 ++count_; 203 return count_ == other.count_; 209 return count_; 213 size_t count_;
|
/art/libartbase/base/metrics/ |
D | metrics.h | 289 MetricsCounter<datum_id, value_t>(value), count_(count) { 307 count_.fetch_add(1, std::memory_order::memory_order_release); in Add() 311 count_t count = count_.load(std::memory_order::memory_order_acquire); in Report() 319 count_ = 0; in Reset() 324 std::atomic<count_t> count_;
|
/art/runtime/gc/accounting/ |
D | space_bitmap_test.cc | 135 explicit SimpleCounter(size_t* counter) : count_(counter) {} in SimpleCounter() 138 (*count_)++; in operator ()() 141 size_t* const count_; member in art::gc::accounting::SimpleCounter
|
/art/tools/dexanalyze/ |
D | dexanalyze_strings.cc | 202 ++node->count_; in Add() 245 return count_ * (depth_ - first_used) - cost + extra_savings; in Savings() 289 uint32_t count = pair.second->count_; in ExtractPrefixes() 295 cur->count_ -= count; in ExtractPrefixes() 326 uint32_t count_ = 0u; member in art::dexanalyze::MatchTrie
|