Searched refs:srcsize (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/unbound/sldns/ |
H A D | parseutil.c | 650 size_t sldns_b64_ntop_calculate_size(size_t srcsize) in sldns_b64_ntop_calculate_size() argument 652 return ((((srcsize + 2) / 3) * 4) + 1); in sldns_b64_ntop_calculate_size() 742 size_t sldns_b64_pton_calculate_size(size_t srcsize) in sldns_b64_pton_calculate_size() argument 744 return (((((srcsize + 3) / 4) * 3)) + 1); in sldns_b64_pton_calculate_size() 748 static int sldns_b64_pton_base(char const *src, size_t srcsize, uint8_t *target, in sldns_b64_pton_base() argument 755 int check_padding = (srcsize) ? 0 : 1; in sldns_b64_pton_base() 757 while(*s && (check_padding || srcsize)) { in sldns_b64_pton_base() 766 srcsize--; in sldns_b64_pton_base() 790 if(incount != 4 && (check_padding || srcsize)) in sldns_b64_pton_base() 828 int sldns_b64url_pton(char const *src, size_t srcsize, uint8_t *target, in sldns_b64url_pton() argument [all …]
|
H A D | parseutil.h | 93 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 D | config.h | 684 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 D | config.h.in | 683 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 D | nlm.h | 55 size_t srcsize, struct malloc_type *type);
|
H A D | nlm_prot_impl.c | 306 nlm_make_netobj(struct netobj *dst, caddr_t src, size_t srcsize, in nlm_make_netobj() argument 310 dst->n_len = srcsize; in nlm_make_netobj() 311 dst->n_bytes = malloc(srcsize, type, M_WAITOK); in nlm_make_netobj() 312 memcpy(dst->n_bytes, src, srcsize); in nlm_make_netobj()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_cg.c | 470 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 D | dt_parser.c | 1940 size_t srcsize = dt_node_type_size(rp); in dt_cast() local 1943 if (dstsize < srcsize) { in dt_cast() 1947 } else if (dstsize > srcsize) { in dt_cast() 1948 int n = (sizeof (uint64_t) - srcsize) * NBBY; in dt_cast() 1949 int s = (dstsize - srcsize) * NBBY; in dt_cast()
|
/freebsd/contrib/ldns/ |
H A D | configure.ac | 1080 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 D | zfssubr.c | 345 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()
|