/external/vixl/src/aarch64/ |
D | instrument-aarch64.cc | 32 Counter::Counter(const char* name, CounterType type) in Counter() function in vixl::aarch64::Counter 39 void Counter::Enable() { enabled_ = true; } in Enable() 42 void Counter::Disable() { enabled_ = false; } in Disable() 45 bool Counter::IsEnabled() { return enabled_; } in IsEnabled() 48 void Counter::Increment() { in Increment() 55 uint64_t Counter::GetCount() { in GetCount() 65 const char* Counter::GetName() { return name_; } in GetName() 68 CounterType Counter::GetType() { return type_; } in GetType() 130 Counter* counter = new Counter(kCounterList[i].name, kCounterList[i].type); in Instrument() 143 std::list<Counter*>::iterator it; in ~Instrument() [all …]
|
D | instrument-aarch64.h | 53 class Counter { 55 explicit Counter(const char* name, CounterType type = Gauge); 99 Counter* GetCounter(const char* name); 104 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/google-benchmark/test/ |
D | user_counters_tabular_test.cc | 61 {"Foo", { 1, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular() 62 {"Bar", { 2, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular() 63 {"Baz", { 4, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular() 64 {"Bat", { 8, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular() 65 {"Frob", {16, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular() 66 {"Lob", {32, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular() 105 {"Foo", { 1, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular() 106 {"Bar", { 2, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular() 107 {"Baz", { 4, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular() 108 {"Bat", { 8, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular() [all …]
|
D | user_counters_test.cc | 98 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate}; in BM_Counters_Rate() 99 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate}; in BM_Counters_Rate() 159 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads() 160 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads() 190 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreadsRate}; in BM_Counters_AvgThreadsRate() 191 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreadsRate}; in BM_Counters_AvgThreadsRate()
|
/external/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 84 struct Counter { struct 95 Counter(CounterKind Kind, unsigned ID) : Kind(Kind), ID(ID) {} in Counter() argument 98 Counter() : Kind(Zero), ID(0) {} in Counter() argument 110 friend bool operator==(const Counter &LHS, const Counter &RHS) { argument 114 friend bool operator!=(const Counter &LHS, const Counter &RHS) { 118 friend bool operator<(const Counter &LHS, const Counter &RHS) { 123 static Counter getZero() { return Counter(); } in getZero() argument 126 static Counter getCounter(unsigned CounterId) { in getCounter() argument 127 return Counter(CounterValueReference, CounterId); in getCounter() 132 static Counter getExpression(unsigned ExpressionId) { in getExpression() argument [all …]
|
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/coverage/ |
D | JacocoReportCheck.java | 101 Counter methodCnt = reportEntry.method().methodCounter(); in main() 210 Counter instructionCnt = null; in parseReport() 211 Counter branchCnt = null; in parseReport() 212 Counter lineCnt = null; in parseReport() 213 Counter complexityCnt = null; in parseReport() 214 Counter methodCnt = null; in parseReport() 249 instructionCnt = new Counter(missed, covered); in parseReport() 251 branchCnt = new Counter(missed, covered); in parseReport() 253 lineCnt = new Counter(missed, covered); in parseReport() 255 complexityCnt = new Counter(missed, covered); in parseReport() [all …]
|
/external/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 32 void PrintTo(const Counter &C, ::std::ostream *os) { in PrintTo() 144 void addCMR(Counter C, StringRef File, unsigned LS, unsigned CS, unsigned LE, in addCMR() 219 addCMR(Counter::getCounter(0), "foo", 1, 1, 1, 1); in TEST_P() 220 addCMR(Counter::getCounter(1), "foo", 2, 1, 2, 2); in TEST_P() 221 addCMR(Counter::getZero(), "foo", 3, 1, 3, 4); in TEST_P() 222 addCMR(Counter::getCounter(2), "foo", 4, 1, 4, 8); in TEST_P() 223 addCMR(Counter::getCounter(3), "bar", 1, 2, 3, 4); in TEST_P() 251 addCMR(Counter::getCounter(0), FileNames[I], I, 1, I, 1); in TEST_P() 279 addCMR(Counter::getCounter(0), FileNames[I], I, 1, I, 1); in TEST_P() 297 addCMR(Counter::getCounter(0), "foo", 1, 1, 5, 5); in TEST_P() [all …]
|
/external/clang/lib/CodeGen/ |
D | CoverageMappingGen.cpp | 39 Counter Count; 48 SourceMappingRegion(Counter Count, Optional<SourceLocation> LocStart, in SourceMappingRegion() 52 const Counter &getCounter() const { return Count; } in getCounter() 54 void setCounter(Counter C) { Count = C; } in setCounter() 345 SourceRegions.emplace_back(Counter(), Start, End); in VisitDecl() 379 Counter subtractCounters(Counter LHS, Counter RHS) { in subtractCounters() 384 Counter addCounters(Counter LHS, Counter RHS) { in addCounters() 388 Counter addCounters(Counter C1, Counter C2, Counter C3) { in addCounters() 395 Counter getRegionCounter(const Stmt *S) { in getRegionCounter() 396 return Counter::getCounter(CounterMap[S]); in getRegionCounter() [all …]
|
/external/llvm/lib/ProfileData/Coverage/ |
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 | 94 Error RawCoverageMappingReader::decodeCounter(unsigned Value, Counter &C) { in decodeCounter() 95 auto Tag = Value & Counter::EncodingTagMask; in decodeCounter() 97 case Counter::Zero: in decodeCounter() 98 C = Counter::getZero(); in decodeCounter() 100 case Counter::CounterValueReference: in decodeCounter() 101 C = Counter::getCounter(Value >> Counter::EncodingTagBits); in decodeCounter() 106 Tag -= Counter::Expression; in decodeCounter() 110 auto ID = Value >> Counter::EncodingTagBits; in decodeCounter() 114 C = Counter::getExpression(ID); in decodeCounter() 123 Error RawCoverageMappingReader::readCounter(Counter &C) { in readCounter() [all …]
|
/external/autotest/server/hosts/ |
D | shadowing_store.py | 61 metrics.Counter( 92 metrics.Counter(_COMMIT_METRIC_NAME).increment( 103 metrics.Counter(_COMMIT_METRIC_NAME).increment( 106 metrics.Counter(_COMMIT_METRIC_NAME).increment( 113 metrics.Counter(_REFRESH_METRIC_NAME).increment( 121 metrics.Counter(_REFRESH_METRIC_NAME).increment(fields={ 127 metrics.Counter(_REFRESH_METRIC_NAME).increment( 131 metrics.Counter(_REFRESH_METRIC_NAME).increment(
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | Counter.java | 23 public class Counter<T> implements Iterable<T>, Comparable<Counter<T>> { class 27 public Counter() { in Counter() method in Counter 31 public Counter(Comparator<T> comparator) { in Counter() method in Counter 65 public Counter<T> add(T obj, long countValue) { in add() 81 public Counter<T> clear() { in clear() 180 public Counter<T> addAll(Collection<T> keys, int delta) { in addAll() 187 public Counter<T> addAll(Counter<T> keys) { in addAll() 194 public int compareTo(Counter<T> o) { in compareTo() 215 public Counter<T> increment(T key) { in increment() 235 public Counter<T> remove(T key) { in remove()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | Counter.java | 24 public class Counter<T> implements Iterable<T>, Comparable<Counter<T>> { class 28 public Counter() { in Counter() method in Counter 32 public Counter(Comparator<T> comparator) { in Counter() method in Counter 66 public Counter<T> add(T obj, long countValue) { in add() 82 public Counter<T> clear() { in clear() 181 public Counter<T> addAll(Collection<T> keys, int delta) { in addAll() 188 public Counter<T> addAll(Counter<T> keys) { in addAll() 195 public int compareTo(Counter<T> o) { in compareTo() 216 public Counter<T> increment(T key) { in increment() 236 public Counter<T> remove(T key) { in remove()
|
/external/python/cpython2/Lib/test/ |
D | test_collections.py | 15 from collections import namedtuple, Counter, OrderedDict 850 c = Counter('abcaba') 851 self.assertEqual(c, Counter({'a':3 , 'b': 2, 'c': 1})) 852 self.assertEqual(c, Counter(a=3, b=2, c=1)) 855 self.assertTrue(issubclass(Counter, dict)) 856 self.assertTrue(issubclass(Counter, Mapping)) 897 self.assertRaises(NotImplementedError, Counter.fromkeys, 'abc') 901 c.update(Counter('a' * 50 + 'b' * 30)) 913 self.assertEqual(list(Counter(self=42).items()), [('self', 42)]) 914 self.assertEqual(list(Counter(iterable=42).items()), [('iterable', 42)]) [all …]
|
/external/llvm/utils/TableGen/ |
D | CallingConvEmitter.cpp | 33 unsigned Counter; member in __anonc297a5c60111::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/llvm/test/Transforms/PGOProfile/Inputs/ |
D | indirect_call.proftext | 7 # Counter Values: 25 # Counter Values: 33 # Counter Values: 41 # Counter Values:
|
/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/llvm/test/tools/llvm-cov/Inputs/ |
D | prevent_false_instantiations.proftext | 6 # Counter Values: 15 # Counter Values: 24 # Counter Values:
|
/external/clang/test/Profile/Inputs/ |
D | max-function-count.proftext | 6 # Counter Values: 15 # Counter Values: 23 # Counter Values:
|