Searched defs:ent (Results 1 - 12 of 12) sorted by relevance

/bind-9.6-ESV-R11/bin/tests/
H A Dentropy_test.c62 isc_entropy_t *ent; local
74 ent = NULL;
76 isc_entropy_create(mctx, &ent));
78 isc_entropy_stats(ent, stderr);
82 isc_entropy_createfilesource(ent, "/dev/random"));
84 isc_entropy_createfilesource(ent, "/dev/random"));
87 isc_entropy_createfilesource(ent, "/tmp/foo"));
96 result = isc_entropy_getdata(ent, buffer, 32, &returned, flags);
104 isc_entropy_stats(ent, stderr);
106 isc_entropy_getdata(ent, buffe
[all...]
H A Dentropy2_test.c123 isc_entropy_t *ent; local
137 ent = NULL;
139 isc_entropy_create(mctx, &ent));
141 isc_entropy_stats(ent, stderr);
144 result = isc_entropy_createcallbacksource(ent, start, get, stop, &kbd,
156 result = isc_entropy_getdata(ent, buffer, 32, &returned, flags);
161 isc_entropy_stopcallbacksources(ent);
165 isc_entropy_stats(ent, stderr);
168 isc_entropy_detach(&ent);
H A Dsig0_test.c69 isc_entropy_t *ent = NULL; variable
236 RUNTIME_CHECK(isc_entropy_create(mctx, &ent) == ISC_R_SUCCESS);
237 RUNTIME_CHECK(dst_lib_init(mctx, ent, 0) == ISC_R_SUCCESS);
292 isc_entropy_detach(&ent);
/bind-9.6-ESV-R11/lib/dns/
H A Dorder.c87 dns_order_ent_t *ent; local
94 ent = isc_mem_get(order->mctx, sizeof(*ent));
95 if (ent == NULL)
98 dns_fixedname_init(&ent->name);
99 RUNTIME_CHECK(dns_name_copy(name, dns_fixedname_name(&ent->name), NULL)
101 ent->rdtype = rdtype;
102 ent->rdclass = rdclass;
103 ent->mode = mode;
104 ISC_LINK_INIT(ent, lin
121 dns_order_ent_t *ent; local
149 dns_order_ent_t *ent; local
[all...]
H A Dacache.c248 static void destroy_entry(dns_acacheentry_t *ent);
250 dns_acacheentry_t *ent);
386 unlink_dbentries(dns_acache_t *acache, dns_acacheentry_t *ent) { argument
390 if (ISC_LINK_LINKED(ent, olink)) {
391 INSIST(ent->origdb != NULL);
393 result = finddbent(acache, ent->origdb, &dbent);
396 ISC_LIST_UNLINK(dbent->originlist, ent, olink);
398 if (ISC_LINK_LINKED(ent, rlink)) {
399 INSIST(ent->db != NULL);
401 result = finddbent(acache, ent
[all...]
H A Ddispatch.c2152 port_cmp(const void *key, const void *ent) { argument
2154 in_port_t p2 = *(const in_port_t *)ent;
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dentropy.c50 isc_entropy_t *ent = source->ent; local
70 entropypool_adddata(ent, buf, ndesired, ndesired * 8);
84 fillpool(isc_entropy_t *ent, unsigned int desired, isc_boolean_t blocking) { argument
92 REQUIRE(VALID_ENTROPY(ent));
119 if ((ent->pool.entropy >= RND_POOLBITS / 4)
120 && (ent->pool.pseudo <= RND_POOLBITS / 4))
132 needed = ISC_MIN(needed, RND_POOLBITS - ent->pool.entropy);
139 if (ent->initialized < THRESHOLD_BITS)
140 needed = ISC_MAX(needed, THRESHOLD_BITS - ent
241 isc_entropy_createfilesource(isc_entropy_t *ent, const char *fname) argument
[all...]
/bind-9.6-ESV-R11/lib/dns/rdata/in_1/
H A Dapl_42.c366 dns_rdata_apl_current(dns_rdata_in_apl_t *apl, dns_rdata_apl_ent_t *ent) { argument
372 REQUIRE(ent != NULL);
391 ent->family = (apl->apl[apl->offset] << 8) + apl->apl[apl->offset + 1];
392 ent->prefix = apl->apl[apl->offset + 2];
393 ent->length = apl->apl[apl->offset + 3] & 0x7f;
394 ent->negative = ISC_TF((apl->apl[apl->offset + 3] & 0x80) != 0);
395 if (ent->length != 0)
396 ent->data = &apl->apl[apl->offset + 4];
398 ent->data = NULL;
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dentropy.c74 isc_entropy_t *ent = source->ent; local
97 entropypool_adddata(ent, buf, n, n * 8);
114 isc_entropy_t *ent = source->ent; local
229 entropypool_adddata(ent, buf, n, n * 8);
250 fillpool(isc_entropy_t *ent, unsigned int desired, isc_boolean_t blocking) { argument
257 REQUIRE(VALID_ENTROPY(ent));
284 if ((ent->pool.entropy >= RND_POOLBITS / 4)
285 && (ent
390 wait_for_sources(isc_entropy_t *ent) argument
488 isc_entropy_createfilesource(isc_entropy_t *ent, const char *fname) argument
[all...]
/bind-9.6-ESV-R11/lib/isc/
H A Dentropy.c143 isc_entropy_t *ent; member in struct:isc_entropysource
194 samplequeue_release(isc_entropy_t *ent, sample_queue_t *sq) { argument
198 isc_mem_put(ent->mctx, sq->samples, RND_EVENTQSIZE * 4);
199 isc_mem_put(ent->mctx, sq->extra, RND_EVENTQSIZE * 4);
205 samplesource_allocate(isc_entropy_t *ent, sample_queue_t *sq) { argument
206 sq->samples = isc_mem_get(ent->mctx, RND_EVENTQSIZE * 4);
210 sq->extra = isc_mem_get(ent->mctx, RND_EVENTQSIZE * 4);
212 isc_mem_put(ent->mctx, sq->samples, RND_EVENTQSIZE * 4);
227 add_entropy(isc_entropy_t *ent, isc_uint32_t entropy) { argument
231 entropy += ent
240 subtract_entropy(isc_entropy_t *ent, isc_uint32_t entropy) argument
250 add_pseudo(isc_entropy_t *ent, isc_uint32_t pseudo) argument
263 subtract_pseudo(isc_entropy_t *ent, isc_uint32_t pseudo) argument
312 entropypool_adddata(isc_entropy_t *ent, void *p, unsigned int len, isc_uint32_t entropy) argument
365 reseed(isc_entropy_t *ent) argument
438 crunchsamples(isc_entropy_t *ent, sample_queue_t *sq) argument
481 isc_entropy_t *ent = source->ent; local
530 isc_entropy_getdata(isc_entropy_t *ent, void *data, unsigned int length, unsigned int *returned, unsigned int flags) argument
676 isc_entropy_t *ent; local
722 isc_entropy_t *ent; local
762 destroy_check(isc_entropy_t *ent) argument
785 isc_entropy_t *ent; local
832 isc_entropy_t *ent; local
857 isc_entropy_createcallbacksource(isc_entropy_t *ent, isc_entropystart_t start, isc_entropyget_t get, isc_entropystop_t stop, void *arg, isc_entropysource_t **sourcep) argument
924 isc_entropy_stopcallbacksources(isc_entropy_t *ent) argument
949 isc_entropy_createsamplesource(isc_entropy_t *ent, isc_entropysource_t **sourcep) argument
1026 isc_entropy_t *ent; local
1066 isc_entropy_putdata(isc_entropy_t *ent, void *data, unsigned int length, isc_uint32_t entropy) argument
1082 dumpstats(isc_entropy_t *ent, FILE *out) argument
1100 isc_entropy_stats(isc_entropy_t *ent, FILE *out) argument
1109 isc_entropy_status(isc_entropy_t *ent) argument
1120 isc_entropy_attach(isc_entropy_t *ent, isc_entropy_t **entp) argument
1134 isc_entropy_t *ent; local
[all...]
/bind-9.6-ESV-R11/lib/bind9/
H A Dcheck.c60 check_orderent(const cfg_obj_t *ent, isc_log_t *logctx) { argument
72 obj = cfg_tuple_get(ent, "class");
86 obj = cfg_tuple_get(ent, "type");
100 obj = cfg_tuple_get(ent, "name");
114 obj = cfg_tuple_get(ent, "order");
117 cfg_obj_log(ent, logctx, ISC_LOG_ERROR,
122 obj = cfg_tuple_get(ent, "ordering");
124 cfg_obj_log(ent, logctx, ISC_LOG_ERROR,
/bind-9.6-ESV-R11/bin/named/
H A Dserver.c717 configure_order(dns_order_t *order, const cfg_obj_t *ent) { argument
728 result = ns_config_getclass(cfg_tuple_get(ent, "class"),
733 result = ns_config_gettype(cfg_tuple_get(ent, "type"),
738 obj = cfg_tuple_get(ent, "name");
752 obj = cfg_tuple_get(ent, "ordering");
1848 const cfg_obj_t *ent = cfg_listelt_value(element); local
1850 CHECK(configure_order(order, ent));

Completed in 50 milliseconds