Searched refs:count (Results 1 - 25 of 116) sorted by relevance

12345

/bind-9.11.3/util/
H A Dspacewhack.pl43 $count = s/[ \t]+$//mg;
45 next unless $count > 0;
55 printf("%6d lines trimmed in $file\n", $count) if $count > 0;
57 $total += $count;
/bind-9.11.3/lib/isc/
H A Dmutexblock.c19 isc_mutexblock_init(isc_mutex_t *block, unsigned int count) { argument
23 for (i = 0; i < count; i++) {
38 isc_mutexblock_destroy(isc_mutex_t *block, unsigned int count) { argument
42 for (i = 0; i < count; i++) {
H A Dpool.c28 unsigned int count; member in struct:isc_pool
40 alloc_pool(isc_mem_t *mctx, unsigned int count, isc_pool_t **poolp) { argument
46 pool->count = count;
52 pool->pool = isc_mem_get(mctx, count * sizeof(void *));
57 memset(pool->pool, 0, count * sizeof(void *));
64 isc_pool_create(isc_mem_t *mctx, unsigned int count, argument
73 INSIST(count > 0);
76 result = alloc_pool(mctx, count, &pool);
85 for (i = 0; i < count;
111 isc_pool_expand(isc_pool_t **sourcep, unsigned int count, isc_pool_t **targetp) argument
[all...]
H A Dlfsr.c26 isc_uint32_t tap, unsigned int count,
36 lfsr->count = count;
40 if (count == 0 && reseed != NULL)
77 isc_lfsr_generate(isc_lfsr_t *lfsr, void *data, unsigned int count) argument
85 REQUIRE(count > 0);
88 byte = count;
100 if (lfsr->count != 0 && lfsr->reseed != NULL) {
101 if (lfsr->count <= count *
25 isc_lfsr_init(isc_lfsr_t *lfsr, isc_uint32_t state, unsigned int bits, isc_uint32_t tap, unsigned int count, isc_lfsrreseed_t reseed, void *arg) argument
[all...]
/bind-9.11.3/lib/isc/include/isc/
H A Dmutexblock.h23 isc_mutexblock_init(isc_mutex_t *block, unsigned int count);
32 *\li count > 0
41 isc_mutexblock_destroy(isc_mutex_t *block, unsigned int count);
49 *\li count > 0
H A Dlfsr.h25 * It MUST set "count" to a new value or the lfsr will never reseed again.
40 unsigned int count; /*%< reseed count (in BITS!) */ member in struct:isc_lfsr
50 isc_uint32_t tap, unsigned int count,
70 isc_lfsr_generate(isc_lfsr_t *lfsr, void *data, unsigned int count);
72 * Returns "count" bytes of data from the LFSR.
80 *\li count > 0.
H A Dpool.h54 isc_pool_create(isc_mem_t *mctx, unsigned int count,
59 * Create a pool of "count" object pointers. If 'free' is not NULL,
99 isc_pool_expand(isc_pool_t **sourcep, unsigned int count, isc_pool_t **targetp);
103 * 'sourcep', then a new pool of size 'count' is allocated, the existing
105 * total number up to 'count', and the resulting pool is attached to
108 * If 'count' is less than or equal to the number of objects in 'source', then
/bind-9.11.3/bin/tests/system/pkcs11ssl/
H A Dtests.sh22 count=`$PK11LIST | grep robie-rsa-ksk | wc -l`
23 if [ $count != 2 ]; then echo "I:failed"; status=1; fi
27 count=`grep RRSIG $zonefile.signed | wc -l`
28 if [ $count != 12 ]; then echo "I:failed"; status=1; fi
46 count=`grep RRSIG dig.out | wc -l`
47 if [ $count != 4 ]; then echo "I:failed"; status=1; fi
56 count=`$PK11LIST | grep robie-rsa | wc -l`
57 if [ $count != 0 ]; then echo "I:failed"; fi
58 status=`expr $status + $count`
/bind-9.11.3/bin/tests/system/rndc/
H A Dgencheck.c24 check(const char *buf, ssize_t count, size_t *start) { argument
29 i < count;
47 ssize_t count; local
66 while ((count = read(fd, buf, sizeof(buf))) != 0) {
67 if (count < 0)
70 if (!check(buf, count, &start))
73 length += count;
/bind-9.11.3/bin/tests/system/mkeys/
H A Dtests.sh131 count=`grep -c "keyid: " rndc.out.$n`
132 [ "$count" -eq 2 ] || ret=1
134 count=`grep -c "trust" rndc.out.$n`
135 [ "$count" -eq 2 ] || ret=1
137 count=`grep -c "trusted since" rndc.out.$n`
138 [ "$count" -eq 1 ] || ret=1
140 count=`grep -c "trust pending" rndc.out.$n`
141 [ "$count" -eq 1 ] || ret=1
151 count=`grep -c "keyid: " rndc.out.$n`
152 [ "$count"
[all...]
/bind-9.11.3/bin/tests/
H A Dkeyboard_test.c34 unsigned int count; local
45 count = 0;
50 count++;
51 if (count % 64 == 0)
/bind-9.11.3/bin/tests/system/reclimit/
H A Dtests.sh33 # count is variable:
34 # - if ns3 sends AAAA queries, the query count should equal $2,
35 # - if ns3 does not send AAAA queries, the query count should equal $3.
37 count=`sed 's/[^0-9]//g;' $1`
47 if [ $count -ne $expected_count ]; then
48 echo "I: count ($count) != $expected_count"
62 $DIG $DIGOPTS +short @10.53.0.2 count txt > dig.out.2.test$n || ret=1
75 $DIG $DIGOPTS +short @10.53.0.2 count txt > dig.out.2.test$n || ret=1
90 $DIG $DIGOPTS +short @10.53.0.2 count tx
[all...]
/bind-9.11.3/bin/tests/system/reclimit/ans7/
H A Dans.pl24 my $count = 0;
37 $count += 1;
39 if ($qname eq "count" ) {
41 my ($ttl, $rdata) = (0, "$count");
44 print ("\tcount: $count\n");
48 $count = 0;
/bind-9.11.3/bin/tests/system/pkcs11/
H A Dtests.sh36 count=`$PK11LIST | grep robie-$alg-ksk | wc -l`
37 if [ $count != 2 ]; then echo "I:failed"; status=1; fi
41 count=`grep RRSIG $zonefile.signed | wc -l`
42 if [ $count != 12 ]; then echo "I:failed"; status=1; fi
65 count=`grep RRSIG dig.out.$alg | wc -l`
66 if [ $count -le $count0 ]; then echo "I:failed"; status=1; fi
80 count=`$PK11LIST | grep robie-$alg | wc -l`
81 if [ $count != 0 ]; then echo "I:failed"; fi
82 status=`expr $status + $count`
/bind-9.11.3/bin/tests/system/
H A Ddigcomp.pl23 $count = 0;
49 $name = "$name$count";
50 $count++;
83 $count--;
84 $name = "$name$count";
/bind-9.11.3/lib/isc/tests/
H A Dht_test.c42 static void test_ht_full(int bits, uintptr_t count) { argument
56 for (i = 1; i < count; i++) {
68 for (i = 1; i < count; i++) {
78 for (i = 1; i < count; i++) {
86 for (i = 1; i < count; i++) {
99 for (i = 1; i < count; i++) {
112 for (i = 1; i < count; i++) {
123 for (i = 1; i < count; i++) {
135 for (i = 1; i < count; i++) {
146 for (i = 1; i < count;
195 uintptr_t count = 10000; local
[all...]
/bind-9.11.3/bin/tests/system/xferquota/
H A Dtests.sh18 count=0
20 while [ $count != 300 ]; do
38 count=`cat ns2/zone*.bk | grep xyzzy | wc -l`
39 echo "I:Have $count zones up in $seconds seconds"
/bind-9.11.3/bin/tests/virtual-time/autosign-ksk/
H A Dsetup.sh16 dd if=random.data of=random.data1 bs=1k count=400 2> /dev/null
/bind-9.11.3/bin/tests/virtual-time/autosign-zsk/
H A Dsetup.sh16 dd if=random.data of=random.data1 bs=1k count=400 2> /dev/null
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Dlist_test.c271 size_t count, i, size; local
276 count = 0;
278 count++;
279 printf("Item count is now %zd\n", count);
281 ATF_REQUIRE_EQ(count, 0);
291 count = 0;
294 count++;
296 ATF_REQUIRE_EQ(count, size);
310 size_t count, local
[all...]
/bind-9.11.3/lib/dns/
H A Dcompress.c52 cctx->count = 0;
73 if (node->count < DNS_COMPRESS_INITIALNODES)
157 if (cctx->count == 0)
214 unsigned int count; local
237 count = dns_name_countlabels(prefix);
239 count--;
240 if (count == 0)
255 while (count > 0) {
266 if (cctx->count < DNS_COMPRESS_INITIALNODES)
267 node = &cctx->initialnodes[cctx->count];
[all...]
H A Drdataslab.c32 * record count (2 bytes)
33 * offset table (4 x record count bytes in load order)
44 * record count (2 bytes)
146 * with zero a record count.
352 unsigned int count; local
354 count = raw[0] * 256 + raw[1];
355 if (count == 0) {
360 raw += 2 + (4 * count);
366 * position, so we decrement the total count by one before storing
369 count
378 unsigned int count; local
440 unsigned int count; local
496 unsigned int count, length; local
523 unsigned int count; local
581 unsigned int count, i; local
614 unsigned int ocount, ncount, count, olength, tlength, tcount, length; local
882 unsigned int mcount, scount, rcount ,count, tlength, tcount, i; local
[all...]
/bind-9.11.3/unit/atf-src/atf-c/
H A Dutils.c108 ssize_t count; local
110 while ((count = read(fd, buffer, sizeof(buffer) - 1)) > 0) {
111 buffer[count] = '\0';
123 if (iter != buffer + count)
128 if (iter < buffer + count) {
133 ATF_REQUIRE(count == 0);
152 ssize_t count; local
153 while ((count = read(fd, buffer, sizeof(buffer))) > 0 &&
154 count <= remaining) {
155 if (memcmp(pos, buffer, count) !
[all...]
/bind-9.11.3/lib/dns/tests/
H A Ddbdiff_test.c92 int count = 0; local
108 count++;
110 ATF_REQUIRE_EQ(count, 1);
130 int count = 0; local
146 count++;
148 ATF_REQUIRE_EQ(count, 1);
/bind-9.11.3/contrib/scripts/
H A Dcheck-secure-delegation.pl.in100 $count = 0;
109 $count++;
112 if (! $count);

Completed in 25 milliseconds

12345