Home
last modified time | relevance | path

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

/dragonfly/contrib/tcsh-6/
H A Dtc.str.c225 static size_t dstsize = 0; local
232 dstsize = MALLOC_INCR;
236 edst = &dst[dstsize];
244 dstsize += MALLOC_INCR;
246 edst = &sdst[dstsize];
542 dstsize = MALLOC_INCR;
546 edst = &dst[dstsize];
551 dstsize += MALLOC_INCR;
554 edst = &sdst[dstsize];
562 dstsize += MALLOC_INCR;
[all …]
/dragonfly/crypto/openssh/
H A Dloginrec.h127 char *line_fullname(char *dst, const char *src, u_int dstsize);
128 char *line_stripname(char *dst, const char *src, int dstsize);
129 char *line_abbrevname(char *dst, const char *src, int dstsize);
H A Dloginrec.c569 memset(dst, '\0', dstsize); in line_fullname()
571 strlcpy(dst, src, dstsize); in line_fullname()
573 strlcpy(dst, "/dev/", dstsize); in line_fullname()
574 strlcat(dst, src, dstsize); in line_fullname()
583 memset(dst, '\0', dstsize); in line_stripname()
585 strlcpy(dst, src + 5, dstsize); in line_stripname()
587 strlcpy(dst, src, dstsize); in line_stripname()
604 memset(dst, '\0', dstsize); in line_abbrevname()
618 if (((int)len - dstsize) > 0) in line_abbrevname()
619 src += ((int)len - dstsize); in line_abbrevname()
[all …]
/dragonfly/contrib/libpcap/
H A Dportability.h70 extern size_t pcap_strlcat(char * restrict dst, const char * restrict src, size_t dstsize);
88 extern size_t pcap_strlcpy(char * restrict dst, const char * restrict src, size_t dstsize);
/dragonfly/lib/libc/nameser/
H A Dns_samedomain.c168 ns_makecanon(const char *src, char *dst, size_t dstsize) { in ns_makecanon() argument
171 if (n + sizeof "." > dstsize) { /*%< Note: sizeof == 2 */ in ns_makecanon()
/dragonfly/contrib/gcc-4.7/gcc/
H A Debitmap.c547 unsigned int dstsize = dst->wordmask->n_bits; in ebitmap_ior_into() local
577 tempmask = sbitmap_alloc (MAX (srcsize, dstsize)); in ebitmap_ior_into()
579 if (srcsize == dstsize) in ebitmap_ior_into()
585 dst->wordmask = sbitmap_resize (dst->wordmask, MAX (srcsize, dstsize), in ebitmap_ior_into()
587 if (srcsize >= dstsize) in ebitmap_ior_into()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dgimple-ssa-sprintf.c3803 unsigned HOST_WIDE_INT dstsize = HOST_WIDE_INT_M1U; in handle_gimple_call() local
3908 dstsize = get_destination_size (dstptr); in handle_gimple_call()
3916 dstsize = tree_to_uhwi (size); in handle_gimple_call()
3923 if (dstsize > target_size_max () / 2) in handle_gimple_call()
3933 dstsize, target_size_max () / 2); in handle_gimple_call()
3935 else if (dstsize > target_int_max ()) in handle_gimple_call()
3938 dstsize); in handle_gimple_call()
3949 dstsize = (warn_level < 2 in handle_gimple_call()
3965 if (info.bounded && !dstsize) in handle_gimple_call()
3993 info.objsize = dstsize < objsize ? dstsize : objsize; in handle_gimple_call()
[all …]
H A Dgimple-ssa-warn-restrict.c664 if (tree dstsize = compute_objsize (addr, ostype)) in builtin_access() local
665 dst.basesize = wi::to_offset (dstsize); in builtin_access()
1840 check_bounds_or_overlap (gcall *call, tree dst, tree src, tree dstsize, in check_bounds_or_overlap() argument
1853 builtin_memref dstref (dst, dstsize); in check_bounds_or_overlap()
H A Dtree-ssa-strlen.c2061 if (tree dstsize = compute_objsize (dst, 1)) in maybe_diag_stxncpy_trunc() local
2067 if (!dstsize) in maybe_diag_stxncpy_trunc()
2070 if (wi::to_wide (dstsize) != cntrange[1]) in maybe_diag_stxncpy_trunc()
2100 tree dstsize = NULL_TREE, srcsize = NULL_TREE; in handle_builtin_stxncpy() local
2109 dstsize = fold_build2 (PLUS_EXPR, type, sidst->nonzero_chars, in handle_builtin_stxncpy()
2137 dstsize, srcsize)) in handle_builtin_stxncpy()
H A Dbuiltins.c3115 if (!dstsize) in check_access()
3116 dstsize = maxobjsize; in check_access()
3153 && ((tree_fits_uhwi_p (dstsize) in check_access()
3172 exp, func, range[0], dstsize); in check_access()
3187 exp, func, range[0], dstsize); in check_access()
3194 dstsize); in check_access()
3212 if (range[0] && dstsize && tree_fits_uhwi_p (dstsize)) in check_access()
3241 if (dstsize != maxobjsize && tree_int_cst_lt (dstsize, range[0])) in check_access()
3251 range[0], dstsize); in check_access()
3257 range[0], range[1], dstsize); in check_access()
[all …]
H A Dgimple-fold.c2033 unsigned HOST_WIDE_INT dstsize; in gimple_fold_builtin_strncat() local
2037 if (!nowarn && compute_builtin_object_size (dst, 1, &dstsize)) in gimple_fold_builtin_strncat()
2039 int cmpdst = compare_tree_int (len, dstsize); in gimple_fold_builtin_strncat()
2056 stmt, fndecl, len, dstsize); in gimple_fold_builtin_strncat()