Lines Matching defs:tctx
48 #define ARGS_TOTEXT dns_rdata_t *rdata, dns_rdata_textctx_t *tctx, \
131 rdata_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx,
135 unknown_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx,
180 typemap_totext(isc_region_t *sr, dns_rdata_textctx_t *tctx,
188 if (tctx != NULL &&
189 (tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0) {
190 RETERR(isc_str_tobuffer(tctx->linebreak, target));
467 unknown_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx,
487 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
495 if (tctx->width == 0) /* No splitting */
498 result = isc_hex_totext(&sr, tctx->width - 2,
499 tctx->linebreak,
502 (tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
509 rdata_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx,
517 REQUIRE(tctx->origin == NULL || dns_name_isabsolute(tctx->origin));
536 result = unknown_totext(rdata, tctx, target);
545 dns_rdata_textctx_t tctx;
552 tctx.origin = origin;
553 tctx.flags = 0;
554 tctx.width = 60;
555 tctx.linebreak = " ";
556 return (rdata_totext(rdata, &tctx, target));
565 dns_rdata_textctx_t tctx;
572 tctx.origin = origin;
573 tctx.flags = flags;
575 tctx.width = width;
577 tctx.width = split_width;
580 tctx.linebreak = linebreak;
583 tctx.width = 60; /* Used for hex word length only. */
584 tctx.linebreak = " ";
586 return (rdata_totext(rdata, &tctx, target));