/third_party/json/tests/src/ |
H A D | unit-items.cpp | 29 int counter = 1; variable 33 switch (counter++) 56 CHECK(counter == 3); 62 int counter = 1; variable 66 switch (counter++) 97 CHECK(counter == 3); 106 int counter = 1; variable 110 switch (counter++) 133 CHECK(counter == 3); 139 int counter variable 175 int counter = 1; global() variable 208 int counter = 1; global() variable 241 int counter = 1; global() variable 274 int counter = 1; global() variable 310 int counter = 1; global() variable 343 int counter = 1; global() variable 387 int counter = 1; global() variable 420 int counter = 1; global() variable 456 int counter = 1; global() variable 489 int counter = 1; global() variable 522 int counter = 1; global() variable 555 int counter = 1; global() variable 591 int counter = 1; global() variable 606 int counter = 1; global() variable 627 int counter = 1; global() variable 642 int counter = 1; global() variable 660 int counter = 1; global() variable 675 int counter = 1; global() variable 690 int counter = 1; global() variable 705 int counter = 1; global() variable 726 int counter = 1; global() variable 759 int counter = 1; global() variable 803 int counter = 1; global() variable 836 int counter = 1; global() variable 888 int counter = 1; global() variable 921 int counter = 1; global() variable 954 int counter = 1; global() variable 987 int counter = 1; global() variable 1023 int counter = 1; global() variable 1056 int counter = 1; global() variable 1100 int counter = 1; global() variable 1133 int counter = 1; global() variable 1169 int counter = 1; global() variable 1202 int counter = 1; global() variable 1235 int counter = 1; global() variable 1268 int counter = 1; global() variable 1304 int counter = 1; global() variable 1319 int counter = 1; global() variable 1340 int counter = 1; global() variable 1355 int counter = 1; global() variable 1373 int counter = 1; global() variable 1388 int counter = 1; global() variable 1403 int counter = 1; global() variable 1418 int counter = 1; global() variable [all...] |
/third_party/mesa3d/src/freedreno/ds/ |
H A D | fd_pps_driver.cc | 123 counter("GPU Frequency", Counter::Units::Hertz, [=]() { in setup_a6xx_counters() 128 counter("GPU % Utilization", Counter::Units::Percent, [=]() { in setup_a6xx_counters() 133 counter("TP L1 Cache Misses", Counter::Units::None, [=]() { in setup_a6xx_counters() 138 counter("Shader Core Utilization", Counter::Units::Percent, [=]() { in setup_a6xx_counters() 144 counter("(?) % Texture Fetch Stall", Counter::Units::Percent, [=]() { in setup_a6xx_counters() 150 counter("(?) % Vertex Fetch Stall", Counter::Units::Percent, [=]() { in setup_a6xx_counters() 155 counter("L1 Texture Cache Miss Per Pixel", Counter::Units::None, [=]() { in setup_a6xx_counters() 160 counter("% Texture L1 Miss", Counter::Units::Percent, [=]() { in setup_a6xx_counters() 165 counter("% Texture L2 Miss", Counter::Units::Percent, [=]() { in setup_a6xx_counters() 171 counter("( in setup_a6xx_counters() 599 const struct fd_perfcntr_counter *counter = d->state[id].counter; configure() local 629 const struct fd_perfcntr_counter *counter = d->state[id].counter; collect() local 691 FreedrenoDriver::counter(std::string name, Counter::Units units, counter() function in pps::FreedrenoDriver 694 auto counter = DerivedCounter(this, name, units, derive); counter() local [all...] |
/third_party/jerryscript/tests/jerry/ |
H A D | regression-test-issue-1282.js | 15 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 [all...] |
/third_party/node/benchmark/process/ |
H A D | next-tick-depth-args.js | 9 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/mesa3d/src/intel/perf/ |
H A D | gen_perf.py | 243 def output_rpn_equation_code(set, counter, equation): 261 raise Exception("Failed to resolve variable " + operand + " in equation " + equation + " for " + set.name + " :: " + counter.get('name')); 272 counter.get('name') + ".\nThis is probably due to some unhandled RPN function, in the equation \"" + 280 raise Exception("Failed to resolve variable " + operand + " in equation " + equation + " for " + set.name + " :: " + counter.get('name')); 285 def splice_rpn_expression(set, counter, expression): 300 raise Exception("Failed to resolve variable " + operand + " in expression " + expression + " for " + set.name + " :: " + counter.get('name')) 310 counter.get('name') + ".\nThis is probably due to some unhandled RPN operation, in the expression \"" + 318 raise Exception("Failed to resolve variable " + operand + " in expression " + expression + " for " + set.name + " :: " + counter.get('name')) 323 def output_counter_read(gen, set, counter): 325 c("/* {0} :: {1} */".format(set.name, counter [all...] |
H A D | intel_perf_private.h | 44 struct intel_perf_query_counter *counter; in intel_perf_query_add_stat_reg() local 48 counter = &query->counters[query->n_counters]; in intel_perf_query_add_stat_reg() 49 counter->name = counter->symbol_name = name; in intel_perf_query_add_stat_reg() 50 counter->desc = description; in intel_perf_query_add_stat_reg() 51 counter->type = INTEL_PERF_COUNTER_TYPE_RAW; in intel_perf_query_add_stat_reg() 52 counter->data_type = INTEL_PERF_COUNTER_DATA_TYPE_UINT64; in intel_perf_query_add_stat_reg() 53 counter->offset = sizeof(uint64_t) * query->n_counters; in intel_perf_query_add_stat_reg() 54 counter->pipeline_stat.reg = reg; in intel_perf_query_add_stat_reg() 55 counter in intel_perf_query_add_stat_reg() [all...] |
/third_party/mesa3d/src/amd/common/ |
H A D | ac_spm.c | 72 struct ac_spm_counter_info *counter, in ac_spm_init_muxsel() 75 struct ac_spm_muxsel *muxsel = &counter->muxsel; in ac_spm_init_muxsel() 77 muxsel->counter = 2 * spm_wire + (counter->is_even ? 0 : 1); in ac_spm_init_muxsel() 86 struct ac_spm_counter_info *counter, in ac_spm_map_counter() 97 cntr_sel->sel0 |= S_036700_PERF_SEL(counter->event_id) | in ac_spm_map_counter() 102 /* 32-bits counter are always even. */ in ac_spm_map_counter() 103 counter->is_even = true; in ac_spm_map_counter() 119 cntr_sel->sel0 |= S_037004_PERF_SEL(counter->event_id) | in ac_spm_map_counter() 124 cntr_sel->sel0 |= S_037004_PERF_SEL1(counter in ac_spm_map_counter() 71 ac_spm_init_muxsel(const struct ac_pc_block *block, struct ac_spm_counter_info *counter, uint32_t spm_wire) ac_spm_init_muxsel() argument 84 ac_spm_map_counter(struct ac_spm_trace_data *spm_trace, struct ac_spm_block_select *block_sel, struct ac_spm_counter_info *counter, uint32_t *spm_wire) ac_spm_map_counter() argument 160 struct ac_spm_counter_info *counter; ac_spm_add_counter() local 243 struct ac_spm_counter_info *counter = &spm_trace->counters[c]; ac_init_spm() local 306 struct ac_spm_counter_info *counter = &spm_trace->counters[i]; ac_init_spm() local [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | aes_ctr.c | 34 uint8_t counter[AES_BLOCK_SIZE]; member 47 memcpy(a->counter, iv, AES_CTR_IV_SIZE); in av_aes_ctr_set_iv() 48 memset(a->counter + AES_CTR_IV_SIZE, 0, sizeof(a->counter) - AES_CTR_IV_SIZE); in av_aes_ctr_set_iv() 54 memcpy(a->counter, iv, sizeof(a->counter)); in av_aes_ctr_set_full_iv() 60 return a->counter; in av_aes_ctr_get_iv() 77 memset(a->counter, 0, sizeof(a->counter)); in av_aes_ctr_init() 88 static void av_aes_ctr_increment_be64(uint8_t* counter) in av_aes_ctr_increment_be64() argument [all...] |
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | map-prototype-foreach.js | 24 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/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_perf.h | 77 /** Increment the named counter (only for debug builds) */ 79 #define LP_COUNT(counter) lp_count.counter++ 80 #define LP_COUNT_ADD(counter, incr) lp_count.counter += (incr) 81 #define LP_COUNT_GET(counter) (lp_count.counter) 83 #define LP_COUNT(counter) do {} while (0) 84 #define LP_COUNT_ADD(counter, incr) (void)(incr) 85 #define LP_COUNT_GET(counter) [all...] |
/third_party/libinput/test/ |
H A D | test-path.c | 37 struct counter { struct 45 struct counter *c = data; in open_restricted_count() 57 struct counter *c = data; in close_restricted_count() 89 struct counter counter; in START_TEST() local 91 counter.open_func_count = 0; in START_TEST() 92 counter.close_func_count = 0; in START_TEST() 96 li = libinput_path_create_context(&counting_interface, &counter); in START_TEST() 100 ck_assert_int_eq(counter.open_func_count, 0); in START_TEST() 101 ck_assert_int_eq(counter in START_TEST() 110 struct counter counter; START_TEST() local 137 struct counter counter; START_TEST() local 165 struct counter counter; START_TEST() local 198 struct counter counter; START_TEST() local 230 struct counter counter; START_TEST() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
H A D | blocking_counter_benchmark.cc | 26 absl::BlockingCounter counter{iterations}; in BM_BlockingCounter_SingleThread() 28 counter.DecrementCount(); in BM_BlockingCounter_SingleThread() 30 counter.Wait(); in BM_BlockingCounter_SingleThread() 42 static absl::BlockingCounter* counter = in BM_BlockingCounter_DecrementCount() local 45 counter->DecrementCount(); in BM_BlockingCounter_DecrementCount() 64 absl::BlockingCounter counter{num_threads}; in BM_BlockingCounter_Wait() 65 pool.Schedule([num_threads, &counter, &pool]() { in BM_BlockingCounter_Wait() 67 pool.Schedule([&counter]() { counter.DecrementCount(); }); in BM_BlockingCounter_Wait() 70 counter in BM_BlockingCounter_Wait() [all...] |
H A D | blocking_counter_test.cc | 28 void PauseAndDecreaseCounter(BlockingCounter* counter, int* done) { in PauseAndDecreaseCounter() argument 31 counter->DecrementCount(); in PauseAndDecreaseCounter() 36 // number of threads that just sleep for a second and decrement a counter. in TEST() 38 // Initialize the counter. in TEST() 40 BlockingCounter counter(num_workers); in TEST() 50 [&counter, &done, k] { PauseAndDecreaseCounter(&counter, &done[k]); }); in TEST() 54 counter.Wait(); in TEST() 67 BlockingCounter counter(0); in TEST() 68 counter in TEST() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
H A D | eap_psk_common.c | 38 u8 counter = 1; in eap_psk_derive_keys() local 44 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 47 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 48 counter++; in eap_psk_derive_keys() 51 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 54 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 55 counter++; in eap_psk_derive_keys() 59 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 63 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 64 counter in eap_psk_derive_keys() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
H A D | eap_psk_common.c | 38 u8 counter = 1; in eap_psk_derive_keys() local 44 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 47 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 48 counter++; in eap_psk_derive_keys() 51 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 54 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 55 counter++; in eap_psk_derive_keys() 59 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 63 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys() 64 counter in eap_psk_derive_keys() [all...] |
/third_party/benchmark/test/ |
H A D | perf_counters_gtest.cc | 50 EXPECT_EQ(PerfCounters::Create({"not a counter name"}).num_counters(), 0); in TEST() 54 auto counter = in TEST() local 56 EXPECT_EQ(counter.num_counters(), 2); in TEST() 57 EXPECT_EQ(counter.names(), std::vector<std::string>( in TEST() 61 // Try sneaking in an outrageous counter, like a fat finger mistake in TEST() 62 auto counter = PerfCounters::Create( in TEST() local 63 {kGenericPerfEvent2, "not a counter name", kGenericPerfEvent1}); in TEST() 64 EXPECT_EQ(counter.num_counters(), 2); in TEST() 65 EXPECT_EQ(counter.names(), std::vector<std::string>( in TEST() 76 auto counter in TEST() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/dh/ |
H A D | dh_asn1.c | 63 BIGNUM *counter; 76 ASN1_SIMPLE(int_dhvparams, counter, BIGNUM) 118 /* The counter has a maximum value of 4 * numbits(p) - 1 */ in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname() 119 size_t counter = (size_t)BN_get_word(dhx->vparams->counter); in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname() local 122 counter); in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname() 124 BN_free(dhx->vparams->counter); in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname() 143 int counter; in i2d_DHxparams() local 148 ossl_ffc_params_get_validate_params(params, &seed.data, &seedlen, &counter); in i2d_DHxparams() 151 if (counter ! in i2d_DHxparams() [all...] |
/third_party/openssl/crypto/dh/ |
H A D | dh_asn1.c | 63 BIGNUM *counter; 76 ASN1_SIMPLE(int_dhvparams, counter, BIGNUM) 118 /* The counter has a maximum value of 4 * numbits(p) - 1 */ in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname() 119 size_t counter = (size_t)BN_get_word(dhx->vparams->counter); in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname() local 122 counter); in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname() 124 BN_free(dhx->vparams->counter); in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname() 143 int counter; in i2d_DHxparams() local 148 ossl_ffc_params_get_validate_params(params, &seed.data, &seedlen, &counter); in i2d_DHxparams() 151 if (counter ! in i2d_DHxparams() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | dss.c | 50 int counter; member 168 ctx->counter = 0; in dss_read_header() 180 ctx->counter += DSS_BLOCK_SIZE - DSS_AUDIO_BLOCK_HEADER_SIZE; in dss_skip_audio_header() 209 if (ctx->counter == 0) in dss_sp_read_packet() 226 if (ctx->counter < read_size) { in dss_sp_read_packet() 228 ctx->counter); in dss_sp_read_packet() 229 if (ret < ctx->counter) in dss_sp_read_packet() 232 offset = ctx->counter; in dss_sp_read_packet() 235 ctx->counter -= read_size; in dss_sp_read_packet() 262 if (ctx->counter in dss_723_1_read_packet() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | waitgroup_test.cpp | 36 std::atomic<int> counter = {0}; in TEST_P() local 37 marl::schedule([&counter, wg] { in TEST_P() 38 counter++; in TEST_P() 42 ASSERT_EQ(counter.load(), 1); in TEST_P() 47 std::atomic<int> counter = {0}; in TEST_P() local 49 marl::schedule([&counter, wg] { in TEST_P() 50 counter++; in TEST_P() 55 ASSERT_EQ(counter.load(), 10); in TEST_P()
|
/third_party/rust/crates/minimal-lexical/src/ |
H A D | slow.rs | 185 ($c:ident, $value:ident, $counter:ident, $count:ident) => {{ 191 $counter += 1; 206 // Safe is `counter <= step`, or smaller than the table size. 207 ($format:ident, $result:ident, $counter:ident, $value:ident) => { 208 if $counter != 0 { 209 // SAFETY: safe, since `counter <= step`, or smaller than the table size. 210 let small_power = unsafe { f64::int_pow_fast_path($counter, 10) }; 212 $counter = 0; 217 // Add a temporary where we won't read the counter results internally. 221 // Safe is `counter < 278 let mut counter: usize = 0; parse_mantissa() variables [all...] |
/third_party/skia/tests/ |
H A D | PictureShaderTest.cpp | 70 int counter; in DEF_TEST() member 76 auto counter = [](const SkResourceCache::Rec& rec, void* dataPtr) { in DEF_TEST() local 78 ((Data*)dataPtr)->counter += 1; in DEF_TEST() 82 SkResourceCache::VisitAll(counter, &data); in DEF_TEST() 83 REPORTER_ASSERT(reporter, data.counter == 0); in DEF_TEST() 100 data.counter = 0; in DEF_TEST() 101 SkResourceCache::VisitAll(counter, &data); in DEF_TEST() 102 REPORTER_ASSERT(reporter, data.counter == 1); in DEF_TEST() 109 data.counter = 0; in DEF_TEST() 110 SkResourceCache::VisitAll(counter, in DEF_TEST() [all...] |
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 27 unsigned int counter[CHACHA_CTR_SIZE / 4]; member 50 key->counter[i/4] = CHACHA_U8TOU32(iv+i); in chacha_init_key() 76 key->counter[0]++; in chacha_cipher() 77 if (key->counter[0] == 0) in chacha_cipher() 78 key->counter[1]++; in chacha_cipher() 84 ctr32 = key->counter[0]; in chacha_cipher() 96 * As ChaCha20_ctr32 operates on 32-bit counter, caller in chacha_cipher() 107 ChaCha20_ctr32(out, inp, blocks, key->key.d, key->counter); in chacha_cipher() 112 key->counter[0] = ctr32; in chacha_cipher() 113 if (ctr32 == 0) key->counter[ in chacha_cipher() [all...] |
/third_party/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 27 unsigned int counter[CHACHA_CTR_SIZE / 4]; member 50 key->counter[i/4] = CHACHA_U8TOU32(iv+i); in chacha_init_key() 76 key->counter[0]++; in chacha_cipher() 77 if (key->counter[0] == 0) in chacha_cipher() 78 key->counter[1]++; in chacha_cipher() 84 ctr32 = key->counter[0]; in chacha_cipher() 96 * As ChaCha20_ctr32 operates on 32-bit counter, caller in chacha_cipher() 107 ChaCha20_ctr32(out, inp, blocks, key->key.d, key->counter); in chacha_cipher() 112 key->counter[0] = ctr32; in chacha_cipher() 113 if (ctr32 == 0) key->counter[ in chacha_cipher() [all...] |
/third_party/skia/third_party/externals/libpng/contrib/arm-neon/ |
H A D | linux.c | 41 int counter; in png_have_neon() local 43 for (state=StartLine, counter=0;;) in png_have_neon() 63 counter=0; in png_have_neon() 69 if ((ch & ~0x20) == ch_feature[counter]) in png_have_neon() 71 if (++counter == (sizeof ch_feature)) in png_have_neon() 112 counter = 0; in png_have_neon() 117 if ((ch & ~0x20) == ch_neon[counter]) in png_have_neon() 119 if (++counter == (sizeof ch_neon)) in png_have_neon()
|