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

1234567891011

/freebsd-13-stable/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-13-stable/bin/pax/
H A Dpat_rep.h42 typedef struct replace { struct
52 struct replace *fow; /* pointer to next pattern */
/freebsd-13-stable/usr.bin/bmake/tests/shell/
H A DMakefile5 TESTS_SUBDIRS= builtin meta path path_select replace select
/freebsd-13-stable/tests/sys/cddl/zfs/tests/hotspare/
H A Dhotspare_replace_001_neg.ksh40 # 'zpool replace <pool> <odev> <ndev>...' should return fail if
41 # - try to replace a basic vdev that already has an activated
43 # - try to replace log device.
48 # 3. For each scenario, try to replace the basic vdev with the given hot spares
49 # 4. Verify the the replace operation get failed
76 log_must $ZPOOL replace $TESTPOOL $odev $dev
77 log_mustnot $ZPOOL replace $TESTPOOL $odev $availdev
83 log_mustnot $ZPOOL replace $TESTPOOL $odev $dev
88 log_assert "'zpool replace <pool> <odev> <ndev>' should fail with inapplicable scenarios."
103 log_mustnot $ZPOOL replace
[all...]
H A Dhotspare_detach_003_pos.ksh41 # and invoke "zpool replace" to replace the original device,
42 # then the spare is automatically removed once the replace completes
47 # 3. Do 'zpool replace' with the original device
48 # 4. Verify the original device will replace by the new device,
49 # and the spare should return to available once replace completes.
76 log_must $ZPOOL replace $TESTPOOL $odev $dev
78 log_must $ZPOOL replace -f $TESTPOOL $odev $ndev
88 log_must $ZPOOL replace $TESTPOOL $ndev $odev
92 log_assert "'zpool replace <poo
[all...]
H A Dhotspare_detach_002_pos.ksh44 # then the spare is automatically removed once the replace completes.
52 # and the original drive will removed once replace completes.
79 log_must $ZPOOL replace $TESTPOOL $odev $dev
89 log_must $ZPOOL replace $TESTPOOL $dev $odev
H A Dhotspare_detach_004_pos.ksh41 # and invoke "zpool replace" with this hot spare to another hot spare,
46 # 2. Activate a hot spare by 'zpool replace' with the basic dev,
48 # 3. Do 'zpool replace' with the hot spare to another AVAIL hot spare.
81 log_must $ZPOOL replace $TESTPOOL $odev $dev
85 log_must $ZPOOL replace $TESTPOOL $dev $ndev
93 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."
108 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."
/freebsd-13-stable/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-13-stable/contrib/bc/
H A Dconfigure279 replace() { function
334 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
338 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
342 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
346 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
1190 contents=$(replace "$contents" "$needle" "$replacement")
1208 contents=$(replace "$contents" "HEADERS" "$headers")
1210 contents=$(replace "$contents" "BC_ENABLED" "$bc")
1211 contents=$(replace "$contents" "DC_ENABLED" "$dc")
1213 contents=$(replace "
[all...]
H A Dconfigure.sh279 replace() { function
334 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
338 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
342 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
346 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \
1190 contents=$(replace "$contents" "$needle" "$replacement")
1208 contents=$(replace "$contents" "HEADERS" "$headers")
1210 contents=$(replace "$contents" "BC_ENABLED" "$bc")
1211 contents=$(replace "$contents" "DC_ENABLED" "$dc")
1213 contents=$(replace "
[all...]
/freebsd-13-stable/contrib/apr/helpers/
H A Dapr_rename.pl29 replace($_, !$just_check);
33 sub replace { subroutine
34 my($file, $replace) = @_;
46 push @lines, $_ if $replace;
51 return unless $found and $replace;
53 # my $ans = prompt("replace?", 'y');
/freebsd-13-stable/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-13-stable/tests/sys/cddl/zfs/tests/slog/
H A Dslog_010_neg.ksh67 log_mustnot $ZPOOL replace $TESTPOOL $ldev $sdev
73 log_mustnot $ZPOOL replace $TESTPOOL $ldev $sdev2
74 log_mustnot $ZPOOL replace -f $TESTPOOL $ldev $sdev2
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_replace/
H A DMakefile.am6 replace-o_ashift.ksh \
/freebsd-13-stable/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-13-stable/tests/sys/cddl/zfs/tests/replacement/
H A Dreplacement_001_pos.ksh42 pool_action "$pooltype" replace log_must log_must
/freebsd-13-stable/contrib/googletest/googlemock/scripts/generator/
H A Dgmock_gen.py30 gmock_class.__doc__ = gmock_class.__doc__.replace('gmock_class.py', __file__)
/freebsd-13-stable/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-13-stable/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-13-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_add/
H A Dzpool_add_010_pos.ksh42 log_must $ZPOOL replace $TESTPOOL ${DISK0} ${DISK2}
43 log_must $ZPOOL replace $TESTPOOL ${DISK0} ${DISK3}
/freebsd-13-stable/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-13-stable/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-13-stable/tests/sys/cddl/zfs/tests/cli_root/zpool_replace/
H A Dzpool_replace_002_neg.ksh32 log_assert "'zpool replace' should fail if the new device is too small"
38 log_mustnot $ZPOOL replace $TESTPOOL $PWD/bigfile $PWD/smallfile
40 log_pass "'zpool replace' should fail if the new device is too small"

Completed in 207 milliseconds

1234567891011