Searched refs:replace (Results 1 - 25 of 290) sorted by relevance

1234567891011>>

/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Dmkerrno.sh38 replace='inline int \1 = \2;@#pragma D binding "1.0" \1'
40 sed -n "s/$pattern/$replace/p" | tr '@' '\n'
H A Dmkerrtags.sh41 replace=' "\1",'
43 sed -n "s/$pattern/$replace/p" || exit 1
H A Dmksignal.sh38 replace='inline int \1 = \2;@#pragma D binding "1.0" \1'
40 sed -n "s/$pattern/$replace/p;/SIGRTMAX/q" | tr '@' '\n'
/freebsd-current/bin/pax/
H A Dpat_rep.h39 typedef struct replace { struct
45 struct replace *fow; /* pointer to next pattern */
/freebsd-current/contrib/libcbor/misc/
H A Dupdate_version.py18 def replace(file_path, pattern, replacement): function
30 replace('CHANGELOG.md', NEXT, changelog_header)
34 replace('Doxyfile', DOXY_VERSION + '.*', DOXY_VERSION + version)
37 replace('CMakeLists.txt',
46 replace('examples/bazel/third_party/libcbor/cbor/configuration.h',
55 replace('doc/source/conf.py',
/freebsd-current/usr.bin/bmake/tests/shell/
H A DMakefile4 TESTS_SUBDIRS= builtin meta path path_select replace select
/freebsd-current/tests/sys/cddl/zfs/tests/hotspare/
H A Dhotspare_replace_001_neg.ksh35 # 'zpool replace <pool> <odev> <ndev>...' should return fail if
36 # - try to replace a basic vdev that already has an activated
38 # - try to replace log device.
43 # 3. For each scenario, try to replace the basic vdev with the given hot spares
44 # 4. Verify the the replace operation get failed
71 log_must $ZPOOL replace $TESTPOOL $odev $dev
72 log_mustnot $ZPOOL replace $TESTPOOL $odev $availdev
78 log_mustnot $ZPOOL replace $TESTPOOL $odev $dev
83 log_assert "'zpool replace <pool> <odev> <ndev>' should fail with inapplicable scenarios."
98 log_mustnot $ZPOOL replace
[all...]
H A Dhotspare_detach_003_pos.ksh36 # and invoke "zpool replace" to replace the original device,
37 # then the spare is automatically removed once the replace completes
42 # 3. Do 'zpool replace' with the original device
43 # 4. Verify the original device will replace by the new device,
44 # and the spare should return to available once replace completes.
71 log_must $ZPOOL replace $TESTPOOL $odev $dev
73 log_must $ZPOOL replace -f $TESTPOOL $odev $ndev
83 log_must $ZPOOL replace $TESTPOOL $ndev $odev
87 log_assert "'zpool replace <poo
[all...]
H A Dhotspare_detach_004_pos.ksh36 # and invoke "zpool replace" with this hot spare to another hot spare,
41 # 2. Activate a hot spare by 'zpool replace' with the basic dev,
43 # 3. Do 'zpool replace' with the hot spare to another AVAIL hot spare.
76 log_must $ZPOOL replace $TESTPOOL $odev $dev
80 log_must $ZPOOL replace $TESTPOOL $dev $ndev
88 log_assert "'zpool replace <pool> <vdev> <ndev>' against a hot spare device that have been activated should successful while the another dev is a available hot spare."
103 log_pass "'zpool replace <pool> <vdev> <ndev>' against a hot spare device that have been activated should successful while the another dev is a available hot spare."
H A Dhotspare_detach_002_pos.ksh39 # then the spare is automatically removed once the replace completes.
47 # and the original drive will removed once replace completes.
74 log_must $ZPOOL replace $TESTPOOL $odev $dev
84 log_must $ZPOOL replace $TESTPOOL $dev $odev
/freebsd-current/sys/contrib/libsodium/regen-msvc/
H A Dregen-msvc.py12 file = file.replace("/", "\\")
17 file = file.replace("/", "\\")
22 file = file.replace("/", "\\")
29 file = file.replace("/", "\\")
36 file = file.replace("/", "\\")
42 file = file.replace("/", "\\")
48 basedir = os.path.dirname(file).replace("src/libsodium/", "")
53 basedir = basedir.replace("/", "\\")
54 file = file.replace("/", "\\")
61 basedir = os.path.dirname(file).replace("sr
[all...]
/freebsd-current/contrib/bc/
H A Dconfigure.sh381 # @param ext1 The extension to replace.
402 # @param files The list of space-separated filenames to replace extensions for.
403 # @param ext1 The extension to replace.
431 # @param str The string to find and replace placeholders in.
433 # @param replacement The string to use to replace the placeholder.
434 replace() { function
508 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
519 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
523 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
527 _gen_file_list_contents=$(replace "
[all...]
H A Dconfigure381 # @param ext1 The extension to replace.
402 # @param files The list of space-separated filenames to replace extensions for.
403 # @param ext1 The extension to replace.
431 # @param str The string to find and replace placeholders in.
433 # @param replacement The string to use to replace the placeholder.
434 replace() { function
508 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
519 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
523 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
527 _gen_file_list_contents=$(replace "
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_010_neg.ksh54 log_mustnot zpool replace $TESTPOOL $ldev $sdev
60 log_mustnot zpool replace $TESTPOOL $ldev $sdev2
61 log_mustnot zpool replace -f $TESTPOOL $ldev $sdev2
/freebsd-current/tests/sys/cddl/zfs/tests/slog/
H A Dslog_010_neg.ksh62 log_mustnot $ZPOOL replace $TESTPOOL $ldev $sdev
68 log_mustnot $ZPOOL replace $TESTPOOL $ldev $sdev2
69 log_mustnot $ZPOOL replace -f $TESTPOOL $ldev $sdev2
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/misc/
H A Dzpool_replace_001_neg.ksh38 # zpool replace returns an error when run as a user
41 # 1. Attempt to replace a device in a pool
58 log_assert "zpool replace returns an error when run as a user"
60 log_mustnot zpool replace $TESTPOOL.virt /$TESTDIR/disk-1.dat \
64 log_mustnot zpool replace -f $TESTPOOL.virt /$TESTDIR/disk-1.dat \
68 log_pass "zpool replace returns an error when run as a user"
/freebsd-current/tests/sys/cddl/zfs/tests/replacement/
H A Dreplacement_001_pos.ksh40 pool_action "$pooltype" replace log_must log_must
/freebsd-current/contrib/llvm-project/clang/include/clang/Edit/
H A DEditsReceiver.h24 virtual void replace(CharSourceRange range, StringRef text) = 0;
26 /// By default it calls replace with an empty string.
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/replacement/
H A Drebuild_raidz.ksh28 # Executing 'zpool replace -s' for raidz vdevs failed. Sequential
32 # 1. Create a raidz pool, verify 'zpool replace -s' fails
33 # 2. Create a stripe/mirror pool, verify 'zpool replace -s' passes
55 log_mustnot zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} \
62 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE
67 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE
72 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_add/
H A Dzpool_add_010_pos.ksh40 log_must $ZPOOL replace $TESTPOOL ${DISK0} ${DISK2}
41 log_must $ZPOOL replace $TESTPOOL ${DISK0} ${DISK3}
/freebsd-current/contrib/llvm-project/libcxx/include/__algorithm/
H A Dreplace.h22 replace(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __old_value, const _Tp& __new_value) { function
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/pool_checkpoint/
H A Dcheckpoint_conf_change.ksh28 # 3. Attempt to attach/replace/remove device
40 log_mustnot zpool replace $TESTPOOL $TESTDISK $EXTRATESTDISK
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/
H A Dzpool_wait_replace_cancel.ksh29 # 4. Start a process that waits for the replace.
55 log_must zpool replace $TESTPOOL $DISK2 $DISK3
56 log_bkgrnd zpool wait -t replace $TESTPOOL
65 log_pass "'zpool wait -t replace' returns when replacing disk is detached."
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_replace/
H A Dzpool_replace_002_neg.ksh30 log_assert "'zpool replace' should fail if the new device is too small"
36 log_mustnot $ZPOOL replace $TESTPOOL $PWD/bigfile $PWD/smallfile
38 log_pass "'zpool replace' should fail if the new device is too small"
/freebsd-current/tools/regression/zfs/zpool/replace/
H A Ddisk.t12 expect_ok ${ZPOOL} replace ${name0} ${disk0} ${disk1}
29 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk3}

Completed in 223 milliseconds

1234567891011>>