/external/google-breakpad/src/testing/gtest/samples/ |
sample4.h | 37 // A simple monotonic counter. 38 class Counter { 43 // Creates a counter that starts at 0. 44 Counter() : counter_(0) {} 46 // Returns the current counter value, and increments it. 49 // Prints the current counter value to STDOUT.
|
sample4.cc | 38 // Returns the current counter value, and increments it. 39 int Counter::Increment() { 43 // Prints the current counter value to STDOUT. 44 void Counter::Print() const {
|
sample4_unittest.cc | 36 TEST(Counter, Increment) { 37 Counter c;
|
/external/googletest/googletest/samples/ |
sample4.h | 37 // A simple monotonic counter. 38 class Counter { 43 // Creates a counter that starts at 0. 44 Counter() : counter_(0) {} 46 // Returns the current counter value, and increments it. 49 // Prints the current counter value to STDOUT.
|
sample4.cc | 38 // Returns the current counter value, and increments it. 39 int Counter::Increment() { 43 // Prints the current counter value to STDOUT. 44 void Counter::Print() const {
|
sample4_unittest.cc | 36 TEST(Counter, Increment) { 37 Counter c;
|
/external/protobuf/gtest/samples/ |
sample4.h | 37 // A simple monotonic counter. 38 class Counter { 43 // Creates a counter that starts at 0. 44 Counter() : counter_(0) {} 46 // Returns the current counter value, and increments it. 49 // Prints the current counter value to STDOUT.
|
sample4.cc | 38 // Returns the current counter value, and increments it. 39 int Counter::Increment() { 43 // Prints the current counter value to STDOUT. 44 void Counter::Print() const {
|
/external/v8/testing/gtest/samples/ |
sample4.h | 37 // A simple monotonic counter. 38 class Counter { 43 // Creates a counter that starts at 0. 44 Counter() : counter_(0) {} 46 // Returns the current counter value, and increments it. 49 // Prints the current counter value to STDOUT.
|
sample4.cc | 38 // Returns the current counter value, and increments it. 39 int Counter::Increment() { 43 // Prints the current counter value to STDOUT. 44 void Counter::Print() const {
|
sample4_unittest.cc | 36 TEST(Counter, Increment) { 37 Counter c;
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/samples/ |
sample4.h | 37 // A simple monotonic counter. 38 class Counter { 43 // Creates a counter that starts at 0. 44 Counter() : counter_(0) {} 46 // Returns the current counter value, and increments it. 49 // Prints the current counter value to STDOUT.
|
sample4.cc | 38 // Returns the current counter value, and increments it. 39 int Counter::Increment() { 43 // Prints the current counter value to STDOUT. 44 void Counter::Print() const {
|
sample4_unittest.cc | 36 TEST(Counter, Increment) { 37 Counter c;
|
/prebuilts/ndk/r16/sources/third_party/googletest/googletest/samples/ |
sample4.h | 37 // A simple monotonic counter. 38 class Counter { 43 // Creates a counter that starts at 0. 44 Counter() : counter_(0) {} 46 // Returns the current counter value, and increments it. 49 // Prints the current counter value to STDOUT.
|
sample4.cc | 38 // Returns the current counter value, and increments it. 39 int Counter::Increment() { 43 // Prints the current counter value to STDOUT. 44 void Counter::Print() const {
|
sample4_unittest.cc | 36 TEST(Counter, Increment) { 37 Counter c;
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/gtest-1.7.0/samples/ |
sample4.h | 37 // A simple monotonic counter. 38 class Counter { 43 // Creates a counter that starts at 0. 44 Counter() : counter_(0) {} 46 // Returns the current counter value, and increments it. 49 // Prints the current counter value to STDOUT.
|
sample4.cc | 38 // Returns the current counter value, and increments it. 39 int Counter::Increment() { 43 // Prints the current counter value to STDOUT. 44 void Counter::Print() const {
|
/external/tensorflow/tensorflow/core/lib/monitoring/ |
mobile_counter.h | 16 // Null implementation of the Counter metric for mobile platforms. 40 // Counter which has a null implementation. 42 class Counter { 44 ~Counter() {} 47 static Counter* New(MetricDefArgs&&... metric_def_args) { 48 return new Counter<NumLabels>(); 57 Counter() {} 61 TF_DISALLOW_COPY_AND_ASSIGN(Counter);
|
/external/llvm/lib/Fuzzer/test/ |
NthRunCrashTest.cpp | 9 static int Counter; 12 if (Counter++ == 1000) {
|
/external/libcxx/test/support/ |
Counter.h | 20 class Counter : public Counter_base 23 Counter() : data_() { ++gConstructed; } 24 Counter(const T &data) : data_(data) { ++gConstructed; } 25 Counter(const Counter& rhs) : data_(rhs.data_) { ++gConstructed; } 26 Counter& operator=(const Counter& rhs) { ++gConstructed; data_ = rhs.data_; return *this; } 28 Counter(Counter&& rhs) : data_(std::move(rhs.data_)) { ++gConstructed; } 29 Counter& operator=(Counter&& rhs) { ++gConstructed; data_ = std::move(rhs.data_); return *this; [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/ |
Counter.h | 20 class Counter : public Counter_base 23 Counter() : data_() { ++gConstructed; } 24 Counter(const T &data) : data_(data) { ++gConstructed; } 25 Counter(const Counter& rhs) : data_(rhs.data_) { ++gConstructed; } 26 Counter& operator=(const Counter& rhs) { ++gConstructed; data_ = rhs.data_; return *this; } 28 Counter(Counter&& rhs) : data_(std::move(rhs.data_)) { ++gConstructed; } 29 Counter& operator=(Counter&& rhs) { ++gConstructed; data_ = std::move(rhs.data_); return *this; [all...] |
/external/wpa_supplicant_8/src/eapol_auth/ |
eapol_auth_sm_i.h | 21 typedef unsigned int Counter; 80 Counter authEntersConnecting; 81 Counter authEapLogoffsWhileConnecting; 82 Counter authEntersAuthenticating; 83 Counter authAuthSuccessesWhileAuthenticating; 84 Counter authAuthTimeoutsWhileAuthenticating; 85 Counter authAuthFailWhileAuthenticating; 86 Counter authAuthEapStartsWhileAuthenticating; 87 Counter authAuthEapLogoffWhileAuthenticating; 88 Counter authAuthReauthsWhileAuthenticated [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/ |
Stall.c | 23 the number of ticks specified by the UINT64 Counter value. WaitForTick()
25 of ticks to wait, so this function loops when Counter is larger than 0xffffffff.
27 @param Counter Number of ticks to wait.
32 IN UINT64 Counter
35 while (RShiftU64 (Counter, 32) > 0) {
37 Counter -= 0xffffffff;
39 gMetronome->WaitForTick (gMetronome, (UINT32)Counter);
58 UINT64 Counter;
67 // Counter = Microseconds * 10 / gMetronome->TickPeriod
75 Counter = DivU64x32Remainder ( [all...] |