Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 25 of 1699) sorted by relevance

12345678910>>...68

/third_party/json/test/src/
Dunit-items.cpp49 int counter = 1; variable
53 switch (counter++)
76 CHECK(counter == 3);
82 int counter = 1; variable
86 switch (counter++)
117 CHECK(counter == 3);
126 int counter = 1; variable
130 switch (counter++)
153 CHECK(counter == 3);
159 int counter = 1; variable
[all …]
/third_party/grpc/tools/run_tests/performance/
Dmassage_qps_stats.py28 "core_client_calls_created"] = massage_qps_stats_helpers.counter(
31 "core_server_calls_created"] = massage_qps_stats_helpers.counter(
33 stats["core_cqs_created"] = massage_qps_stats_helpers.counter(
36 "core_client_channels_created"] = massage_qps_stats_helpers.counter(
39 "core_client_subchannels_created"] = massage_qps_stats_helpers.counter(
42 "core_server_channels_created"] = massage_qps_stats_helpers.counter(
44 stats["core_syscall_poll"] = massage_qps_stats_helpers.counter(
46 stats["core_syscall_wait"] = massage_qps_stats_helpers.counter(
48 stats["core_pollset_kick"] = massage_qps_stats_helpers.counter(
51 "core_pollset_kicked_without_poller"] = massage_qps_stats_helpers.counter(
[all …]
/third_party/jerryscript/tests/jerry/
Dregression-test-issue-1282.js15 var counter = 0; variable
17 ({ get "0"() { counter += 1; } })[0];
18 ({ get 0() { counter += 2; } })[0];
19 ({ get 0.0() { counter += 3; } })[0];
20 ({ get 0.() { counter += 4; } })[0];
21 ({ get 1.() { counter += 5; } })[1];
22 ({ get 5.2322341234123() { counter += 6; } })[5.2322341234123];
24 assert (counter == 21);
26 ({ set "0"(q) { counter -= 1; } })[0] = "dummy";
27 ({ set 0(q) { counter -= 2; } })[0] = "dummy";
[all …]
/third_party/typescript/tests/baselines/reference/
DselfInLambdas.types20 >o : { counter: number; start: () => void; }
21counter: 0, start: function() { window.onmousemove = () => { this.counter++ …
23 counter: 0,
24 >counter : number
29 … window.onmousemove = () => { this.counter++ var f = () => this.count…
32 >window.onmousemove = () => { this.counter++ var f = () => this.counter; …
36 >() => { this.counter++ var f = () => this.counter; } : () => void
38 this.counter++
39 >this.counter++ : number
40 >this.counter : number
[all …]
/third_party/node/benchmark/process/
Dnext-tick-depth-args.js9 let counter = n;
11 if (--counter) {
12 if (counter % 4 === 0)
14 else if (counter % 3 === 0)
16 else if (counter % 2 === 0)
25 if (--counter) {
26 if (counter % 4 === 0)
28 else if (counter % 3 === 0)
30 else if (counter % 2 === 0)
39 if (--counter) {
[all …]
/third_party/boost/libs/spirit/example/karma/
Dcustomize_counter.cpp20 struct counter struct
28 counter(int max_count) in counter() function
50 struct is_container<client::counter const>
58 struct container_iterator<client::counter const>
60 typedef client::counter::iterator type;
72 struct begin_container<client::counter const>
74 static client::counter::iterator
75 call(client::counter const& c) in call()
82 struct end_container<client::counter const>
84 static client::counter::iterator
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/X86/
DX86GenExegesis.inc106 X86PfmCounterNames[14], // Cycle counter
107 X86PfmCounterNames[35], // Uops counter
113 X86PfmCounterNames[0], // Cycle counter
114 X86PfmCounterNames[13], // Uops counter
119 X86PfmCounterNames[0], // Cycle counter
120 X86PfmCounterNames[13], // Uops counter
125 X86PfmCounterNames[14], // Cycle counter
126 X86PfmCounterNames[32], // Uops counter
131 X86PfmCounterNames[0], // Cycle counter
132 X86PfmCounterNames[13], // Uops counter
[all …]
/third_party/boost/libs/contract/test/detail/
Dcounter.hpp14 struct counter { struct
17 counter() : value() { ++ctors_; } in counter() function
20 ~counter() { ++dtors_; } in ~counter() argument
23 /* implicit */ counter(counter const& other) : value(other.value) { in counter() function
28 counter& operator=(counter const& other) { in operator =() argument
36 static counter const& eval(counter const& me) { ++me.evals_; return me; } in eval() argument
47 template<class Tag, typename T> unsigned counter<Tag, T>::ctors_ = 0;
48 template<class Tag, typename T> unsigned counter<Tag, T>::dtors_ = 0;
49 template<class Tag, typename T> unsigned counter<Tag, T>::ctor_copies_ = 0;
50 template<class Tag, typename T> unsigned counter<Tag, T>::op_copies_ = 0;
[all …]
/third_party/glib/glib/
Dgtrace.c125 SysprofCaptureCounter counter; in guint() local
127 counter.id = sysprof_collector_request_counters (1); in guint()
130 if (counter.id == 0) in guint()
133 counter.type = SYSPROF_CAPTURE_COUNTER_INT64; in guint()
134 counter.value.v64 = 0; in guint()
135 g_strlcpy (counter.category, group, sizeof counter.category); in guint()
136 g_strlcpy (counter.name, name, sizeof counter.name); in guint()
137 g_strlcpy (counter.description, description, sizeof counter.description); in guint()
139 sysprof_collector_define_counters (&counter, 1); in guint()
141 g_assert (counter.id != 0); in guint()
[all …]
/third_party/mesa3d/src/intel/perf/
Dgen_perf.py198 def output_rpn_equation_code(set, counter, equation): argument
220 …able " + operand + " in equation " + equation + " for " + set.name + " :: " + counter.get('name'));
230counter.get('name') + ".\nThis is probably due to some unhandled RPN function, in the equation \""…
242 def splice_rpn_expression(set, counter, expression): argument
258 … " + operand + " in expression " + expression + " for " + set.name + " :: " + counter.get('name'));
267counter.get('name') + ".\nThis is probably due to some unhandled RPN operation, in the expression …
272 def output_counter_read(gen, set, counter): argument
274 c("/* {0} :: {1} */".format(set.name, counter.get('name')))
276 if counter.read_hash in hashed_funcs:
277 c("#define %s \\" % counter.read_sym)
[all …]
/third_party/ffmpeg/libavutil/
Daes_ctr.c31 uint8_t counter[AES_BLOCK_SIZE]; member
43 memcpy(a->counter, iv, AES_CTR_IV_SIZE); in av_aes_ctr_set_iv()
44 memset(a->counter + AES_CTR_IV_SIZE, 0, sizeof(a->counter) - AES_CTR_IV_SIZE); in av_aes_ctr_set_iv()
50 memcpy(a->counter, iv, sizeof(a->counter)); in av_aes_ctr_set_full_iv()
56 return a->counter; in av_aes_ctr_get_iv()
78 memset(a->counter, 0, sizeof(a->counter)); in av_aes_ctr_init()
92 static void av_aes_ctr_increment_be64(uint8_t* counter) in av_aes_ctr_increment_be64() argument
96 for (cur_pos = counter + 7; cur_pos >= counter; cur_pos--) { in av_aes_ctr_increment_be64()
106 av_aes_ctr_increment_be64(a->counter); in av_aes_ctr_increment_iv()
107 memset(a->counter + AES_CTR_IV_SIZE, 0, sizeof(a->counter) - AES_CTR_IV_SIZE); in av_aes_ctr_increment_iv()
[all …]
/third_party/boost/libs/fusion/example/performance/
Daccumulate.cpp45 long long counter, repeats; in time_for_std_accumulate() local
54 for(counter = 0; counter < iter; ++counter) in time_for_std_accumulate()
68 for(counter = 0; counter < iter; ++counter) in time_for_std_accumulate()
120 long long counter, repeats; in time_for_fusion_accumulate() local
129 for(counter = 0; counter < iter; ++counter) in time_for_fusion_accumulate()
145 for(counter = 0; counter < iter; ++counter) in time_for_fusion_accumulate()
166 long long counter, repeats;
177 for(counter = 0; counter < iter; ++counter)
191 for(counter = 0; counter < iter; ++counter)
209 long long counter, repeats;
[all …]
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Duniform_real_fp32.cc86 std::vector<uint32_t> counter = counter_; in operator ()() local
89 counter = ComputeSingleRound(counter, key); in operator ()()
91 counter = ComputeSingleRound(counter, key); in operator ()()
93 counter = ComputeSingleRound(counter, key); in operator ()()
95 counter = ComputeSingleRound(counter, key); in operator ()()
97 counter = ComputeSingleRound(counter, key); in operator ()()
99 counter = ComputeSingleRound(counter, key); in operator ()()
101 counter = ComputeSingleRound(counter, key); in operator ()()
103 counter = ComputeSingleRound(counter, key); in operator ()()
105 counter = ComputeSingleRound(counter, key); in operator ()()
[all …]
/third_party/boost/libs/numeric/odeint/test/
Ddiagnostic_state_type.hpp28 struct counter struct
57 counter< N >::adjust_size_count() = 0; in init_counter() argument
58 counter< N >::construct_count() = 0; in init_counter()
59 counter< N >::copy_count() = 0; in init_counter()
60 counter< N >::destroy_count() = 0; in init_counter()
73 typedef counter< 0 > counter_state;
74 typedef counter< 1 > counter_deriv;
75 typedef counter< 2 > counter_state2;
76 typedef counter< 3 > counter_deriv2;
125 counter< N >::adjust_size_count()++; in resize()
[all …]
/third_party/boost/libs/xpressive/perf/
Dtime_boost.cpp24 int counter, repeats; in time_match() local
30 for(counter = 0; counter < iter; ++counter) in time_match()
43 for(counter = 0; counter < iter; ++counter) in time_match()
69 int counter, repeats; in time_find_all() local
75 for(counter = 0; counter < iter; ++counter) in time_find_all()
93 for(counter = 0; counter < iter; ++counter) in time_find_all()
Dtime_dynamic_xpressive.cpp26 int counter, repeats; in time_match() local
33 for(counter = 0; counter < iter; ++counter) in time_match()
46 for(counter = 0; counter < iter; ++counter) in time_match()
69 int counter, repeats; in time_find_all() local
75 for(counter = 0; counter < iter; ++counter) in time_find_all()
92 for(counter = 0; counter < iter; ++counter) in time_find_all()
/third_party/mesa3d/src/freedreno/ds/
Dfd_pps_driver.cc58 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()
199 for (auto &counter : counters) { in enable_all_counters() local
200 enabled_counters.push_back(counter); in enable_all_counters()
292 const struct fd_perfcntr_counter *counter = d->state[id].counter; in configure() local
296 if (counter->enable && reset) { in configure()
297 OUT_PKT4(ring, counter->enable, 1); in configure()
[all …]
/third_party/jerryscript/tests/jerry/es2015/
Dmap-prototype-foreach.js24 var counter = 0; variable
28 assert (key === "foo" + counter);
30 assert (value === counter);
31 counter++;
36 counter = 0;
46 assert (key === counter + 0.5);
48 assert (value === "foo" + counter);
49 counter++;
54 counter = 0;
67 assert (key === objectList[counter]);
[all …]
/third_party/boost/libs/hana/test/issues/
Dgithub_31.cpp20 struct counter { }; struct
24 struct at_impl<counter<i>> {
26 static constexpr auto apply(counter<i>, N const&) { in apply()
32 struct drop_front_impl<counter<i>> {
34 static constexpr auto apply(counter<i>, N) { return counter<i + N::value>{}; } in apply()
38 struct is_empty_impl<counter<i>> {
39 static constexpr auto apply(counter<i>) { return hana::false_c; } in apply()
47 BOOST_HANA_CONSTANT_CHECK(hana::any_of(counter<1>{}, hana::equal.to(hana::int_c<4>))); in main()
50 hana::find_if(counter<1>{}, hana::equal.to(hana::int_c<4>)), in main()
/third_party/skia/resources/sksl/shared/
DEmptyBlocksES2.sksl6 for (int counter=0; counter<10; ++counter) ;
7 for (int counter=0; counter<10; ++counter) {}
8 for (int counter=0; counter<10; ++counter) { false, 1 == 2; unknownInput; }
/third_party/openGLES/extensions/AMD/
DAMD_shader_atomic_counter_ops.txt69 The underlying counter is a 32-bit unsigned integer. The result of
72 Additions to the table listing atomic counter built-in functions:
77 … atomic_uint c, 1. increments the counter for c, then forces it to zero if and
82 counter functions in this table.
85 … atomic_uint c, 1. decrements the counter for c, then forces it to <wrap>-1 if
86 … uint wrap and only if the original value of the counter was either
90 counter functions in this table.
93 atomic_uint c, 1. adds the value of <data> to the counter for c, and
96 counter functions in this table.
99 … atomic_uint c, 1. subtracts the value of <data> from the counter for c, and
[all …]
/third_party/openGLES/extensions/NV/
DNV_shader_atomic_counters.txt40 The extension uses the same set of atomic counter buffer binding points as
97 <counterBufBinding> ::= "program" "." "counter" <arrayMemAbs>
103 Atomic counter buffers are arrays consisting of single-component unsigned
105 implementation-dependent number of atomic counter buffer object binding
106 points to which buffer objects can be attached. Atomic counter variables
112 Atomic counter buffer bindings are established by calling BindBufferBase,
115 extension. The number of atomic counter buffer object binding points is
123 Atomic counter variables may only be used as operands in the ATOMCTR
125 general instructions. Atomic counter variables must be declared
126 explicitly via the <COUNTER_statement> grammar rule. Atomic counter
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_shader_atomic_counters.txt40 The extension uses the same set of atomic counter buffer binding points as
97 <counterBufBinding> ::= "program" "." "counter" <arrayMemAbs>
103 Atomic counter buffers are arrays consisting of single-component unsigned
105 implementation-dependent number of atomic counter buffer object binding
106 points to which buffer objects can be attached. Atomic counter variables
112 Atomic counter buffer bindings are established by calling BindBufferBase,
115 extension. The number of atomic counter buffer object binding points is
123 Atomic counter variables may only be used as operands in the ATOMCTR
125 general instructions. Atomic counter variables must be declared
126 explicitly via the <COUNTER_statement> grammar rule. Atomic counter
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/
DAMD_shader_atomic_counter_ops.txt69 The underlying counter is a 32-bit unsigned integer. The result of
72 Additions to the table listing atomic counter built-in functions:
77 … atomic_uint c, 1. increments the counter for c, then forces it to zero if and
82 counter functions in this table.
85 … atomic_uint c, 1. decrements the counter for c, then forces it to <wrap>-1 if
86 … uint wrap and only if the original value of the counter was either
90 counter functions in this table.
93 atomic_uint c, 1. adds the value of <data> to the counter for c, and
96 counter functions in this table.
99 … atomic_uint c, 1. subtracts the value of <data> from the counter for c, and
[all …]
/third_party/boost/boost/smart_ptr/
Dintrusive_ref_counter.hpp49 static unsigned int load(unsigned int const& counter) BOOST_SP_NOEXCEPT in load()
51 return counter; in load()
54 static void increment(unsigned int& counter) BOOST_SP_NOEXCEPT in increment()
56 ++counter; in increment()
59 static unsigned int decrement(unsigned int& counter) BOOST_SP_NOEXCEPT in decrement()
61 return --counter; in decrement()
75 static unsigned int load(boost::detail::atomic_count const& counter) BOOST_SP_NOEXCEPT in load()
77 return static_cast< unsigned int >(static_cast< long >(counter)); in load()
80 static void increment(boost::detail::atomic_count& counter) BOOST_SP_NOEXCEPT in increment()
82 ++counter; in increment()
[all …]

12345678910>>...68