Home | History | Annotate | Download | only in src

Lines Matching refs:xsp

113 Xcheck_grow(XString *xsp, const char *xp, size_t more)
115 const char *old_beg = xsp->beg;
117 if (more < xsp->len)
118 more = xsp->len;
119 /* (xsp->len + X_EXTRA) never overflows */
120 checkoktoadd(more, xsp->len + X_EXTRA);
121 xsp->beg = aresize(xsp->beg, (xsp->len += more) + X_EXTRA, xsp->areap);
122 xsp->end = xsp->beg + xsp->len;
123 return (xsp->beg + (xp - old_beg));
1556 XString *xsp,
1563 char *xp = Xstring(*xsp, xp);
1596 XcheckN(*xsp, xp, len);
1600 Xput(*xsp, xp, '/');
1602 *phys_pathp = Xlength(*xsp, xp);
1604 XcheckN(*xsp, xp, plen);
1608 Xput(*xsp, xp, '/');
1614 XcheckN(*xsp, xp, len);