| /illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
| H A D | mktables.sh | 62 replace=" { TOPO_SENSOR_TYPE_\1, \"\1\" }," 64 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1 75 replace=" { TOPO_SENSOR_UNITS_\1, \"\1\" }," 77 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1 88 replace=" { TOPO_LED_TYPE_\1, \"\1\" }," 90 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1 101 replace=" { TOPO_LED_STATE_\1, \"\1\" }," 103 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1 114 replace=" { TOPO_SENSOR_STATE_PHYSICAL_\1, \"\1\" }," 116 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1 [all …]
|
| H A D | mkerror.sh | 45 replace=' "\1",' 47 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1 82 replace=' "\1",' 84 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1 99 replace=' "\1",' 101 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1 116 replace=' "\1",' 118 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1 133 replace=' "\1",' 135 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1 [all …]
|
| /illumos-gate/usr/src/lib/libsqlite/test/ |
| H A D | conflict.test | 36 # cmd An INSERT or REPLACE command to execute against table t1 44 3 {} {INSERT OR REPLACE} 0 4 1 45 4 {} REPLACE 0 4 1 51 10 IGNORE {INSERT OR REPLACE} 0 4 1 52 11 IGNORE REPLACE 0 4 1 56 15 REPLACE INSERT 0 4 1 94 # cmd An INSERT or REPLACE command to execute against table t1 102 3 {} {INSERT OR REPLACE} 0 4 1 103 4 {} REPLACE 0 4 1 109 10 IGNORE {INSERT OR REPLACE} 0 4 1 [all …]
|
| /freebsd/tools/regression/zfs/zpool/offline/ |
| H A D | option-t.t | 19 echo "action: Online the device using 'zpool online' or replace the device with" 20 echo " 'zpool replace'." 39 echo "action: Online the device using 'zpool online' or replace the device with" 40 echo " 'zpool replace'." 63 echo "action: Online the device using 'zpool online' or replace the device with" 64 echo " 'zpool replace'." 101 echo "action: Online the device using 'zpool online' or replace the device with" 102 echo " 'zpool replace'." 123 echo "action: Online the device using 'zpool online' or replace the device with" 124 echo " 'zpool replace'." [all …]
|
| H A D | raidz1.t | 19 echo "action: Online the device using 'zpool online' or replace the device with" 20 echo " 'zpool replace'." 42 echo "action: Online the device using 'zpool online' or replace the device with" 43 echo " 'zpool replace'." 66 echo "action: Online the device using 'zpool online' or replace the device with" 67 echo " 'zpool replace'." 89 echo "action: Online the device using 'zpool online' or replace the device with" 90 echo " 'zpool replace'." 112 echo "action: Online the device using 'zpool online' or replace the device with" 113 echo " 'zpool replace'." [all …]
|
| H A D | mirror.t | 19 echo "action: Online the device using 'zpool online' or replace the device with" 20 echo " 'zpool replace'." 42 echo "action: Online the device using 'zpool online' or replace the device with" 43 echo " 'zpool replace'." 66 echo "action: Online the device using 'zpool online' or replace the device with" 67 echo " 'zpool replace'." 92 echo "action: Online the device using 'zpool online' or replace the device with" 93 echo " 'zpool replace'." 118 echo "action: Online the device using 'zpool online' or replace the device with" 119 echo " 'zpool replace'." [all …]
|
| H A D | raidz2.t | 19 echo "action: Online the device using 'zpool online' or replace the device with" 20 echo " 'zpool replace'." 43 echo "action: Online the device using 'zpool online' or replace the device with" 44 echo " 'zpool replace'." 67 echo "action: Online the device using 'zpool online' or replace the device with" 68 echo " 'zpool replace'." 94 echo "action: Online the device using 'zpool online' or replace the device with" 95 echo " 'zpool replace'." 120 echo "action: Online the device using 'zpool online' or replace the device with" 121 echo " 'zpool replace'." [all …]
|
| H A D | log.t | 19 echo "action: Online the device using 'zpool online' or replace the device with" 20 echo " 'zpool replace'." 45 echo "action: Online the device using 'zpool online' or replace the device with" 46 echo " 'zpool replace'." 72 echo "action: Online the device using 'zpool online' or replace the device with" 73 echo " 'zpool replace'." 102 echo "action: Online the device using 'zpool online' or replace the device with" 103 echo " 'zpool replace'." 134 echo "action: Online the device using 'zpool online' or replace the device with" 135 echo " 'zpool replace'." [all …]
|
| /freebsd/contrib/bc/ |
| H A D | configure | 369 # @param ext1 The extension to replace. 390 # @param files The list of space-separated filenames to replace extensions for. 391 # @param ext1 The extension to replace. 419 # @param str The string to find and replace placeholders in. 421 # @param replacement The string to use to replace the placeholder. 422 replace() { 494 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 505 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 1510 contents=$(replace "$contents" "INCLUDEDIR" "$INCLUDEDIR") 1511 contents=$(replace " 434 replace() { global() function [all...] |
| H A D | configure.sh | 369 # @param ext1 The extension to replace. 390 # @param files The list of space-separated filenames to replace extensions for. 391 # @param ext1 The extension to replace. 419 # @param str The string to find and replace placeholders in. 421 # @param replacement The string to use to replace the placeholder. 422 replace() { function 494 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 505 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 1510 contents=$(replace "$contents" "INCLUDEDIR" "$INCLUDEDIR") 1511 contents=$(replace "$contents" "LIBDIR" "$LIBDIR") [all …]
|
| /freebsd/tests/sys/cddl/zfs/tests/hotspare/ |
| H A D | hotspare_detach_003_pos.ksh | 36 # 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 <pool> <vdev> <ndev>' against a functioning device that have spared shou… 102 log_pass "'zpool replace <pool> <vdev> <ndev>' against a functioning device that have spared succes…
|
| H A D | hotspare_replace_001_neg.ksh | 35 # '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 $TESTPOOL $odev $ndev [all …]
|
| /freebsd/sys/contrib/libsodium/regen-msvc/ |
| H A D | regen-msvc.py | 12 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("src/libsodium/", "") [all …]
|
| /freebsd/tools/regression/zfs/zpool/replace/ |
| H A D | raidz2.t | 25 echo "action: Replace the device using 'zpool replace'." 39 expect_ok ${ZPOOL} replace ${name0} ${disk0} ${disk4} 60 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk4} 102 expect_ok ${ZPOOL} replace ${name0} ${dname0} ${disk4} 125 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk4} 164 echo "action: Replace the device using 'zpool replace'." 178 expect_ok ${ZPOOL} replace ${name0} ${disk0} ${disk4} 179 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk5} 200 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk4} 201 expect_ok ${ZPOOL} replace ${name0} ${disk2} ${disk5} [all …]
|
| /illumos-gate/usr/src/lib/libipmi/common/ |
| H A D | mktables.sh | 62 replace=" { \1, \"\2\" }," 64 cat $libipmi_h | sed -n "s/$pattern/$replace/p" || exit 1 75 replace=" { IPMI_ET_\1, \"\1\" }," 77 cat $libipmi_h | sed -n "s/$pattern/$replace/p" || exit 1 88 replace=" { IPMI_ST_\1, \"\1\" }," 90 cat $libipmi_h | sed -n "s/$pattern/$replace/p" || exit 1 101 replace=" { IPMI_RT_\1, \"\1\" }," 103 cat $libipmi_h | sed -n "s/$pattern/$replace/p" || exit 1 114 replace=" { IPMI_UNITS_\1, \"\1\" }," 116 cat $libipmi_h | sed -n "s/$pattern/$replace/p" || exit 1
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/replacement/ |
| H A D | replace_import.ksh | 25 # Verify that on import an in progress replace operation is resumed. 28 # 1. For both healing and sequential resilvering replace: 30 # b. Replace a vdev with 'zpool replace' to resilver (-s) it. 33 # e. Verify the 'zpool replace' resumed resilvering. 45 log_assert "Verify replace is resumed on import" 57 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[0]} $SPARE_VDEV_FILE 68 log_pass "Verify replace is resumed on import"
|
| H A D | rebuild_raidz.ksh | 29 # Executing 'zpool replace -s' for raidz vdevs failed. Sequential 33 # 1. Create a raidz pool, verify 'zpool replace -s' fails 34 # 2. Create a stripe/mirror pool, verify 'zpool replace -s' passes 56 log_mustnot zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} \ 63 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE 68 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE 73 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
| H A D | import_cachefile_device_replaced.ksh | 24 # of a zpool replace operation at different stages in time. 33 # (Test 1. cachefile: pre-replace, pool: resilvering) 36 # (Test 2. cachefile: pre-replace, pool: post-replace) 39 # (Test 3. cachefile: resilvering, pool: post-replace) 79 log_note "$0: pool '$poolcreate', replace $replacevdev by $replaceby." 83 # Cachefile: pool in pre-replace state 92 log_must zpool replace $TESTPOOL1 $replacevdev $replaceby 105 # Test 1. Cachefile: pre-replace, pool: resilvering 117 # Test 2. Cachefile: pre-replace, pool: post-replace 124 # Test 3. Cachefile: resilvering, pool: post-replace
|
| /freebsd/contrib/less/ |
| H A D | evar.c | 17 struct replace { struct 18 struct replace *r_next; argument 42 static struct replace * make_replaces(mutable char *buf, size_t len, size_t *pe, char term) in make_replaces() argument 45 struct replace *replaces = NULL; in make_replaces() 49 struct replace *repl; in make_replaces() 73 repl = ecalloc(1, sizeof(struct replace)); in make_replaces() 84 * Free a list of replace structs. 86 static void free_replaces(struct replace *replaces) in free_replaces() 90 struct replace *r = replaces; in free_replaces() 115 * given a list of replace structs. [all …]
|
| /illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/ |
| H A D | import_cachefile_device_replaced.ksh | 23 # of a zpool replace operation at different stages in time. 32 # (Test 1. cachefile: pre-replace, pool: resilvering) 35 # (Test 2. cachefile: pre-replace, pool: post-replace) 38 # (Test 3. cachefile: resilvering, pool: post-replace) 76 log_note "$0: pool '$poolcreate', replace $replacevdev by $replaceby." 80 # Cachefile: pool in pre-replace state 89 log_must zpool replace $TESTPOOL1 $replacevdev $replaceby 102 # Test 1. Cachefile: pre-replace, pool: resilvering 114 # Test 2. Cachefile: pre-replace, pool: post-replace 121 # Test 3. Cachefile: resilvering, pool: post-replace
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/ |
| H A D | zpool_wait_replace.ksh | 31 # 5. Repeat 2-4, except using the '-w' flag with 'zpool replace' instead of 58 # Test 'zpool wait -t replace' 59 log_must zpool replace $TESTPOOL $DISK2 $DISK3 60 log_bkgrnd zpool wait -t replace $TESTPOOL 64 # Test 'zpool replace -w' 65 log_bkgrnd zpool replace -w $TESTPOOL $DISK3 $DISK2 72 log_pass "'zpool wait -t replace' and 'zpool replace -w' work."
|
| /illumos-gate/usr/src/contrib/ast/src/lib/libast/path/ |
| H A D | pathrepl.c | 27 * in place replace of first occurrence of /match/ with /replace/ in path 36 pathrepl(char* path, const char* match, const char* replace) in pathrepl() argument 38 return pathrepl_20100601(path, PATH_MAX, match, replace); in pathrepl() 46 pathrepl_20100601(register char* path, size_t size, const char* match, register const char* replace) in pathrepl_20100601() argument 54 if (!replace) in pathrepl_20100601() 55 replace = ""; in pathrepl_20100601() 56 if (streq(match, replace)) in pathrepl_20100601() 73 r = replace; in pathrepl_20100601()
|
| /illumos-gate/usr/src/cmd/fm/dicts/ |
| H A D | INTEL.po | 41 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 57 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 73 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 89 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 105 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 121 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 137 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 153 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 169 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 185 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… [all …]
|
| H A D | GMCA.po | 41 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 57 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 73 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 89 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 105 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 121 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 137 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 153 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 169 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… 185 msgstr "Schedule a repair procedure to replace the affected CPU. Use 'fmadm faulty' to identify th… [all …]
|
| /illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_replace/ |
| H A D | replace_prop_ashift.ksh | 32 # 'zpool replace' should use the ashift pool property value as default. 36 # 2. Verify 'zpool replace' uses the ashift pool property value when 50 log_assert "'zpool replace' uses the ashift pool property value as default." 68 log_must zpool replace $TESTPOOL1 $disk1 $disk2 77 # cannot replace if pool prop ashift > vdev ashift 78 log_mustnot zpool replace $TESTPOOL1 $disk1 $disk2 80 log_must zpool replace -o ashift=$ashift $TESTPOOL1 \ 97 log_pass "'zpool replace' uses the ashift pool property value."
|