Home
last modified time | relevance | path

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

/freebsd/contrib/unbound/sldns/
H A Dparseutil.c641 size_t sldns_b64_ntop_calculate_size(size_t srcsize) in sldns_b64_ntop_calculate_size() argument
643 return ((((srcsize + 2) / 3) * 4) + 1); in sldns_b64_ntop_calculate_size()
733 size_t sldns_b64_pton_calculate_size(size_t srcsize) in sldns_b64_pton_calculate_size() argument
735 return (((((srcsize + 3) / 4) * 3)) + 1); in sldns_b64_pton_calculate_size()
746 int check_padding = (srcsize) ? 0 : 1; in sldns_b64_pton_base()
748 while(*s && (check_padding || srcsize)) { in sldns_b64_pton_base()
757 srcsize--; in sldns_b64_pton_base()
781 if(incount != 4 && (check_padding || srcsize)) in sldns_b64_pton_base()
822 if(!srcsize) { in sldns_b64url_pton()
831 while(*s && srcsize) { in sldns_b64_contains_nonurl()
[all …]
H A Dparseutil.h93 size_t sldns_b64_ntop_calculate_size(size_t srcsize);
103 size_t sldns_b64_pton_calculate_size(size_t srcsize);
105 int sldns_b64url_pton(char const *src, size_t srcsize, uint8_t *target,
107 int sldns_b64_contains_nonurl(char const *src, size_t srcsize);
/freebsd/contrib/ldns/ldns/
H A Dconfig.h684 static inline size_t ldns_b64_ntop_calculate_size(size_t srcsize) in ldns_b64_ntop_calculate_size() argument
686 return ((((srcsize + 2) / 3) * 4) + 1); in ldns_b64_ntop_calculate_size()
693 static inline size_t ldns_b64_pton_calculate_size(size_t srcsize) in ldns_b64_pton_calculate_size() argument
695 return (((((srcsize + 3) / 4) * 3)) + 1); in ldns_b64_pton_calculate_size()
H A Dconfig.h.in683 static inline size_t ldns_b64_ntop_calculate_size(size_t srcsize) argument
685 return ((((srcsize + 2) / 3) * 4) + 1);
692 static inline size_t ldns_b64_pton_calculate_size(size_t srcsize) argument
694 return (((((srcsize + 3) / 4) * 3)) + 1);
/freebsd/sys/nlm/
H A Dnlm.h55 size_t srcsize, struct malloc_type *type);
H A Dnlm_prot_impl.c305 nlm_make_netobj(struct netobj *dst, caddr_t src, size_t srcsize, in nlm_make_netobj() argument
309 dst->n_len = srcsize; in nlm_make_netobj()
310 dst->n_bytes = malloc(srcsize, type, M_WAITOK); in nlm_make_netobj()
311 memcpy(dst->n_bytes, src, srcsize); in nlm_make_netobj()
/freebsd/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/contrib/ldns/
H A Dconfigure.ac1080 static inline size_t ldns_b64_ntop_calculate_size(size_t srcsize)
1082 return ((((srcsize + 2) / 3) * 4) + 1);
1089 static inline size_t ldns_b64_pton_calculate_size(size_t srcsize)
1091 return (((((srcsize + 3) / 4) * 3)) + 1);
/freebsd/sys/cddl/boot/zfs/
H A Dzfssubr.c345 zio_decompress_data(int cpfunc, void *src, uint64_t srcsize, in zio_decompress_data() argument
362 return (ci->ci_decompress(src, dest, srcsize, destsize, ci->ci_level)); in zio_decompress_data()