Lines Matching defs:dp
59 static ssize_t moreread(Sfio_t* f, void* buf, size_t n, Sfdisc_t* dp)
61 static ssize_t moreread(f, buf, n, dp)
65 Sfdisc_t* dp;
68 register More_t* more = (More_t*)dp;
73 return sfrd(f, buf, n, dp);
82 static int ttyquery(Sfio_t* rp, Sfio_t* wp, const char* label, Sfdisc_t* dp)
84 static int ttyquery(rp, wp, label, dp)
88 Sfdisc_t* dp;
136 sfwr(wp, label, n, dp);
147 static ssize_t morewrite(Sfio_t* f, const Void_t* buf, register size_t n, Sfdisc_t* dp)
149 static ssize_t morewrite(f, buf, n, dp)
153 Sfdisc_t* dp;
156 register More_t* more = (More_t*)dp;
166 return sfwr(f, buf, n, dp);
211 w += sfwr(f, b, s - b, dp);
213 r = ttyquery(sfstdin, f, more->prompt, dp);
218 sfwr(f, "/", 1, dp);
251 w += sfwr(f, b, s - b, dp);
260 static int moreexcept(Sfio_t* f, int type, Void_t* data, Sfdisc_t* dp)
262 static int moreexcept(f, type, data, dp)
266 Sfdisc_t* dp;
269 register More_t* more = (More_t*)dp;
284 free(dp);