Home | History | Annotate | Download | only in src

Lines Matching defs:args

899 static int on_csi(const char *leader, const long args[], int argcount, const char *intermed, char command, void *user)
951 count = CSI_ARG_COUNT(args[0]);
966 count = CSI_ARG_COUNT(args[0]);
972 count = CSI_ARG_COUNT(args[0]);
978 count = CSI_ARG_COUNT(args[0]);
984 count = CSI_ARG_COUNT(args[0]);
990 count = CSI_ARG_COUNT(args[0]);
997 count = CSI_ARG_COUNT(args[0]);
1004 val = CSI_ARG_OR(args[0], 1);
1010 row = CSI_ARG_OR(args[0], 1);
1011 col = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? 1 : CSI_ARG(args[1]);
1023 count = CSI_ARG_COUNT(args[0]);
1030 switch(CSI_ARG(args[0])) {
1076 switch(CSI_ARG(args[0])) {
1094 count = CSI_ARG_COUNT(args[0]);
1106 count = CSI_ARG_COUNT(args[0]);
1118 count = CSI_ARG_COUNT(args[0]);
1133 count = CSI_ARG_COUNT(args[0]);
1145 count = CSI_ARG_COUNT(args[0]);
1157 count = CSI_ARG_COUNT(args[0]);
1169 count = CSI_ARG_COUNT(args[0]);
1174 col = CSI_ARG_OR(args[0], 1);
1180 count = CSI_ARG_COUNT(args[0]);
1186 val = CSI_ARG_OR(args[0], 0);
1197 row = CSI_ARG_OR(args[0], 1);
1205 count = CSI_ARG_COUNT(args[0]);
1211 row = CSI_ARG_OR(args[0], 1);
1212 col = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? 1 : CSI_ARG(args[1]);
1224 val = CSI_ARG_OR(args[0], 0);
1246 if(!CSI_ARG_IS_MISSING(args[0]))
1247 set_mode(state, CSI_ARG(args[0]), 1);
1251 if(!CSI_ARG_IS_MISSING(args[0]))
1252 set_dec_mode(state, CSI_ARG(args[0]), 1);
1256 count = CSI_ARG_COUNT(args[0]);
1262 count = CSI_ARG_COUNT(args[0]);
1268 if(!CSI_ARG_IS_MISSING(args[0]))
1269 set_mode(state, CSI_ARG(args[0]), 0);
1273 if(!CSI_ARG_IS_MISSING(args[0]))
1274 set_dec_mode(state, CSI_ARG(args[0]), 0);
1278 vterm_state_setpen(state, args, argcount);
1283 val = CSI_ARG_OR(args[0], 0);
1308 request_dec_mode(state, CSI_ARG(args[0]));
1312 val = CSI_ARG_OR(args[0], 1);
1344 val = CSI_ARG_OR(args[0], 0);
1358 state->scrollregion_top = CSI_ARG_OR(args[0], 1) - 1;
1359 state->scrollregion_bottom = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? -1 : CSI_ARG(args[1]);
1372 state->scrollregion_left = CSI_ARG_OR(args[0], 1) - 1;
1373 state->scrollregion_right = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? -1 : CSI_ARG(args[1]);
1385 count = CSI_ARG_COUNT(args[0]);
1397 count = CSI_ARG_COUNT(args[0]);
1460 long args[20];
1461 int argc = vterm_state_getpen(state, args, sizeof(args)/sizeof(args[0]));
1466 CSI_ARG_HAS_MORE(args[argi]) ? "%d:" :
1468 CSI_ARG(args[argi]));