Home
last modified time | relevance | path

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

/art/runtime/
Ddex_instruction_visitor_test.cc33 int count_; member in art::CountVisitor
35 CountVisitor() : count_(0) {} in CountVisitor()
38 ++count_; in Do_Default()
46 EXPECT_EQ(0, v0.count_); in TEST()
51 EXPECT_EQ(1, v1.count_); in TEST()
56 EXPECT_EQ(2, v2.count_); in TEST()
61 EXPECT_EQ(3, v3.count_); in TEST()
66 EXPECT_EQ(4, v4.count_); in TEST()
Dbarrier.cc26 : count_(count), in Barrier()
33 SetCountLocked(self, count_ - 1); in Pass()
47 SetCountLocked(self, count_ + delta); in Increment()
56 while (count_ != 0) { in Increment()
63 SetCountLocked(self, count_ + delta); in Increment()
65 if (count_ != 0) { in Increment()
70 if (timed_out || count_ == 0) return timed_out; in Increment()
83 count_ = count; in SetCountLocked()
90 CHECK_EQ(count_, 0) << "Attempted to destroy barrier with non zero count"; in ~Barrier()
Dthread_pool_test.cc29 explicit CountTask(AtomicInteger* count) : count_(count), verbose_(false) {} in CountTask()
38 ++*count_; in Run()
49 AtomicInteger* const count_; member in art::CountTask
105 count_(count), in TreeTask()
110 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run()
111 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run()
114 ++*count_; in Run()
123 AtomicInteger* const count_; member in art::TreeTask
Dprofiler.h54 count_(0), method_size_(method_size) { in StackTrieNode()
57 dex_pc_(0), count_(0), method_size_(0) { in StackTrieNode()
61 uint32_t GetCount() { return count_; } in GetCount()
67 void IncreaseCount() { ++count_; } in IncreaseCount()
91 uint32_t count_; variable
136 PreviousValue() : count_(0), method_size_(0), context_map_(nullptr) {} in PreviousValue()
138 : count_(count), method_size_(method_size), context_map_(context_map) {} in PreviousValue()
139 uint32_t count_; member
242 ProfileData() : count_(0), method_size_(0), used_percent_(0) {} in ProfileData()
245 method_name_(method_name), count_(count), method_size_(method_size), in ProfileData()
[all …]
Dindenter.h30 : indent_next_(true), out_sbuf_(out), text_(text), count_(count) {} in Indenter()
39 for (size_t i = 0; i < count_; ++i) { in overflow()
71 const size_t count_; variable
Dbarrier_test.cc91 count_(count), in CheckPassTask()
96 ++*count_; in Run()
107 AtomicInteger* const count_; member in art::CheckPassTask
Dbarrier.h68 int count_ GUARDED_BY(lock_);
Dprofiler.cc594 count += pi->second.count_; in Write()
634 total_count += pi->second.count_; in Write()
667 os << StringPrintf("%s/%u/%u\n", pi.first.c_str(), pi.second.count_, pi.second.method_size_); in Write()
669 os << StringPrintf("%s/%u/%u/[", pi.first.c_str(), pi.second.count_, pi.second.method_size_); in Write()
Dthread.cc1667 count_(0), in BuildInternalStackTraceVisitor()
1706 count_, m, pointer_size_); in VisitFrame()
1708 trace_->GetLength() / 2 + count_, m->IsProxyMethod() ? DexFile::kDexNoIndex : GetDexPc(), in VisitFrame()
1710 ++count_; in VisitFrame()
1723 uint32_t count_; member in art::BuildInternalStackTraceVisitor
Dclass_linker_test.cc526 addOffset(OFFSETOF_MEMBER(mirror::String, count_), "count"); in StringOffsets()
/art/runtime/mirror/
Dstring-inl.h41 explicit SetStringCountVisitor(int32_t count) : count_(count) { in SetStringCountVisitor()
48 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()
70 for (int i = 0; i < count_; i++) { in operator()
76 const int32_t count_;
87 count_(count), src_array_(src_array), offset_(offset) { in SetStringCountAndValueVisitorFromCharArray()
94 string->SetCount(count_); in operator()
96 memcpy(string->GetValue(), src, count_ * sizeof(uint16_t)); in operator()
[all …]
Dstring.h45 return OFFSET_OF_OBJECT_MEMBER(String, count_); in CountOffset()
61 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(String, count_)); in GetLength()
68 SetField32<false, false>(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); in SetCount()
173 int32_t count_; variable
Dstring.cc77 DCHECK((index >= 0) && (index < count_)); in SetCharAt()
/art/runtime/gc/accounting/
Dspace_bitmap_test.cc92 explicit SimpleCounter(size_t* counter) : count_(counter) {} in SimpleCounter()
95 (*count_)++; in operator ()()
98 size_t* const count_; member in art::gc::accounting::SimpleCounter