Home
last modified time | relevance | path

Searched refs:ldns_buffer_reserve (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/ldns/
H A Dhost2wire.c38 if (ldns_buffer_reserve(buffer, ldns_rdf_size(name))) in ldns_dname2buffer_wire_compress()
48 if(ldns_buffer_reserve(buffer,1)) in ldns_dname2buffer_wire_compress()
60 if (ldns_buffer_reserve(buffer, 2)) in ldns_dname2buffer_wire_compress()
97 if(ldns_buffer_reserve(buffer, size)) in ldns_dname2buffer_wire_compress()
123 if (ldns_buffer_reserve(buffer, ldns_rdf_size(rdf))) { in ldns_rdf2buffer_wire_compress()
136 if (ldns_buffer_reserve(buffer, ldns_rdf_size(rdf))) { in ldns_rdf2buffer_wire_canonical()
145 if (ldns_buffer_reserve(buffer, ldns_rdf_size(rdf))) { in ldns_rdf2buffer_wire_canonical()
213 if (ldns_buffer_reserve(buffer, 4)) { in ldns_rr2buffer_wire_canonical()
219 if (ldns_buffer_reserve(buffer, 6)) { in ldns_rr2buffer_wire_canonical()
259 if (ldns_buffer_reserve(buffer, 4)) { in ldns_rr2buffer_wire_compress()
[all …]
H A Dbuffer.c80 ldns_buffer_reserve(ldns_buffer *buffer, size_t amount) in ldns_buffer_reserve() function
118 if (!ldns_buffer_reserve(buffer, (size_t) written + 1)) { in ldns_buffer_printf()
H A Dhost2str.c1287 if (ldns_buffer_reserve(output, in ldns_rdf2buffer_str_hip()
1486 if (!ldns_buffer_reserve(output, str_sz)) in svcparam_ech2buffer_str()
3231 if (!ldns_buffer_reserve(buffer, 1)) { in ldns_buffer2str()
3254 if (! ldns_buffer_reserve(buffer, 1)) { in ldns_buffer_export2str()
H A Ddnssec.c1852 if (ldns_buffer_reserve(target_buffer, (size_t) raw_sig_len)) { in ldns_convert_dsa_rrsig_rdf2asn1()
1938 if(ldns_buffer_reserve(target_buffer, (size_t) raw_sig_len)) { in ldns_convert_ecdsa_rrsig_rdf2asn1()
/freebsd/contrib/ldns/ldns/
H A Dbuffer.h248 bool ldns_buffer_reserve(ldns_buffer *buffer, size_t amount);
411 if (!ldns_buffer_reserve(buffer, strlen(str))) in ldns_buffer_write_chars()
452 if (!ldns_buffer_reserve(buffer, sizeof(data))) in ldns_buffer_write_char()