/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/r11/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/r13/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;
|
/external/llvm/lib/Fuzzer/test/ |
NthRunCrashTest.cpp | 9 static int Counter; 12 if (Counter++ == 1000) {
|
/external/libcxx/test/support/ |
Counter.h | 18 class Counter : public Counter_base 21 Counter() : data_() { ++gConstructed; } 22 Counter(const T &data) : data_(data) { ++gConstructed; } 23 Counter(const Counter& rhs) : data_(rhs.data_) { ++gConstructed; } 24 Counter& operator=(const Counter& rhs) { ++gConstructed; data_ = rhs.data_; return *this; } 26 Counter(Counter&& rhs) : data_(std::move(rhs.data_)) { ++gConstructed; } 27 Counter& operator=(Counter&& rhs) { ++gConstructed; data_ = std::move(rhs.data_); return *this; [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/support/ |
Counter.h | 18 class Counter : public Counter_base 21 Counter() : data_() { ++gConstructed; } 22 Counter(const T &data) : data_(data) { ++gConstructed; } 23 Counter(const Counter& rhs) : data_(rhs.data_) { ++gConstructed; } 24 Counter& operator=(const Counter& rhs) { ++gConstructed; data_ = rhs.data_; return *this; } 26 Counter(Counter&& rhs) : data_(std::move(rhs.data_)) { ++gConstructed; } 27 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...] |