Home
last modified time | relevance | path

Searched refs:src_data_length (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/ldns/ldns/
H A Dutil.h339 INLINE size_t ldns_b32_ntop_calculate_size(size_t src_data_length) in ldns_b32_ntop_calculate_size() argument
341 return src_data_length == 0 ? 0 : ((src_data_length - 1) / 5 + 1) * 8; in ldns_b32_ntop_calculate_size()
344 INLINE size_t ldns_b32_ntop_calculate_size_no_padding(size_t src_data_length) in ldns_b32_ntop_calculate_size_no_padding() argument
346 return ((src_data_length + 3) * 8 / 5) - 4; in ldns_b32_ntop_calculate_size_no_padding()
349 int ldns_b32_ntop(const uint8_t* src_data, size_t src_data_length,
352 int ldns_b32_ntop_extended_hex(const uint8_t* src_data, size_t src_data_length,
357 int b32_ntop(const uint8_t* src_data, size_t src_data_length,
360 int b32_ntop_extended_hex(const uint8_t* src_data, size_t src_data_length,
H A Dutil.h.in339 INLINE size_t ldns_b32_ntop_calculate_size(size_t src_data_length) argument
341 return src_data_length == 0 ? 0 : ((src_data_length - 1) / 5 + 1) * 8;
344 INLINE size_t ldns_b32_ntop_calculate_size_no_padding(size_t src_data_length) argument
346 return ((src_data_length + 3) * 8 / 5) - 4;
349 int ldns_b32_ntop(const uint8_t* src_data, size_t src_data_length,
352 int ldns_b32_ntop_extended_hex(const uint8_t* src_data, size_t src_data_length,
357 int b32_ntop(const uint8_t* src_data, size_t src_data_length,
360 int b32_ntop_extended_hex(const uint8_t* src_data, size_t src_data_length,
/freebsd/contrib/unbound/sldns/
H A Dparseutil.h112 size_t sldns_b32_ntop_calculate_size(size_t src_data_length);
114 size_t sldns_b32_ntop_calculate_size_no_padding(size_t src_data_length);
116 int sldns_b32_ntop(const uint8_t* src_data, size_t src_data_length,
119 int sldns_b32_ntop_extended_hex(const uint8_t* src_data, size_t src_data_length,
H A Dparseutil.c366 size_t sldns_b32_ntop_calculate_size(size_t src_data_length) in sldns_b32_ntop_calculate_size() argument
368 return src_data_length == 0 ? 0 : ((src_data_length - 1) / 5 + 1) * 8; in sldns_b32_ntop_calculate_size()
371 size_t sldns_b32_ntop_calculate_size_no_padding(size_t src_data_length) in sldns_b32_ntop_calculate_size_no_padding() argument
373 return ((src_data_length + 3) * 8 / 5) - 4; in sldns_b32_ntop_calculate_size_no_padding()