Home
last modified time | relevance | path

Searched refs:counter_ (Results 1 – 25 of 36) sorted by relevance

12

/external/chromium/base/threading/
Dworker_pool_posix_unittest.cc60 counter_(counter) {} in IncrementingTask()
65 (*counter_)++; in Run()
77 int* counter_; member in base::__anon4f9c2e510111::IncrementingTask
126 counter_(0), in PosixDynamicThreadPoolTest()
155 return new IncrementingTask(&counter_lock_, &counter_, in CreateNewIncrementingTask()
161 &counter_lock_, &counter_, &unique_threads_lock_, &unique_threads_, in CreateNewBlockingIncrementingTask()
169 int counter_; member in base::__anon4f9c2e510111::PosixDynamicThreadPoolTest
193 EXPECT_EQ(1, counter_); in TEST_F()
212 EXPECT_EQ(3, counter_); in TEST_F()
220 EXPECT_EQ(0, counter_) << "Blocking tasks should not have started yet."; in TEST_F()
[all …]
Dthread_collision_warner.cc42 subtle::NoBarrier_AtomicIncrement(&counter_, 1); in EnterSelf()
55 subtle::NoBarrier_AtomicIncrement(&counter_, 1); in Enter()
59 if (subtle::Barrier_AtomicIncrement(&counter_, -1) == 0) { in Leave()
Dthread_collision_warner.h149 counter_(0),
233 volatile subtle::Atomic32 counter_; variable
/external/chromium/third_party/libjingle/source/talk/xmpp/
Dratelimitmanager.h79 RateLimit(int max, int per_x_secs) : counter_(0), max_count_(max), in RateLimit()
100 event_times_[counter_] = talk_base::Time(); in UpdateRateLimit()
101 counter_ = (counter_ + 1) % max_count_; in UpdateRateLimit()
108 return event_times_[counter_]; in PreviousTimeAtCounter()
116 int counter_; // count modulo max_count of the current event variable
/external/chromium-trace/trace-viewer/src/tracks/
Dtimeline_counter_track.js45 return this.counter_;
49 this.counter_ = counter;
69 this.visible = (this.counter_ &&
70 this.categoryFilter_.matchCounter(this.counter_));
74 var ctr = this.counter_;
199 var ctr = this.counter_;
200 if (vX < this.counter_.timestamps[0])
210 if (i > 0 && wX > this.counter_.timestamps[i - 1])
257 var ctr = this.counter_;
/external/chromium/chrome/common/
Dworker_thread_ticker_unittest.cc15 TestCallback() : counter_(0), message_loop_(MessageLoop::current()) { in TestCallback()
19 counter_++; in OnTick()
25 int counter() const { return counter_; } in counter()
28 int counter_; member in __anonb6435a740111::TestCallback
/external/v8/src/
Dcounters.cc50 if (!counter_.Enabled()) in Start()
58 if (!counter_.Enabled()) in Stop()
64 counter_.Increment(milliseconds); in Stop()
Dcounters.h185 StatsCounter counter_; member
198 return counter_.Enabled() && start_time_ != 0 && stop_time_ == 0; in Running()
Dmksnapshot.cc55 return &counter_; in Bind()
58 int32_t counter_; member in Counter
/external/chromium/testing/gtest/samples/
Dsample4.cc40 return counter_++; in Increment()
45 printf("%d", counter_); in Print()
Dsample4.h40 int counter_;
44 Counter() : counter_(0) {} in Counter()
/external/protobuf/gtest/samples/
Dsample4.cc40 return counter_++; in Increment()
45 printf("%d", counter_); in Print()
Dsample4.h40 int counter_;
44 Counter() : counter_(0) {} in Counter()
/external/gtest/samples/
Dsample4.cc40 return counter_++; in Increment()
45 printf("%d", counter_); in Print()
Dsample4.h40 int counter_;
44 Counter() : counter_(0) {} in Counter()
/external/chromium/chrome/browser/ui/webui/
Dslideshow_ui.cc93 int counter_; member in SlideshowHandler
195 counter_ = 0; in GetChildrenForPath()
246 currentOffset_ = counter_; in OnListFile()
248 counter_++; in OnListFile()
254 counter_ = 0; in OnListDone()
/external/chromium/base/win/
Dobject_watcher_unittest.cc25 explicit DecrementCountDelegate(int* counter) : counter_(counter) { in DecrementCountDelegate()
28 --(*counter_); in OnObjectSignaled()
31 int* counter_; member in base::win::__anon890903c80111::DecrementCountDelegate
/external/chromium/base/synchronization/
Dwaitable_event_watcher_unittest.cc24 explicit DecrementCountDelegate(int* counter) : counter_(counter) { in DecrementCountDelegate()
27 --(*counter_); in OnWaitableEventSignaled()
30 int* counter_; member in base::__anon7c8337ff0111::DecrementCountDelegate
/external/chromium/base/metrics/
Dstats_counters.cc111 counter_(name), in StatsRate()
119 counter_.Increment(); in Add()
/external/chromium/base/
Did_map_unittest.cc19 explicit DestructorCounter(int* counter) : counter_(counter) {} in DestructorCounter()
20 ~DestructorCounter() { ++(*counter_); } in ~DestructorCounter()
22 int* counter_; member in __anond16980310111::DestructorCounter
Dtimer_unittest.cc58 : did_run_(did_run), counter_(10) { in RepeatingTimerTester()
67 if (--counter_ == 0) { in Run()
73 int counter_; member in __anon28b7be880111::RepeatingTimerTester
/external/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc124 : array_stream_(data, size, block_size), counter_(0) {} in TestInputStream()
131 if (counter_ % 3 == 0 || counter_ % 5 == 0) { in Next()
134 ++counter_; in Next()
137 ++counter_; in Next()
148 int counter_; member in google::protobuf::io::__anona0fe9f4f0111::TestInputStream
/external/webrtc/src/system_wrappers/source/
Ddata_log.cc322 : counter_(1), in DataLogImpl()
348 ++instance_->counter_; in CreateLog()
374 if (instance_ && instance_->counter_ > 1) { in ReturnLog()
375 --instance_->counter_; in ReturnLog()
/external/valgrind/tsan/
Dts_trace_info.h110 size_t counter_; member
131 size_t &counter() { return counter_; } in counter()
/external/webrtc/src/system_wrappers/interface/
Ddata_log_impl.h148 int counter_; variable

12