Lines Matching refs:xp
266 char *xp;
276 Xinit(xs, xp, n, hist_source->areap);
277 while ((n = shf_read(xp, Xnleft(xs, xp), shf)) > 0) {
278 xp += n;
279 if (Xnleft(xs, xp) <= 0)
280 XcheckN(xs, xp, Xlength(xs, xp));
289 *xp = '\0';
290 strip_nuls(Xstring(xs, xp), Xlength(xs, xp));
291 return hist_execute(Xstring(xs, xp));
354 char *xp;
357 Xinit(xs, xp, 128, ATEMP);
363 XcheckN(xs, xp, len + rep_len);
364 memcpy(xp, s, len); /* first part */
365 xp += len;
366 memcpy(xp, rep, rep_len); /* replacement */
367 xp += rep_len;
374 XcheckN(xs, xp, len);
375 memcpy(xp, s, len);
376 xp += len;
377 line = Xclose(xs, xp);