Home
last modified time | relevance | path

Searched refs:Counter (Results 1 – 25 of 551) sorted by relevance

12345678910>>...23

/external/python/cryptography/vectors/cryptography_vectors/KDF/
Dansx963_2001.txt14 Counter = 00000001
22 Counter = 00000001
30 Counter = 00000001
38 Counter = 00000001
46 Counter = 00000001
54 Counter = 00000001
62 Counter = 00000001
70 Counter = 00000001
78 Counter = 00000001
86 Counter = 00000001
[all …]
/external/wpa_supplicant_8/src/eapol_auth/
Deapol_auth_sm_i.h21 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/pigweed/pw_containers/
Dvector_test.cc59 struct Counter { struct
66 Counter() : value(0) { created += 1; } in Counter() argument
68 Counter(int val) : value(val) { created += 1; } in Counter() function
70 Counter(const Counter& other) : value(other.value) { created += 1; } in Counter() argument
72 Counter(Counter&& other) : value(other.value) { in Counter() argument
77 ~Counter() { destroyed += 1; } in ~Counter() argument
82 int Counter::created = 0;
83 int Counter::destroyed = 0;
84 int Counter::moved = 0;
162 Counter::Reset(); in TEST()
[all …]
/external/libcxx/test/support/
DCounter.h20 class Counter : public Counter_base
23 Counter() : data_() { ++gConstructed; } in Counter() function
24 Counter(const T &data) : data_(data) { ++gConstructed; } in Counter() function
25 Counter(const Counter& rhs) : data_(rhs.data_) { ++gConstructed; } in Counter() function
26 Counter& operator=(const Counter& rhs) { data_ = rhs.data_; return *this; }
28 Counter(Counter&& rhs) : data_(std::move(rhs.data_)) { ++gConstructed; } in Counter() function
29Counter& operator=(Counter&& rhs) { ++gConstructed; data_ = std::move(rhs.data_); return *this; }
31 ~Counter() { --gConstructed; } in ~Counter()
35 bool operator==(const Counter& x) const {return data_ == x.data_;}
36 bool operator< (const Counter& x) const {return data_ < x.data_;}
[all …]
/external/google-benchmark/test/
Duser_counters_test.cc120 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate}; in BM_Counters_Rate()
121 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate}; in BM_Counters_Rate()
161 state.counters["foo"] = bm::Counter{0.0001, bm::Counter::kInvert}; in BM_Invert()
162 state.counters["bar"] = bm::Counter{10000, bm::Counter::kInvert}; in BM_Invert()
201 bm::Counter{1, bm::Counter::kIsRate | bm::Counter::kInvert}; in BM_Counters_InvertedRate()
203 bm::Counter{8192, bm::Counter::kIsRate | bm::Counter::kInvert}; in BM_Counters_InvertedRate()
280 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads()
281 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads()
322 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreadsRate}; in BM_Counters_AvgThreadsRate()
323 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreadsRate}; in BM_Counters_AvgThreadsRate()
[all …]
Duser_counters_tabular_test.cc63 {"Foo", {1, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
64 {"Bar", {2, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
65 {"Baz", {4, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
66 {"Bat", {8, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
67 {"Frob", {16, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
68 {"Lob", {32, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
115 {"Foo", {1, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular()
116 {"Bar", {2, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular()
117 {"Baz", {4, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular()
118 {"Bat", {8, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular()
[all …]
Duser_counters_thousands_test.cc17 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()
/external/tensorflow/tensorflow/core/framework/
Dmetrics.cc27 auto* graph_runs = monitoring::Counter<0>::New(
32 auto* graph_run_time_usecs = monitoring::Counter<0>::New(
37 monitoring::Counter<2>::New("/tensorflow/core/graph_optimization_usecs",
66 auto* graph_unused_outputs = monitoring::Counter<1>::New(
70 auto* tf_data_autotune_counter = monitoring::Counter<1>::New(
73 auto* tf_data_bytes_consumed_counter = monitoring::Counter<1>::New(
77 auto* tf_data_bytes_produced_counter = monitoring::Counter<1>::New(
81 auto* tf_data_bytes_read_counter = monitoring::Counter<1>::New(
85 auto* tf_data_bytes_fetched_counter = monitoring::Counter<0>::New(
89 auto* tf_data_elements_counter = monitoring::Counter<1>::New(
[all …]
/external/libcxx/utils/google-benchmark/test/
Duser_counters_test.cc110 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsRate}; in BM_Counters_Rate()
111 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsRate}; in BM_Counters_Rate()
181 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads()
182 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreads}; in BM_Counters_AvgThreads()
218 state.counters["foo"] = bm::Counter{1, bm::Counter::kAvgThreadsRate}; in BM_Counters_AvgThreadsRate()
219 state.counters["bar"] = bm::Counter{2, bm::Counter::kAvgThreadsRate}; in BM_Counters_AvgThreadsRate()
255 state.counters["foo"] = bm::Counter{1, bm::Counter::kIsIterationInvariant}; in BM_Counters_IterationInvariant()
256 state.counters["bar"] = bm::Counter{2, bm::Counter::kIsIterationInvariant}; in BM_Counters_IterationInvariant()
294 bm::Counter{1, bm::Counter::kIsIterationInvariantRate}; in BM_Counters_kIsIterationInvariantRate()
296 bm::Counter{2, bm::Counter::kIsRate | bm::Counter::kIsIterationInvariant}; in BM_Counters_kIsIterationInvariantRate()
[all …]
Duser_counters_tabular_test.cc63 {"Foo", {1, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
64 {"Bar", {2, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
65 {"Baz", {4, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
66 {"Bat", {8, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
67 {"Frob", {16, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
68 {"Lob", {32, bm::Counter::kAvgThreads}}, in BM_Counters_Tabular()
110 {"Foo", {1, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular()
111 {"Bar", {2, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular()
112 {"Baz", {4, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular()
113 {"Bat", {8, bm::Counter::kAvgThreadsRate}}, in BM_CounterRates_Tabular()
[all …]
Duser_counters_thousands_test.cc17 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()
/external/google-benchmark/bindings/python/google_benchmark/
Dbenchmark.cc118 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 …]
/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
Dmerge.pass.cpp66 typedef std::unordered_map<Counter<int>, int, throw_hasher<Counter<int>>> map_type; in main()
67 map_type src({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
68 map_type dst({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
82 …assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))… in main()
83 …assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))… in main()
91 bool operator()(const Counter<int>& lhs, const Counter<int>& rhs) const in main()
99 size_t operator()(const Counter<int>& p) const in main()
101 return std::hash<Counter<int>>()(p); in main()
105 …typedef std::unordered_map<Counter<int>, int, std::hash<Counter<int>>, std::equal_to<Counter<int>>… in main()
106 typedef std::unordered_map<Counter<int>, int, hasher, equal> second_map_type; in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.set/
Dmerge.pass.cpp66 typedef std::unordered_set<Counter<int>, throw_hasher<Counter<int>>> set_type; in main()
67 set_type src({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
68 set_type dst({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
82 assert(set_equal(src, set_type({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
83 assert(set_equal(dst, set_type({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
91 bool operator()(const Counter<int>& lhs, const Counter<int>& rhs) const in main()
99 size_t operator()(const Counter<int>& p) const { return std::hash<Counter<int>>()(p); } in main()
102 …typedef std::unordered_set<Counter<int>, std::hash<Counter<int>>, std::equal_to<Counter<int>>> fir… in main()
103 typedef std::unordered_set<Counter<int>, hasher, equal> second_set_type; in main()
104 typedef std::unordered_multiset<Counter<int>, hasher, equal> third_set_type; in main()
/external/libcxx/test/std/containers/unord/unord.multiset/
Dmerge.pass.cpp66 typedef std::unordered_multiset<Counter<int>, throw_hasher<Counter<int>>> set_type; in main()
67 set_type src({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
68 set_type dst({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
82 assert(set_equal(src, set_type({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
83 assert(set_equal(dst, set_type({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
91 bool operator()(const Counter<int>& lhs, const Counter<int>& rhs) const in main()
99 size_t operator()(const Counter<int>& p) const { return std::hash<Counter<int>>()(p); } in main()
102 …typedef std::unordered_multiset<Counter<int>, std::hash<Counter<int>>, std::equal_to<Counter<int>>… in main()
103 typedef std::unordered_multiset<Counter<int>, hasher, equal> second_set_type; in main()
104 typedef std::unordered_set<Counter<int>, hasher, equal> third_set_type; in main()
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
Dmerge.pass.cpp66 typedef std::unordered_multimap<Counter<int>, int, throw_hasher<Counter<int>>> map_type; in main()
67 map_type src({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
68 map_type dst({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
82 …assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))… in main()
83 …assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))… in main()
91 bool operator()(const Counter<int>& lhs, const Counter<int>& rhs) const in main()
99 size_t operator()(const Counter<int>& p) const in main()
101 return std::hash<Counter<int>>()(p); in main()
105 …typedef std::unordered_multimap<Counter<int>, int, std::hash<Counter<int>>, std::equal_to<Counter<… in main()
106 typedef std::unordered_multimap<Counter<int>, int, hasher, equal> second_map_type; in main()
[all …]
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h84 struct Counter { struct
95 Counter(CounterKind Kind, unsigned ID) : Kind(Kind), ID(ID) {} in Counter() argument
98 Counter() : Kind(Zero), ID(0) {} in Counter() function
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/
DJacocoReportCheck.java101 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/eigen/unsupported/test/
Dcxx11_tensor_thread_local.cpp16 struct Counter { struct
17 Counter() = default;
31 void operator()(Counter& counter) { in operator ()() argument
39 Eigen::ThreadLocal<Counter, InitCounter> counter(num_threads, InitCounter()); in test_simple_thread_local()
46 Counter& local = counter.local(); in test_simple_thread_local()
57 [](std::thread::id, Counter& cnt) { VERIFY_IS_EQUAL(cnt.value(), 3); }); in test_simple_thread_local()
61 Eigen::ThreadLocal<Counter, InitCounter> counter(0, InitCounter()); in test_zero_sized_thread_local()
63 Counter& local = counter.local(); in test_zero_sized_thread_local()
67 counter.ForEach([&total](std::thread::id, Counter& cnt) { in test_zero_sized_thread_local()
79 Eigen::ThreadLocal<Counter, InitCounter> counter(num_threads, InitCounter()); in test_large_number_of_tasks_no_spill()
[all …]
/external/tensorflow/tensorflow/core/lib/monitoring/
Dcounter.h50 class Counter {
52 ~Counter() {} in ~Counter()
55 static Counter* New(MetricDefArgs&&... metric_def_args) { in New()
56 return new Counter<NumLabels>(); in New()
67 Counter() {} in Counter() function
71 TF_DISALLOW_COPY_AND_ASSIGN(Counter);
134 class Counter {
136 ~Counter() { in ~Counter()
147 static Counter* New(MetricDefArgs&&... metric_def_args);
157 explicit Counter( in Counter() function
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h90 struct Counter { struct
101 Counter(CounterKind Kind, unsigned ID) : Kind(Kind), ID(ID) {} in Counter() function
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 …]
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp39 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/unittests/ProfileData/
DCoverageMappingTest.cpp32 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/perfetto/src/base/
Dflat_hash_map_benchmark.cc62 using benchmark::Counter;
146 state.counters["uniq"] = Counter(static_cast<double>(mapz.size())); in BM_HashMap_InsertTraceStrings_AppendOnly()
148 state.counters["tot"] = Counter(static_cast<double>(hashes.size()), in BM_HashMap_InsertTraceStrings_AppendOnly()
149 Counter::kIsIterationInvariant); in BM_HashMap_InsertTraceStrings_AppendOnly()
150 state.counters["rate"] = Counter(static_cast<double>(hashes.size()), in BM_HashMap_InsertTraceStrings_AppendOnly()
151 Counter::kIsIterationInvariantRate); in BM_HashMap_InsertTraceStrings_AppendOnly()
163 state.counters["uniq"] = Counter(static_cast<double>(mapz.size())); in BM_HashMap_InsertTraceStrings()
165 state.counters["tot"] = Counter(static_cast<double>(hashes.size()), in BM_HashMap_InsertTraceStrings()
166 Counter::kIsIterationInvariant); in BM_HashMap_InsertTraceStrings()
167 state.counters["rate"] = Counter(static_cast<double>(hashes.size()), in BM_HashMap_InsertTraceStrings()
[all …]
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingWriter.cpp38 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 …]

12345678910>>...23