Home
last modified time | relevance | path

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

/freebsd-12.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-12.1/contrib/unbound/sldns/
H A Dparseutil.h91 size_t sldns_b64_ntop_calculate_size(size_t srcsize);
99 size_t sldns_b64_pton_calculate_size(size_t srcsize);
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()
672 size_t sldns_b64_pton_calculate_size(size_t srcsize) in sldns_b64_pton_calculate_size() argument
674 return (((((srcsize + 3) / 4) * 3)) + 1); in sldns_b64_pton_calculate_size()
/freebsd-12.1/sys/nlm/
H A Dnlm.h57 size_t srcsize, struct malloc_type *type);
H A Dnlm_prot_impl.c309 nlm_make_netobj(struct netobj *dst, caddr_t src, size_t srcsize, in nlm_make_netobj() argument
313 dst->n_len = srcsize; in nlm_make_netobj()
314 dst->n_bytes = malloc(srcsize, type, M_WAITOK); in nlm_make_netobj()
315 memcpy(dst->n_bytes, src, srcsize); in nlm_make_netobj()
/freebsd-12.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-12.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-12.1/sys/cddl/boot/zfs/
H A Dzfssubr.c334 zio_decompress_data(int cpfunc, void *src, uint64_t srcsize, in zio_decompress_data() argument
351 return (ci->ci_decompress(src, dest, srcsize, destsize, ci->ci_level)); in zio_decompress_data()
/freebsd-12.1/contrib/binutils/gas/config/
H A Dtc-arm.c7846 vfp_conv (int srcsize) in vfp_conv() argument
7848 unsigned immbits = srcsize - inst.operands[1].imm; in vfp_conv()