Home
last modified time | relevance | path

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

123

/netbsd/external/bsd/unbound/dist/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);
/netbsd/sys/arch/evbarm/stand/gzboot/
H A Dgzboot.c96 size_t srcsize;/* size of source buffer */ member
180 if (s->srcsize != 0 && len > (s->srcsize - s->srcoff)) in readbuf()
181 len = s->srcsize - s->srcoff; in readbuf()
369 state.srcsize = srclen; in gzcopy()
/netbsd/external/bsd/am-utils/dist/m4/
H A Dcopy-if-newbig11 $srcsize = $srcstat[7];
17 if ($srcsize > $dstsize && $srcmtime > $dstmtime) {
/netbsd/sys/fs/nfs/nlm/
H A Dnlm.h57 size_t srcsize, struct malloc_type *type);
H A Dnlm_prot_impl.c328 nlm_make_netobj(struct netobj *dst, caddr_t src, size_t srcsize, in nlm_make_netobj() argument
332 dst->n_len = srcsize; in nlm_make_netobj()
333 dst->n_bytes = malloc(srcsize, type, M_WAITOK); in nlm_make_netobj()
334 memcpy(dst->n_bytes, src, srcsize); in nlm_make_netobj()
/netbsd/external/cddl/osnet/dist/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()
/netbsd/external/gpl3/binutils/dist/gprofng/libcollector/
H A Dlibcol_util.c383 size_t srcsize = 0; in __collector_strlcpy() local
387 if (srcsize++ < n) in __collector_strlcpy()
391 return srcsize; in __collector_strlcpy()
/netbsd/external/gpl3/gcc/dist/gcc/
H A Dtree-ssa-strlen.c3304 if (tree srcsize = compute_objsize (src, 1)) in maybe_diag_stxncpy_trunc() local
3305 if (wi::to_wide (srcsize) == cntrange[1]) in maybe_diag_stxncpy_trunc()
3334 tree dstsize = NULL_TREE, srcsize = NULL_TREE; in handle_builtin_stxncpy_strncat() local
3372 srcsize = fold_build2 (PLUS_EXPR, type, sisrc->nonzero_chars, in handle_builtin_stxncpy_strncat()
3376 srcsize = sisrc->nonzero_chars; in handle_builtin_stxncpy_strncat()
3382 srcsize = NULL_TREE; in handle_builtin_stxncpy_strncat()
3384 if (check_bounds_or_overlap (stmt, dst, src, dstsize, srcsize)) in handle_builtin_stxncpy_strncat()
3790 tree srcsize = srclen ? srclen : size_zero_node; in handle_builtin_strcat() local
3792 srcsize = fold_build2 (PLUS_EXPR, type, srcsize, one); in handle_builtin_strcat()
3796 if (check_bounds_or_overlap (stmt, dst, sptr, dstsize, srcsize)) in handle_builtin_strcat()
H A Dgimple-ssa-warn-restrict.c781 if (tree srcsize = compute_objsize (addr, ostype)) in builtin_access() local
782 src.basesize = wi::to_offset (srcsize); in builtin_access()
1991 tree srcsize, bool bounds_only /* = false */, in check_bounds_or_overlap() argument
1997 builtin_memref srcref (src, srcsize); in check_bounds_or_overlap()
H A Dgimple-ssa-warn-restrict.cc2003 tree srcsize, bool bounds_only /* = false */, in check_bounds_or_overlap() argument
2008 call, dst, src, dstsize, srcsize, in check_bounds_or_overlap()
2015 tree srcsize, bool bounds_only /* = false */, in check_bounds_or_overlap() argument
2021 builtin_memref srcref (ptrqry, call, src, srcsize); in check_bounds_or_overlap()
H A Dgimple-ssa-warn-access.cc2740 tree srcsize in check_memop_access() local
2744 check_access (stmt, size, /*maxread=*/NULL_TREE, srcsize, dstsize, in check_memop_access()
3521 tree dstsize = NULL_TREE, srcsize = NULL_TREE; in maybe_check_access_sizes() local
3528 srcsize = objsize; in maybe_check_access_sizes()
3549 check_access (stmt, access_size, /*maxread=*/ NULL_TREE, srcsize, in maybe_check_access_sizes()
H A Dtree-ssa-strlen.cc3181 if (tree srcsize = compute_objsize (src, stmt, 1, &aref, ptr_qry)) in maybe_diag_stxncpy_trunc() local
3182 if (wi::to_wide (srcsize) == cntrange[1]) in maybe_diag_stxncpy_trunc()
3684 tree srcsize = srclen ? srclen : size_zero_node; in handle_builtin_strcat() local
3686 srcsize = fold_build2 (PLUS_EXPR, type, srcsize, one); in handle_builtin_strcat()
3691 srcsize); in handle_builtin_strcat()
H A Dcalls.c2107 tree srcsize; in maybe_warn_rdwr_sizes() local
2111 srcsize = NULL_TREE; in maybe_warn_rdwr_sizes()
2122 srcsize = objsize; in maybe_warn_rdwr_sizes()
2137 srcsize, objsize); in maybe_warn_rdwr_sizes()
H A Dbuiltins.c4160 tree srcsize = src ? compute_objsize (src, 0) : NULL_TREE; in check_memop_access() local
4164 srcsize, dstsize); in check_memop_access()
/netbsd/external/gpl3/gcc.old/dist/gcc/
H A Dtree-ssa-strlen.c3304 if (tree srcsize = compute_objsize (src, 1)) in maybe_diag_stxncpy_trunc() local
3305 if (wi::to_wide (srcsize) == cntrange[1]) in maybe_diag_stxncpy_trunc()
3334 tree dstsize = NULL_TREE, srcsize = NULL_TREE; in handle_builtin_stxncpy_strncat() local
3372 srcsize = fold_build2 (PLUS_EXPR, type, sisrc->nonzero_chars, in handle_builtin_stxncpy_strncat()
3376 srcsize = sisrc->nonzero_chars; in handle_builtin_stxncpy_strncat()
3382 srcsize = NULL_TREE; in handle_builtin_stxncpy_strncat()
3384 if (check_bounds_or_overlap (stmt, dst, src, dstsize, srcsize)) in handle_builtin_stxncpy_strncat()
3790 tree srcsize = srclen ? srclen : size_zero_node; in handle_builtin_strcat() local
3792 srcsize = fold_build2 (PLUS_EXPR, type, srcsize, one); in handle_builtin_strcat()
3796 if (check_bounds_or_overlap (stmt, dst, sptr, dstsize, srcsize)) in handle_builtin_strcat()
H A Dgimple-ssa-warn-restrict.c781 if (tree srcsize = compute_objsize (addr, ostype)) in builtin_access() local
782 src.basesize = wi::to_offset (srcsize); in builtin_access()
1991 tree srcsize, bool bounds_only /* = false */, in check_bounds_or_overlap() argument
1997 builtin_memref srcref (src, srcsize); in check_bounds_or_overlap()
H A Dcalls.c2107 tree srcsize; in maybe_warn_rdwr_sizes() local
2111 srcsize = NULL_TREE; in maybe_warn_rdwr_sizes()
2122 srcsize = objsize; in maybe_warn_rdwr_sizes()
2137 srcsize, objsize); in maybe_warn_rdwr_sizes()
H A Dbuiltins.c4160 tree srcsize = src ? compute_objsize (src, 0) : NULL_TREE; in check_memop_access() local
4164 srcsize, dstsize); in check_memop_access()
/netbsd/external/gpl3/gdb/dist/gas/config/
H A Dtc-arm.c10921 vfp_conv (int srcsize) in vfp_conv() argument
10923 int immbits = srcsize - inst.operands[1].imm; in vfp_conv()
10925 if (srcsize == 16 && !(immbits >= 0 && immbits <= srcsize)) in vfp_conv()
10932 else if (srcsize == 32 && !(immbits >= 0 && immbits < srcsize)) in vfp_conv()
/netbsd/external/gpl3/binutils.old/dist/gas/config/
H A Dtc-arm.c10879 vfp_conv (int srcsize) in vfp_conv() argument
10881 int immbits = srcsize - inst.operands[1].imm; in vfp_conv()
10883 if (srcsize == 16 && !(immbits >= 0 && immbits <= srcsize)) in vfp_conv()
10890 else if (srcsize == 32 && !(immbits >= 0 && immbits < srcsize)) in vfp_conv()
/netbsd/external/gpl3/binutils/dist/gas/config/
H A Dtc-arm.c10975 vfp_conv (int srcsize) in vfp_conv() argument
10977 int immbits = srcsize - inst.operands[1].imm; in vfp_conv()
10979 if (srcsize == 16 && !(immbits >= 0 && immbits <= srcsize)) in vfp_conv()
10986 else if (srcsize == 32 && !(immbits >= 0 && immbits < srcsize)) in vfp_conv()
/netbsd/external/gpl3/gdb.old/dist/gas/config/
H A Dtc-arm.c10921 vfp_conv (int srcsize) in vfp_conv() argument
10923 int immbits = srcsize - inst.operands[1].imm; in vfp_conv()
10925 if (srcsize == 16 && !(immbits >= 0 && immbits <= srcsize)) in vfp_conv()
10932 else if (srcsize == 32 && !(immbits >= 0 && immbits < srcsize)) in vfp_conv()
/netbsd/external/gpl3/binutils.old/dist/gas/po/
H A Dzh_CN.po3707 #. If srcsize is 16, inst.operands[1].imm must be in the range 0-16.
3714 #. If srcsize is 32, inst.operands[1].imm must be in the range 1-32.

123