/freebsd-11.0-release/sys/pc98/include/ |
H A D | counter.h | 4 /* $FreeBSD: releng/11.0/sys/pc98/include/counter.h 249268 2013-04-08 19:40:53Z glebius $ */ 6 #include <i386/counter.h>
|
/freebsd-11.0-release/contrib/ntp/sntp/ |
H A D | log.c | 7 static int counter = 0; variable 30 counter = 1; //counter++; 38 //counter--; 39 //if(counter <= 0){ 40 if(counter == 1){ 45 counter = 0;
|
/freebsd-11.0-release/contrib/wpa/src/eap_common/ |
H A D | eap_psk_common.c | 38 u8 counter = 1; local 44 hash[aes_block_size - 1] ^= counter; 47 hash[aes_block_size - 1] ^= counter; 48 counter++; 51 hash[aes_block_size - 1] ^= counter; 54 hash[aes_block_size - 1] ^= counter; 55 counter++; 59 hash[aes_block_size - 1] ^= counter; 63 hash[aes_block_size - 1] ^= counter; 64 counter [all...] |
H A D | eap_peap_common.c | 19 unsigned char counter = 0; local 46 addr[3] = &counter; 64 addr[4] = &counter; 70 counter++;
|
/freebsd-11.0-release/sys/compat/linuxkpi/common/include/asm/ |
H A D | atomic-long.h | 38 #define ATOMIC_LONG_INIT(x) { .counter = (x) } 41 volatile long counter; member in struct:__anon7908 51 return i + atomic_fetchadd_long(&v->counter, i); 57 atomic_store_rel_long(&v->counter, i); 63 return atomic_load_acq_long(&v->counter); 69 return atomic_fetchadd_long(&v->counter, 1) + 1; 75 return atomic_fetchadd_long(&v->counter, -1) - 1; 87 if (likely(atomic_cmpset_long(&v->counter, c, c + a)))
|
H A D | atomic64.h | 36 volatile int64_t counter; member in struct:__anon7910 57 return i + atomic_fetchadd_64(&v->counter, i); 63 return atomic_fetchadd_64(&v->counter, -i) - i; 69 atomic_store_rel_64(&v->counter, i); 75 return atomic_load_acq_64(&v->counter); 81 return atomic_fetchadd_64(&v->counter, 1) + 1; 87 return atomic_fetchadd_64(&v->counter, -1) - 1; 99 if (likely(atomic_cmpset_64(&v->counter, c, c + a))) 110 return (atomic_swap_64(&v->counter, i)); 114 ret = atomic_load_acq_64(&v->counter); [all...] |
H A D | atomic.h | 38 #define ATOMIC_INIT(x) { .counter = (x) } 41 volatile int counter; member in struct:__anon7909 62 return i + atomic_fetchadd_int(&v->counter, i); 68 return atomic_fetchadd_int(&v->counter, -i) - i; 74 atomic_store_rel_int(&v->counter, i); 80 atomic_set_int(&v->counter, mask); 86 return atomic_load_acq_int(&v->counter); 92 return atomic_fetchadd_int(&v->counter, 1) + 1; 98 return atomic_fetchadd_int(&v->counter, -1) - 1; 110 if (likely(atomic_cmpset_int(&v->counter, [all...] |
/freebsd-11.0-release/contrib/wpa/src/crypto/ |
H A D | aes-ctr.c | 19 * @nonce: Nonce for counter mode (16 bytes) 31 u8 counter[AES_BLOCK_SIZE], buf[AES_BLOCK_SIZE]; local 36 os_memcpy(counter, nonce, AES_BLOCK_SIZE); 39 aes_encrypt(ctx, counter, buf); 48 counter[i]++; 49 if (counter[i])
|
H A D | sha1-prf.c | 33 u8 counter = 0; local 44 addr[2] = &counter; 62 counter++;
|
/freebsd-11.0-release/tools/tools/mid/ |
H A D | mid-index | 12 local($counter); 15 $counter = 0; 45 $counter++; 47 if ($debug && $counter % $speedstep == 0) { 48 print STDERR sprintf("\r%7d", $counter); 69 print STDERR sprintf("\r%7d", $counter) 70 if $debug && $counter % $speedstep != 0;
|
/freebsd-11.0-release/sys/mips/include/ |
H A D | intr_machdep.h | 61 * Opaque datatype that represents intr counter 69 mips_intrcnt_inc(mips_intrcnt_t counter) argument 71 if (counter) 72 atomic_add_long(counter, 1);
|
/freebsd-11.0-release/contrib/gcc/config/i386/ |
H A D | gthr-win32.c | 149 mutex->counter = -1; 156 if (InterlockedIncrement (&mutex->counter) == 0 || 163 InterlockedDecrement (&mutex->counter); 171 if (__GTHR_W32_InterlockedCompareExchange (&mutex->counter, 0, -1) < 0) 180 if (InterlockedDecrement (&mutex->counter) >= 0) 189 mutex->counter = -1; 199 if (InterlockedIncrement (&mutex->counter) == 0) 206 InterlockedDecrement (&mutex->counter); 218 InterlockedDecrement (&mutex->counter); 228 if (__GTHR_W32_InterlockedCompareExchange (&mutex->counter, [all...] |
/freebsd-11.0-release/tools/test/hwpmc/ |
H A D | pmctest.py | 37 # pmc counter present in a system. 43 # This should result in ls being run with every available counter 46 # The default is to wait after each counter is tested. Since the 85 for counter in counters.split(): 86 if counter in notcounter: 88 p = subprocess.Popen(["pmcstat", "-p", counter, options.program],
|
/freebsd-11.0-release/include/rpcsvc/ |
H A D | spray.x | 60 unsigned int counter; 72 * Just throw away the data and increment the counter 80 * Get the value of the counter and elapsed time since 87 * Clear the counter and reset the elapsed time
|
/freebsd-11.0-release/contrib/ntp/lib/isc/include/isc/ |
H A D | stats.h | 41 * Create a statistics counter structure of general type. It counts a general 86 isc_stats_increment(isc_stats_t *stats, isc_statscounter_t counter); 88 * Increment the counter-th counter of stats. 93 *\li counter is less than the maximum available ID for the stats specified 98 isc_stats_decrement(isc_stats_t *stats, isc_statscounter_t counter); 100 * Decrement the counter-th counter of stats. 110 * Dump the current statistics counters in a specified way. For each counter
|
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Utility/ |
H A D | Range.cpp | 79 ValueType counter = m_low; local 80 while (counter <= m_high) 82 bool should_continue = callback(counter); 85 counter++;
|
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | WorkList.h | 30 BlockCounter counter; member in class:clang::ento::WorkListUnit 38 counter(C), 44 counter(C), 51 /// Returns the block counter map associated with the worklist unit. 52 BlockCounter getBlockCounter() const { return counter; }
|
/freebsd-11.0-release/contrib/ntp/lib/isc/ |
H A D | stats.c | 75 * copy the current counter values into a local array. This buffer 195 incrementcounter(isc_stats_t *stats, int counter) { argument 201 * counter while we "writing" a counter field. The write access itself 208 prev = isc_atomic_xadd((isc_int32_t *)&stats->counters[counter].lo, 1); 218 isc_atomic_xadd((isc_int32_t *)&stats->counters[counter].hi, 1); 221 isc_atomic_xaddq((isc_int64_t *)&stats->counters[counter], 1); 224 stats->counters[counter]++; 233 decrementcounter(isc_stats_t *stats, int counter) { argument 241 prev = isc_atomic_xadd((isc_int32_t *)&stats->counters[counter] 295 isc_stats_increment(isc_stats_t *stats, isc_statscounter_t counter) argument 303 isc_stats_decrement(isc_stats_t *stats, isc_statscounter_t counter) argument [all...] |
/freebsd-11.0-release/contrib/ntp/lib/isc/win32/include/isc/ |
H A D | once.h | 30 LONG counter; member in struct:__anon4873
|
/freebsd-11.0-release/sys/netinet/ |
H A D | tcp_fastopen.h | 42 void tcp_fastopen_decrement_counter(unsigned int *counter);
|
/freebsd-11.0-release/sys/compat/linuxkpi/common/include/linux/ |
H A D | kref.h | 52 refcount_init(&kref->refcount.counter, 1); 59 refcount_acquire(&kref->refcount.counter); 66 if (refcount_release(&kref->refcount.counter)) { 79 if (refcount_release(&kref->refcount.counter)) {
|
/freebsd-11.0-release/usr.sbin/keyserv/ |
H A D | crypt_server.c | 91 short counter; local 94 for(counter = 0; counter < 256; counter++) 95 state[counter] = counter; 100 for(counter = 0; counter < 256; counter++) 102 index2 = (key_data_ptr[index1] + state[counter] 116 short counter; local [all...] |
/freebsd-11.0-release/crypto/openssl/crypto/modes/ |
H A D | ctr128.c | 63 * NOTE: the IV/counter CTR mode is big-endian. The code itself is 67 /* increment counter (128-bit int) by 1 */ 68 static void ctr128_inc(unsigned char *counter) argument 74 c += counter[n]; 75 counter[n] = (u8)c; 81 static void ctr128_inc_aligned(unsigned char *counter) argument 91 if (is_endian.little || ((size_t)counter % sizeof(size_t)) != 0) { 92 ctr128_inc(counter); 96 data = (size_t *)counter; 109 * The input encrypted as though 128bit counter mod 186 ctr96_inc(unsigned char *counter) argument [all...] |
/freebsd-11.0-release/tools/tools/netrate/tcpconnect/ |
H A D | tcpconnect.c | 111 u_int64_t counter; local 127 counter = 0; 130 counter++; 132 printf("%ju count\n", (uintmax_t)counter); 133 printf("%ju connections/second\n", (uintmax_t)(counter / SECONDS));
|
/freebsd-11.0-release/sys/geom/eli/ |
H A D | pkcs5v2.c | 56 uint8_t *counter, *keyp; local 63 counter = saltcount + saltsize; 69 counter[0] = (count >> 24) & 0xff; 70 counter[1] = (count >> 16) & 0xff; 71 counter[2] = (count >> 8) & 0xff; 72 counter[3] = count & 0xff;
|