Lines Matching defs:tctx
81 #define ARGS_TOTEXT dns_rdata_t *rdata, dns_rdata_textctx_t *tctx, \
208 rdata_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx,
223 unknown_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx,
484 typemap_totext(isc_region_t *sr, dns_rdata_textctx_t *tctx,
492 if (tctx != NULL &&
493 (tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0) {
494 RETERR(str_totext(tctx->linebreak, target));
1038 unknown_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx,
1058 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
1066 if (tctx->width == 0) /* No splitting */
1069 result = isc_hex_totext(&sr, tctx->width - 2,
1070 tctx->linebreak,
1073 (tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0)
1080 rdata_totext(dns_rdata_t *rdata, dns_rdata_textctx_t *tctx,
1088 REQUIRE(tctx->origin == NULL ||
1089 dns_name_isabsolute(tctx->origin) == ISC_TRUE);
1099 if ((tctx->flags & DNS_STYLEFLAG_UNKNOWNFORMAT) != 0)
1100 return (unknown_totext(rdata, tctx, target));
1111 result = unknown_totext(rdata, tctx, target);
1120 dns_rdata_textctx_t tctx;
1127 tctx.origin = origin;
1128 tctx.flags = 0;
1129 tctx.width = 60;
1130 tctx.linebreak = " ";
1131 return (rdata_totext(rdata, &tctx, target));
1140 dns_rdata_textctx_t tctx;
1147 tctx.origin = origin;
1148 tctx.flags = flags;
1150 tctx.width = width;
1152 tctx.width = split_width;
1155 tctx.linebreak = linebreak;
1158 tctx.width = 60; /* Used for hex word length only. */
1159 tctx.linebreak = " ";
1161 return (rdata_totext(rdata, &tctx, target));