Home
last modified time | relevance | path

Searched refs:buffer_type (Results 1 – 25 of 35) sorted by relevance

12

/openbsd-src/usr.sbin/nsd/
H A Dbuffer.h23 typedef struct buffer buffer_type; typedef
55 buffer_invariant(buffer_type *ATTR_UNUSED(buffer)) in buffer_invariant()
60 buffer_invariant(buffer_type *buffer) in buffer_invariant()
72 buffer_type *buffer_create(region_type *region, size_t capacity);
79 void buffer_create_from(buffer_type *buffer, void *data, size_t size);
85 void buffer_clear(buffer_type *buffer);
92 void buffer_flip(buffer_type *buffer);
98 void buffer_rewind(buffer_type *buffer);
101 buffer_position(buffer_type *buffer) in buffer_position()
111 buffer_set_position(buffer_type *buffer, size_t mark) in buffer_set_position()
[all …]
H A Dbuffer.c19 buffer_type *buffer = (buffer_type *) arg; in buffer_cleanup()
24 buffer_type *
27 buffer_type *buffer in buffer_create()
28 = (buffer_type *) region_alloc(region, sizeof(buffer_type)); in buffer_create()
44 buffer_create_from(buffer_type *buffer, void *data, size_t size) in buffer_create_from()
57 buffer_clear(buffer_type *buffer) in buffer_clear()
66 buffer_flip(buffer_type *buffer) in buffer_flip()
75 buffer_rewind(buffer_type *buffer) in buffer_rewind()
83 buffer_set_capacity(buffer_type *buffer, size_t capacity) in buffer_set_capacity()
92 buffer_reserve(buffer_type *buffer, size_t amount) in buffer_reserve()
[all …]
H A Drdata.c74 typedef int (*rdata_to_string_type)(buffer_type *output,
79 rdata_dname_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_dname_to_string()
90 rdata_dns_name_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_dns_name_to_string()
127 rdata_text_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_text_to_string()
151 rdata_texts_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_texts_to_string()
179 rdata_long_text_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_long_text_to_string()
203 rdata_tag_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_tag_to_string()
219 rdata_byte_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_byte_to_string()
228 rdata_short_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_short_to_string()
237 rdata_long_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_long_to_string()
[all …]
H A Drdata.h24 int rdata_atom_to_string(buffer_type *output, rdata_zoneformat_type type,
39 buffer_type *packet,
50 int rdata_atoms_to_unknown_string(buffer_type *out,
58 int print_rdata(buffer_type *output, rrtype_descriptor_type *descriptor,
H A Dpacket.h176 int packet_skip_rr(buffer_type *packet, int question_section);
181 int packet_skip_dname(buffer_type *packet);
188 buffer_type *packet,
196 int packet_read_query_section(buffer_type *packet,
203 int packet_find_notify_serial(buffer_type *packet, uint32_t* serial);
H A Dtsig.h225 void tsig_update(tsig_record_type *tsig, buffer_type *packet, size_t length);
253 int tsig_find_rr(tsig_record_type *tsig, buffer_type *packet);
263 int tsig_parse_rr(tsig_record_type *tsig, buffer_type *packet);
268 void tsig_append_rr(tsig_record_type *tsig, buffer_type *packet);
H A Dxfrd.h384 xfrd_zone_type* zone, buffer_type* packet);
408 int xfrd_send_udp(struct acl_options* acl, buffer_type* packet,
414 int xfrd_udp_read_packet(buffer_type* packet, int fd, struct sockaddr* src,
430 void xfrd_tsig_sign_request(buffer_type* packet, struct tsig_record* tsig,
441 void xfrd_handle_passed_packet(buffer_type* packet,
H A Dxfr-inspect.c145 print_records(region_type* region, buffer_type* pkt, int num, int qsection) in print_records()
151 buffer_type* tmpbuf; in print_records()
193 inspect_packet(region_type* region, buffer_type* pkt) in inspect_packet()
233 buffer_type* packet; in inspect_part()
394 list_packet(region_type* region, buffer_type* pkt, int partnum) in list_packet()
418 buffer_type* packet; in list_part()
H A Dpacket.c215 packet_skip_dname(buffer_type *packet) in packet_skip_dname()
239 packet_skip_rr(buffer_type *packet, int question_section) in packet_skip_rr()
264 buffer_type *packet, int question_section) in packet_read_rr()
308 int packet_read_query_section(buffer_type *packet, in packet_read_query_section()
347 int packet_find_notify_serial(buffer_type *packet, uint32_t* serial) in packet_find_notify_serial()
H A Ddname.h68 buffer_type *packet,
78 buffer_type *packet,
H A Dxfrd-catalog-zones.c96 buffer_type packet;
114 static int try_buffer_write_SOA(buffer_type* packet, const dname_type* owner,
118 static int try_buffer_write_RR(buffer_type* packet, const dname_type* owner,
122 static inline int try_buffer_write_PTR(buffer_type* packet,
126 static int try_buffer_write_TXT(buffer_type* packet, const dname_type* name,
1032 try_buffer_write_SOA(buffer_type* packet, const dname_type* owner, in try_buffer_write_SOA()
1057 try_buffer_write_RR(buffer_type* packet, const dname_type* owner, in try_buffer_write_RR()
1076 try_buffer_write_PTR(buffer_type* packet, const dname_type* owner, in try_buffer_write_PTR()
1084 try_buffer_write_TXT(buffer_type* packet, const dname_type* name, in try_buffer_write_TXT()
H A Ddifffile.h61 buffer_type* packet, size_t rdatalen, zone_type *zone,
66 buffer_type* packet, size_t rdatalen, zone_type *zone,
H A Dxfrd-notify.c155 reply_pkt_is_ack(struct notify_zone* zone, buffer_type* packet, int index) in reply_pkt_is_ack()
251 xfrd_handle_notify_reply(struct notify_zone* zone, buffer_type* packet, in xfrd_handle_notify_reply()
277 buffer_type* packet = xfrd_get_temp_buffer(); in xfrd_notify_send_udp()
417 buffer_type* packet = xfrd_get_temp_buffer(); in xfrd_handle_notify_send()
H A Dedns.h92 int edns_parse_record(edns_record_type *data, buffer_type *packet,
H A Dtsig.c485 tsig_update(tsig_record_type *tsig, buffer_type *packet, size_t length) in tsig_update()
546 tsig_find_rr(tsig_record_type *tsig, buffer_type *packet) in tsig_find_rr()
582 tsig_parse_rr(tsig_record_type *tsig, buffer_type *packet) in tsig_parse_rr()
672 tsig_append_rr(tsig_record_type *tsig, buffer_type *packet) in tsig_append_rr()
H A Dedns.c82 edns_handle_option(uint16_t optcode, uint16_t optlen, buffer_type* packet, in edns_handle_option()
127 edns_parse_record(edns_record_type *edns, buffer_type *packet, in edns_parse_record()
H A Dquery.h80 buffer_type *packet;
H A Dipc.c170 int packet_read_query_section(buffer_type *packet, uint8_t* dest, uint16_t* qtype, uint16_t* qclass…
172 debug_print_fwd_name(int ATTR_UNUSED(len), buffer_type* packet, int acl_num) in debug_print_fwd_name()
655 buffer_type* tmp = xfrd->ipc_pass; in xfrd_handle_ipc_read()
678 buffer_type* tmp; in xfrd_handle_ipc_read()
H A Dxfrd.c71 static int xfrd_parse_soa_info(buffer_type* packet, xfrd_soa_type* soa);
1572 xfrd_udp_read_packet(buffer_type* packet, int fd, struct sockaddr* src, in xfrd_udp_read_packet()
1725 xfrd_send_udp(struct acl_options* acl, buffer_type* packet, in xfrd_send_udp()
1857 xfrd_tsig_sign_request(buffer_type* packet, tsig_record_type* tsig, in xfrd_tsig_sign_request()
1921 static int xfrd_parse_soa_info(buffer_type* packet, xfrd_soa_type* soa) in xfrd_parse_soa_info()
1958 xfrd_xfr_check_rrs(xfrd_zone_type* zone, buffer_type* packet, size_t count, in xfrd_xfr_check_rrs()
2065 xfrd_xfr_process_tsig(xfrd_zone_type* zone, buffer_type* packet) in xfrd_xfr_process_tsig()
2121 xfrd_parse_received_xfr_packet(xfrd_zone_type* zone, buffer_type* packet, in xfrd_parse_received_xfr_packet()
2409 xfrd_handle_received_xfr_packet(xfrd_zone_type* zone, buffer_type* packet) in xfrd_handle_received_xfr_packet()
2621 xfrd_handle_passed_packet(buffer_type* packet, in xfrd_handle_passed_packet()
H A Ddname.c93 dname_make_from_packet(region_type *region, buffer_type *packet, in dname_make_from_packet()
103 dname_make_wire_from_packet(uint8_t *buf, buffer_type *packet, in dname_make_wire_from_packet()
/openbsd-src/gnu/llvm/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dexpect.py31 spawn._buffer = spawn.buffer_type()
34 spawn._before = spawn.buffer_type()
41 spawn._buffer = spawn.buffer_type()
48 spawn._buffer = spawn.buffer_type()
49 spawn._before = spawn.buffer_type()
100 spawn._buffer = spawn.buffer_type()
101 spawn._before = spawn.buffer_type()
H A Dspawnbase.py89 self.buffer_type = BytesIO
110 self.buffer_type = StringIO
122 self._buffer = self.buffer_type()
150 self._buffer = self.buffer_type()
H A D_async.py11 expecter.spawn._buffer = expecter.spawn.buffer_type()
12 expecter.spawn._before = expecter.spawn.buffer_type()
/openbsd-src/gnu/usr.bin/texinfo/makeinfo/
H A Dhtml.c39 } buffer_type; typedef
41 static buffer_type *
44 buffer_type *buf = xmalloc (sizeof (buffer_type)); in init_buffer()
53 append_char (buffer_type *buf, int c) in append_char()
75 buffer_type *import_text = init_buffer (); in process_css_file()
76 buffer_type *inline_text = init_buffer (); in process_css_file()
/openbsd-src/sys/dev/ata/
H A Datascsi.h79 u_int16_t buffer_type; /* 20 */ member

12