Searched refs:counter (Results 51 - 75 of 431) sorted by relevance

1234567891011>>

/macosx-10.10.1/ntp-92/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...]
/macosx-10.10.1/ntp-92/lib/isc/win32/include/isc/
H A Donce.h30 int counter; member in struct:__anon11284
/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/demos-en/
H A Dtimer4 # This script generates a counter with start,stop and reset buttons.
30 $root.countframe.counter['text'] = $time
36 $root.countframe.counter['text'] = $time
49 $root.countframe.counter['text'] = $time
61 $root.countframe.counter['text'] = $time
67 attr_reader :counter
71 @counter = TkLabel.new(self,
74 @counter.pack('fill'=>'both')
/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/demos-jp/
H A Dtimer4 # This script generates a counter with start,stop and reset buttons.
30 $root.countframe.counter['text'] = $time
36 $root.countframe.counter['text'] = $time
49 $root.countframe.counter['text'] = $time
61 $root.countframe.counter['text'] = $time
67 attr_reader :counter
71 @counter = TkLabel.new(self,
74 @counter.pack('fill'=>'both')
/macosx-10.10.1/ppp-786.1.1/Documentation/scripts/
H A Dsecure-card38 set counter 0
100 incr counter
101 if { $counter > 8 } {
/macosx-10.10.1/tcl-105/tk/tk/library/demos/
H A Dtimer6 # This script generates a counter with start and stop buttons.
13 label .counter -text 0.00 -relief raised -width 10 -padx 2m -pady 1m
28 pack .counter -side bottom -fill both
41 .counter config -text [format "%.2f" [expr {double($elapsedMS)/1000}]]
/macosx-10.10.1/tcl-105/tk84/tk/library/demos/
H A Dtimer6 # This script generates a counter with start and stop buttons.
10 label .counter -text 0.00 -relief raised -width 10 -padx 2m -pady 1m
25 pack .counter -side bottom -fill both
38 .counter config -text [format "%.2f" [expr {double($elapsedMS)/1000}]]
/macosx-10.10.1/gnutar-453/gnutar/lib/
H A Drtapelib.c142 int counter;
146 for (counter = 0, cursor = command_buffer;
147 counter < COMMAND_BUFFER_SIZE;
148 counter++, cursor++)
162 if (counter == COMMAND_BUFFER_SIZE)
570 size_t counter;
578 for (counter = 0; counter < status; counter += rlen, buffer += rlen)
580 rlen = safe_read (READ_SIDE (handle), buffer, status - counter);
141 int counter; local
569 size_t counter; local
698 size_t counter; local
[all...]
/macosx-10.10.1/Librpcsvc-24/
H A Dspray.x65 unsigned int counter;
77 * Just throw away the data and increment the counter
85 * Get the value of the counter and elapsed time since
92 * Clear the counter and reset the elapsed time
/macosx-10.10.1/Heimdal-398.1.2/lib/hcrypto/
H A Dsha512.c49 #define A m->counter[0]
50 #define B m->counter[1]
51 #define C m->counter[2]
52 #define D m->counter[3]
53 #define E m->counter[4]
54 #define F m->counter[5]
55 #define G m->counter[6]
56 #define H m->counter[7]
254 r[8*i+7] = m->counter[i] & 0xFF;
255 r[8*i+6] = (m->counter[
[all...]
H A Dsha.h61 uint32_t counter[5]; member in struct:sha
79 uint32_t counter[8]; member in struct:hc_sha256state
97 uint64_t counter[8]; member in struct:hc_sha512state
H A Dsha256.c49 #define A m->counter[0]
50 #define B m->counter[1]
51 #define C m->counter[2]
52 #define D m->counter[3]
53 #define E m->counter[4]
54 #define F m->counter[5]
55 #define G m->counter[6]
56 #define H m->counter[7]
223 r[4*i+3] = m->counter[i] & 0xFF;
224 r[4*i+2] = (m->counter[
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/
H A Dentropy.c101 * Worse case is that this is a MD5 hash of a counter, if
109 * access to this counter may not be atomic.
111 static int counter = 0;
115 int counter;
150 rdata.counter = ++counter;
/macosx-10.10.1/Security-57031.1.35/Security/include/security_cdsa_utilities/
H A Dcallback.cpp64 CountingMutex *counter = it->second; local
66 StLock<Mutex> _(*counter);
67 if (!counter->isIdle()) // callbacks are scheduled against this
70 // counter is zero (idle), and we hold the entry lock (via our caller)
71 delete counter;
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_cdsa_utilities/lib/
H A Dcallback.cpp64 CountingMutex *counter = it->second; local
66 StLock<Mutex> _(*counter);
67 if (!counter->isIdle()) // callbacks are scheduled against this
70 // counter is zero (idle), and we hold the entry lock (via our caller)
71 delete counter;
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/win32/
H A Donce.c36 if (InterlockedDecrement(&controller->counter) == 0) {
/macosx-10.10.1/curl-83.1.2/curl/tests/libtest/
H A Dlib579.c36 int counter; member in struct:WriteThis
76 data = post[pooh->counter];
81 pooh->counter++; /* advance pointer */
93 pooh.counter = 0;
H A Dlib586.c38 int counter; member in struct:userdata
68 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter);
69 user->counter++;
95 printf("unlock: %-6s [%s]: %d\n", what, user->text, user->counter);
96 user->counter++;
144 user.counter = 0;
/macosx-10.10.1/ntp-92/lib/isc/win32/
H A Donce.c36 if (InterlockedDecrement(&controller->counter) == 0) {
/macosx-10.10.1/tcl-105/tcl_ext/xotcl/xotcl/apps/actiweb/
H A DCounter.xotcl20 ::receiver exportObjs [self] ;### export the counter object
21 my exportProcs increment ;### export counter's increment method
35 ### Create two counter instances with the names
36 ### counter-1.html and counter-2.html
37 Counter counter-1.html
38 Counter counter-2.html
/macosx-10.10.1/BerkeleyDB-21/db/php_db4/samples/
H A Dtransactional_counter.php15 $counter = $db->get("counter"); variable
22 print "Current value of counter is $counter\n";
24 // Increment and reset counter, protect it with $txn
25 $db->put("counter", $counter+1, $txn);
/macosx-10.10.1/apache-793/httpd/modules/metadata/
H A Dmod_unique_id.c42 unsigned short counter; member in struct:__anon6036
50 * It will. The reason is, we don't increment the counter in a thread_safe
53 * have to get the same counter twice in the same second.
77 * The stamp and counter are used to distinguish all hits for a particular
79 * saving cpu cycles. The counter is never reset, and is used to permit up to
122 * XXX: We should have a per-thread counter and not use cur_unique_id.counter
155 unique_id_rec_offset[3] = APR_OFFSETOF(unique_id_rec, counter);
156 unique_id_rec_size[3] = sizeof(cur_unique_id.counter);
250 * If we use 0 as the initial counter w
291 unsigned short counter; local
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/sec/Security/
H A DSecOTRSession.c251 uint8_t** messageKey, uint8_t** macKey, uint64_t **counter)
261 if (counter)
262 *counter = &constant_zero;
304 if (counter)
305 *counter = sending ? &cachedKeys->_counter : &cachedKeys->_theirCounter;
390 uint64_t *counter; local
391 SecOTRSFindKeysForMessage(session, session->_myKey, session->_theirKey, false, NULL, NULL, &counter);
392 require_noerr(ReadLongLong(&bytes, &size, counter), fail);
393 SecOTRSFindKeysForMessage(session, session->_myKey, session->_theirKey, true, NULL, NULL, &counter);
394 require_noerr(ReadLongLong(&bytes, &size, counter), fai
247 SecOTRSFindKeysForMessage(SecOTRSessionRef session, SecOTRFullDHKeyRef myKey, SecOTRPublicDHKeyRef theirKey, bool sending, uint8_t** messageKey, uint8_t** macKey, uint64_t **counter) argument
605 SecOTRSSignAndProtectRaw_locked(SecOTRSessionRef session, CFDataRef sourceMessage, CFMutableDataRef destinationMessage, uint8_t* messageKey, uint8_t* macKey, uint64_t* counter) argument
644 SecOTRSSignAndProtectCompact_locked(SecOTRSessionRef session, CFDataRef sourceMessage, CFMutableDataRef destinationMessage, uint8_t* messageKey, uint8_t* macKey, uint64_t* counter) argument
805 uint64_t counter; local
890 uint64_t counter; local
[all...]
/macosx-10.10.1/CommonCrypto-60061/test/CommonCrypto/
H A DCommonCryptoSymCTR.c54 byteBuffer counter = hexStringToBytes("f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff");
57 ccNoPadding, counter->bytes, key->bytes, key->len,
64 ccNoPadding, counter->bytes, key->bytes, key->len,
/macosx-10.10.1/apr-32/apr/apr/test/
H A Dtestmutexscope.c41 static volatile int counter; variable
95 ++counter;
123 counter = 0;
144 mech_name, counter == 1 ? "" : "not ");
147 if (counter != 1) {
152 fprintf(stderr, "counter value: %d\n", counter);

Completed in 438 milliseconds

1234567891011>>