Lines Matching +full:vp +full:- +full:p
1 /*-
26 * v_Put -- [buffer]P
32 v_Put(SCR *sp, VICMD *vp) in v_Put() argument
36 if (F_ISSET(vp, VC_ISDOT)) in v_Put()
37 inc_buf(sp, vp); in v_Put()
41 * Historic vi did not support a count with the 'p' and 'P' in v_Put()
44 for (cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; cnt--;) { in v_Put()
46 F_ISSET(vp, VC_BUFFER) ? &vp->buffer : NULL, in v_Put()
47 &vp->m_start, &vp->m_final, 0)) in v_Put()
49 vp->m_start = vp->m_final; in v_Put()
57 * v_put -- [buffer]p
63 v_put(SCR *sp, VICMD *vp) in v_put() argument
67 if (F_ISSET(vp, VC_ISDOT)) in v_put()
68 inc_buf(sp, vp); in v_put()
72 * Historic vi did not support a count with the 'p' and 'P' in v_put()
75 for (cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; cnt--;) { in v_put()
77 F_ISSET(vp, VC_BUFFER) ? &vp->buffer : NULL, in v_put()
78 &vp->m_start, &vp->m_final, 1)) in v_put()
80 vp->m_start = vp->m_final; in v_put()
90 * after the last one put. For example, `"4p.' would put buffer #4
94 * contents of the default buffer after each put, so after `"4p' the
103 inc_buf(SCR *sp, VICMD *vp) in inc_buf() argument
107 switch (vp->buffer) { in inc_buf()
135 VIP(sp)->sdot.buffer = vp->buffer = v; in inc_buf()