Lines Matching refs:out

143     auto out = std::back_inserter(s);  in do_section()  local
149 if (errno != ENODEV) fmt::format_to(out, "ns_parserr: {}", strerror(errno)); in do_section()
156 fmt::format_to(out, ";; {} SECTION:\n", p_section(section, opcode)); in do_section()
159 fmt::format_to(out, ";;\t{}, type = {}, class = {}\n", ns_rr_name(rr), in do_section()
166 fmt::format_to(out, "; EDNS: version: {}, udp={}, flags={}\n", (rr.ttl >> 16) & 0xff, in do_section()
176 fmt::format_to(out, "; NSID: "); in do_section()
178 fmt::format_to(out, "; NSID\n"); in do_section()
180 fmt::format_to(out, "; NSID: "); in do_section()
182 fmt::format_to(out, "{:02x} ", cp[i]); in do_section()
184 fmt::format_to(out, " ("); in do_section()
186 fmt::format_to(out, "{} ", isprint(cp[i]) ? cp[i] : '.'); in do_section()
188 fmt::format_to(out, ")\n"); in do_section()
192 fmt::format_to(out, "; OPT={}\n", optcode); in do_section()
194 fmt::format_to(out, "; OPT={}: ", optcode); in do_section()
196 fmt::format_to(out, "{:02x} ", cp[i]); in do_section()
198 fmt::format_to(out, " ("); in do_section()
200 fmt::format_to(out, "{}", isprint(cp[i]) ? cp[i] : '.'); in do_section()
202 fmt::format_to(out, ")\n"); in do_section()
217 fmt::format_to(out, "buflen over 131072"); in do_section()
222 fmt::format_to(out, "ns_sprintrr failed"); in do_section()
226 fmt::format_to(out, ";; {}\n", buf.get()); in do_section()
273 auto out = std::back_inserter(s); in res_pquery() local
274 fmt::format_to(out, ";; flags:"); in res_pquery()
275 if (ns_msg_getflag(handle, ns_f_qr)) fmt::format_to(out, " qr"); in res_pquery()
276 if (ns_msg_getflag(handle, ns_f_aa)) fmt::format_to(out, " aa"); in res_pquery()
277 if (ns_msg_getflag(handle, ns_f_tc)) fmt::format_to(out, " tc"); in res_pquery()
278 if (ns_msg_getflag(handle, ns_f_rd)) fmt::format_to(out, " rd"); in res_pquery()
279 if (ns_msg_getflag(handle, ns_f_ra)) fmt::format_to(out, " ra"); in res_pquery()
280 if (ns_msg_getflag(handle, ns_f_z)) fmt::format_to(out, " ??"); in res_pquery()
281 if (ns_msg_getflag(handle, ns_f_ad)) fmt::format_to(out, " ad"); in res_pquery()
282 if (ns_msg_getflag(handle, ns_f_cd)) fmt::format_to(out, " cd"); in res_pquery()
283 fmt::format_to(out, "; {}: {}", p_section(ns_s_qd, (int)opcode), qdcount); in res_pquery()
284 fmt::format_to(out, ", {}: {}", p_section(ns_s_an, (int)opcode), ancount); in res_pquery()
285 fmt::format_to(out, ", {}: {}", p_section(ns_s_ns, (int)opcode), nscount); in res_pquery()
286 fmt::format_to(out, ", {}: {}", p_section(ns_s_ar, (int)opcode), arcount); in res_pquery()