Lines Matching refs:replacement
331 replace name by replacement at the beginning of buf of bufsize.
338 const char *replacement, const int do_esc)
342 lrepl = strlen(replacement),
344 (do_esc ? (2 + number_of_escapes(DELIM, replacement)) : 0),
351 if (!strcmp(name, replacement))
356 buf, name, replacement, do_esc, shift, lbuf, lrepl, lsubs));
368 /* insert the replacement with escapes */
373 if (do_esc && (replacement[i] == DELIM || replacement[i] == ESCAPE))
375 buf[j] = replacement[i];