Home
last modified time | relevance | path

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

/third_party/libunwind/libunwind/tests/
DLtest-cxx-exceptions.cxx38 Test() { ++counter_; } in Test()
39 ~Test() { -- counter_; } in ~Test()
40 Test(const Test&) { ++counter_; } in Test()
43 static int counter_; member
46 int Test::counter_ = 0; member in Test
72 if (Test::counter_ != 0) in main()
74 return Test::counter_; in main()
/third_party/googletest/googletest/samples/
Dsample4.cc37 int Counter::Increment() { return counter_++; } in Increment()
42 if (counter_ == 0) { in Decrement()
43 return counter_; in Decrement()
45 return counter_--; in Decrement()
50 void Counter::Print() const { printf("%d", counter_); } in Print()
Dsample4.h37 int counter_;
41 Counter() : counter_(0) {} in Counter()
/third_party/node/test/js-native-api/7_factory_wrap/
Dmyobject.cc55 obj->counter_ = 0; in New()
57 NODE_API_CALL(env, napi_get_value_uint32(env, args[0], &obj->counter_)); in New()
95 obj->counter_ += 1; in PlusOne()
98 NODE_API_CALL(env, napi_create_uint32(env, obj->counter_, &num)); in PlusOne()
Dmyobject.h22 uint32_t counter_; variable
/third_party/node/deps/v8/src/regexp/
Dregexp-compiler.h434 CharacterFrequency() : counter_(0), character_(-1) {} in CharacterFrequency()
436 : counter_(0), character_(character) {} in CharacterFrequency()
438 void Increment() { counter_++; } in Increment()
439 int counter() { return counter_; } in counter()
443 int counter_;
/third_party/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc126 : array_stream_(data, size, block_size), counter_(0) {} in TestInputStream()
133 if (counter_ % 3 == 0 || counter_ % 5 == 0) { in Next()
136 ++counter_; in Next()
139 ++counter_; in Next()
150 int counter_; member in google::protobuf::io::__anonb18f26470111::TestInputStream
/third_party/node/deps/v8/src/logging/
Druntime-call-stats.h62 RuntimeCallCounter* counter() { return counter_; } in counter()
63 void set_counter(RuntimeCallCounter* counter) { counter_ = counter; } in set_counter()
66 const char* name() const { return counter_->name(); } in name()
72 counter_ = counter; in Start()
90 counter_->Increment(); in Stop()
119 counter_->Add(elapsed_); in CommitTimeToCounter()
123 RuntimeCallCounter* counter_ = nullptr; variable
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_state_emit.c433 static int counter_##atom = 0; \ in i915_validate_state()
436 counter_##atom += tmp; \ in i915_validate_state()
438 printf("%s: \t%d/%d \t%2.2f\n", #atom, counter_##atom, counter_total, \ in i915_validate_state()
439 counter_##atom * 100.f / counter_total); \ in i915_validate_state()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/
Dflag.cc96 counter_(counter) {} in FlagState()
128 int64_t counter_; member in absl::flags_internal::FlagState
381 if (flag_state.counter_ == ModificationCount()) { in RestoreState()
/third_party/gn/src/gn/
Dxcode_writer.cc295 : seed_(seed), counter_(0) {} in RecursivelyAssignIdsHelper()
299 buffer << seed_ << " " << object->Name() << " " << counter_; in Visit()
309 ++counter_; in Visit()
314 int64_t counter_; member in __anon3b0bab110111::RecursivelyAssignIdsHelper
/third_party/googletest/googletest/test/
Dgtest_unittest.cc5341 counter_++; in SetUpTestCase()
5344 EXPECT_EQ(1, counter_); in SetUpTestCase()
5353 counter_--; in TearDownTestCase()
5356 EXPECT_EQ(0, counter_); in TearDownTestCase()
5366 EXPECT_EQ(1, counter_); in SetUp()
5370 static int counter_; member in testing::SetUpTestCaseTest
5376 int SetUpTestCaseTest::counter_ = 0; member in testing::SetUpTestCaseTest
5400 counter_++; in SetUpTestSuite()
5403 EXPECT_EQ(1, counter_); in SetUpTestSuite()
5412 counter_--; in TearDownTestSuite()
[all …]
/third_party/node/deps/v8/src/heap/
Dheap.h2659 : heap_(heap), counter_(FIRST_GROWABLE_PAGED_SPACE) {} in PagedSpaceIterator()
2664 int counter_; variable
Dheap.cc6466 DCHECK_GE(counter_, FIRST_GROWABLE_PAGED_SPACE); in Next()
6467 if (counter_ > LAST_GROWABLE_PAGED_SPACE) return nullptr; in Next()
6468 return heap_->paged_space(counter_++); in Next()
/third_party/node/doc/contributing/
Dcpp-style-guide.md171 int counter_ = 0;
/third_party/vixl/benchmarks/aarch32/
Dasm-disasm-speed-test.cc9525 int64_t* counter_; member in PerfScope
9529 PerfScope::PerfScope(int64_t* counter) : counter_(counter) { in PerfScope()
9530 *counter_ = -1; in PerfScope()
9552 *counter_ = 0; in ~PerfScope()
9560 } else if (tmp > *counter_) { in ~PerfScope()
9561 *counter_ = tmp; in ~PerfScope()
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/
DVK_KHR_video_queue.adoc310 …extended with new parameters, each object maintains an _update sequence counter_ that is set to `0…
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dvideocoding.adoc1792 sequence counter_ that is set to `0` at object creation time and must: be
/third_party/libabigail/tests/data/test-annotate/
Dtest19-pr19023-libtcmalloc_and_profiler.so.abi30226 <!-- size_t tcmalloc::CentralFreeList::counter_ -->
30227 …<var-decl name='counter_' type-id='type-id-7' visibility='default' filepath='src/central_freelist.…
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest19-pr19023-libtcmalloc_and_profiler.so.abi18828 …<var-decl name='counter_' type-id='type-id-7' visibility='default' filepath='src/central_freelist.…