Lines Matching refs:args

786 static int on_csi(const char *leader, const long args[], int argcount, const char *intermed, char command, void *user)
838 count = CSI_ARG_COUNT(args[0]);
850 count = CSI_ARG_COUNT(args[0]);
856 count = CSI_ARG_COUNT(args[0]);
862 count = CSI_ARG_COUNT(args[0]);
868 count = CSI_ARG_COUNT(args[0]);
874 count = CSI_ARG_COUNT(args[0]);
881 count = CSI_ARG_COUNT(args[0]);
888 val = CSI_ARG_OR(args[0], 1);
894 row = CSI_ARG_OR(args[0], 1);
895 col = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? 1 : CSI_ARG(args[1]);
907 count = CSI_ARG_COUNT(args[0]);
914 switch(CSI_ARG(args[0])) {
954 switch(CSI_ARG(args[0])) {
972 count = CSI_ARG_COUNT(args[0]);
984 count = CSI_ARG_COUNT(args[0]);
996 count = CSI_ARG_COUNT(args[0]);
1008 count = CSI_ARG_COUNT(args[0]);
1020 count = CSI_ARG_COUNT(args[0]);
1032 count = CSI_ARG_COUNT(args[0]);
1044 count = CSI_ARG_COUNT(args[0]);
1049 col = CSI_ARG_OR(args[0], 1);
1055 count = CSI_ARG_COUNT(args[0]);
1061 val = CSI_ARG_OR(args[0], 0);
1072 row = CSI_ARG_OR(args[0], 1);
1080 count = CSI_ARG_COUNT(args[0]);
1086 row = CSI_ARG_OR(args[0], 1);
1087 col = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? 1 : CSI_ARG(args[1]);
1099 val = CSI_ARG_OR(args[0], 0);
1121 if(!CSI_ARG_IS_MISSING(args[0]))
1122 set_mode(state, CSI_ARG(args[0]), 1);
1126 if(!CSI_ARG_IS_MISSING(args[0]))
1127 set_dec_mode(state, CSI_ARG(args[0]), 1);
1131 count = CSI_ARG_COUNT(args[0]);
1137 count = CSI_ARG_COUNT(args[0]);
1143 if(!CSI_ARG_IS_MISSING(args[0]))
1144 set_mode(state, CSI_ARG(args[0]), 0);
1148 if(!CSI_ARG_IS_MISSING(args[0]))
1149 set_dec_mode(state, CSI_ARG(args[0]), 0);
1153 vterm_state_setpen(state, args, argcount);
1158 val = CSI_ARG_OR(args[0], 0);
1183 request_dec_mode(state, CSI_ARG(args[0]));
1187 val = CSI_ARG_OR(args[0], 1);
1219 val = CSI_ARG_OR(args[0], 0);
1233 state->scrollregion_top = CSI_ARG_OR(args[0], 1) - 1;
1234 state->scrollregion_bottom = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? -1 : CSI_ARG(args[1]);
1241 state->scrollregion_left = CSI_ARG_OR(args[0], 1) - 1;
1242 state->scrollregion_right = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? -1 : CSI_ARG(args[1]);
1248 count = CSI_ARG_COUNT(args[0]);
1260 count = CSI_ARG_COUNT(args[0]);