/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 …]
|
/third_party/benchmark/test/ |
D | user_counters_test.cc | 124 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate}; in BM_Counters_Rate() 125 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate}; in BM_Counters_Rate() 167 state.counters["foo"] = bm::Counter{0.0001, bm::Counter::kInvert}; in BM_Invert() 168 state.counters["bar"] = bm::Counter{10000, bm::Counter::kInvert}; in BM_Invert() 209 bm::Counter{1, bm::Counter::kIsRate | bm::Counter::kInvert}; in BM_Counters_InvertedRate() 211 bm::Counter{8192, bm::Counter::kIsRate | bm::Counter::kInvert}; in BM_Counters_InvertedRate() 292 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads() 293 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads() 336 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreadsRate}; in BM_Counters_AvgThreadsRate() 337 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreadsRate}; in BM_Counters_AvgThreadsRate() [all …]
|
D | user_counters_thousands_test.cc | 17 bm::Counter(1000 * 1000, bm::Counter::kDefaults)}, in BM_Counters_Thousands() 18 {"t1_1000000Base1000", bm::Counter(1000 * 1000, bm::Counter::kDefaults, in BM_Counters_Thousands() 19 benchmark::Counter::OneK::kIs1000)}, in BM_Counters_Thousands() 20 {"t2_1000000Base1024", bm::Counter(1000 * 1000, bm::Counter::kDefaults, in BM_Counters_Thousands() 21 benchmark::Counter::OneK::kIs1024)}, in BM_Counters_Thousands() 22 {"t3_1048576Base1000", bm::Counter(1024 * 1024, bm::Counter::kDefaults, in BM_Counters_Thousands() 23 benchmark::Counter::OneK::kIs1000)}, in BM_Counters_Thousands() 24 {"t4_1048576Base1024", bm::Counter(1024 * 1024, bm::Counter::kDefaults, in BM_Counters_Thousands() 25 benchmark::Counter::OneK::kIs1024)}, in BM_Counters_Thousands()
|
D | user_counters_tabular_test.cc | 69 {"Foo", {1, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular() 70 {"Bar", {2, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular() 71 {"Baz", {4, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular() 72 {"Bat", {8, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular() 73 {"Frob", {16, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular() 74 {"Lob", {32, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular() 379 {"Foo", {1, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular() 380 {"Bar", {2, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular() 381 {"Baz", {4, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular() 382 {"Bat", {8, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular() [all …]
|
D | internal_threading_test.cc | 43 benchmark::Counter{1, benchmark::Counter::kIsRate}; in BM_MainThread() 86 benchmark::Counter{1, benchmark::Counter::kIsRate}; in BM_WorkerThread() 130 benchmark::Counter{1, benchmark::Counter::kIsRate}; in BM_MainThreadAndWorkerThread()
|
/third_party/benchmark/bindings/python/google_benchmark/ |
D | benchmark.cc | 118 using benchmark::Counter; in PYBIND11_MODULE() 119 py::class_<Counter> py_counter(m, "Counter"); in PYBIND11_MODULE() 121 py::enum_<Counter::Flags>(py_counter, "Flags") in PYBIND11_MODULE() 122 .value("kDefaults", Counter::Flags::kDefaults) in PYBIND11_MODULE() 123 .value("kIsRate", Counter::Flags::kIsRate) in PYBIND11_MODULE() 124 .value("kAvgThreads", Counter::Flags::kAvgThreads) in PYBIND11_MODULE() 125 .value("kAvgThreadsRate", Counter::Flags::kAvgThreadsRate) in PYBIND11_MODULE() 126 .value("kIsIterationInvariant", Counter::Flags::kIsIterationInvariant) in PYBIND11_MODULE() 128 Counter::Flags::kIsIterationInvariantRate) in PYBIND11_MODULE() 129 .value("kAvgIterations", Counter::Flags::kAvgIterations) in PYBIND11_MODULE() [all …]
|
D | example.py | 27 from google_benchmark import Counter 86 state.counters["foo_rate"] = Counter(num_foo, Counter.kIsRate) 88 state.counters["foo_inv_rate"] = Counter(num_foo, Counter.kIsRate | Counter.kInvert) 90 state.counters["foo_avg"] = Counter(num_foo, Counter.kAvgThreads) 92 state.counters["foo_avg_rate"] = Counter(num_foo, Counter.kAvgThreadsRate)
|
/third_party/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 …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 90 struct Counter { struct 101 Counter(CounterKind Kind, unsigned ID) : Kind(Kind), ID(ID) {} in Counter() argument 104 Counter() = default; 116 friend bool operator==(const Counter &LHS, const Counter &RHS) { argument 120 friend bool operator!=(const Counter &LHS, const Counter &RHS) { 124 friend bool operator<(const Counter &LHS, const Counter &RHS) { 129 static Counter getZero() { return Counter(); } in getZero() argument 132 static Counter getCounter(unsigned CounterId) { in getCounter() argument 133 return Counter(CounterValueReference, CounterId); in getCounter() 138 static Counter getExpression(unsigned ExpressionId) { in getExpression() argument [all …]
|
/third_party/mesa3d/src/tool/pps/ |
D | pps_counter.h | 32 class Counter 49 using Getter = Value(const Counter &c, const Driver &d); 51 Counter() = default; 52 virtual ~Counter() = default; 57 Counter(int32_t id, const std::string &name, int32_t group); 59 bool operator==(const Counter &c) const; 92 inline void Counter::set_getter(const std::function<Getter> &get) in set_getter() 99 inline Counter::Value Counter::get_value(const Driver &d) const in get_value()
|
D | pps_counter.cc | 19 Counter::Counter(int32_t id, const std::string &name, int32_t group) in Counter() function in pps::Counter 28 bool Counter::operator==(const Counter &other) const in operator ==()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingWriter.cpp | 65 void mark(Counter C) { in mark() 74 void gatherUsed(Counter C) { in gatherUsed() 88 Counter adjust(Counter C) const { in adjust() 90 C = Counter::getExpression(AdjustedExpressionIDs[C.getExpressionID()]); in adjust() 112 Counter C) { in encodeCounter() 118 (std::numeric_limits<unsigned>::max() >> Counter::EncodingTagBits)); in encodeCounter() 119 return Tag | (ID << Counter::EncodingTagBits); in encodeCounter() 122 static void writeCounter(ArrayRef<CounterExpression> Expressions, Counter C, in writeCounter() 179 Counter Count = Minimizer.adjust(I->Count); in write() 189 Counter::EncodingCounterTagAndExpansionRegionTagBits)); in write() [all …]
|
D | CoverageMapping.cpp | 47 Counter CounterExpressionBuilder::get(const CounterExpression &E) { in get() 50 return Counter::getExpression(It->second); in get() 54 return Counter::getExpression(I); in get() 57 void CounterExpressionBuilder::extractTerms(Counter C, int Factor, in extractTerms() 60 case Counter::Zero: in extractTerms() 62 case Counter::CounterValueReference: in extractTerms() 65 case Counter::Expression: in extractTerms() 74 Counter CounterExpressionBuilder::simplify(Counter ExpressionTree) { in simplify() 82 return Counter::getZero(); in simplify() 101 Counter C; in simplify() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | Counter.java | 26 public class Counter<T> implements Iterable<T>, Comparable<Counter<T>> { class 30 public Counter() { in Counter() method in Counter 34 public Counter(Comparator<T> comparator) { in Counter() method in Counter 68 public Counter<T> add(T obj, long countValue) { in add() 84 public Counter<T> clear() { in clear() 183 public Counter<T> addAll(Collection<T> keys, int delta) { in addAll() 190 public Counter<T> addAll(Counter<T> keys) { in addAll() 197 public int compareTo(Counter<T> o) { in compareTo() 218 public Counter<T> increment(T key) { in increment() 238 public Counter<T> remove(T key) { in remove()
|
/third_party/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()
|
/third_party/python/Lib/test/ |
D | test_collections.py | 17 from collections import namedtuple, Counter, OrderedDict, _count_elements 991 OrderedDict().values(), Counter(), Counter().keys(), 992 Counter().items(), Counter().values(), dict(), 1994 class CounterSubclassWithSetItem(Counter): 1998 Counter.__init__(self, *args, **kwds) 2001 Counter.__setitem__(self, key, value) 2003 class CounterSubclassWithGet(Counter): 2007 Counter.__init__(self, *args, **kwds) 2010 return Counter.get(self, key, default) 2015 c = Counter('abcaba') [all …]
|
/third_party/mindspore/mindspore/core/utils/ |
D | counter.h | 29 class Counter { 30 using counter_type = Counter<T, Hash, Equal>; 47 Counter() = default; 48 ~Counter() = default; 50 Counter(Counter &&other) noexcept = default; 51 Counter &operator=(Counter &&other) noexcept = default; 53 Counter(const Counter &other) { *this = other; } in Counter() function 54 Counter &operator=(const Counter &other) { 164 class Counter<std::shared_ptr<T>> { 166 using counter_type = Counter<key_type>;
|
/third_party/json/test/thirdparty/Fuzzer/ |
D | FuzzerTracePC.h | 130 uint8_t Counter = (Bundle >> ((i - Idx) * 8)) & 0xff; in CollectFeatures() local 131 if (!Counter) continue; in CollectFeatures() 134 /**/ if (Counter >= 128) Bit = 7; in CollectFeatures() 135 else if (Counter >= 32) Bit = 6; in CollectFeatures() 136 else if (Counter >= 16) Bit = 5; in CollectFeatures() 137 else if (Counter >= 8) Bit = 4; in CollectFeatures() 138 else if (Counter >= 4) Bit = 3; in CollectFeatures() 139 else if (Counter >= 3) Bit = 2; in CollectFeatures() 140 else if (Counter >= 2) Bit = 1; in CollectFeatures()
|
/third_party/benchmark/src/ |
D | counter.cc | 20 double Finish(Counter const& c, IterationCount iterations, double cpu_time, in Finish() 23 if (c.flags & Counter::kIsRate) { in Finish() 26 if (c.flags & Counter::kAvgThreads) { in Finish() 29 if (c.flags & Counter::kIsIterationInvariant) { in Finish() 32 if (c.flags & Counter::kAvgIterations) { in Finish() 36 if (c.flags & Counter::kInvert) { // Invert is *always* last. in Finish()
|
/third_party/typescript/tests/baselines/reference/ |
D | jsxFragmentFactoryNoUnusedLocals.js | 9 export function Counter({ count = 0 }: CounterProps) { class 20 exports.Counter = void 0; 23 function Counter(_a) { 30 exports.Counter = Counter;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | DebugCounter.cpp | 96 CounterInfo &Counter = Counters[CounterID]; in push_back() local 97 Counter.Skip = CounterVal; in push_back() 98 Counter.IsSet = true; in push_back() 109 CounterInfo &Counter = Counters[CounterID]; in push_back() local 110 Counter.StopAfter = CounterVal; in push_back() 111 Counter.IsSet = true; in push_back()
|
/third_party/boost/libs/random/test/ |
D | statistic_tests.hpp | 89 template<class NumberGenerator, class Counter> 90 void run(NumberGenerator & f, Counter & count, int n) const in run() 107 template<class NumberGenerator, class Counter> 108 void run(NumberGenerator & f, Counter & count, int n) const in run() 142 template<class NumberGenerator, class Counter> 143 void run(NumberGenerator & f, Counter & count, int n) const in run() 193 template<class NumberGenerator, class Counter> 194 void run(NumberGenerator & f, Counter & count, int n) const in run() 234 template<class NumberGenerator, class Counter> 235 void run(NumberGenerator & f, Counter & count, int n) const in run() [all …]
|
/third_party/mesa3d/src/freedreno/ds/ |
D | fd_pps_driver.cc | 58 counter("GPU Frequency", Counter::Units::Hertz, [=]() { in setup_a6xx_counters() 63 counter("GPU % Utilization", Counter::Units::Percent, [=]() { in setup_a6xx_counters() 69 counter("ALU / Fragment", Counter::Units::None, [=]() { in setup_a6xx_counters() 75 counter("TP L1 Cache Misses", Counter::Units::None, [=]() { in setup_a6xx_counters() 80 counter("Shader Core Utilization", Counter::Units::Percent, [=]() { in setup_a6xx_counters() 371 Counter::Units units, in DerivedCounter() 373 : Counter(d->next_counter_id++, name, 0) in DerivedCounter() 377 set_getter([=](const Counter &c, const Driver &d) { in DerivedCounter() 384 FreedrenoDriver::counter(std::string name, Counter::Units units, in counter()
|
/third_party/googletest/googletest/samples/ |
D | sample4.cc | 37 int Counter::Increment() { in Increment() 43 int Counter::Decrement() { in Decrement() 52 void Counter::Print() const { in Print()
|