Searched refs:Increment (Results 1 - 25 of 123) sorted by relevance

12345

/external/chromium_org/testing/gtest/samples/
H A Dsample4_unittest.cc35 // Tests the Increment() method.
36 TEST(Counter, Increment) {
42 EXPECT_EQ(0, c.Increment());
43 EXPECT_EQ(1, c.Increment());
44 EXPECT_EQ(2, c.Increment());
H A Dsample4.cc39 int Counter::Increment() { function in class:Counter
H A Dsample4.h47 int Increment();
/external/protobuf/gtest/samples/
H A Dsample4_unittest.cc35 // Tests the Increment() method.
36 TEST(Counter, Increment) {
42 EXPECT_EQ(0, c.Increment());
43 EXPECT_EQ(1, c.Increment());
44 EXPECT_EQ(2, c.Increment());
H A Dsample4.cc39 int Counter::Increment() { function in class:Counter
H A Dsample4.h47 int Increment();
/external/chromium_org/base/
H A Dbarrier_closure_unittest.cc12 void Increment(int* count) { (*count)++; } function in namespace:__anon2195
16 base::Closure doneClosure(base::Bind(&Increment, base::Unretained(&count)));
24 base::Closure doneClosure(base::Bind(&Increment, base::Unretained(&count)));
H A Dcallback_helpers_unittest.cc13 void Increment(int* value) { function in namespace:__anon2203
20 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count));
30 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count));
44 runner.Reset(base::Bind(&Increment, &run_count_1));
45 runner.Reset(base::Bind(&Increment, &run_count_2));
53 base::ScopedClosureRunner runner(base::Bind(&Increment, &run_count_3));
H A Dcancelable_callback_unittest.cc23 void Increment(int* count) { (*count)++; } function in namespace:base::__anon2207
33 base::Bind(&Increment, base::Unretained(&count)));
54 base::Bind(&Increment, base::Unretained(&count)));
82 base::Bind(&Increment, base::Unretained(&count)));
117 base::Bind(&Increment, base::Unretained(&count)));
151 cancelable.Reset(base::Bind(&Increment,
165 CancelableClosure cancelable(base::Bind(&Increment,
/external/chromium_org/v8/src/arm64/
H A Dinstrument-arm64.cc32 void Counter::Increment() { function in class:v8::internal::Counter
143 // Increment the instruction counter, and dump all counters if a sample period
147 counter->Increment();
236 counter->Increment();
248 sp_counter->Increment();
250 add_sub_counter->Increment();
258 counter->Increment();
270 counter->Increment();
278 counter->Increment();
285 counter->Increment();
[all...]
/external/vixl/src/a64/
H A Dinstrument-a64.cc53 void Counter::Increment() { function in class:vixl::Counter
164 // Increment the instruction counter, and dump all counters if a sample period
168 counter->Increment();
258 counter->Increment();
266 counter->Increment();
274 counter->Increment();
286 counter->Increment();
295 counter->Increment();
303 counter->Increment();
311 counter->Increment();
[all...]
/external/chromium_org/content/browser/download/
H A Drate_estimator_unittest.cc18 estimator.Increment(50u, now);
22 estimator.Increment(50, now);
28 estimator.Increment(60, now);
38 estimator.Increment(100, now);
44 estimator.Increment(100, now);
50 estimator.Increment(100, now);
H A Drate_estimator.h29 // Increment the counter by |count|. The first variant uses the current time,
31 void Increment(uint32 count);
32 void Increment(uint32 count, base::TimeTicks now);
H A Drate_estimator.cc43 void RateEstimator::Increment(uint32 count) { function in class:content::RateEstimator
44 Increment(count, TimeTicks::Now());
47 void RateEstimator::Increment(uint32 count, TimeTicks now) { function in class:content::RateEstimator
/external/chromium_org/extensions/common/
H A Done_shot_event_unittest.cc16 void Increment(int* i) { ++*i; } function in namespace:extensions::__anon8235
30 event.Post(FROM_HERE, base::Bind(&Increment, &i), runner);
31 event.Post(FROM_HERE, base::Bind(&Increment, &i), runner);
50 event.Post(FROM_HERE, base::Bind(&Increment, &i), runner);
65 event.Post(FROM_HERE, base::Bind(&Increment, &runner_i), runner);
66 event.Post(FROM_HERE, base::Bind(&Increment, &loop_i));
82 event->Post(FROM_HERE, base::Bind(&Increment, i), runner);
101 // Increment is queued on |runner|.
105 // Increment has run.
H A Dvalue_counter.cc22 int ValueCounter::Entry::Increment() { return ++count_; } function in class:extensions::ValueCounter::Entry
50 return increment ? (*it)->Increment() : (*it)->count();
/external/chromium_org/sync/internal_api/attachments/
H A Dfake_attachment_uploader_unittest.cc26 upload_callback = base::Bind(&FakeAttachmentUploaderTest::Increment,
36 void Increment(int* success_count, function in class:syncer::FakeAttachmentUploaderTest
/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Devent_tracer_unittest.cc28 void Increment() { function in class:__anon16160::TestStatistics
58 TestStatistics::Get()->Increment();
H A Dcritical_section_unittest.cc37 void Increment() { function in class:webrtc::__anon16156::ProtectedCount
73 the_count->Increment();
101 the_count->Increment();
/external/chromium_org/chrome/browser/metrics/variations/
H A Dvariations_request_scheduler_mobile_unittest.cc19 void Increment(int *n) { function in namespace:chrome_variations::__anon4309
31 const base::Closure task = base::Bind(&Increment, &executed);
45 const base::Closure task = base::Bind(&Increment, &executed);
61 const base::Closure task = base::Bind(&Increment, &executed);
88 const base::Closure task = base::Bind(&Increment, &executed);
115 const base::Closure task = base::Bind(&Increment, &executed);
/external/chromium_org/third_party/webrtc/base/
H A Dcriticalsection_unittest.cc92 static int AtomicOp(int* i) { return AtomicOps::Increment(i); }
113 EXPECT_EQ(1, AtomicOps::Increment(&value));
115 EXPECT_EQ(2, AtomicOps::Increment(&value));
123 TEST(AtomicOpsTest, DISABLED_ON_MAC(Increment)) {
/external/clang/test/SemaTemplate/
H A Dalias-church-numerals.cpp32 template<typename A> using Increment = typename IncrementHelper<A>::Result;
34 using Arr = int[TwoHundredAndFiftySix<Increment, Const<int, 0>>::value];
/external/chromium_org/third_party/libwebp/utils/
H A Dutils.c87 static void Increment(int* const v) { function
158 #define Increment(v) do {} while(0) macro
185 Increment(&num_malloc_calls);
195 Increment(&num_calloc_calls);
205 Increment(&num_free_calls);
/external/webp/src/utils/
H A Dutils.c87 static void Increment(int* const v) { function
158 #define Increment(v) do {} while(0) macro
185 Increment(&num_malloc_calls);
195 Increment(&num_calloc_calls);
205 Increment(&num_free_calls);
/external/webrtc/src/system_wrappers/source/
H A Dcritical_section_unittest.cc50 void Increment() { function in class:webrtc::__anon33522::ProtectedCount
94 the_count->Increment();
125 the_count->Increment();

Completed in 548 milliseconds

12345