/freebsd-12-stable/crypto/openssh/regress/ |
H A D | sftp-perm.sh | 22 rm -f ${COPY} ${COPY}.1 23 test -d ${COPY}.dd && { rmdir ${COPY}.dd || fatal "rmdir ${COPY}.dd"; } 86 "put $DATA $COPY" \ 88 "cmp $DATA $COPY" \ 89 "test ! -f $COPY" 93 "chmod 0700 $COPY" \ 94 "touch $COPY; chmo [all...] |
H A D | sftp-batch.sh | 8 rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd ${BATCH}.* 11 get $DATA $COPY 12 put ${COPY} ${COPY}.1 13 rm ${COPY} 14 -put ${COPY} ${COPY} [all...] |
H A D | sftp-badcmds.sh | 10 rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd 12 rm -f ${COPY} 14 echo "get $NONEXIST $COPY" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 \ 16 test -f ${COPY} && fail "existing copy after get nonexistent" 18 rm -f ${COPY}.dd/* 23 test -f ${COPY}.dd/$x && fail "existing copy after get nonexistent" 26 rm -f ${COPY} [all...] |
H A D | sftp-cmds.sh | 19 QUOTECOPY=${COPY}".\"blah\"" 20 QUOTECOPY_ARG=${COPY}'.\"blah\"' 22 SPACECOPY="${COPY} this has spaces.txt" 23 SPACECOPY_ARG="${COPY}\ this\ has\ spaces.txt" 25 GLOBMETACOPY="${COPY} [metachar].txt" 27 rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd ${COPY} [all...] |
H A D | sftp.sh | 9 get $DATA ${COPY}.1 10 put $DATA ${COPY}.2 19 rm -f ${COPY}.1 ${COPY}.2 26 cmp $DATA ${COPY}.1 || fail "corrupted copy after get" 27 cmp $DATA ${COPY}.2 || fail "corrupted copy after put" 31 rm -f ${COPY}.1 ${COPY}.2
|
H A D | stderr-after-eof.sh | 7 rm -f ${DATA} ${COPY} 15 2> ${COPY} 20 egrep 'Disconnecting: Received extended_data after EOF' ${COPY} && 22 cmp ${DATA} ${COPY} || fail "stderr corrupt" 24 rm -f ${DATA} ${COPY}
|
H A D | transfer.sh | 6 rm -f ${COPY} 7 ${SSH} -n -q -F $OBJ/ssh_proxy somehost cat ${DATA} > ${COPY} 11 cmp ${DATA} ${COPY} || fail "corrupted copy" 15 rm -f ${COPY} 17 ${SSH} -q -F $OBJ/ssh_proxy somehost "cat > ${COPY}" 21 cmp $DATA ${COPY} || fail "corrupted copy" 23 rm -f ${COPY}
|
H A D | ssh-com-sftp.sh | 10 get $DATA ${COPY}.1 11 put $DATA ${COPY}.2 51 rm -f ${COPY}.1 ${COPY}.2 58 cmp $DATA ${COPY}.1 || fail "corrupted copy after get" 59 cmp $DATA ${COPY}.2 || fail "corrupted copy after put" 64 rm -f ${COPY}.1 ${COPY}.2
|
H A D | stderr-data.sh | 10 2> ${COPY} 15 cmp ${DATA} ${COPY} || fail "stderr corrupt" 16 rm -f ${COPY} 20 > /dev/null 2> ${COPY} 25 cmp ${DATA} ${COPY} || fail "stderr corrupt" 26 rm -f ${COPY}
|
H A D | conch-ciphers.sh | 16 rm -f ${COPY} 21 127.0.0.1 "cat ${DATA}" 2>/dev/null | cat > ${COPY} 25 cmp ${DATA} ${COPY} || fail "corrupted copy" 27 rm -f ${COPY}
|
H A D | putty-ciphers.sh | 17 rm -f ${COPY} 19 cat ${DATA} > ${COPY} 23 cmp ${DATA} ${COPY} || fail "corrupted copy" 25 rm -f ${COPY}
|
H A D | putty-transfer.sh | 13 rm -f ${COPY} 18 -i ${OBJ}/putty.rsa2 cat ${DATA} > ${COPY} 22 cmp ${DATA} ${COPY} || fail "corrupted copy" 26 rm -f ${COPY} 30 "cat > ${COPY}" 34 cmp $DATA ${COPY} || fail "corrupted copy" 37 rm -f ${COPY}
|
H A D | scp-uri.sh | 9 DIR=${COPY}.dd 10 DIR2=${COPY}.dd2 19 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2} 29 $SCP $scpopts ${DATA} "scp://${USER}@somehost:${PORT}/${COPY}" || fail "copy failed" 30 cmp ${DATA} ${COPY} || fail "corrupted copy" 34 $SCP $scpopts "scp://${USER}@somehost:${PORT}/${DATA}" ${COPY} || fail "copy failed" 35 cmp ${DATA} ${COPY} || fail "corrupted copy" 39 cp ${DATA} ${COPY} 40 $SCP $scpopts ${COPY} "scp://${USER}@somehost:${PORT}/${DIR}" || fail "copy failed" 41 cmp ${COPY} [all...] |
H A D | reexec.sh | 21 rm -f ${COPY} 23 cat ${DATA} > ${COPY} 27 cmp ${DATA} ${COPY} || fail "corrupted copy" 28 rm -f ${COPY}
|
H A D | sftp-uri.sh | 9 DIR=${COPY}.dd 10 DIR2=${COPY}.dd2 14 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2} 26 ${SFTP} -q -S "$SSH" -F $OBJ/ssh_config "sftp://${USER}@somehost:${PORT}/${DATA}" ${COPY} || fail "copy failed" 27 cmp ${DATA} ${COPY} || fail "corrupted copy" 31 cp ${DATA} ${COPY} 32 ${SFTP} -q -S "$SSH" -F $OBJ/ssh_config "sftp://${USER}@somehost:${PORT}/${COPY}" ${DIR} || fail "copy failed" 33 cmp ${COPY} ${DIR}/copy || fail "corrupted copy"
|
H A D | sftp-chroot.sh | 27 ${SFTP} -S "$SSH" -F $OBJ/ssh_config host:/${FILENAME} $COPY \ 30 cmp $PRIVDATA $COPY || fail "$PRIVDATA $COPY differ"
|
H A D | scp.sh | 16 DIR=${COPY}.dd 17 DIR2=${COPY}.dd2 26 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2} 32 $SCP $scpopts ${DATA} ${COPY} || fail "copy failed" 33 cmp ${DATA} ${COPY} || fail "corrupted copy" 37 $SCP $scpopts ${DATA} somehost:${COPY} || fail "copy failed" 38 cmp ${DATA} ${COPY} || fail "corrupted copy" 42 $SCP $scpopts somehost:${DATA} ${COPY} || fail "copy failed" 43 cmp ${DATA} ${COPY} || fail "corrupted copy" 47 cp ${DATA} ${COPY} [all...] |
H A D | multiplex.sh | 53 rm -f ${COPY} 55 ${SSH} -F $OBJ/ssh_config -S$CTL otherhost cat ${DATA} > ${COPY} 56 test -f ${COPY} || fail "ssh -Sctl: failed copy ${DATA}" 57 cmp ${DATA} ${COPY} || fail "ssh -Sctl: corrupted copy of ${DATA}" 59 rm -f ${COPY} 61 ${SSH} -F $OBJ/ssh_config -S $CTL otherhost cat ${DATA} > ${COPY} 62 test -f ${COPY} || fail "ssh -S ctl: failed copy ${DATA}" 63 cmp ${DATA} ${COPY} || fail "ssh -S ctl: corrupted copy of ${DATA}" 65 rm -f ${COPY} 67 echo "get ${DATA} ${COPY}" | \ [all...] |
H A D | dynamic-forward.sh | 45 somehost cat ${DATA} > ${COPY} 46 test -f ${COPY} || fail "failed copy ${DATA}" 47 cmp ${DATA} ${COPY} || fail "corrupted copy of ${DATA}"
|
H A D | rekey.sh | 22 rm -f ${COPY} ${LOG} 24 ${SSH} <${DATA} $_opts -v -F $OBJ/ssh_proxy somehost "cat > ${COPY}" 28 cmp ${DATA} ${COPY} || fail "corrupted copy ($@)" 72 rm -f ${COPY} ${LOG} 74 $OBJ/ssh_proxy somehost "cat >${COPY};sleep $s;sleep 3" 78 cmp ${DATA} ${COPY} || fail "corrupted copy" 89 rm -f ${COPY} ${LOG} 107 rm -f ${COPY} ${LOG} 109 > ${COPY} 113 cmp ${DATA} ${COPY} || fai [all...] |
H A D | ssh-com-client.sh | 97 rm -f ${COPY} 98 ${ssh2} -F ${OBJ}/ssh2_config somehost cat ${DATA} > ${COPY} 102 cmp ${DATA} ${COPY} || fail "ssh2 ${v} cat test (receive) data mismatch" 106 rm -f ${COPY} 108 ${ssh2} -F ${OBJ}/ssh2_config host "cat > ${COPY}" 112 cmp ${DATA} ${COPY} || \ 117 rm -f ${COPY}
|
H A D | forwarding.sh | 33 somehost cat ${DATA} > ${COPY} 34 test -s ${COPY} || fail "failed copy of ${DATA}" 35 cmp ${DATA} ${COPY} || fail "corrupted copy of ${DATA}" 114 somehost cat ${DATA} > ${COPY} 115 test -s ${COPY} || fail "failed copy of ${DATA}" 116 cmp ${DATA} ${COPY} || fail "corrupted copy of ${DATA}" 128 somehost cat ${DATA} > ${COPY} 129 test -s ${COPY} || fail "failed copy ${DATA}" 130 cmp ${DATA} ${COPY} || fail "corrupted copy of ${DATA}"
|
/freebsd-12-stable/lib/libc/gen/ |
H A D | statvfs.c | 110 #define COPY(field) \ macro 119 COPY(f_bavail); 120 COPY(f_bfree); 121 COPY(f_blocks); 122 COPY(f_ffree); 123 COPY(f_files);
|
/freebsd-12-stable/lib/libc/stdio/ |
H A D | fvwrite.c | 70 #define COPY(n) (void)memcpy((void *)fp->_p, (void *)p, (size_t)(n)) macro 130 COPY(w); /* copy MIN(fp->_w,len), */ 137 COPY(w); 150 COPY(w); 177 COPY(w); 188 COPY(w);
|
/freebsd-12-stable/lib/libc/stdlib/ |
H A D | heapsort.c | 72 #define COPY(a, b, count, size, tmp1, tmp2) { \ macro 128 COPY(par, child, count, size, tmp1, tmp2); \ 136 COPY(child, k, count, size, tmp1, tmp2); \ 139 COPY(child, par, count, size, tmp1, tmp2); \ 195 COPY(k, base + nmemb * size, cnt, size, tmp1, tmp2); 196 COPY(base + nmemb * size, base + size, cnt, size, tmp1, tmp2);
|