Lines Matching refs:xp
280 char *xp; in c_print() local
395 Xinit(xs, xp, 128, ATEMP); in c_print()
400 Xcheck(xs, xp); in c_print()
417 Xput(xs, xp, '\\'); in c_print()
425 Xput(xs, xp, ts[c]); in c_print()
429 Xput(xs, xp, c); in c_print()
432 Xput(xs, xp, ' '); in c_print()
435 Xput(xs, xp, '\n'); in c_print()
438 Xput(xs, xp, '\0'); in c_print()
439 histsave(&source->line, Xstring(xs, xp), true, false); in c_print()
440 Xfree(xs, xp); in c_print()
442 int len = Xlength(xs, xp); in c_print()
455 for (s = Xstring(xs, xp); len > 0; ) { in c_print()
1800 char *cp, *allocd = NULL, *xp; in c_read() local
1894 Xinit(xs, xp, bytesleft, ATEMP); in c_read()
1940 bytesread = blocking_read(fd, xp, bytesleft); in c_read()
1963 xp += bytesread; in c_read()
1964 XcheckN(xs, xp, bytesleft); in c_read()
1971 xp += bytesread; in c_read()
1978 xp = Xstring(xs, xp); in c_read()
1981 xp += bytesread; in c_read()
1991 if ((c = *xp) == '\0' && !aschars && delim != '\0') { in c_read()
2007 --xp; in c_read()
2016 Xcheck(xs, xp); in c_read()
2017 ++xp; in c_read()
2023 bytesread = Xlength(xs, xp); in c_read()
2024 Xput(xs, xp, '\0'); in c_read()
2041 histsave(&source->line, Xstring(xs, xp), true, false); in c_read()
2043 ccp = cp = Xclose(xs, xp); in c_read()
2073 xp = Xstring(xs, xp); in c_read()
2083 Xput(xs, xp, '1'); in c_read()
2084 Xput(xs, xp, '#'); in c_read()
2087 *xp++ = *ccp++; in c_read()
2091 if (xp[-1] == '\0') { in c_read()
2092 xp[-1] = '0'; in c_read()
2093 xp[-3] = '2'; in c_read()
2116 Xcheck(xs, xp); in c_read()
2117 Xput(xs, xp, ch); in c_read()
2122 xsave = Xsavepos(xs, xp); in c_read()
2130 Xcheck(xs, xp); in c_read()
2131 Xput(xs, xp, ch); in c_read()
2138 Xcheck(xs, xp); in c_read()
2139 Xput(xs, xp, *ccp); in c_read()
2150 xp = Xrestpos(xs, xp, xsave); in c_read()
2152 Xput(xs, xp, '\0'); in c_read()
2163 if (!setstr(vq, Xstring(xs, xp), KSH_RETURN_ERROR)) in c_read()
2179 Xfree(xs, xp); in c_read()