/art/runtime/ |
D | barrier.cc | 29 : count_(count), in Barrier() 40 SetCountLocked(self, count_ - 1); in Pass() 45 SetCountLocked(self, count_ + 1); in IncrementNoWait() 60 SetCountLocked(self, count_ + delta); in Increment() 69 while (count_ != 0) { in Increment() 80 SetCountLocked(self, count_ + delta); in Increment() 82 if (count_ != 0) { in Increment() 87 if (timed_out || count_ == 0) return timed_out; in Increment() 101 return count_; in GetCount() 105 count_ = count; in SetCountLocked() [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 132 count_(count), in TreeTask() 137 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run() 138 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run() 141 ++*count_; in Run() 150 AtomicInteger* const count_; member in art::TreeTask
|
D | barrier_test.cc | 96 count_(count), in CheckPassTask() 101 ++*count_; in Run() 112 AtomicInteger* const count_; member in art::CheckPassTask
|
D | barrier.h | 91 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 | 3024 count_, method, pointer_size_); in AddFrame() 3026 static_cast<uint32_t>(methods_and_pcs->GetLength()) / 2 + count_, dex_pc, pointer_size_); in AddFrame() 3040 static_cast<int32_t>(count_) + 1, keep_alive); in AddFrame() 3041 ++count_; in AddFrame() 3057 uint32_t count_ = 0; member in art::BuildInternalStackTraceVisitor
|
D | class_linker.cc | 1536 count_(0u) {} in CountInternedStringReferencesVisitor() 1549 ++count_; in TestObject() 1583 return count_; in GetCount() 1589 mutable size_t count_; // Modified from the `const` callbacks. member in art::CountInternedStringReferencesVisitor 9597 if (count_ >= 2) { in ValidateCounts() 9627 bool IsRecordAnnotationFound() { return count_ != 0; } in IsRecordAnnotationFound() 9642 count_ += 1; in VisitAnnotation() 9643 if (count_ >= 2) { in VisitAnnotation() 9783 uint32_t count_ = 0; member in art::RecordAnnotationVisitor
|
D | class_linker_test.cc | 628 addOffset(OFFSETOF_MEMBER(mirror::String, count_), "count"); in StringOffsets()
|
/art/runtime/mirror/ |
D | string-alloc-inl.h | 41 explicit SetStringCountVisitor(int32_t count) : count_(count) { in SetStringCountVisitor() 48 string->SetCount(count_); in operator() 53 const int32_t count_; 61 : count_(count), src_array_(src_array), offset_(offset), high_byte_(high_byte) { in SetStringCountAndBytesVisitor() 68 string->SetCount(count_); in operator() 70 int32_t length = String::GetLengthFromCount(count_); in operator() 86 const int32_t count_; 96 : count_(count), src_array_(src_array), offset_(offset) { in SetStringCountAndUtf16BytesVisitor() 103 string->SetCount(count_); in operator() 105 uint32_t length = String::GetLengthFromCount(count_); in operator() [all …]
|
D | string.h | 62 return OFFSET_OF_OBJECT_MEMBER(String, count_); in CountOffset() 100 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(String, count_)); in GetCount() 106 SetField32<false, false>(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); in SetCount() 313 int32_t count_; variable
|
/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 | 201 CountIter() : count_(0) {} in CountIter() 202 explicit CountIter(size_t count) : count_(count) {} in CountIter() 204 ++count_; 208 size_t ret = count_; 209 ++count_; 213 return count_ == other.count_; 219 return count_; 223 size_t count_;
|
/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 | 2292 count_(0), in REQUIRES_SHARED() 2310 count = count_; in Release() 2335 ++count_; in BeginDefineClass() 2378 std::atomic<uint32_t> count_; member in openjdkjvmti::ClassDefinitionPauser
|
/art/runtime/oat/ |
D | stack_map.h | 71 DexRegisterMap(size_t count, DexRegisterLocation value) : count_(count), regs_small_{} { in DexRegisterMap() 72 if (count_ <= kSmallCount) { 80 return count_ <= kSmallCount ? regs_small_.data() : regs_large_.data(); in data() 83 return count_ <= kSmallCount ? regs_small_.data() : regs_large_.data(); in data() 87 iterator end() { return data() + count_; } in end() 89 const_iterator end() const { return data() + count_; } in end() 90 size_t size() const { return count_; } in size() 91 bool empty() const { return count_ == 0; } in empty() 94 DCHECK_LT(index, count_); 98 DCHECK_LT(index, count_); [all …]
|
/art/libartbase/base/metrics/ |
D | metrics.h | 351 MetricsCounter<datum_id, value_t>(value), count_(count) { 369 count_.fetch_add(1, std::memory_order_release); in Add() 374 count_t count = count_.load(std::memory_order_acquire); in Report() 384 count_ = 0; in Reset() 389 count_t Count() const { return count_.load(std::memory_order_relaxed); } in Count() 393 std::atomic<count_t> count_; variable
|
/art/runtime/gc/accounting/ |
D | space_bitmap_test.cc | 173 explicit SimpleCounter(size_t* counter) : count_(counter) {} in SimpleCounter() 175 void operator()([[maybe_unused]] mirror::Object* obj) const { (*count_)++; } in operator ()() 177 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
|
/art/runtime/jni/ |
D | jni_internal.cc | 166 : utf_(utf), utf8_length_(utf8_length), count_(count), has_bad_char_(has_bad_char) {} in NewStringUTFVisitor() 172 string->SetCount(count_); in operator ()() 217 const int32_t count_; member in art::__anon29e82fe90111::NewStringUTFVisitor
|