Home
last modified time | relevance | path

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

/art/runtime/
Dbarrier.cc25 : count_(count), in Barrier()
32 SetCountLocked(self, count_ - 1); in Pass()
46 SetCountLocked(self, count_ + delta); in Increment()
55 if (count_ != 0) { in Increment()
62 SetCountLocked(self, count_ + delta); in Increment()
63 if (count_ != 0) { in Increment()
69 count_ = count; in SetCountLocked()
70 if (count_ == 0) { in SetCountLocked()
76 CHECK(!count_) << "Attempted to destroy barrier with non zero count"; in ~Barrier()
Ddex_instruction_visitor_test.cc34 int count_; member in art::CountVisitor
36 CountVisitor() : count_(0) {} in CountVisitor()
39 ++count_; in Do_Default()
47 EXPECT_EQ(0, v0.count_); in TEST()
52 EXPECT_EQ(1, v1.count_); in TEST()
57 EXPECT_EQ(2, v2.count_); in TEST()
62 EXPECT_EQ(3, v3.count_); in TEST()
67 EXPECT_EQ(4, v4.count_); in TEST()
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
109 count_(count), in TreeTask()
114 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run()
115 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run()
118 ++*count_; in Run()
127 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.cc101 count_(count), in CheckPassTask()
106 ++*count_; in Run()
117 AtomicInteger* const count_; member in art::CheckPassTask
Dbarrier.h50 int count_ GUARDED_BY(lock_);
Dprofiler.cc597 count += pi->second.count_; in Write()
637 total_count += pi->second.count_; in Write()
670 os << StringPrintf("%s/%u/%u\n", pi.first.c_str(), pi.second.count_, pi.second.method_size_); in Write()
672 os << StringPrintf("%s/%u/%u/[", pi.first.c_str(), pi.second.count_, pi.second.method_size_); in Write()
Dthread.cc1418 skip_depth_(skip_depth), count_(0), dex_pc_trace_(nullptr), method_trace_(nullptr) {} in BuildInternalStackTraceVisitor()
1465 method_trace_->Set<kTransactionActive>(count_, m); in VisitFrame()
1466 dex_pc_trace_->Set<kTransactionActive>(count_, in VisitFrame()
1468 ++count_; in VisitFrame()
1481 uint32_t count_; member in art::BuildInternalStackTraceVisitor
Dclass_linker_test.cc544 offsets.push_back(CheckOffset(OFFSETOF_MEMBER(mirror::String, count_), "count")); in StringOffsets()
/art/runtime/mirror/
Dstring-inl.h41 int32_t result = GetField32(OFFSET_OF_OBJECT_MEMBER(String, count_)); in GetLength()
60 DCHECK_GE(count_, 0); // ensures the unsigned comparison is safe. in CharAt()
61 if (UNLIKELY(static_cast<uint32_t>(index) >= static_cast<uint32_t>(count_))) { in CharAt()
65 "length=%i; index=%i", count_, index); in CharAt()
Dstring.h46 return OFFSET_OF_OBJECT_MEMBER(String, count_); in CountOffset()
136 SetField32<false, false>(OFFSET_OF_OBJECT_MEMBER(String, count_), new_count); in SetCount()
157 int32_t count_; variable
/art/runtime/gc/accounting/
Dspace_bitmap_test.cc92 explicit SimpleCounter(size_t* counter) : count_(counter) {} in SimpleCounter()
95 (*count_)++; in operator ()()
98 size_t* count_; member in art::gc::accounting::SimpleCounter
/art/compiler/optimizing/
Dbuilder.cc45 Temporaries(HGraph* graph, size_t count) : graph_(graph), count_(count), index_(0) { in Temporaries()
46 graph_->UpdateNumberOfTemporaries(count_); in Temporaries()
62 const size_t count_; member in art::Temporaries