Home
last modified time | relevance | path

Searched refs:count_ (Results 1 – 18 of 18) sorted by relevance

/art/runtime/
Dbarrier.cc29 : 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 …]
Dthread_pool_test.cc30 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
Dstack_map.h65 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 …]
Dbarrier_test.cc91 count_(count), in CheckPassTask()
96 ++*count_; in Run()
107 AtomicInteger* const count_; member in art::CheckPassTask
Dbarrier.h87 int count_ GUARDED_BY(GetLock());
Dmonitor.cc174 count_(0), in SetLockingMethod()
183 count_++; in SetLockingMethod()
184 if (count_ == 2u) { in SetLockingMethod()
191 size_t count_; in SetLockingMethod() member
Dthread.cc2772 count_, method, pointer_size_); in AddFrame()
2774 methods_and_pcs->GetLength() / 2 + count_, dex_pc, pointer_size_); in AddFrame()
2778 count_ + 1, method->GetDeclaringClass()); in AddFrame()
2779 ++count_; in AddFrame()
2795 uint32_t count_ = 0; member in art::BuildInternalStackTraceVisitor
Dclass_linker_test.cc632 addOffset(OFFSETOF_MEMBER(mirror::String, count_), "count"); in StringOffsets()
Dclass_linker.cc1425 count_(0u) {} in CountInternedStringReferencesVisitor()
1435 ++count_; in TestObject()
1471 return count_; in GetCount()
1477 mutable size_t count_; // Modified from the `const` callbacks. member in art::CountInternedStringReferencesVisitor
/art/runtime/mirror/
Dstring-alloc-inl.h40 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 …]
Dstring.h58 return OFFSET_OF_OBJECT_MEMBER(String, count_); in CountOffset()
96 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(String, count_)); in GetCount()
102 SetField32<false, false>(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); in SetCount()
267 int32_t count_; variable
/art/libartbase/base/
Dindenter.h37 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()
Dstl_util.h191 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_;
Dstats.h30 size_t Count() const { return count_; } in Count()
50 count_ += count;
54 size_t count_ = 0; // The number of samples for this node. variable
/art/openjdkjvmti/
Dti_monitor.cc60 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 …]
Dti_redefine.cc2281 count_(0), in REQUIRES_SHARED()
2299 count = count_; in Release()
2324 ++count_; in BeginDefineClass()
2367 std::atomic<uint32_t> count_; member in openjdkjvmti::ClassDefinitionPauser
/art/runtime/gc/accounting/
Dspace_bitmap_test.cc135 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/
Ddexanalyze_strings.cc202 ++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