Lines Matching refs:argcount
67 static int lookup_colour(int palette, const long args[], int argcount, VTermColor *col, int *index)
71 if(argcount < 3)
72 return argcount;
84 lookup_colour_palette(argcount ? CSI_ARG_OR(args[0], -1) : -1, col);
86 return argcount ? 1 : 0;
194 void vterm_state_setpen(VTermState *state, const long args[], int argcount)
201 while(argi < argcount) {
297 if(argcount - argi < 1)
299 argi += 1 + lookup_colour(CSI_ARG(args[argi+1]), args+argi+2, argcount-argi-2, &state->pen.fg, &state->fg_index);
318 if(argcount - argi < 1)
320 argi += 1 + lookup_colour(CSI_ARG(args[argi+1]), args+argi+2, argcount-argi-2, &state->pen.bg, &state->bg_index);
356 int vterm_state_getpen(VTermState *state, long args[], int argcount)