/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | getenv_num.c | 44 char *dst = 0; local 49 || (value = strtol(src, &dst, 0)) < 0 50 || (dst == src) 51 || (*dst != '\0')
|
/freebsd-11-stable/sys/crypto/camellia/ |
H A D | camellia-api.c | 47 camellia_decrypt(const camellia_ctx *ctx, const u_char *src, u_char *dst) argument 50 Camellia_DecryptBlock(ctx->bits, src, ctx->subkey, dst); 54 camellia_encrypt(const camellia_ctx *ctx, const u_char *src, u_char *dst) argument 57 Camellia_EncryptBlock(ctx->bits, src, ctx->subkey, dst);
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | lzjb.c | 54 uchar_t *dst = d_start; local 64 if (dst >= (uchar_t *)d_start + d_len - 1 - 2 * NBBY) 67 copymap = dst; 68 *dst++ = 0; 71 *dst++ = *src++; 87 *dst++ = ((mlen - MATCH_MIN) << (NBBY - MATCH_BITS)) | 89 *dst++ = (uchar_t)offset; 92 *dst++ = *src++; 95 return (dst - (uchar_t *)d_start); 103 uchar_t *dst local [all...] |
/freebsd-11-stable/sys/libkern/ |
H A D | strlcat.c | 40 * Appends src to string dst of size siz (unlike strncat, siz is the 41 * full size of dst, not space left). At most siz-1 characters 42 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 43 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 47 strlcat(dst, src, siz) 48 char *dst; 52 char *d = dst; 57 /* Find the end of dst and adjust bytes left but don't go past end */ 60 dlen = d - dst;
|
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | marshall.h | 51 void ibv_copy_qp_attr_from_kern(struct ibv_qp_attr *dst, 54 void ibv_copy_ah_attr_from_kern(struct ibv_ah_attr *dst, 57 void ibv_copy_path_rec_from_kern(struct ibv_sa_path_rec *dst, 60 void ibv_copy_path_rec_to_kern(struct ib_user_path_rec *dst,
|
/freebsd-11-stable/contrib/unbound/edns-subnet/ |
H A D | edns-subnet.c | 47 copy_clear(uint8_t* dst, size_t dstlen, uint8_t* src, size_t srclen, size_t n) argument 56 memcpy(dst, src, intpart); 58 dst[intpart] = src[intpart] & ~(0xFF >> fracpart); 61 memset(dst + written, 0, dstlen - written);
|
/freebsd-11-stable/contrib/ncurses/ |
H A D | install-sh | 72 dst="" 118 dst=$1 134 dst=$src 137 if [ -d "$dst" ]; then 157 if [ x"$dst" = x ] 168 if [ -d "$dst" ] 170 dst=$dst/`basename "$src"` 177 dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` 213 $doit $instcmd "$dst" [all...] |
/freebsd-11-stable/contrib/libreadline/support/ |
H A D | install.sh | 51 dst="" 97 dst=$1 113 dst=$src 116 if [ -d $dst ]; then 135 if [ x"$dst" = x ] 146 if [ -d $dst ] 148 dst="$dst"/`basename $src` 155 dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` 191 $doit $instcmd $dst [all...] |
/freebsd-11-stable/contrib/byacc/ |
H A D | install-sh | 72 dst="" 118 dst=$1 134 dst=$src 137 if [ -d "$dst" ]; then 157 if [ x"$dst" = x ] 168 if [ -d "$dst" ] 170 dst=$dst/`basename "$src"` 177 dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` 213 $doit $instcmd "$dst" [all...] |
/freebsd-11-stable/contrib/dialog/ |
H A D | install-sh | 72 dst="" 118 dst=$1 134 dst=$src 137 if [ -d "$dst" ]; then 157 if [ x"$dst" = x ] 168 if [ -d "$dst" ] 170 dst=$dst/`basename "$src"` 177 dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` 213 $doit $instcmd "$dst" [all...] |
/freebsd-11-stable/contrib/groff/ |
H A D | install-sh | 68 dst= 175 dst=$src 178 if test -d "$dst"; then 198 dst=$dstarg 200 case $dst in 201 -*) dst=./$dst ;; 206 if test -d "$dst"; then 211 dst=$dst/`basenam [all...] |
/freebsd-11-stable/contrib/binutils/ |
H A D | install-sh | 68 dst= 175 dst=$src 178 if test -d "$dst"; then 198 dst=$dstarg 200 case $dst in 201 -*) dst=./$dst ;; 206 if test -d "$dst"; then 211 dst=$dst/`basenam [all...] |
/freebsd-11-stable/contrib/openbsm/config/ |
H A D | install-sh | 68 dst= 175 dst=$src 178 if test -d "$dst"; then 198 dst=$dstarg 200 case $dst in 201 -*) dst=./$dst ;; 206 if test -d "$dst"; then 211 dst=$dst/`basenam [all...] |
/freebsd-11-stable/contrib/opie/ |
H A D | install-sh | 42 dst="" 88 dst=$1 104 dst=$src 107 if [ -d $dst ]; then 126 if [ x"$dst" = x ] 137 if [ -d $dst ] 139 dst="$dst"/`basename $src` 146 dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` 182 $doit $instcmd $dst [all...] |
/freebsd-11-stable/crypto/openssh/ |
H A D | install-sh | 54 dst="" 100 dst=$1 116 dst=$src 119 if [ -d $dst ]; then 139 if [ x"$dst" = x ] 150 if [ -d $dst ] 152 dst="$dst"/`basename $src` 159 dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` 195 $doit $instcmd $dst [all...] |
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | install-sh | 54 dst="" 100 dst=$1 116 dst=$src 119 if [ -d $dst ]; then 139 if [ x"$dst" = x ] 150 if [ -d $dst ] 152 dst="$dst"/`basename $src` 159 dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` 195 $doit $instcmd $dst [all...] |
/freebsd-11-stable/contrib/libpcap/ |
H A D | install-sh | 54 dst="" 100 dst=$1 116 dst=$src 119 if [ -d $dst ]; then 138 if [ x"$dst" = x ] 149 if [ -d $dst ] 151 dst="$dst"/`basename $src` 158 dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` 194 $doit $instcmd $dst [all...] |
/freebsd-11-stable/contrib/tcpdump/ |
H A D | install-sh | 54 dst="" 100 dst=$1 116 dst=$src 119 if [ -d $dst ]; then 138 if [ x"$dst" = x ] 149 if [ -d $dst ] 151 dst="$dst"/`basename $src` 158 dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` 194 $doit $instcmd $dst [all...] |
/freebsd-11-stable/contrib/elftoolchain/ar/benchmark/ |
H A D | acp.sh | 16 dst=$2/acp.a 18 test -e $dst -o -e /tmp/acp \ 19 && { echo "$dst or /tmp/acp exists, exiting"; exit 1; } 24 awk -vL="`du -k $dst`" '{printf "%s\t%s\t%s\%10.1d KB/s\n", 40 echo " archive=$dst, extract to $ext" 43 for op in "cru $dst $src/*" "t $dst" "x `basename $dst`"; do 51 echo $op | grep -q ^cr && rm -f $dst 53 cp $dst [all...] |
/freebsd-11-stable/contrib/less/ |
H A D | cvt.c | 65 char *dst; local 76 for (src = osrc, dst = odst; src < src_end; ) 79 int dst_pos = (int) (dst - odst); 82 if ((ops & CVT_BS) && ch == '\b' && dst > odst) 86 dst--; 87 } while (dst > odst && utf_mode && 88 !IS_ASCII_OCTET(*dst) && !IS_UTF8_LEAD(*dst)); 104 put_wchar(&dst, ch); 109 if (dst > eds [all...] |
/freebsd-11-stable/contrib/mdocml/ |
H A D | compat_strlcpy.c | 31 * Copy src to string dst of size siz. At most siz-1 characters 36 strlcpy(char *dst, const char *src, size_t siz) argument 38 char *d = dst; 50 /* Not enough room in dst, add NUL and traverse rest of src */ 53 *d = '\0'; /* NUL-terminate dst */
|
/freebsd-11-stable/contrib/file/src/ |
H A D | strlcpy.c | 26 * Copy src to string dst of size siz. At most siz-1 characters 31 strlcpy(char *dst, const char *src, size_t siz) argument 33 char *d = dst; 45 /* Not enough room in dst, add NUL and traverse rest of src */ 48 *d = '\0'; /* NUL-terminate dst */
|
/freebsd-11-stable/contrib/gcclibs/libiberty/ |
H A D | mempcpy.c | 38 mempcpy (PTR dst, const PTR src, size_t len) argument 40 return (char *) memcpy (dst, src, len) + len;
|
H A D | stpcpy.c | 23 @deftypefn Supplemental char* stpcpy (char *@var{dst}, const char *@var{src}) 25 Copies the string @var{src} into @var{dst}. Returns a pointer to 26 @var{dst} + strlen(@var{src}). 39 stpcpy (char *dst, const char *src) argument 42 return (char *) memcpy (dst, src, len + 1) + len;
|
H A D | stpncpy.c | 23 @deftypefn Supplemental char* stpncpy (char *@var{dst}, const char *@var{src}, size_t @var{len}) 25 Copies the string @var{src} into @var{dst}, copying exactly @var{len} 27 then return @var{dst} + @var{len}, otherwise returns @var{dst} + 41 stpncpy (char *dst, const char *src, size_t len) argument 46 return strncpy (dst, src, len) + n;
|