Home
last modified time | relevance | path

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

12345678910

/dragonfly/contrib/gcc-4.7/gcc/
H A Dstatistics.c120 counter->id, counter->val, count); in statistics_fini_pass_1()
124 counter->prev_dumped_count = counter->count; in statistics_fini_pass_1()
138 counter->prev_dumped_count = counter->count; in statistics_fini_pass_2()
144 counter->id, counter->val, in statistics_fini_pass_2()
152 counter->id, in statistics_fini_pass_2()
155 counter->prev_dumped_count = counter->count; in statistics_fini_pass_2()
165 counter->prev_dumped_count = counter->count; in statistics_fini_pass_3()
210 counter->id, counter->val, in statistics_fini_1()
217 counter->id, in statistics_fini_1()
273 if (!*counter) in lookup_or_add_counter()
[all …]
H A Dcoverage.c344 elt.ctr = counter; in get_coverage_counts()
408 if (!fn_v_ctrs[counter]) in coverage_counter_alloc()
412 fn_v_ctrs[counter] in coverage_counter_alloc()
416 fn_b_ctrs[counter] = fn_n_ctrs[counter]; in coverage_counter_alloc()
417 fn_n_ctrs[counter] += num; in coverage_counter_alloc()
419 fn_ctr_mask |= 1 << counter; in coverage_counter_alloc()
430 gcc_assert (no < fn_n_ctrs[counter] - fn_b_ctrs[counter]); in tree_coverage_counter_ref()
432 no += fn_b_ctrs[counter]; in tree_coverage_counter_ref()
446 gcc_assert (no < fn_n_ctrs[counter] - fn_b_ctrs[counter]); in tree_coverage_counter_addr()
447 no += fn_b_ctrs[counter]; in tree_coverage_counter_addr()
[all …]
H A Ddbgcnt.def1 /* This file contains the list of the debug counter for GCC.
21 /* A debug counter provides you a way to count an event
22 and return false after the counter has exceeded the threshold
35 Every time dbg_cnt(named-counter) is called,
36 the counter is incremented for the named-counter.
43 To add a new counter, simply add an entry below with some descriptive name,
44 and add call(s) to dbg_cnt(your-counter-name) in appropriate places.
59 i.e. dbg_cnt() returns true always regardless of the counter value
70 to set the counter of the compilation command in tryTest. Then,
76 will automatically find the highest value of the counter for which
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dstatistics.c129 counter->id, counter->val, count); in statistics_fini_pass_1()
133 counter->prev_dumped_count = counter->count; in statistics_fini_pass_1()
148 counter->prev_dumped_count = counter->count; in statistics_fini_pass_2()
154 counter->id, counter->val, in statistics_fini_pass_2()
162 counter->id, in statistics_fini_pass_2()
165 counter->prev_dumped_count = counter->count; in statistics_fini_pass_2()
176 counter->prev_dumped_count = counter->count; in statistics_fini_pass_3()
220 counter->id, counter->val, in statistics_fini_1()
227 counter->id, in statistics_fini_1()
289 if (!*counter) in lookup_or_add_counter()
[all …]
H A Ddbgcnt.def1 /* This file contains the list of the debug counter for GCC.
21 /* A debug counter provides you a way to count an event
22 and return false after the counter has exceeded the threshold
35 Every time dbg_cnt(named-counter) is called,
36 the counter is incremented for the named-counter.
43 To add a new counter, simply add an entry below with some descriptive name,
44 and add call(s) to dbg_cnt(your-counter-name) in appropriate places.
59 i.e. dbg_cnt() returns true always regardless of the counter value
70 to set the counter of the compilation command in tryTest. Then,
76 will automatically find the highest value of the counter for which
[all …]
/dragonfly/contrib/gcc-4.7/libobjc/
H A Dsarray.c221 size_t counter; in sarray_new() local
260 for (counter = 0; counter < BUCKET_SIZE; counter++) in sarray_new()
264 for (counter = 0; counter < INDEX_SIZE; counter++) in sarray_new()
267 for (counter = 0; counter < num_indices; counter++) in sarray_new()
272 for (counter = 0; counter < num_indices; counter++) in sarray_new()
348 for (counter = 0; counter <= old_max_index; counter++ ) in sarray_realloc()
351 new_indices[counter] = old_indices[counter]; in sarray_realloc()
353 new_buckets[counter] = old_buckets[counter]; in sarray_realloc()
359 for (counter = old_max_index + 1; counter <= new_max_index; counter++) in sarray_realloc()
363 for (counter = old_max_index + 1; counter <= new_max_index; counter++) in sarray_realloc()
[all …]
/dragonfly/sys/dev/drm/include/linux/
H A Datomic.h38 volatile u_int counter; member
64 return i + atomic_fetchadd_int(&v->counter, i); in atomic_add_return()
70 return i + atomic_fetchadd_long(&v->counter, i); in atomic_add_return_long()
88 atomic_store_rel_int(&v->counter, i); in atomic_set()
94 atomic_store_rel_long(&v->counter, i); in atomic64_set()
100 return READ_ONCE(v->counter); in atomic_read()
106 return atomic_load_acq_long(&v->counter); in atomic64_read()
112 return atomic_fetchadd_int(&v->counter, 1) + 1; in atomic_inc()
158 atomic_clear_int(&v->counter, i); in atomic_andnot()
200 atomic_store_rel_int(&v->counter, i); in atomic_set_release()
[all …]
/dragonfly/usr.bin/tftp/
H A Dtftpsubs.c88 bfs[1].counter = BF_FREE; in rw_init()
105 bfs[current].counter = BF_FREE; /* free old one */ in readit()
109 if (b->counter == BF_FREE) /* if it's empty */ in readit()
113 return b->counter; in readit()
130 if (b->counter != BF_FREE) /* nop if not free */ in read_ahead()
137 b->counter = read(fileno(file), dp->th_data, SEGSIZE); in read_ahead()
160 b->counter = (int)(p - dp->th_data); in read_ahead()
172 if (bfs[current].counter != BF_FREE) /* if not free */ in writeit()
197 if (b->counter < -1) /* anything to flush? */ in write_behind()
200 count = b->counter; /* remember byte count */ in write_behind()
[all …]
/dragonfly/usr.sbin/keyserv/
H A Dcrypt_server.c88 short counter; in prepare_key() local
91 for(counter = 0; counter < 256; counter++) in prepare_key()
92 state[counter] = counter; in prepare_key()
97 for(counter = 0; counter < 256; counter++) in prepare_key()
99 index2 = (key_data_ptr[index1] + state[counter] + in prepare_key()
101 swap_byte(&state[counter], &state[index2]); in prepare_key()
114 short counter; in arcfour() local
120 for(counter = 0; counter < buffer_len; counter ++) in arcfour()
128 buffer_ptr[counter] ^= state[xorIndex]; in arcfour()
/dragonfly/sys/dev/acpica/
H A Dacpi_timer.c219 uint32_t counter; in acpi_timer_get_timecount24() local
224 AcpiGetTimer(&counter); in acpi_timer_get_timecount24()
227 0xFFFFFFFFFF000000LU) | counter; in acpi_timer_get_timecount24()
230 0xFFFFFFFFFF000000LU) | counter; in acpi_timer_get_timecount24()
244 uint32_t counter; in acpi_timer_get_timecount() local
249 AcpiGetTimer(&counter); in acpi_timer_get_timecount()
292 uint32_t counter; in acpi_timer_get_timecount_safe() local
302 0xFFFFFFFF00000000LU) | counter; in acpi_timer_get_timecount_safe()
305 0xFFFFFFFF00000000LU) | counter; in acpi_timer_get_timecount_safe()
309 0xFFFFFFFFFF000000LU) | counter; in acpi_timer_get_timecount_safe()
[all …]
/dragonfly/contrib/wpa_supplicant/src/eap_common/
H A Deap_psk_common.c38 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()
/dragonfly/test/stress/
H A Dt_mlock.c24 long counter = 0; in main() local
42 counter, beg, beg + len, in main()
47 counter, beg, beg + len); in main()
59 counter, beg, beg + len, in main()
63 counter, beg, beg + len); in main()
70 counter, beg, beg + len, in main()
75 counter, beg, beg + len); in main()
80 printf("%ld\r", counter); in main()
83 ++counter; in main()
/dragonfly/contrib/ee/
H A Dee.c551 for (counter = 1; counter < 24; counter++)
703 for (; counter > 0; counter--)
3369 for (counter = 0; counter <= list_size; counter++)
3581 for (counter = 0; counter < (max_width - 4); counter++)
3587 for (counter = 0; counter < (max_width - 4); counter++)
3600 for (counter = 0; counter < (vert_size + top_offset); counter++)
3651 for (counter = 1; counter <= list_size; counter++)
3668 for (counter = 0; counter < 22; counter++) in help()
3699 for (counter = 0; counter < 5; counter++) in paint_info_win()
4154 for (counter = 0; counter < 3; counter++) in ee_init()
[all …]
/dragonfly/test/sysperf/
H A Dmutex1.c17 int *counter; in main() local
26 counter = mtx + 64; in main()
46 ++counter[64]; in main()
57 ++counter[128]; in main()
67 ++counter[64]; in main()
71 printf("proc1=%d proc2=%d\n", counter[64], counter[128]); in main()
H A Dmutex2.c17 int *counter; in main() local
26 counter = mtx + 64; in main()
42 ++counter[64]; in main()
52 ++counter[128]; in main()
61 ++counter[64]; in main()
65 printf("proc1=%d proc2=%d\n", counter[64], counter[128]); in main()
H A Dmutex3.c56 int *counter; in main() local
65 counter = mtx + 64; in main()
82 ++counter[64]; in main()
93 ++counter[128]; in main()
102 ++counter[64]; in main()
106 printf("proc1=%d proc2=%d\n", counter[64], counter[128]); in main()
H A Dmutex4.c47 int *counter; in main() local
56 counter = mtx + 64; in main()
83 ++counter[128]; in main()
94 ++counter[64]; in main()
98 printf("proc1=%d proc2=%d\n", counter[64], counter[128]); in main()
/dragonfly/crypto/libressl/crypto/modes/
H A Dctr128.c67 static void ctr128_inc(unsigned char *counter) { in ctr128_inc() argument
73 c = counter[n]; in ctr128_inc()
75 counter[n] = c; in ctr128_inc()
82 ctr128_inc_aligned(unsigned char *counter) in ctr128_inc_aligned() argument
85 ctr128_inc(counter); in ctr128_inc_aligned()
88 data = (size_t *)counter; in ctr128_inc_aligned()
177 static void ctr96_inc(unsigned char *counter) { in ctr96_inc() argument
183 c = counter[n]; in ctr96_inc()
185 counter[n] = c; in ctr96_inc()
/dragonfly/sys/dev/drm/include/asm-generic/
H A Datomic-long.h31 volatile long counter; member
37 WRITE_ONCE(v->counter, i); in atomic_long_set()
43 return atomic_swap_long(&v->counter, val); in atomic_long_xchg()
52 if (atomic_fcmpset_long(&v->counter, &ret, new)) in atomic_long_cmpxchg()
68 if (likely(atomic_fcmpset_long(&v->counter, &c, c + a))) in atomic_long_add_unless()
/dragonfly/crypto/libressl/crypto/chacha/
H A Dchacha.c33 const unsigned char *counter) in ChaCha_set_iv() argument
35 chacha_ivsetup((chacha_ctx *)ctx, iv, counter); in ChaCha_set_iv()
70 const unsigned char key[32], const unsigned char iv[8], uint64_t counter) in CRYPTO_chacha_20() argument
82 if (counter != 0) { in CRYPTO_chacha_20()
83 ctx.input[12] = (uint32_t)counter; in CRYPTO_chacha_20()
84 ctx.input[13] = (uint32_t)(counter >> 32); in CRYPTO_chacha_20()
/dragonfly/contrib/wpa_supplicant/src/crypto/
H A Daes-ctr.c32 u8 counter[AES_BLOCK_SIZE], buf[AES_BLOCK_SIZE]; in aes_ctr_encrypt() local
37 os_memcpy(counter, nonce, AES_BLOCK_SIZE); in aes_ctr_encrypt()
40 aes_encrypt(ctx, counter, buf); in aes_ctr_encrypt()
49 counter[i]++; in aes_ctr_encrypt()
50 if (counter[i]) in aes_ctr_encrypt()
/dragonfly/sys/crypto/chacha20/
H A Dchacha.c86 x->input[12] = U8TO32_LITTLE(counter + 0); in chacha_ivsetup()
87 x->input[13] = U8TO32_LITTLE(counter + 4); in chacha_ivsetup()
88 x->input[14] = U8TO32_LITTLE(counter + 8); in chacha_ivsetup()
89 x->input[15] = U8TO32_LITTLE(counter + 12); in chacha_ivsetup()
92 x->input[12] = counter == NULL ? 0 : U8TO32_LITTLE(counter + 0); in chacha_ivsetup()
93 x->input[13] = counter == NULL ? 0 : U8TO32_LITTLE(counter + 4); in chacha_ivsetup()
101 chacha_ctrsave(const chacha_ctx *x, u8 *counter) in chacha_ctrsave() argument
103 U32TO8_LITTLE(counter + 0, x->input[12]); in chacha_ctrsave()
104 U32TO8_LITTLE(counter + 4, x->input[13]); in chacha_ctrsave()
105 U32TO8_LITTLE(counter + 8, x->input[14]); in chacha_ctrsave()
[all …]
/dragonfly/contrib/gcc-8.0/libgcc/
H A Dlibgcov-merge.c101 gcov_type value, counter, all; in __gcov_merge_single() local
108 counter = gcov_get_counter (); in __gcov_merge_single()
112 counters[1] += counter; in __gcov_merge_single()
113 else if (counter > counters[1]) in __gcov_merge_single()
116 counters[1] = counter - counters[1]; in __gcov_merge_single()
119 counters[1] -= counter; in __gcov_merge_single()
/dragonfly/crypto/libressl/crypto/bn/
H A Dbn_blind.c132 int counter; member
168 ret->counter = -1; in BN_BLINDING_new()
201 if (b->counter == -1) in BN_BLINDING_update()
202 b->counter = 0; in BN_BLINDING_update()
204 if (++b->counter == BN_BLINDING_COUNTER && b->e != NULL && in BN_BLINDING_update()
219 if (b->counter == BN_BLINDING_COUNTER) in BN_BLINDING_update()
220 b->counter = 0; in BN_BLINDING_update()
242 if (b->counter == -1) in BN_BLINDING_convert_ex()
244 b->counter = 0; in BN_BLINDING_convert_ex()
/dragonfly/contrib/wpa_supplicant/src/eap_server/
H A Deap_server_sim.c36 u16 counter; member
149 struct eap_sim_msg *msg, u16 counter, in eap_sim_build_encr() argument
168 } else if (data->counter <= EAP_SIM_MAX_FAST_REAUTHS) { in eap_sim_build_encr()
179 counter == 0 && nonce_s == NULL) in eap_sim_build_encr()
186 if (counter > 0) { in eap_sim_build_encr()
321 data->counter); in eap_sim_build_notification()
489 data->counter = data->reauth->counter; in eap_sim_process_start()
616 data->next_reauth_id, data->counter + 1, in eap_sim_process_challenge()
654 if (eattr.counter != data->counter) { in eap_sim_process_reauth()
657 eattr.counter, data->counter); in eap_sim_process_reauth()
[all …]

12345678910