Lines Matching +refs:val +refs:target

169 question_clone(dns_rdataset_t *source, dns_rdataset_t *target) {
170 *target = *source;
238 dns_rdataset_clone(dns_rdataset_t *source, dns_rdataset_t *target) {
241 * Make 'target' refer to the same rdataset as 'source'.
246 REQUIRE(DNS_RDATASET_VALID(target));
247 REQUIRE(target->methods == NULL);
249 (source->methods->clone)(source, target);
309 dns_compress_t *cctx, isc_buffer_t *target,
331 * in cctx, and storing the result in 'target'.
352 return (dns_ncache_towire(rdataset, cctx, target, ncache_opts,
414 isc_uint32_t val;
416 isc_random_get(&val);
417 choice = i + (val % (count - i));
432 isc_uint32_t val;
435 val = rdataset->count;
436 if (val == ISC_UINT32_MAX)
437 isc_random_get(&val);
438 j = val % count;
459 savedbuffer = *target;
476 rrbuffer = *target;
478 result = dns_name_towire(name, cctx, target);
485 isc_buffer_availableregion(target, &r);
490 isc_buffer_putuint16(target, rdataset->type);
491 isc_buffer_putuint16(target, rdataset->rdclass);
493 isc_buffer_putuint32(target, rdataset->ttl);
498 rdlen = *target;
499 isc_buffer_add(target, 2);
510 result = dns_rdata_towire(&rdata, cctx, target);
513 INSIST((target->used >= rdlen.used + 2) &&
514 (target->used - rdlen.used - 2 < 65536));
516 (isc_uint16_t)(target->used -
545 *target = rrbuffer;
551 *target = savedbuffer;
565 isc_buffer_t *target,
571 return (towiresorted(rdataset, owner_name, cctx, target,
580 isc_buffer_t *target,
588 return (towiresorted(rdataset, owner_name, cctx, target,
597 isc_buffer_t *target,
601 return (towiresorted(rdataset, owner_name, cctx, target,