/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | printdstlist.c | 20 ippool_dst_t dst; local 22 if ((*copyfunc)(pp, &dst, sizeof(dst))) 25 if ((name != NULL) && strncmp(name, dst.ipld_name, FR_GROUPLEN)) 26 return dst.ipld_next; 29 printdstlistdata(&dst, opts); 31 if ((dst.ipld_flags & IPDST_DELETE) != 0) 59 return dst.ipld_next;
|
/freebsd-11-stable/lib/libc/string/ |
H A D | memset.c | 70 u_char *dst; local 72 dst = dst0; 81 * dst dst+length-1 88 *dst++ = VAL; 106 if ((t = (long)dst & wmask) != 0) { 110 *dst++ = VAL; 117 *(u_int *)dst = WIDEVAL; 118 dst += wsize; 125 *dst [all...] |
/freebsd-11-stable/contrib/unbound/compat/ |
H A D | strlcpy.c | 27 * Copy src to string dst of size siz. At most siz-1 characters 32 strlcpy(char *dst, const char *src, size_t siz) argument 34 char *d = dst; 46 /* Not enough room in dst, add NUL and traverse rest of src */ 49 *d = '\0'; /* NUL-terminate dst */
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | strlcpy.c | 28 * Copy src to string dst of size siz. At most siz-1 characters 33 strlcpy(char *dst, const char *src, size_t siz) argument 35 char *d = dst; 47 /* Not enough room in dst, add NUL and traverse rest of src */ 50 *d = '\0'; /* NUL-terminate dst */
|
/freebsd-11-stable/contrib/tcpdump/missing/ |
H A D | strlcpy.c | 42 * Copy src to string dst of size siz. At most siz-1 characters 47 strlcpy(char *dst, const char *src, size_t siz) argument 49 register char *d = dst; 61 /* Not enough room in dst, add NUL and traverse rest of src */ 64 *d = '\0'; /* NUL-terminate dst */
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | regstrlcpy.c | 24 * Copy src to string dst of size siz. At most siz-1 characters 29 llvm_strlcpy(char *dst, const char *src, size_t siz) argument 31 char *d = dst; 43 /* Not enough room in dst, add NUL and traverse rest of src */ 46 *d = '\0'; /* NUL-terminate dst */
|
/freebsd-11-stable/lib/libssp/ |
H A D | fortify_stubs.c | 37 void *__memcpy_chk(void *dst, const void *src, size_t len, 39 void *__memset_chk(void *dst, int c, size_t len, size_t dstlen); 43 char *__stpcpy_chk(char *dst, const char *src, size_t dstlen); 44 char *__strcat_chk(char *dst, const char *src, size_t dstlen); 45 char *__strcpy_chk(char *dst, const char *src, size_t dstlen); 46 char *__strncat_chk(char *dst, const char *src, size_t len, size_t dstlen); 47 char *__strncpy_chk(char *dst, const char *src, size_t len, size_t dstlen); 56 __memcpy_chk(void *dst, const void *src, size_t len, argument 64 __memset_chk(void *dst, int c, size_t len, size_t dstlen) argument 86 __stpcpy_chk(char *dst, cons argument 93 __strcat_chk(char *dst, const char *src, size_t dstlen) argument 100 __strcpy_chk(char *dst, const char *src, size_t dstlen) argument 107 __strncat_chk(char *dst, const char *src, size_t len, size_t dstlen) argument 114 __strncpy_chk(char *dst, const char *src, size_t len, size_t dstlen) argument [all...] |
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | strl_obsd.c | 35 * Copy src to string dst of size siz. At most siz-1 characters 40 strlcpy(char *dst, const char *src, size_t siz) argument 42 char *d = dst; 54 /* Not enough room in dst, add NUL and traverse rest of src */ 57 *d = '\0'; /* NUL-terminate dst */ 90 * Appends src to string dst of size siz (unlike strncat, siz is the 91 * full size of dst, not space left). At most siz-1 characters 92 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 93 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 97 strlcat(char *dst, cons argument [all...] |
/freebsd-11-stable/contrib/blacklist/port/ |
H A D | strlcat.c | 49 * Appends src to string dst of size siz (unlike strncat, siz is the 50 * full size of dst, not space left). At most siz-1 characters 51 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 52 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 56 strlcat(char *dst, const char *src, size_t siz) 59 char *d = dst; 64 /* Find the end of dst and adjust bytes left but don't go past end */ 67 dlen = d - dst; 85 * Find length of string in dst (maxing out at siz). 87 size_t dlen = strnlen(dst, si [all...] |
/freebsd-11-stable/tests/sys/geom/class/mirror/ |
H A D | 2_test.sh | 13 dst=`mktemp $base.XXXXXX` || exit 1 26 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 27 if [ `md5 -q ${src}` != `md5 -q ${dst}` ]; then 32 dd if=/dev/${us0} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 33 if [ `md5 -q ${src}` != `md5 -q ${dst}` ]; then 38 dd if=/dev/${us1} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 39 if [ `md5 -q ${src}` != `md5 -q ${dst}` ]; then 45 dd if=/dev/${us2} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 46 if [ `md5 -q ${src}` != `md5 -q ${dst}` ]; then 52 rm -f ${src} ${dst} [all...] |
/freebsd-11-stable/tests/sys/geom/class/shsec/ |
H A D | 2_test.sh | 11 dst=`mktemp $base.XXXXXX` || exit 1 24 dd if=/dev/shsec/${name} of=${dst} count=$nblocks1 >/dev/null 2>&1 25 if [ `md5 -q ${src}` != `md5 -q ${dst}` ]; then 31 dd if=/dev/${us0} of=${dst} count=$nblocks1 >/dev/null 2>&1 32 if [ `md5 -q ${src}` = `md5 -q ${dst}` ]; then 38 dd if=/dev/${us1} of=${dst} count=$nblocks1 >/dev/null 2>&1 39 if [ `md5 -q ${src}` = `md5 -q ${dst}` ]; then 45 dd if=/dev/${us2} of=${dst} count=$nblocks1 >/dev/null 2>&1 46 if [ `md5 -q ${src}` = `md5 -q ${dst}` ]; then 52 rm -f ${src} ${dst} [all...] |
/freebsd-11-stable/sys/contrib/dev/acpica/ |
H A D | acpica_prep.sh | 14 dst="$(realpath .)/acpi_ca_destination" 44 rm -rf ${wrk} ${dst} 46 mkdir -p ${dst} 64 find ${wrk} -name ${i} -type d -print | xargs -J % mv % ${dst} 67 find ${wrk} -type f -print | xargs -J % mv % ${dst} 71 find ${dst} -name "*.[chly]" -type f -print | \ 75 find ${dst}/common ${dst}/compiler ${dst}/components \ 80 find ${dst}/includ [all...] |
/freebsd-11-stable/crypto/openssl/crypto/md5/asm/ |
H A D | md5-x86_64.pl | 15 # dst = x + ((dst + F(x,y,z) + X[k] + T_i) <<< s) 21 my ($pos, $dst, $x, $y, $z, $k_next, $T_i, $s) = @_; 26 lea $T_i($dst,%r10d),$dst /* Const + dst + ... */ 30 add %r11d, $dst /* dst += ... */ 31 rol \$$s, $dst /* dst <<< [all...] |
/freebsd-11-stable/contrib/ldns/drill/ |
H A D | install-sh | 95 dst= 237 dst=$src 238 dstdir=$dst 256 dst=$dst_arg 258 case $dst in 259 -*) dst=./$dst;; 264 if test -d "$dst"; then 269 dstdir=$dst 270 dst [all...] |
/freebsd-11-stable/crypto/heimdal/ |
H A D | install-sh | 95 dst= 237 dst=$src 238 dstdir=$dst 256 dst=$dst_arg 258 case $dst in 259 -*) dst=./$dst;; 264 if test -d "$dst"; then 269 dstdir=$dst 270 dst [all...] |
/freebsd-11-stable/contrib/tcsh/ |
H A D | install-sh | 95 dst= 237 dst=$src 238 dstdir=$dst 256 dst=$dst_arg 258 case $dst in 259 -*) dst=./$dst;; 264 if test -d "$dst"; then 269 dstdir=$dst 270 dst [all...] |
/freebsd-11-stable/contrib/sqlite3/tea/tclconfig/ |
H A D | install-sh | 95 dst= 245 dst=$src 246 dstdir=$dst 264 dst=$dst_arg 266 case $dst in 267 -*) dst=./$dst;; 272 if test -d "$dst"; then 277 dstdir=$dst 278 dst [all...] |
/freebsd-11-stable/contrib/elftoolchain/libelf/ |
H A D | libelf_xlate.c | 47 _libelf_xlate(Elf_Data *dst, const Elf_Data *src, unsigned int encoding, argument 59 dst == NULL || src == NULL || dst == src) { 67 if (dst->d_version != src->d_version) { 72 if (src->d_buf == NULL || dst->d_buf == NULL) { 107 if (dst->d_size < dsz) { 114 db = (uintptr_t) dst->d_buf; 115 de = db + (size_t) dst->d_size; 132 dst->d_type = src->d_type; 133 dst [all...] |
/freebsd-11-stable/sys/xen/ |
H A D | blkif.h | 115 static void inline blkif_get_x86_32_req(blkif_request_t *dst, blkif_x86_32_request_t *src) argument 118 dst->operation = src->operation; 119 dst->nr_segments = src->nr_segments; 120 dst->handle = src->handle; 121 dst->id = src->id; 122 dst->sector_number = src->sector_number; 124 if (n > dst->nr_segments) 125 n = dst->nr_segments; 127 dst->seg[i] = src->seg[i]; 130 static void inline blkif_get_x86_64_req(blkif_request_t *dst, blkif_x86_64_request_ argument [all...] |
/freebsd-11-stable/crypto/openssl/crypto/buffer/ |
H A D | buf_str.c | 119 size_t BUF_strlcpy(char *dst, const char *src, size_t size) argument 123 *dst++ = *src++; 127 *dst = '\0'; 131 size_t BUF_strlcat(char *dst, const char *src, size_t size) argument 134 for (; size > 0 && *dst; size--, dst++) 136 return l + BUF_strlcpy(dst, src, size);
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | etherdevice.h | 79 ether_addr_copy(u8 * dst, const u8 * src) argument 81 memcpy(dst, src, 6); 109 random_ether_addr(u8 * dst) argument 111 if (read_random(dst, 6) == 0) 112 arc4rand(dst, 6, 0); 114 dst[0] &= 0xfe; 115 dst[0] |= 0x02;
|
/freebsd-11-stable/lib/libc/locale/ |
H A D | wcsnrtombs.c | 44 wcsnrtombs_l(char * __restrict dst, const wchar_t ** __restrict src, size_t nwc, argument 50 return (XLOCALE_CTYPE(locale)->__wcsnrtombs(dst, src, nwc, len, ps)); 53 wcsnrtombs(char * __restrict dst, const wchar_t ** __restrict src, size_t nwc, argument 56 return wcsnrtombs_l(dst, src, nwc, len, ps, __get_locale()); 61 __wcsnrtombs_std(char * __restrict dst, const wchar_t ** __restrict src, argument 74 if (dst == NULL) { 90 if ((nb = pwcrtomb(dst, *s, ps)) == (size_t)-1) { 112 memcpy(dst, buf, nb); 119 dst += nb;
|
/freebsd-11-stable/lib/libedit/ |
H A D | chartype.c | 95 char *dst; local 101 dst = conv->cbuff; 103 used = (ssize_t)(dst - conv->cbuff); 108 dst = conv->cbuff + used; 112 used = ct_encode_char(dst, (size_t)5, *s); 116 dst += used; 118 *dst = '\0'; 197 ct_encode_char(char *dst, size_t len, Char c) argument 202 l = ct_wctomb(dst, c); 241 Char *dst; local 317 ct_visual_char(Char *dst, size_t len, Char c) argument [all...] |
/freebsd-11-stable/contrib/mdocml/ |
H A D | compat_strlcat.c | 31 * Appends src to string dst of size siz (unlike strncat, siz is the 32 * full size of dst, not space left). At most siz-1 characters 33 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 34 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 38 strlcat(char *dst, const char *src, size_t siz) argument 40 char *d = dst; 45 /* Find the end of dst and adjust bytes left but don't go past end */ 48 dlen = d - dst;
|
/freebsd-11-stable/contrib/file/src/ |
H A D | strlcat.c | 26 * Appends src to string dst of size siz (unlike strncat, siz is the 27 * full size of dst, not space left). At most siz-1 characters 28 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 29 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 33 strlcat(char *dst, const char *src, size_t siz) argument 35 char *d = dst; 40 /* Find the end of dst and adjust bytes left but don't go past end */ 43 dlen = d - dst;
|