Lines Matching refs:tctx
74 #define ARGS_TOTEXT dns_rdata_t *rdata, dns_rdata_textctx_t *tctx, \
204 rdata_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx,
219 unknown_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx,
779 unknown_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx,
799 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
807 if (tctx->width == 0) /* No splitting */
810 result = isc_hex_totext(&sr, tctx->width - 2,
811 tctx->linebreak,
814 (tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
821 rdata_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx,
828 REQUIRE(tctx->origin == NULL ||
829 dns_name_isabsolute(tctx->origin) == ISC_TRUE);
842 result = unknown_totext(rdata, tctx, target);
850 dns_rdata_textctx_t tctx;
857 tctx.origin = origin;
858 tctx.flags = 0;
859 tctx.width = 60;
860 tctx.linebreak = " ";
861 return (rdata_totext(rdata, &tctx, target));
869 dns_rdata_textctx_t tctx;
876 tctx.origin = origin;
877 tctx.flags = flags;
879 tctx.width = width;
880 tctx.linebreak = linebreak;
882 tctx.width = 60; /* Used for hex word length only. */
883 tctx.linebreak = " ";
885 return (rdata_totext(rdata, &tctx, target));