Home
last modified time | relevance | path

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

/art/runtime/
Dbarrier.cc29 : count_(count), in Barrier()
39 SetCountLocked(self, count_ - 1); in Pass()
54 SetCountLocked(self, count_ + delta); in Increment()
63 while (count_ != 0) { in Increment()
74 SetCountLocked(self, count_ + delta); in Increment()
76 if (count_ != 0) { in Increment()
81 if (timed_out || count_ == 0) return timed_out; in Increment()
95 return count_; in GetCount()
99 count_ = count; in SetCountLocked()
108 CHECK_EQ(count_, 0) << "Attempted to destroy barrier with non zero count"; 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
Dindenter.h37 count_(count) {}
74 size_t remaining = count_; in Write()
107 size_t count_; variable
126 indenter_.count_ += adjustment; in IncreaseIndentation()
130 DCHECK_GE(indenter_.count_, adjustment); in DecreaseIndentation()
131 indenter_.count_ -= adjustment; in DecreaseIndentation()
Dbarrier_test.cc91 count_(count), in CheckPassTask()
96 ++*count_; in Run()
107 AtomicInteger* const count_; member in art::CheckPassTask
Dbarrier.h77 int count_ GUARDED_BY(lock_);
Dmonitor.cc191 count_(0), in Install()
200 count_++; in Install()
201 if (count_ == 2u) { in Install()
208 size_t count_; in Install() member
Dthread.cc2562 trace_methods_and_pcs->SetElementPtrSize<kTransactionActive>(count_, method, pointer_size_); in AddFrame()
2564 trace_methods_and_pcs->GetLength() / 2 + count_, in AddFrame()
2569 trace_->Set(count_ + 1, method->GetDeclaringClass()); in AddFrame()
2570 ++count_; in AddFrame()
2586 uint32_t count_ = 0; member in art::BuildInternalStackTraceVisitor
Dclass_linker_test.cc616 addOffset(OFFSETOF_MEMBER(mirror::String, count_), "count"); in StringOffsets()
/art/runtime/mirror/
Dstring-inl.h54 explicit SetStringCountVisitor(int32_t count) : count_(count) { in SetStringCountVisitor()
61 string->SetCount(count_); in operator()
66 const int32_t count_;
74 : count_(count), src_array_(src_array), offset_(offset), high_byte_(high_byte) { in SetStringCountAndBytesVisitor()
81 string->SetCount(count_); in operator()
83 int32_t length = String::GetLengthFromCount(count_); in operator()
99 const int32_t count_;
110 count_(count), src_array_(src_array), offset_(offset) { in SetStringCountAndValueVisitorFromCharArray()
117 string->SetCount(count_); in operator()
119 const int32_t length = String::GetLengthFromCount(count_); in operator()
[all …]
Dstring.h52 return OFFSET_OF_OBJECT_MEMBER(String, count_); in CountOffset()
78 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(String, count_)); in GetCount()
84 SetField32<false, false>(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); in SetCount()
259 int32_t count_; variable
/art/openjdkjvmti/
Dti_monitor.cc59 JvmtiMonitor() : owner_(nullptr), count_(0) { } in JvmtiMonitor()
68 if (monitor->count_ > 0) { in Destroy()
69 monitor->count_ = 0; in Destroy()
90 count_++; in MonitorEnter()
117 DCHECK_EQ(0u, count_); in MonitorEnter()
118 count_ = 1; in MonitorEnter()
126 --count_; in MonitorExit()
127 if (count_ == 0u) { in MonitorExit()
172 size_t old_count = count_; in Wait()
175 count_ = 0; in Wait()
[all …]
/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