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

12345678910

/freebsd-12-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 Dmksignal.sh38 replace='inline int \1 = \2;@#pragma D binding "1.0" \1'
40 sed -n "s/$pattern/$replace/p;/SIGRTMAX/q" | tr '@' '\n'
H A Dmkerrtags.sh44 replace=' "\1",'
46 sed -n "s/$pattern/$replace/p" || exit 1
/freebsd-12-stable/bin/pax/
H A Dpat_rep.h42 typedef struct replace { struct
52 struct replace *fow; /* pointer to next pattern */
/freebsd-12-stable/usr.bin/bmake/tests/shell/
H A DMakefile5 TESTS_SUBDIRS= builtin meta path path_select replace select
/freebsd-12-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-12-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-12-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-12-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-12-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-12-stable/tests/sys/cddl/zfs/tests/replacement/
H A Dreplacement_001_pos.ksh42 pool_action "$pooltype" replace log_must log_must
/freebsd-12-stable/contrib/libstdc++/scripts/
H A Dmake_graphs.py34 title = title.replace('_tt_', '<tt>')
35 title = title.replace('_455tt_', '</tt>')
36 title = title.replace('_b_', '<b>')
37 title = title.replace('_455b_', '</b>')
38 title = title.replace('_456', ',')
39 title = title.replace('_457', '[]')
40 title = title.replace('_', ' ')
100 build = d['id'].replace('%s_' % label, '')
105 test_name = d['id'].replace('%s_' % label, '')
107 base_build_ref = d['id'].replace('
[all...]
/freebsd-12-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-12-stable/contrib/gdb/include/
H A Dternary.h38 already there, and replace is 0.
42 PTR data, int replace));
/freebsd-12-stable/contrib/googletest/googlemock/scripts/generator/
H A Dgmock_gen.py30 gmock_class.__doc__ = gmock_class.__doc__.replace('gmock_class.py', __file__)
/freebsd-12-stable/contrib/gcclibs/include/
H A Dternary.h38 already there, and replace is 0.
42 void *data, int replace);
/freebsd-12-stable/contrib/binutils/include/
H A Dternary.h38 already there, and replace is 0.
42 void *data, int replace);
/freebsd-12-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-12-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"
/freebsd-12-stable/tools/regression/zfs/zpool/replace/
H A Ddisk.t13 expect_ok ${ZPOOL} replace ${name0} ${disk0} ${disk1}
30 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk3}
H A Draidz2.t26 echo "action: Replace the device using 'zpool replace'."
40 expect_ok ${ZPOOL} replace ${name0} ${disk0} ${disk4}
61 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk4}
103 expect_ok ${ZPOOL} replace ${name0} ${dname0} ${disk4}
126 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk4}
165 echo "action: Replace the device using 'zpool replace'."
179 expect_ok ${ZPOOL} replace ${name0} ${disk0} ${disk4}
180 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk5}
201 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk4}
202 expect_ok ${ZPOOL} replace
[all...]

Completed in 217 milliseconds

12345678910