Searched refs:counter (Results 1 - 25 of 249) sorted by relevance

12345678910

/freebsd-10.2-release/sys/pc98/include/
H A Dcounter.h4 /* $FreeBSD: releng/10.2/sys/pc98/include/counter.h 249268 2013-04-08 19:40:53Z glebius $ */
6 #include <i386/counter.h>
/freebsd-10.2-release/contrib/ntp/sntp/
H A Dlog.c7 static int counter = 0; variable
30 counter = 1; //counter++;
38 //counter--;
39 //if(counter <= 0){
40 if(counter == 1){
45 counter = 0;
/freebsd-10.2-release/contrib/wpa/src/eap_common/
H A Deap_psk_common.c38 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 Deap_peap_common.c19 unsigned char counter = 0; local
46 addr[3] = &counter;
64 addr[4] = &counter;
70 counter++;
/freebsd-10.2-release/sys/ofed/include/asm/
H A Datomic-long.h38 volatile u_long counter; member in struct:__anon11394
47 return i + atomic_fetchadd_long(&v->counter, i);
53 atomic_store_rel_long(&v->counter, i);
59 return atomic_load_acq_long(&v->counter);
65 return atomic_fetchadd_long(&v->counter, 1) + 1;
71 return atomic_fetchadd_long(&v->counter, -1) - 1;
H A Datomic.h38 volatile u_int counter; member in struct:__anon11395
53 return i + atomic_fetchadd_int(&v->counter, i);
59 return atomic_fetchadd_int(&v->counter, -i) - i;
65 atomic_store_rel_int(&v->counter, i);
71 return atomic_load_acq_int(&v->counter);
77 return atomic_fetchadd_int(&v->counter, 1) + 1;
83 return atomic_fetchadd_int(&v->counter, -1) - 1;
93 old = atomic_cmpset_int(&v->counter, c, c + (a));
/freebsd-10.2-release/sys/mips/include/
H A Dintr_machdep.h61 * 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-10.2-release/contrib/wpa/src/crypto/
H A Daes-ctr.c19 * @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 Dsha1-prf.c33 u8 counter = 0; local
44 addr[2] = &counter;
62 counter++;
H A Dsha256-prf.c32 u16 counter = 1; local
52 WPA_PUT_LE16(counter_le, counter);
62 counter++;
/freebsd-10.2-release/tools/tools/mid/
H A Dmid-index12 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-10.2-release/contrib/gcc/config/i386/
H A Dgthr-win32.c149 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-10.2-release/tools/test/hwpmc/
H A Dpmctest.py37 # 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-10.2-release/contrib/ntp/lib/isc/include/isc/
H A Dstats.h41 * 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-10.2-release/include/rpcsvc/
H A Dspray.x60 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-10.2-release/contrib/llvm/tools/lldb/source/Utility/
H A DRange.cpp79 ValueType counter = m_low; local
80 while (counter <= m_high)
82 bool should_continue = callback(counter);
85 counter++;
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DWorkList.h30 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-10.2-release/contrib/ntp/lib/isc/
H A Dstats.c75 * 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-10.2-release/contrib/ntp/lib/isc/win32/include/isc/
H A Donce.h30 LONG counter; member in struct:__anon4134
/freebsd-10.2-release/usr.sbin/keyserv/
H A Dcrypt_server.c91 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-10.2-release/tools/tools/netrate/tcpconnect/
H A Dtcpconnect.c111 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-10.2-release/crypto/openssl/crypto/modes/
H A Dctr128.c63 * 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
75 c = counter[n];
77 counter[n] = c;
84 static void ctr128_inc_aligned(unsigned char *counter) argument
95 ctr128_inc(counter);
99 data = (size_t *)counter;
113 * The input encrypted as though 128bit counter mode is being used. The
115 * used is contained in *num, and the encrypted counter i
190 ctr96_inc(unsigned char *counter) argument
[all...]
/freebsd-10.2-release/sys/geom/eli/
H A Dpkcs5v2.c56 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;
/freebsd-10.2-release/contrib/ntp/lib/isc/win32/
H A Donce.c36 if (InterlockedDecrement(&controller->counter) == 0) {
/freebsd-10.2-release/sys/netinet6/
H A Draw_ip6.h51 #include <sys/counter.h>

Completed in 335 milliseconds

12345678910