/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/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 {
|
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;
|
/ndk/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/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...] |
/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...] |
/external/v8/src/arm64/ |
instrument-arm64.cc | 10 Counter::Counter(const char* name, CounterType type) 17 void Counter::Enable() { 22 void Counter::Disable() { 27 bool Counter::IsEnabled() { 32 void Counter::Increment() { 39 uint64_t Counter::count() { 42 // If the counter is a Gauge, reset the count after reading. 49 const char* Counter::name() { 54 CounterType Counter::type() 118 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); local 145 static Counter* counter = GetCounter("Instruction"); local 191 static Counter* counter = GetCounter("Instruction"); local 235 static Counter* counter = GetCounter("PC Addressing"); local 257 static Counter* counter = GetCounter("Logical DP"); local 264 static Counter* counter = GetCounter("Move Immediate"); local 277 static Counter* counter = GetCounter("Other Int DP"); local 284 static Counter* counter = GetCounter("Other Int DP"); local 291 static Counter* counter = GetCounter("Unconditional Branch"); local 298 static Counter* counter = GetCounter("Unconditional Branch"); local 305 static Counter* counter = GetCounter("Compare and Branch"); local 312 static Counter* counter = GetCounter("Test and Branch"); local 319 static Counter* counter = GetCounter("Conditional Branch"); local 326 static Counter* counter = GetCounter("Other"); local 333 static Counter* counter = GetCounter("Other"); local 369 static Counter* counter = GetCounter("Load Literal"); local 435 static Counter* counter = GetCounter("Logical DP"); local 442 static Counter* counter = GetCounter("Add\/Sub DP"); local 464 static Counter* counter = GetCounter("Add\/Sub DP"); local 471 static Counter* counter = GetCounter("Conditional Compare"); local 478 static Counter* counter = GetCounter("Conditional Compare"); local 485 static Counter* counter = GetCounter("Conditional Select"); local 492 static Counter* counter = GetCounter("Other Int DP"); local 499 static Counter* counter = GetCounter("Other Int DP"); local 506 static Counter* counter = GetCounter("Other Int DP"); local 513 static Counter* counter = GetCounter("FP DP"); local 520 static Counter* counter = GetCounter("Conditional Compare"); local 527 static Counter* counter = GetCounter("Conditional Select"); local 534 static Counter* counter = GetCounter("FP DP"); local 541 static Counter* counter = GetCounter("FP DP"); local 548 static Counter* counter = GetCounter("FP DP"); local 555 static Counter* counter = GetCounter("FP DP"); local 562 static Counter* counter = GetCounter("FP DP"); local 569 static Counter* counter = GetCounter("FP DP"); local 576 static Counter* counter = GetCounter("Other"); local 583 static Counter* counter = GetCounter("Other"); local [all...] |
instrument-arm64.h | 33 class Counter { 35 explicit Counter(const char* name, CounterType type = Gauge); 72 Counter* GetCounter(const char* name); 77 std::list<Counter*> counters_;
|
/external/vixl/src/vixl/a64/ |
instrument-a64.cc | 31 Counter::Counter(const char* name, CounterType type) 38 void Counter::Enable() { 43 void Counter::Disable() { 48 bool Counter::IsEnabled() { 53 void Counter::Increment() { 60 uint64_t Counter::count() { 63 // If the counter is a Gauge, reset the count after reading. 70 const char* Counter::name() { 75 CounterType Counter::type() 141 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); local 168 static Counter* counter = GetCounter("Instruction"); local 215 static Counter* counter = GetCounter("Instruction"); local 260 static Counter* counter = GetCounter("PC Addressing"); local 268 static Counter* counter = GetCounter("Add\/Sub DP"); local 276 static Counter* counter = GetCounter("Logical DP"); local 283 static Counter* counter = GetCounter("Move Immediate"); local 297 static Counter* counter = GetCounter("Other Int DP"); local 305 static Counter* counter = GetCounter("Other Int DP"); local 313 static Counter* counter = GetCounter("Unconditional Branch"); local 321 static Counter* counter = GetCounter("Unconditional Branch"); local 329 static Counter* counter = GetCounter("Compare and Branch"); local 337 static Counter* counter = GetCounter("Test and Branch"); local 345 static Counter* counter = GetCounter("Conditional Branch"); local 353 static Counter* counter = GetCounter("Other"); local 361 static Counter* counter = GetCounter("Other"); local 405 static Counter* counter = GetCounter("Other"); local 413 static Counter* counter = GetCounter("Load Literal"); local 484 static Counter* counter = GetCounter("Logical DP"); local 492 static Counter* counter = GetCounter("Add\/Sub DP"); local 500 static Counter* counter = GetCounter("Add\/Sub DP"); local 508 static Counter* counter = GetCounter("Add\/Sub DP"); local 516 static Counter* counter = GetCounter("Conditional Compare"); local 524 static Counter* counter = GetCounter("Conditional Compare"); local 532 static Counter* counter = GetCounter("Conditional Select"); local 540 static Counter* counter = GetCounter("Other Int DP"); local 548 static Counter* counter = GetCounter("Other Int DP"); local 556 static Counter* counter = GetCounter("Other Int DP"); local 564 static Counter* counter = GetCounter("FP DP"); local 572 static Counter* counter = GetCounter("Conditional Compare"); local 580 static Counter* counter = GetCounter("Conditional Select"); local 588 static Counter* counter = GetCounter("FP DP"); local 596 static Counter* counter = GetCounter("FP DP"); local 604 static Counter* counter = GetCounter("FP DP"); local 612 static Counter* counter = GetCounter("FP DP"); local 620 static Counter* counter = GetCounter("FP DP"); local 628 static Counter* counter = GetCounter("FP DP"); local 636 static Counter* counter = GetCounter("Crypto"); local 644 static Counter* counter = GetCounter("Crypto"); local 652 static Counter* counter = GetCounter("Crypto"); local 660 static Counter* counter = GetCounter("NEON"); local 668 static Counter* counter = GetCounter("NEON"); local 676 static Counter* counter = GetCounter("NEON"); local 684 static Counter* counter = GetCounter("NEON"); local 692 static Counter* counter = GetCounter("NEON"); local 700 static Counter* counter = GetCounter("NEON"); local 708 static Counter* counter = GetCounter("NEON"); local 716 static Counter* counter = GetCounter("NEON"); local 725 static Counter* counter = GetCounter("NEON"); local 733 static Counter* counter = GetCounter("NEON"); local 742 static Counter* counter = GetCounter("NEON"); local 750 static Counter* counter = GetCounter("NEON"); local 758 static Counter* counter = GetCounter("NEON"); local 766 static Counter* counter = GetCounter("NEON"); local 774 static Counter* counter = GetCounter("NEON"); local 782 static Counter* counter = GetCounter("NEON"); local 790 static Counter* counter = GetCounter("NEON"); local 798 static Counter* counter = GetCounter("NEON"); local 806 static Counter* counter = GetCounter("NEON"); local 814 static Counter* counter = GetCounter("NEON"); local 822 static Counter* counter = GetCounter("NEON"); local 830 static Counter* counter = GetCounter("NEON"); local 838 static Counter* counter = GetCounter("Other"); local 846 static Counter* counter = GetCounter("Other"); local [all...] |
instrument-a64.h | 54 class Counter { 56 explicit Counter(const char* name, CounterType type = Gauge); 94 Counter* GetCounter(const char* name); 99 std::list<Counter*> counters_; 103 // Counter information is dumped every sample_period_ instructions decoded. 104 // For a sample_period_ = 0 a final counter value is only produced when the
|
/hardware/bsp/intel/peripheral/libmraa/examples/python/ |
hello_isr.py | 28 class Counter: 31 c = Counter()
|
/external/guice/extensions/struts2/example/src/com/google/inject/struts2/example/ |
Counter.java | 22 * Session-scoped counter. 25 public class Counter {
|
Count.java | 24 final Counter counter; field in class:Count 29 public Count(Counter counter, Service service) { 30 this.counter = counter; 39 return counter.increment();
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/ |
RepresentIterableTest.java | 43 String output = yaml.dump(new Counter(7)); 49 return new Counter(10); 53 private class Counter implements Iterator<Integer> { 55 private int counter = 0; field in class:RepresentIterableTest.Counter 57 public Counter(int max) { 62 return counter < max; 66 return counter++;
|
/external/javassist/sample/rmi/ |
Counter.java | 8 public class Counter {
25 web.exportObject("counter", new Counter());
30 "Usage: java sample.rmi.Counter <port number>");
|
/external/llvm/include/llvm/ProfileData/ |
CoverageMapping.h | 40 /// \brief A Counter is an abstract value that describes how to compute the 42 struct Counter { 53 Counter(CounterKind Kind, unsigned ID) : Kind(Kind), ID(ID) {} 56 Counter() : Kind(Zero), ID(0) {} 68 friend bool operator==(const Counter &LHS, const Counter &RHS) { 72 friend bool operator!=(const Counter &LHS, const Counter &RHS) { 76 friend bool operator<(const Counter &LHS, const Counter &RHS) [all...] |
/external/llvm/lib/ProfileData/ |
CoverageMappingWriter.cpp | 38 void mark(Counter C) { 47 void gatherUsed(Counter C) { 69 /// \brief Adjust the given counter to correctly transition from the old 71 Counter adjust(Counter C) const { 73 C = Counter::getExpression(AdjustedExpressionIDs[C.getExpressionID()]); 79 /// \brief Encode the counter. 83 /// Counter::Zero(0) - A Counter with kind Counter::Zer [all...] |