/external/vixl/src/vixl/a64/ |
D | instrument-a64.cc | 31 Counter::Counter(const char* name, CounterType type) in Counter() function in vixl::Counter 38 void Counter::Enable() { in Enable() 43 void Counter::Disable() { in Disable() 48 bool Counter::IsEnabled() { in IsEnabled() 53 void Counter::Increment() { in Increment() 60 uint64_t Counter::count() { in count() 70 const char* Counter::name() { in name() 75 CounterType Counter::type() { in type() 141 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); in Instrument() 154 std::list<Counter*>::iterator it; in ~Instrument() [all …]
|
D | 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_;
|
/external/wpa_supplicant_8/src/eapol_auth/ |
D | eapol_auth_sm_i.h | 21 typedef unsigned int Counter; typedef 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/ |
D | instrument-arm64.cc | 10 Counter::Counter(const char* name, CounterType type) in Counter() function in v8::internal::Counter 17 void Counter::Enable() { in Enable() 22 void Counter::Disable() { in Disable() 27 bool Counter::IsEnabled() { in IsEnabled() 32 void Counter::Increment() { in Increment() 39 uint64_t Counter::count() { in count() 49 const char* Counter::name() { in name() 54 CounterType Counter::type() { in type() 118 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); in Instrument() 131 std::list<Counter*>::iterator it; in ~Instrument() [all …]
|
D | 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/libcxx/test/support/ |
D | Counter.h | 18 class Counter : public Counter_base 21 Counter() : data_() { ++gConstructed; } in Counter() function 22 Counter(const T &data) : data_(data) { ++gConstructed; } in Counter() function 23 Counter(const Counter& rhs) : data_(rhs.data_) { ++gConstructed; } in Counter() function 24 …Counter& operator=(const Counter& rhs) { ++gConstructed; data_ = rhs.data_; return *this;… 26 Counter(Counter&& rhs) : data_(std::move(rhs.data_)) { ++gConstructed; } in Counter() function 27 … Counter& operator=(Counter&& rhs) { ++gConstructed; data_ = std::move(rhs.data_); return *this; } 29 ~Counter() { --gConstructed; } in ~Counter() 33 bool operator==(const Counter& x) const {return data_ == x.data_;} 34 bool operator< (const Counter& x) const {return data_ < x.data_;} [all …]
|
/external/llvm/include/llvm/ProfileData/ |
D | CoverageMapping.h | 42 struct Counter { struct 53 Counter(CounterKind Kind, unsigned ID) : Kind(Kind), ID(ID) {} in Counter() argument 56 Counter() : Kind(Zero), ID(0) {} in Counter() function 68 friend bool operator==(const Counter &LHS, const Counter &RHS) { argument 72 friend bool operator!=(const Counter &LHS, const Counter &RHS) { 76 friend bool operator<(const Counter &LHS, const Counter &RHS) { 81 static Counter getZero() { return Counter(); } in getZero() argument 84 static Counter getCounter(unsigned CounterId) { in getCounter() argument 85 return Counter(CounterValueReference, CounterId); in getCounter() 90 static Counter getExpression(unsigned ExpressionId) { in getExpression() argument [all …]
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 37 Counter Count; 46 SourceMappingRegion(Counter Count, Optional<SourceLocation> LocStart, in SourceMappingRegion() 50 const Counter &getCounter() const { return Count; } in getCounter() 52 void setCounter(Counter C) { Count = C; } in setCounter() 312 SourceRegions.emplace_back(Counter(), getStart(Body), getEnd(Body)); in VisitDecl() 346 Counter subtractCounters(Counter LHS, Counter RHS) { in subtractCounters() 351 Counter addCounters(Counter LHS, Counter RHS) { in addCounters() 355 Counter addCounters(Counter C1, Counter C2, Counter C3) { in addCounters() 359 Counter addCounters(Counter C1, Counter C2, Counter C3, Counter C4) { in addCounters() 366 Counter getRegionCounter(const Stmt *S) { in getRegionCounter() [all …]
|
/external/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 32 void PrintTo(const Counter &C, ::std::ostream *os) { in PrintTo() 105 void addCMR(Counter C, StringRef File, unsigned LS, unsigned CS, unsigned LE, in addCMR() 158 addCMR(Counter::getCounter(0), "foo", 1, 1, 1, 1); in TEST_F() 159 addCMR(Counter::getCounter(1), "foo", 2, 1, 2, 2); in TEST_F() 160 addCMR(Counter::getZero(), "foo", 3, 1, 3, 4); in TEST_F() 161 addCMR(Counter::getCounter(2), "foo", 4, 1, 4, 8); in TEST_F() 162 addCMR(Counter::getCounter(3), "bar", 1, 2, 3, 4); in TEST_F() 178 addCMR(Counter::getCounter(1), "foo", 10, 1, 10, 2); in TEST_F() 180 addCMR(Counter::getCounter(2), "foo", 1, 1, 20, 1); in TEST_F() 186 ASSERT_EQ(Counter::getCounter(2), OutputCMRs[2].Count); in TEST_F() [all …]
|
/external/llvm/lib/ProfileData/ |
D | CoverageMappingWriter.cpp | 38 void mark(Counter C) { in mark() 47 void gatherUsed(Counter C) { in gatherUsed() 71 Counter adjust(Counter C) const { in adjust() 73 C = Counter::getExpression(AdjustedExpressionIDs[C.getExpressionID()]); in adjust() 94 Counter C) { in encodeCounter() 100 (std::numeric_limits<unsigned>::max() >> Counter::EncodingTagBits)); in encodeCounter() 101 return Tag | (ID << Counter::EncodingTagBits); in encodeCounter() 104 static void writeCounter(ArrayRef<CounterExpression> Expressions, Counter C, in writeCounter() 147 Counter Count = Minimizer.adjust(I->Count); in write() 156 Counter::EncodingCounterTagAndExpansionRegionTagBits)); in write() [all …]
|
D | CoverageMapping.cpp | 33 Counter CounterExpressionBuilder::get(const CounterExpression &E) { in get() 36 return Counter::getExpression(It->second); in get() 40 return Counter::getExpression(I); in get() 44 Counter C, int Sign, SmallVectorImpl<std::pair<unsigned, int>> &Terms) { in extractTerms() 46 case Counter::Zero: in extractTerms() 48 case Counter::CounterValueReference: in extractTerms() 51 case Counter::Expression: in extractTerms() 60 Counter CounterExpressionBuilder::simplify(Counter ExpressionTree) { in simplify() 68 return Counter::getZero(); in simplify() 89 Counter C; in simplify() [all …]
|
D | CoverageMappingReader.cpp | 90 Counter &C) { in decodeCounter() 91 auto Tag = Value & Counter::EncodingTagMask; in decodeCounter() 93 case Counter::Zero: in decodeCounter() 94 C = Counter::getZero(); in decodeCounter() 96 case Counter::CounterValueReference: in decodeCounter() 97 C = Counter::getCounter(Value >> Counter::EncodingTagBits); in decodeCounter() 102 Tag -= Counter::Expression; in decodeCounter() 106 auto ID = Value >> Counter::EncodingTagBits; in decodeCounter() 110 C = Counter::getExpression(ID); in decodeCounter() 119 std::error_code RawCoverageMappingReader::readCounter(Counter &C) { in readCounter() [all …]
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | Counter.java | 21 public class Counter<T> implements Iterable<T>, Comparable<Counter<T>> { class 25 public Counter() { in Counter() method in Counter 29 public Counter(Comparator<T> comparator) { in Counter() method in Counter 63 public Counter<T> add(T obj, long countValue) { in add() 79 public Counter<T> clear() { in clear() 178 public Counter<T> addAll(Collection<T> keys, int delta) { in addAll() 185 public Counter<T> addAll(Counter<T> keys) { in addAll() 192 public int compareTo(Counter<T> o) { in compareTo() 213 public Counter<T> increment(T key) { in increment() 233 public Counter<T> remove(T key) { in remove()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | Counter.java | 22 public class Counter<T> implements Iterable<T>, Comparable<Counter<T>> { class 26 public Counter() { in Counter() method in Counter 30 public Counter(Comparator<T> comparator) { in Counter() method in Counter 64 public Counter<T> add(T obj, long countValue) { in add() 80 public Counter<T> clear() { in clear() 179 public Counter<T> addAll(Collection<T> keys, int delta) { in addAll() 186 public Counter<T> addAll(Counter<T> keys) { in addAll() 193 public int compareTo(Counter<T> o) { in compareTo() 214 public Counter<T> increment(T key) { in increment() 234 public Counter<T> remove(T key) { in remove()
|
/external/llvm/utils/TableGen/ |
D | CallingConvEmitter.cpp | 33 unsigned Counter; member in __anondf94c5730111::CallingConvEmitter 63 Counter = 0; in EmitCallingConv() 118 O << IndentStr << "static const MCPhysReg RegList" << ++Counter in EmitAction() 127 << Counter << ")) {\n"; in EmitAction() 145 unsigned RegListNumber = ++Counter; in EmitAction() 146 unsigned ShadowRegListNumber = ++Counter; in EmitAction() 178 O << IndentStr << "unsigned Offset" << ++Counter in EmitAction() 196 << Counter << ", LocVT, LocInfo));\n"; in EmitAction() 203 unsigned ShadowRegListNumber = ++Counter; in EmitAction() 214 O << IndentStr << "unsigned Offset" << ++Counter in EmitAction() [all …]
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
D | CountersTable.java | 142 Counter counter = (Counter) counters.elementAt(i); in countNode() 171 Counter counter = (Counter) counters.elementAt(i); in countNode() 197 Counter counter = new Counter(numberElem, new NodeSetDTM(support.getDTMManager())); in countNode()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/ |
D | RepresentIterableTest.java | 43 String output = yaml.dump(new Counter(7)); in testIterator() 49 return new Counter(10); in iterator() 53 private class Counter implements Iterator<Integer> { class in RepresentIterableTest 57 public Counter(int max) { in Counter() method in RepresentIterableTest.Counter
|
/external/clang/test/Profile/Inputs/ |
D | max-function-count.proftext | 6 # Counter Values: 15 # Counter Values: 23 # Counter Values:
|
/external/llvm/test/tools/llvm-profdata/Inputs/ |
D | vp-truncate.proftext | 6 # Counter Values: 15 # Counter Values: 24 # Counter Values:
|
D | vp-malform.proftext | 6 # Counter Values: 15 # Counter Values: 24 # Counter Values:
|
/external/v8/test/mjsunit/regress/ |
D | regress-crbug-306851.js | 30 function Counter() { class 34 Object.defineProperty(Counter.prototype, 'count', { 39 var obj = new Counter();
|
/external/guice/core/test/com/google/inject/ |
D | ProvisionListenerTest.java | 215 final Counter count1 = new Counter(); in testCachedInScopePreventsProvisionNotify() 235 final Counter count1 = new Counter(); in testCombineAllBindListenerCalls() 236 final Counter count2 = new Counter(); in testCombineAllBindListenerCalls() 250 final Counter count1 = new Counter(); in testNotifyEarlyListenersIfFailBeforeProvision() 251 final Counter count2 = new Counter(); in testNotifyEarlyListenersIfFailBeforeProvision() 276 final Counter count1 = new Counter(); in testNotifyLaterListenersIfFailAfterProvision() 277 final Counter count2 = new Counter(); in testNotifyLaterListenersIfFailAfterProvision() 362 final Counter counter = new Counter(); in testSingletonMatcher() 446 private static class Counter implements ProvisionListener { class in ProvisionListenerTest 716 bindListener(Matchers.any(), new Counter()); [all …]
|
/external/guice/core/test/com/google/inject/internal/ |
D | ProxyFactoryTest.java | 174 ProxyFactory<Counter> factory in testMultipleInterceptors() 175 = new ProxyFactory<Counter>(InjectionPoint.forConstructorOf(Counter.class), aspects); in testMultipleInterceptors() 177 ConstructionProxy<Counter> constructor = factory.create(); in testMultipleInterceptors() 179 Counter counter = constructor.newInstance(); in testMultipleInterceptors() 203 static class Counter { class in ProxyFactoryTest
|
/external/autotest/client/common_lib/cros/graphite/ |
D | stats.py | 99 class Counter(statsd.Counter): class 110 statsd.Counter._send(self, subname, value) 114 self.Counter = Counter
|
/external/v8/src/ |
D | d8.h | 26 class Counter { 49 Counter* GetNextCounter(); 56 Counter counters_[kMaxCounters]; 63 Counter* Lookup(const char* name) { in Lookup() 67 return reinterpret_cast<Counter*>(answer->value); in Lookup() 69 void Set(const char* name, Counter* value) { in Set() 82 Counter* CurrentValue() { return static_cast<Counter*>(entry_->value); } in CurrentValue() 464 static Counter* GetCounter(const char* name, bool is_histogram);
|