Home
last modified time | relevance | path

Searched refs:count_ (Results 1 – 15 of 15) 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.cc198 count_(0), in Install()
207 count_++; in Install()
208 if (count_ == 2u) { in Install()
215 size_t count_; in Install() member
Dthread.cc2766 trace_methods_and_pcs->SetElementPtrSize<kTransactionActive>(count_, method, pointer_size_); in AddFrame()
2768 trace_methods_and_pcs->GetLength() / 2 + count_, in AddFrame()
2773 trace_->Set(count_ + 1, method->GetDeclaringClass()); in AddFrame()
2774 ++count_; in AddFrame()
2790 uint32_t count_ = 0; member in art::BuildInternalStackTraceVisitor
Dclass_linker_test.cc626 addOffset(OFFSETOF_MEMBER(mirror::String, count_), "count"); in StringOffsets()
/art/runtime/mirror/
Dstring-alloc-inl.h39 explicit SetStringCountVisitor(int32_t count) : count_(count) { in SetStringCountVisitor()
46 string->SetCount(count_); in operator()
51 const int32_t count_;
59 : count_(count), src_array_(src_array), offset_(offset), high_byte_(high_byte) { in SetStringCountAndBytesVisitor()
66 string->SetCount(count_); in operator()
68 int32_t length = String::GetLengthFromCount(count_); in operator()
84 const int32_t count_;
95 count_(count), src_array_(src_array), offset_(offset) { in SetStringCountAndValueVisitorFromCharArray()
102 string->SetCount(count_); in operator()
104 const int32_t length = String::GetLengthFromCount(count_); in operator()
[all …]
Dstring.h54 return OFFSET_OF_OBJECT_MEMBER(String, count_); in CountOffset()
92 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(String, count_)); in GetCount()
98 SetField32<false, false>(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); in SetCount()
262 int32_t count_; 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 …]
/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()
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/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