/freebsd/contrib/bc/ |
H A D | configure | 383 # @param ext1 The extension to replace. 404 # @param files The list of space-separated filenames to replace extensions for. 405 # @param ext1 The extension to replace. 433 # @param str The string to find and replace placeholders in. 435 # @param replacement The string to use to replace the placeholder. 436 replace() { 510 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 521 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 525 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 529 _gen_file_list_contents=$(replace " 434 replace() { global() function [all...] |
H A D | configure.sh | 436 replace() { function 510 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 521 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 525 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 529 _gen_file_list_contents=$(replace "$_gen_file_list_contents" \ 1867 contents=$(replace "$contents" "INCLUDEDIR" "$INCLUDEDIR") 1868 contents=$(replace "$contents" "LIBDIR" "$LIBDIR") 1869 contents=$(replace "$contents" "VERSION" "$version") 2024 contents=$(replace "$contents" "$needle" "$replacement") 2044 contents=$(replace "$contents" "ROOTDIR" "$scriptdir") [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 | 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} 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} 247 expect_ok ${ZPOOL} replace ${name0} ${dname0} ${disk4} 248 expect_ok ${ZPOOL} replace ${name0} ${dname1} ${disk5} [all …]
|
H A D | mirror.t | 37 expect_ok ${ZPOOL} replace ${name0} ${disk0} ${disk2} 56 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk2} 94 expect_ok ${ZPOOL} replace ${name0} ${dname0} ${disk2} 115 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk2}
|
H A D | raidz1.t | 38 expect_ok ${ZPOOL} replace ${name0} ${disk0} ${disk3} 58 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk3} 98 expect_ok ${ZPOOL} replace ${name0} ${dname0} ${disk3} 120 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk3}
|
H A D | log.t | 41 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk3} 62 expect_ok ${ZPOOL} replace ${name0} ${disk2} ${disk3} 108 expect_ok ${ZPOOL} replace ${name0} ${dname1} ${disk3} 131 expect_ok ${ZPOOL} replace ${name0} ${disk1} ${disk3}
|
/freebsd/contrib/libcbor/misc/ |
H A D | update_version.py | 18 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/ |
H A D | redundancy_draid_spare3.ksh | 109 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev7 draid1-0-0 120 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev8 draid1-0-1 130 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev9 draid1-0-2 143 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev0 $new_vdev0 152 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev2 draid1-0-3 164 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev1 $new_vdev1 171 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev3 draid1-0-4
|
H A D | redundancy_draid_spare2.ksh | 51 log_must zpool replace -w $TESTPOOL $BASEDIR/vdev7 draid1-0-0 55 log_must zpool replace -w $TESTPOOL $BASEDIR/vdev8 draid1-0-1 59 log_must zpool replace -w $TESTPOOL $BASEDIR/vdev9 draid1-0-2
|
/freebsd/lib/libfigpar/ |
H A D | string_m.c | 88 replaceall(char *source, const char *find, const char *replace) in replaceall() argument 109 rlen = replace ? strlen(replace) : 0; in replaceall() 130 for (n = 0; replace && replace[n]; n++) in replaceall() 131 *p++ = replace[n]; in replaceall()
|
/freebsd/tests/sys/cddl/zfs/tests/hotspare/ |
H A D | hotspare_replace_001_neg.ksh | 71 log_must $ZPOOL replace $TESTPOOL $odev $dev 72 log_mustnot $ZPOOL replace $TESTPOOL $odev $availdev 78 log_mustnot $ZPOOL replace $TESTPOOL $odev $dev 98 log_mustnot $ZPOOL replace $TESTPOOL $odev $ndev
|
H A D | hotspare_detach_003_pos.ksh | 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
|
/freebsd/usr.sbin/unbound/setup/ |
H A D | local-unbound-setup.sh | 303 replace() { function 440 replace "${forward_conf}" "${tmp_forward_conf}" 448 replace "${lanzones_conf}" "${tmp_lanzones_conf}" 455 replace "${control_conf}" "${tmp_control_conf}" 463 replace "${unbound_conf}" "${tmp_unbound_conf}" 487 replace "${resolvconf_conf}" "${tmp_resolvconf_conf}" 494 replace "${resolv_conf}" "${tmp_resolv_conf}"
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/replacement/ |
H A D | rebuild_raidz.ksh | 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
|
H A D | rebuild_multiple.ksh | 80 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE 81 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[3]} $SPARE_VDEV_FILE2 106 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE 107 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[3]} $SPARE_VDEV_FILE2
|
/freebsd/usr.bin/m4/tests/ |
H A D | gnupatterns.m4 | 1 patsubst(`string with a + to replace with a minus', `+', `minus') 2 patsubst(`string with aaaaa to replace with a b', `a+', `b') 3 patsubst(`+string with a starting + to replace with a minus', `^+', `minus')
|
/freebsd/tests/sys/cddl/zfs/tests/slog/ |
H A D | slog_010_neg.ksh | 62 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/ |
H A D | slog_010_neg.ksh | 54 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/crypto/openssh/ |
H A D | ssh_api.c | 532 char *orig, *avail, *oavail = NULL, *alg, *replace = NULL; in _ssh_order_hostkeyalgs() local 546 if ((replace = calloc(1, maxlen)) == NULL) { in _ssh_order_hostkeyalgs() 550 *replace = '\0'; in _ssh_order_hostkeyalgs() 558 if (*replace != '\0') in _ssh_order_hostkeyalgs() 559 strlcat(replace, ",", maxlen); in _ssh_order_hostkeyalgs() 560 strlcat(replace, alg, maxlen); in _ssh_order_hostkeyalgs() 565 if (*replace != '\0') { in _ssh_order_hostkeyalgs() 567 debug2_f("replace/%d %s", ssh->kex->server, replace); in _ssh_order_hostkeyalgs() 569 proposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = replace; in _ssh_order_hostkeyalgs() 570 replace = NULL; /* owned by proposal */ in _ssh_order_hostkeyalgs() [all …]
|
/freebsd/contrib/ntp/sntp/libevent/build-aux/ |
H A D | ar-lib | 157 replace= 168 r*) replace=yes ;; 181 case $delete$extract$list$quick$replace,$index in 233 elif test -n "$quick$replace"; then
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_wait/scan/ |
H A D | zpool_wait_replace.ksh | 58 log_must zpool replace $TESTPOOL $DISK2 $DISK3 59 log_bkgrnd zpool wait -t replace $TESTPOOL 64 log_bkgrnd zpool replace -w $TESTPOOL $DISK3 $DISK2
|
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | ph.h | 311 a_type *replace, *parent; \ 343 ph_merge_children(a_type, a_field, phn, a_cmp, replace); \ 345 if (replace != NULL) { \ 347 phn_prev_set(a_type, a_field, replace, parent); \ 349 replace); \ 351 phn_prev_set(a_type, a_field, replace, \ 357 replace); \ 360 phn_next_set(a_type, a_field, replace, \ 365 replace); \
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | mkerrno.sh | 38 replace='inline int \1 = \2;@#pragma D binding "1.0" \1' 40 sed -n "s/$pattern/$replace/p" | tr '@' '\n'
|
H A D | mkerrtags.sh | 41 replace=' "\1",' 43 sed -n "s/$pattern/$replace/p" || exit 1
|