Searched defs:count (Results 1 - 25 of 86) sorted by relevance

1234

/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...]
H A Dbacktrace.c89 int count; member in struct:__anon214
99 arg->result[arg->count++] = (void *)_Unwind_GetIP(uc);
100 if (arg->count == arg->max_depth)
117 arg.count = 0;
120 *nframes = arg.count;
H A Dmd5.c144 * Start MD5 accumulation. Set bit count to 0 and buffer to mysterious
273 /* Update byte count */
306 * 1 0* (64-bit count of bits processed, MSB-first)
310 int count = ctx->bytes[0] & 0x3f; /* Number of bytes in ctx->in */ local
311 unsigned char *p = (unsigned char *)ctx->in + count;
317 count = 56 - 1 - count;
319 if (count < 0) { /* Padding forces an extra block */
320 memset(p, 0, count + 8);
324 count
[all...]
/bind-9.11.3/lib/isc/include/isc/
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 Dsha1.h49 isc_uint32_t count[2]; member in struct:__anon245
/bind-9.11.3/lib/dns/include/dns/
H A Dipkeylist.h24 isc_uint32_t count; member in struct:dns_ipkeylist
43 * pointers set to `NULL` and count set to 0.
60 * with all pointers set to `NULL` and count set to 0.
69 * Resize ipkl to contain n elements. Size (count) is not changed, and the
75 * \li 'n' >= ipkl->count
/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/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/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/bin/tests/pkcs11/benchmarks/
H A Dsession.c35 /* session [-m module] [-s $slot] [-n count] */
91 unsigned int count = 1000; local
105 count = atoi(isc_commandline_argument);
124 "\tsession [-m module] [-s slot] [-n count]\n");
130 malloc(count * sizeof(CK_SESSION_HANDLE));
135 for (i = 0; i < count; i++)
160 for (i = 0; i < count; i++) {
193 for (i = 0; i < count; i++) {
H A Dfind.c33 /* find [-m module] [-s $slot] [-p pin] [-n count] */
105 unsigned int count = 1000; local
123 count = atoi(isc_commandline_argument);
142 "\tfind [-m module] [-s slot] [-p pin] [-n count]\n");
176 for (i = 0; !error && (i < count); i++) {
H A Dlogin.c35 /* login [-m module] [-s $slot] [-p pin] [-n count] */
96 unsigned int count = 1000; local
113 count = atoi(isc_commandline_argument);
132 "\tlogin [-m module] [-s slot] [-p pin] [-n count]\n");
138 malloc(count * sizeof(CK_SESSION_HANDLE));
143 for (i = 0; i < count; i++)
171 for (i = 0; i < count; i++) {
H A Drandom.c35 /* random [-m module] [-s $slot] [-n count] */
97 unsigned int count = 1000; local
112 count = atoi(isc_commandline_argument);
131 "\trandom [-m module] [-s slot] [-n count]\n");
158 for (i = 0; i < count; i++) {
H A Dsha1.c35 /* sha1 [-m module] [-s $slot] [-n count] */
98 unsigned int count = 1000; local
113 count = atoi(isc_commandline_argument);
132 "\tssha1 [-m module] [-s slot] [-n count]\n");
174 for (i = 0; i < count; i++) {
/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/contrib/dnsperf-2.1.0.0-1/
H A Dnet.c73 int count, i; local
82 count = 0;
83 result = bind9_getaddresses(name, port, addrs, 8, &count);
85 for (i = 0; i < count; i++) {
/bind-9.11.3/unit/atf-src/atf-sh/
H A Datf-sh.cpp87 const int count = 4 + (interpreter_argc - 1) + 1; local
88 const char** argv = new const char*[count];
97 argv[count - 1] = NULL;
/bind-9.11.3/unit/atf-src/tools/
H A Dconfig_test.cpp101 size_t count = 0; local
103 count++;
104 return count;
/bind-9.11.3/lib/dns/
H A Dportlist.c239 unsigned int count; local
245 isc_refcount_decrement(&portlist->refcount, &count);
246 if (count == 0) {
H A Dprivate.c106 unsigned int count; local
202 count = 0;
212 if (++count > 1)
H A Drdatalist.c177 unsigned int count; local
183 count = 0;
187 count++;
189 return (count);
/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...]
H A Dmap_test.c284 size_t count, i, size; local
290 count = 0;
292 count++;
293 printf("Item count is now %zd\n", count);
295 ATF_REQUIRE_EQ(count, 0);
306 count = 0;
309 count++;
311 ATF_REQUIRE_EQ(count, size);
325 size_t count, local
[all...]

Completed in 30 milliseconds

1234