Lines Matching refs:src_sz

499 ldns_b32_ntop_base(const uint8_t* src, size_t src_sz,  in ldns_b32_ntop_base()  argument
512 ret_sz = add_padding ? ldns_b32_ntop_calculate_size(src_sz) in ldns_b32_ntop_base()
513 : ldns_b32_ntop_calculate_size_no_padding(src_sz); in ldns_b32_ntop_base()
523 while (src_sz >= 5) { in ldns_b32_ntop_base()
548 src_sz -= 5; in ldns_b32_ntop_base()
553 switch (src_sz) { in ldns_b32_ntop_base()
583 switch (src_sz) { in ldns_b32_ntop_base()
599 ldns_b32_ntop(const uint8_t* src, size_t src_sz, char* dst, size_t dst_sz) in ldns_b32_ntop() argument
601 return ldns_b32_ntop_base(src, src_sz, dst, dst_sz, false, true); in ldns_b32_ntop()
605 ldns_b32_ntop_extended_hex(const uint8_t* src, size_t src_sz, in ldns_b32_ntop_extended_hex() argument
608 return ldns_b32_ntop_base(src, src_sz, dst, dst_sz, true, true); in ldns_b32_ntop_extended_hex()
614 b32_ntop(const uint8_t* src, size_t src_sz, char* dst, size_t dst_sz) in b32_ntop() argument
616 return ldns_b32_ntop_base(src, src_sz, dst, dst_sz, false, true); in b32_ntop()
620 b32_ntop_extended_hex(const uint8_t* src, size_t src_sz, in b32_ntop_extended_hex() argument
623 return ldns_b32_ntop_base(src, src_sz, dst, dst_sz, true, true); in b32_ntop_extended_hex()
629 ldns_b32_pton_base(const char* src, size_t src_sz, in ldns_b32_pton_base() argument
638 while (src_sz) { in ldns_b32_pton_base()
644 --src_sz; in ldns_b32_pton_base()
646 } while (isspace((unsigned char)ch) && src_sz > 0); in ldns_b32_pton_base()
749 if (src_sz == 0) in ldns_b32_pton_base()
752 src_sz--; in ldns_b32_pton_base()
765 ldns_b32_pton(const char* src, size_t src_sz, uint8_t* dst, size_t dst_sz) in ldns_b32_pton() argument
767 return ldns_b32_pton_base(src, src_sz, dst, dst_sz, false, true); in ldns_b32_pton()
771 ldns_b32_pton_extended_hex(const char* src, size_t src_sz, in ldns_b32_pton_extended_hex() argument
774 return ldns_b32_pton_base(src, src_sz, dst, dst_sz, true, true); in ldns_b32_pton_extended_hex()
780 b32_pton(const char* src, size_t src_sz, uint8_t* dst, size_t dst_sz) in b32_pton() argument
782 return ldns_b32_pton_base(src, src_sz, dst, dst_sz, false, true); in b32_pton()
786 b32_pton_extended_hex(const char* src, size_t src_sz, in b32_pton_extended_hex() argument
789 return ldns_b32_pton_base(src, src_sz, dst, dst_sz, true, true); in b32_pton_extended_hex()