Home
last modified time | relevance | path

Searched refs:srcsize (Results 1 – 10 of 10) sorted by relevance

/freebsd-13.1/contrib/unbound/sldns/
H A Dparseutil.c607 size_t sldns_b64_ntop_calculate_size(size_t srcsize) in sldns_b64_ntop_calculate_size() argument
609 return ((((srcsize + 2) / 3) * 4) + 1); in sldns_b64_ntop_calculate_size()
699 size_t sldns_b64_pton_calculate_size(size_t srcsize) in sldns_b64_pton_calculate_size() argument
701 return (((((srcsize + 3) / 4) * 3)) + 1); in sldns_b64_pton_calculate_size()
712 int check_padding = (srcsize) ? 0 : 1; in sldns_b64_pton_base()
714 while(*s && (check_padding || srcsize)) { in sldns_b64_pton_base()
723 srcsize--; in sldns_b64_pton_base()
747 if(incount != 4 && (check_padding || srcsize)) in sldns_b64_pton_base()
788 if(!srcsize) { in sldns_b64url_pton()
797 while(*s && srcsize) { in sldns_b64_contains_nonurl()
[all …]
H A Dparseutil.h91 size_t sldns_b64_ntop_calculate_size(size_t srcsize);
101 size_t sldns_b64_pton_calculate_size(size_t srcsize);
103 int sldns_b64url_pton(char const *src, size_t srcsize, uint8_t *target,
105 int sldns_b64_contains_nonurl(char const *src, size_t srcsize);
/freebsd-13.1/contrib/ldns/ldns/
H A Dconfig.h579 static inline size_t ldns_b64_ntop_calculate_size(size_t srcsize) in ldns_b64_ntop_calculate_size() argument
581 return ((((srcsize + 2) / 3) * 4) + 1); in ldns_b64_ntop_calculate_size()
588 static inline size_t ldns_b64_pton_calculate_size(size_t srcsize) in ldns_b64_pton_calculate_size() argument
590 return (((((srcsize + 3) / 4) * 3)) + 1); in ldns_b64_pton_calculate_size()
H A Dconfig.h.in578 static inline size_t ldns_b64_ntop_calculate_size(size_t srcsize) argument
580 return ((((srcsize + 2) / 3) * 4) + 1);
587 static inline size_t ldns_b64_pton_calculate_size(size_t srcsize) argument
589 return (((((srcsize + 3) / 4) * 3)) + 1);
/freebsd-13.1/sys/nlm/
H A Dnlm.h57 size_t srcsize, struct malloc_type *type);
H A Dnlm_prot_impl.c308 nlm_make_netobj(struct netobj *dst, caddr_t src, size_t srcsize, in nlm_make_netobj() argument
312 dst->n_len = srcsize; in nlm_make_netobj()
313 dst->n_bytes = malloc(srcsize, type, M_WAITOK); in nlm_make_netobj()
314 memcpy(dst->n_bytes, src, srcsize); in nlm_make_netobj()
/freebsd-13.1/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_cg.c470 size_t srcsize = dt_node_type_size(src); in dt_cg_typecast() local
478 if (dstsize == srcsize && in dt_cg_typecast()
481 if (dstsize > srcsize && (src->dn_flags & DT_NF_SIGNED) == 0) in dt_cg_typecast()
486 if (dstsize > srcsize) { in dt_cg_typecast()
487 int n = sizeof (uint64_t) * NBBY - srcsize * NBBY; in dt_cg_typecast()
488 int s = (dstsize - srcsize) * NBBY; in dt_cg_typecast()
H A Ddt_parser.c1917 size_t srcsize = dt_node_type_size(rp); in dt_cast() local
1920 if (dstsize < srcsize) { in dt_cast()
1924 } else if (dstsize > srcsize) { in dt_cast()
1925 int n = (sizeof (uint64_t) - srcsize) * NBBY; in dt_cast()
1926 int s = (dstsize - srcsize) * NBBY; in dt_cast()
/freebsd-13.1/contrib/ldns/
H A Dconfigure.ac950 static inline size_t ldns_b64_ntop_calculate_size(size_t srcsize)
952 return ((((srcsize + 2) / 3) * 4) + 1);
959 static inline size_t ldns_b64_pton_calculate_size(size_t srcsize)
961 return (((((srcsize + 3) / 4) * 3)) + 1);
/freebsd-13.1/sys/cddl/boot/zfs/
H A Dzfssubr.c339 zio_decompress_data(int cpfunc, void *src, uint64_t srcsize, in zio_decompress_data() argument
356 return (ci->ci_decompress(src, dest, srcsize, destsize, ci->ci_level)); in zio_decompress_data()