Lines Matching refs:argi
214 int argi = 0; in vterm_state_setpen() local
217 while(argi < argcount) { in vterm_state_setpen()
223 switch(arg = CSI_ARG(args[argi])) { in vterm_state_setpen()
263 state->pen.font = CSI_ARG(args[argi]) - 10; in vterm_state_setpen()
304 value = CSI_ARG(args[argi]) - 30; in vterm_state_setpen()
313 if(argcount - argi < 1) in vterm_state_setpen()
315 …argi += 1 + lookup_colour(state, CSI_ARG(args[argi+1]), args+argi+2, argcount-argi-2, &state->pen.… in vterm_state_setpen()
327 value = CSI_ARG(args[argi]) - 40; in vterm_state_setpen()
334 if(argcount - argi < 1) in vterm_state_setpen()
336 …argi += 1 + lookup_colour(state, CSI_ARG(args[argi+1]), args+argi+2, argcount-argi-2, &state->pen.… in vterm_state_setpen()
348 value = CSI_ARG(args[argi]) - 90 + 8; in vterm_state_setpen()
355 value = CSI_ARG(args[argi]) - 100 + 8; in vterm_state_setpen()
368 while(CSI_ARG_HAS_MORE(args[argi++])); in vterm_state_setpen()
374 int argi = 0; in vterm_state_getpen() local
377 args[argi++] = 1; in vterm_state_getpen()
380 args[argi++] = 3; in vterm_state_getpen()
383 args[argi++] = 4; in vterm_state_getpen()
386 args[argi++] = 5; in vterm_state_getpen()
389 args[argi++] = 7; in vterm_state_getpen()
392 args[argi++] = 9; in vterm_state_getpen()
395 args[argi++] = 10 + state->pen.font; in vterm_state_getpen()
398 args[argi++] = 21; in vterm_state_getpen()
401 args[argi++] = 30 + state->fg_index; in vterm_state_getpen()
403 args[argi++] = 90 + state->fg_index - 8; in vterm_state_getpen()
405 args[argi++] = CSI_ARG_FLAG_MORE|38; in vterm_state_getpen()
406 args[argi++] = CSI_ARG_FLAG_MORE|5; in vterm_state_getpen()
407 args[argi++] = state->fg_index; in vterm_state_getpen()
411 args[argi++] = 40 + state->bg_index; in vterm_state_getpen()
413 args[argi++] = 100 + state->bg_index - 8; in vterm_state_getpen()
415 args[argi++] = CSI_ARG_FLAG_MORE|48; in vterm_state_getpen()
416 args[argi++] = CSI_ARG_FLAG_MORE|5; in vterm_state_getpen()
417 args[argi++] = state->bg_index; in vterm_state_getpen()
420 return argi; in vterm_state_getpen()