Home | History | Annotate | Download | only in ed

Lines Matching defs:rbuf

117 char *rbuf;			/* substitute_matching_text buffer */
143 txt = rbuf;
144 eot = rbuf + len;
197 REALLOC(rbuf, rbufsz, off + i, ERR);
200 memcpy(rbuf + off, txt, i);
207 REALLOC(rbuf, rbufsz, off + i, ERR);
210 memcpy(rbuf + off, txt, i);
217 REALLOC(rbuf, rbufsz, off + i + 2, ERR);
224 memcpy(rbuf + off, txt, i);
225 memcpy(rbuf + off + i, "\n", 2);
245 REALLOC(rbuf, rbufsz, off + k - j, ERR);
247 rbuf[off++] = boln[j++];
252 REALLOC(rbuf, rbufsz, off + k - j, ERR);
254 rbuf[off++] = boln[j++];
256 REALLOC(rbuf, rbufsz, off + 1, ERR);
257 rbuf[off++] = *sub;
259 REALLOC(rbuf, rbufsz, off + 1, ERR);
260 rbuf[off] = '\0';