/freebsd/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; chmod 0400 $COPY" \ 95 "test -x $COPY" \ 96 "test ! -x $COPY" 100 "rm $COPY" \ [all …]
|
H A D | scp.sh | 9 DIR=${COPY}.dd 10 DIR2=${COPY}.dd2 11 COPY3=${OBJ}/copy.glob[123] 12 DIR3=${COPY}.dd.glob[456] 28 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2} ${COPY3} ${DIR3} 33 # Create directory structure for recursive copy tests. 37 cp ${DATA} ${DIR}/copy 38 ln -s ${DIR}/copy ${DIR}/copy-sym 40 cp ${DATA} ${DIR}/subdir/copy 52 verbose "$tag: simple copy local file to local file" [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}.dd2 28 mkdir ${COPY}.dd 32 grep copy.dd >/dev/null 2>&1 || fail "lls failed" 36 grep copy.dd >/dev/null 2>&1 || fail "lls w/path failed" 68 rm -f ${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} 28 echo "put $NONEXIST $COPY" | ${SFTP} -D ${SFTPSERVER} >/dev/null 2>&1 \ 30 test -f ${COPY} && fail "existing copy after put nonexistent" 32 rm -f ${COPY}.dd/* [all …]
|
H A D | scp-uri.sh | 9 DIR=${COPY}.dd 10 DIR2=${COPY}.dd2 20 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2} 35 verbose "$tag: simple copy local file to remote file" 37 $SCP $scpopts ${DATA} "scp://${USER}@somehost:${PORT}/${COPY}" || fail "copy failed" 38 cmp ${DATA} ${COPY} || fail "corrupted copy" 40 verbose "$tag: simple copy remote file to local file" 42 $SCP $scpopts "scp://${USER}@somehost:${PORT}/${DATA}" ${COPY} || fail "copy failed" 43 cmp ${DATA} ${COPY} || fail "corrupted copy" 45 verbose "$tag: simple copy local file to remote dir" [all …]
|
H A D | scp3.sh | 7 DIR=${COPY}.dd 8 DIR2=${COPY}.dd2 18 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2} 23 # Create directory structure for recursive copy tests. 27 cp ${DATA} ${DIR}/copy 28 ln -s ${DIR}/copy ${DIR}/copy-sym 30 cp ${DATA} ${DIR}/subdir/copy 43 verbose "$tag: simple copy remote file to remote file" 45 $SCP $scpopts -3 hostA:${DATA} hostB:${COPY} || fail "copy failed" 46 cmp ${DATA} ${COPY} || fail "corrupted copy" [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}.2 25 get $DATA $COPY 26 put ${COPY} ${COPY}.3 27 rm ${COPY}.* 29 put ${COPY}.3 ${COPY}.4 53 rm -rf ${COPY} ${COPY}.1 ${COPY}.2 ${COPY}.dd ${BATCH}.*
|
H A D | sftp-uri.sh | 9 DIR=${COPY}.dd 10 DIR2=${COPY}.dd2 14 rm -rf ${COPY} ${COPY2} ${DIR} ${DIR2} 26 …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 …-S "$SSH" -F $OBJ/ssh_config "sftp://${USER}@somehost:${PORT}/${COPY}" ${DIR} || fail "copy failed" 33 cmp ${COPY} ${DIR}/copy || fail "corrupted copy" 40 put ${DATA} copy 46 cmp ${DATA} ${DIR}/copy || fail "corrupted copy" [all …]
|
H A D | multiplex.sh | 61 rm -f ${COPY} 63 ${SSH} -F $OBJ/ssh_config -S$CTL otherhost cat ${DATA} > ${COPY} 64 test -f ${COPY} || fail "ssh -Sctl: failed copy ${DATA}" 65 cmp ${DATA} ${COPY} || fail "ssh -Sctl: corrupted copy of ${DATA}" 67 rm -f ${COPY} 69 ${SSH} -F $OBJ/ssh_config -S $CTL otherhost cat ${DATA} > ${COPY} 70 test -f ${COPY} || fail "ssh -S ctl: failed copy ${DATA}" 71 cmp ${DATA} ${COPY} || fail "ssh -S ctl: corrupted copy of ${DATA}" 73 rm -f ${COPY} 75 echo "get ${DATA} ${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 | 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 | 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 10" 78 cmp ${DATA} ${COPY} || fail "corrupted copy" 89 rm -f ${COPY} ${LOG} 107 rm -f ${COPY} ${LOG} 109 > ${COPY} 113 cmp ${DATA} ${COPY} || fail "corrupted copy" [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineCopyPropagation.cpp | 1 //===- MachineCopyPropagation.cpp - Machine Copy Propagation Pass ---------===// 9 // This is an extremely simple MachineInstr-level copy propagation pass. 14 // %reg1 = COPY %reg0 21 // - the COPY def is the only value that reaches OP 24 // %reg1 = COPY %reg0 30 // %R1 = COPY %R0 32 // %R0 = COPY %R1 <<< Removed 36 // %R1 = COPY %R0 38 // %R1 = COPY %R0 <<< Removed 44 // $R1 = COPY $R0 // $R0 is killed [all …]
|
/freebsd/contrib/libcbor/test/ |
H A D | copy_test.c | 12 cbor_item_t *item, *copy, *tmp; variable 16 assert_uint8(copy = cbor_copy(item), 10); in test_uints() 18 cbor_decref(©); in test_uints() 21 assert_uint16(copy = cbor_copy(item), 10); in test_uints() 23 cbor_decref(©); in test_uints() 26 assert_uint32(copy = cbor_copy(item), 10); in test_uints() 28 cbor_decref(©); in test_uints() 31 assert_uint64(copy = cbor_copy(item), 10); in test_uints() 33 cbor_decref(©); in test_uints() 38 assert_true(cbor_get_uint8(copy = cbor_copy(item)) == 10); in test_negints() [all …]
|
/freebsd/contrib/libarchive/cpio/test/ |
H A D | test_option_u.c | 24 /* Copy the file to the "copy" dir. */ in DEFINE_TEST() 25 r = systemf("echo f| %s -pd copy >copy.out 2>copy.err", in DEFINE_TEST() 30 p = slurpfile(&s, "copy/f"); in DEFINE_TEST() 44 /* Copy the file to the "copy" dir. */ in DEFINE_TEST() 45 r = systemf("echo f| %s -pd copy >copy.out 2>copy.err", in DEFINE_TEST() 50 p = slurpfile(&s, "copy/f"); in DEFINE_TEST() 55 /* Copy the file to the "copy" dir with -u (force) */ in DEFINE_TEST() 56 r = systemf("echo f| %s -pud copy >copy.out 2>copy.err", in DEFINE_TEST() 61 p = slurpfile(&s, "copy/f"); in DEFINE_TEST()
|
H A D | test_option_l.c | 16 /* Copy the file to the "copy" dir. */ in DEFINE_TEST() 17 r = systemf("echo f | %s -pd copy >copy.out 2>copy.err", in DEFINE_TEST() 21 /* Check that the copy is a true copy and not a link. */ in DEFINE_TEST() 22 assertIsNotHardlink("f", "copy/f"); in DEFINE_TEST() 24 /* Copy the file to the "link" dir with the -l option. */ in DEFINE_TEST() 29 /* Check that this is a link and not a copy. */ in DEFINE_TEST()
|
/freebsd/contrib/libfido2/windows/ |
H A D | release.ps1 | 29 Copy-Item "${OUTPUT}\x64\dynamic\include" -Destination "${OUTPUT}\pkg" ` in Package-Headers() 34 Copy-Item "${SRC}\bin\cbor.dll" "${DEST}" in Package-Dynamic() 35 Copy-Item "${SRC}\lib\cbor.lib" "${DEST}" in Package-Dynamic() 36 Copy-Item "${SRC}\bin\zlib1.dll" "${DEST}" in Package-Dynamic() 37 Copy-Item "${SRC}\lib\zlib1.lib" "${DEST}" in Package-Dynamic() 38 Copy-Item "${SRC}\bin\${CRYPTO_LIBRARIES}.dll" "${DEST}" in Package-Dynamic() 39 Copy-Item "${SRC}\lib\${CRYPTO_LIBRARIES}.lib" "${DEST}" in Package-Dynamic() 40 Copy-Item "${SRC}\bin\fido2.dll" "${DEST}" in Package-Dynamic() 41 Copy-Item "${SRC}\lib\fido2.lib" "${DEST}" in Package-Dynamic() 45 Copy-Item "${SRC}/lib/cbor.lib" "${DEST}" in Package-Static() [all …]
|
/freebsd/sys/contrib/zlib/ |
H A D | inflate.c | 20 * - Unroll direct copy to three copies per loop in inffast.c 37 * - Make MATCH copy in inflate() much faster for when inflate_fast() not used 46 * - Unroll last copy for window match in inflate_fast() 368 local int updatewindow(z_streamp strm, const Bytef *end, unsigned copy) { in updatewindow() argument 389 /* copy state->wsize or less output bytes into the circular window */ in updatewindow() 390 if (copy >= state->wsize) { in updatewindow() 397 if (dist > copy) dist = copy; in updatewindow() 398 zmemcpy(state->window + state->wnext, end - copy, dist); in updatewindow() 399 copy -= dist; in updatewindow() 400 if (copy) { in updatewindow() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/pcie/ |
H A D | tx-gen2.c | 94 * To work around it, copy the data elsewhere and make in iwl_pcie_gen2_enqueue_hcmd() 237 * This will copy the SNAP as well which will be considered in iwl_pcie_gen2_enqueue_hcmd() 1238 int copy = IWL_FIRST_TB_SIZE - copy_size; 1240 if (copy > cmdlen[i]) 1241 copy = cmdlen[i]; 1242 cmdlen[i] -= copy; 1243 cmddata[i] += copy; 1244 copy_size += copy; 1330 /* and copy the data that needs to be copied */ 1332 int copy; 59 int copy = IWL_FIRST_TB_SIZE - copy_size; iwl_pcie_gen2_enqueue_hcmd() local 153 int copy; iwl_pcie_gen2_enqueue_hcmd() local [all...] |
/freebsd/usr.bin/rctl/ |
H A D | rctl.c | 114 char *copy, *expanded, *tofree; in expand_amount() local 117 tofree = copy = strdup(rule); in expand_amount() 118 if (copy == NULL) { in expand_amount() 123 subject = strsep(©, ":"); in expand_amount() 124 subject_id = strsep(©, ":"); in expand_amount() 125 resource = strsep(©, ":"); in expand_amount() 126 action = strsep(©, "=/"); in expand_amount() 127 amount = strsep(©, "/"); in expand_amount() 128 per = copy; in expand_amount() 132 * The "copy" has already been tinkered with by strsep(). in expand_amount() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | SimplifyQuery.h | 108 SimplifyQuery Copy(*this); in getWithInstruction() 109 Copy.CxtI = I; in getWithInstruction() 110 return Copy; in getWithInstruction() 113 SimplifyQuery Copy(*this); in getWithoutUndef() 114 Copy.CanUseUndef = false; in getWithoutUndef() 115 return Copy; in getWithoutUndef() 123 SimplifyQuery Copy(*this); in getWithoutDomCondCache() 124 Copy.DC = nullptr; in getWithoutDomCondCache() 125 return Copy; in getWithoutDomCondCache() 129 SimplifyQuery Copy(*this); in getWithCondContext() [all …]
|
/freebsd/sys/dev/cxgbe/cudbg/ |
H A D | fastlz.c | 8 Permission is hereby granted, free of charge, to any person obtaining a copy 11 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 194 unsigned int copy; in FASTLZ_COMPRESSOR() local 199 /* create literal copy only */ in FASTLZ_COMPRESSOR() 213 /* we start with literal copy */ in FASTLZ_COMPRESSOR() 214 copy = 2; in FASTLZ_COMPRESSOR() 316 /* if we have copied something, adjust the copy count */ in FASTLZ_COMPRESSOR() 317 if (copy) in FASTLZ_COMPRESSOR() 318 /* copy is biased, '0' means 1 byte copy */ in FASTLZ_COMPRESSOR() 319 *(op - copy - 1) = copy - 1; in FASTLZ_COMPRESSOR() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/BlocksRuntime/ |
H A D | runtime.c | 5 * to any person obtaining a copy of this software and associated documentation 7 * including without limitation the rights to use, copy, modify, merge, publish, 281 #pragma mark Copy/Release support 284 /* Copy, or bump refcount, of a block. If really copying, call the copy helper if present. */ 312 // Its a stack block. Make a copy. in _Block_copy_internal() 322 … //printf("calling block copy helper %p(%p, %p)...\n", aBlock->descriptor->copy, result, aBlock); in _Block_copy_internal() 323 (*aBlock->descriptor->copy)(result, aBlock); // do fixup in _Block_copy_internal() 329 // This allows the copy helper routines to make non-refcounted block copies under GC in _Block_copy_internal() 336 // if we copy a malloc block to a GC block then we need to clear NEEDS_FREE. in _Block_copy_internal() 344 //printf("calling block copy helper...\n"); in _Block_copy_internal() [all …]
|
/freebsd/contrib/netbsd-tests/bin/cp/ |
H A D | t_cp.sh | 51 atf_set "descr" "Checks the copy of a file to a file" 105 atf_set "descr" "Checks the copy of a file to a symbolic link" 115 atf_set "descr" "Checks the copy of a symbolic link to a file" 127 atf_set "descr" "Checks the copy of a file to a symbolic link" \ 138 atf_set "descr" "Checks the copy of a symbolic link to a file" \ 151 atf_set "descr" "Checks the copy of multiple files into a directory" 155 # can't copy multiple files to a file 163 atf_set "descr" "Checks the copy of a directory onto a file, which" \ 168 # can't copy a dir onto a file 175 atf_set "descr" "Checks the copy of a file to a symbolic link that" \ [all …]
|