Lines Matching refs:tmp_buffer
3268 ldns_buffer *tmp_buffer = ldns_buffer_new(LDNS_MAX_PACKETLEN); in ldns_rdf2str() local
3270 if (!tmp_buffer) { in ldns_rdf2str()
3273 if (ldns_rdf2buffer_str(tmp_buffer, rdf) == LDNS_STATUS_OK) { in ldns_rdf2str()
3275 result = ldns_buffer_export2str(tmp_buffer); in ldns_rdf2str()
3277 ldns_buffer_free(tmp_buffer); in ldns_rdf2str()
3285 ldns_buffer *tmp_buffer = ldns_buffer_new(LDNS_MAX_PACKETLEN); in ldns_rr2str_fmt() local
3287 if (!tmp_buffer) { in ldns_rr2str_fmt()
3290 if (ldns_rr2buffer_str_fmt(tmp_buffer, fmt, rr) in ldns_rr2str_fmt()
3293 result = ldns_buffer_export2str(tmp_buffer); in ldns_rr2str_fmt()
3295 ldns_buffer_free(tmp_buffer); in ldns_rr2str_fmt()
3309 ldns_buffer *tmp_buffer = ldns_buffer_new(LDNS_MAX_PACKETLEN); in ldns_pkt2str_fmt() local
3311 if (!tmp_buffer) { in ldns_pkt2str_fmt()
3314 if (ldns_pkt2buffer_str_fmt(tmp_buffer, fmt, pkt) in ldns_pkt2str_fmt()
3317 result = ldns_buffer_export2str(tmp_buffer); in ldns_pkt2str_fmt()
3320 ldns_buffer_free(tmp_buffer); in ldns_pkt2str_fmt()
3334 ldns_buffer *tmp_buffer = ldns_buffer_new(LDNS_MAX_PACKETLEN); in ldns_key2str() local
3336 if (!tmp_buffer) { in ldns_key2str()
3339 if (ldns_key2buffer_str(tmp_buffer, k) == LDNS_STATUS_OK) { in ldns_key2str()
3341 result = ldns_buffer_export2str(tmp_buffer); in ldns_key2str()
3343 ldns_buffer_free(tmp_buffer); in ldns_key2str()
3351 ldns_buffer *tmp_buffer = ldns_buffer_new(LDNS_MAX_PACKETLEN); in ldns_rr_list2str_fmt() local
3353 if (!tmp_buffer) { in ldns_rr_list2str_fmt()
3358 tmp_buffer, fmt, list) in ldns_rr_list2str_fmt()
3366 ldns_buffer_printf(tmp_buffer, "; (null)\n"); in ldns_rr_list2str_fmt()
3371 result = ldns_buffer_export2str(tmp_buffer); in ldns_rr_list2str_fmt()
3372 ldns_buffer_free(tmp_buffer); in ldns_rr_list2str_fmt()