Lines Matching defs:rc
54 int rc;
61 WSEMULOP(rc, edp, &edp->abortstate, copyrows,
64 if (rc != 0)
65 return rc;
67 WSEMULOP(rc, edp, &edp->abortstate, eraserows,
69 if (rc != 0)
70 return rc;
91 int rc;
98 WSEMULOP(rc, edp, &edp->abortstate, copyrows,
101 if (rc != 0)
102 return rc;
104 WSEMULOP(rc, edp, &edp->abortstate, eraserows,
106 if (rc != 0)
107 return rc;
128 int rc;
132 WSEMULOP(rc, edp, &edp->abortstate, erasecols,
134 if (rc != 0)
138 WSEMULOP(rc, edp, &edp->abortstate, eraserows,
140 if (rc != 0)
150 WSEMULOP(rc, edp, &edp->abortstate, eraserows,
152 if (rc != 0)
155 WSEMULOP(rc, edp, &edp->abortstate, erasecols,
157 if (rc != 0)
167 WSEMULOP(rc, edp, &edp->abortstate, eraserows,
169 if (rc != 0)
180 rc = 0;
183 if (rc != 0)
184 return rc;
197 int rc;
201 WSEMULOP(rc, edp, &edp->abortstate, erasecols,
205 WSEMULOP(rc, edp, &edp->abortstate, erasecols,
209 WSEMULOP(rc, edp, &edp->abortstate, erasecols,
216 rc = 0;
220 return rc;
233 int rc = 0;
249 rc = wsemul_vt100_ed(edp, ARG(0));
253 rc = wsemul_vt100_el(edp, ARG(0));
261 rc = vt100_decmode(edp, ARG(n), VTMODE_SET);
262 if (rc != 0)
272 rc = vt100_decmode(edp, ARG(n), VTMODE_RESET);
273 if (rc != 0)
281 rc = vt100_decmode(edp, ARG(0), VTMODE_REPORT);
451 WSEMULOP(rc, edp, &edp->abortstate, copycols,
453 if (rc != 0)
456 WSEMULOP(rc, edp, &edp->abortstate, erasecols,
505 rc = wsemul_vt100_scrolldown(edp, n);
507 rc = wsemul_vt100_scrollup(edp, n);
516 WSEMULOP(rc, edp, &edp->abortstate, copycols,
518 if (rc != 0)
521 WSEMULOP(rc, edp, &edp->abortstate, erasecols,
532 WSEMULOP(rc, edp, &edp->abortstate, erasecols,
559 rc = wsemul_vt100_output_normal(edp, instate, kernel, n);
773 return rc;
949 int rc = 0;
1003 WSEMULOP(rc, edp, &edp->abortstate, cursor,
1032 return rc;