Home
last modified time | relevance | path

Searched refs:replace (Results 1 – 25 of 576) sorted by relevance

12345678910>>...24

/freebsd/contrib/bc/
H A Dconfigure369 # @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 Dconfigure.sh422 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")
1512 contents=$(replace "$contents" "VERSION" "$version")
1646 contents=$(replace "$contents" "$needle" "$replacement")
1666 contents=$(replace "$contents" "ROOTDIR" "$scriptdir")
1667 contents=$(replace "$contents" "BUILDDIR" "$builddir")
1669 contents=$(replace "$contents" "HEADERS" "$headers")
[all …]
/freebsd/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("src/libsodium/", "")
[all …]
/freebsd/tools/regression/zfs/zpool/replace/
H A Draidz2.t39 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 Dmirror.t37 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 Draidz1.t38 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 Dlog.t41 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/less/
H A Devar.c17 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()
86 static void free_replaces(struct replace *replaces) in free_replaces()
90 struct replace *r = replaces; in free_replaces()
117 static constant char * find_replace(constant struct replace *repl, constant char *evar, size_t *pv) in find_replace()
140 struct replace *replaces = make_replaces(buf, len, &e, term); in add_evar()
/freebsd/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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/
H A Dredundancy_draid_spare3.ksh110 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev7 draid1-0-0
121 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev8 draid1-0-1
131 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev9 draid1-0-2
144 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev0 $new_vdev0
153 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev2 draid1-0-3
165 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev1 $new_vdev1
172 log_must zpool replace -w $flags $TESTPOOL $BASEDIR/vdev3 draid1-0-4
H A Dredundancy_draid_spare2.ksh52 log_must zpool replace -w $TESTPOOL $BASEDIR/vdev7 draid1-0-0
56 log_must zpool replace -w $TESTPOOL $BASEDIR/vdev8 draid1-0-1
60 log_must zpool replace -w $TESTPOOL $BASEDIR/vdev9 draid1-0-2
/freebsd/lib/libfigpar/
H A Dstring_m.c88 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 Dhotspare_replace_001_neg.ksh71 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 Dhotspare_detach_003_pos.ksh71 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 Dlocal-unbound-setup.sh303 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 Drebuild_raidz.ksh56 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
H A Drebuild_multiple.ksh81 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE
82 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[3]} $SPARE_VDEV_FILE2
107 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[1]} $SPARE_VDEV_FILE
108 log_must zpool replace -s $TESTPOOL1 ${VDEV_FILES[3]} $SPARE_VDEV_FILE2
/freebsd/usr.bin/m4/tests/
H A Dgnupatterns.m41 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 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/crypto/openssh/
H A Dssh_api.c532 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()
564 if (*replace != '\0') in _ssh_order_hostkeyalgs()
565 strlcat(replace, ",", maxlen); in _ssh_order_hostkeyalgs()
566 strlcat(replace, alg, maxlen); in _ssh_order_hostkeyalgs()
570 if (*replace != '\0') { in _ssh_order_hostkeyalgs()
572 debug2_f("replace/%d %s", ssh->kex->server, replace); in _ssh_order_hostkeyalgs()
574 proposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = replace; in _ssh_order_hostkeyalgs()
575 replace = NULL; /* owned by proposal */ in _ssh_order_hostkeyalgs()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_010_neg.ksh55 log_mustnot zpool replace $TESTPOOL $ldev $sdev
61 log_mustnot zpool replace $TESTPOOL $ldev $sdev2
62 log_mustnot zpool replace -f $TESTPOOL $ldev $sdev2
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dph.h323 * As a special case, check to see if we can replace the root.
371 void *replace;
401 replace = ph_merge_children(phn, offset, cmp);
403 if (replace != NULL) {
405 phn_prev_set(replace, parent, offset);
406 phn_lchild_set(parent, replace, offset);
408 phn_prev_set(replace, phn_prev_get(phn, offset),
411 phn_next_set(phn_prev_get(phn, offset), replace,
415 phn_next_set(replace, phn_next_get(phn, offset), offset);
417 phn_prev_set(phn_next_get(phn, offset), replace,
[all...]
/freebsd/contrib/ntp/sntp/libevent/build-aux/
H A Dar-lib157 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 Dzpool_wait_replace.ksh59 log_must zpool replace $TESTPOOL $DISK2 $DISK3
60 log_bkgrnd zpool wait -t replace $TESTPOOL
65 log_bkgrnd zpool replace -w $TESTPOOL $DISK3 $DISK2
/freebsd/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'

12345678910>>...24