Home
last modified time | relevance | path

Searched refs:argcount (Results 1 – 5 of 5) sorted by relevance

/haiku/src/apps/serialconnect/libvterm/src/
H A Dpen.c67 static int lookup_colour(const VTermState *state, int palette, const long args[], int argcount, VTe… in lookup_colour() argument
71 if(argcount < 3) in lookup_colour()
72 return argcount; in lookup_colour()
84 lookup_colour_palette(state, argcount ? CSI_ARG_OR(args[0], -1) : -1, col); in lookup_colour()
86 return argcount ? 1 : 0; in lookup_colour()
211 INTERNAL void vterm_state_setpen(VTermState *state, const long args[], int argcount) in vterm_state_setpen() argument
218 while(argi < argcount) { in vterm_state_setpen()
314 if(argcount - argi < 1) in vterm_state_setpen()
316 …argi += 1 + lookup_colour(state, CSI_ARG(args[argi+1]), args+argi+2, argcount-argi-2, &state->pen.… in vterm_state_setpen()
335 if(argcount - argi < 1) in vterm_state_setpen()
[all …]
H A Dparser.c26 int argcount = 1; // Always at least 1 arg in do_string_csi() local
45 argcount++; in do_string_csi()
48 if(argcount > CSI_ARGS_MAX) in do_string_csi()
49 argcount = CSI_ARGS_MAX; in do_string_csi()
51 for(argi = 0; argi < argcount; argi++) in do_string_csi()
55 for(i = leaderlen; i < arglen && argi < argcount; i++) { in do_string_csi()
100 …if((*vt->parser_callbacks->csi)(leaderlen ? leader : NULL, csi_args, argcount, intermedlen ? inter… in do_string_csi()
H A Dvterm_internal.h189 void vterm_state_setpen(VTermState *state, const long args[], int argcount);
190 int vterm_state_getpen(VTermState *state, long args[], int argcount);
H A Dstate.c903 static int on_csi(const char *leader, const long args[], int argcount, const char *intermed, char c… in on_csi() argument
1016 col = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? 1 : CSI_ARG(args[1]); in on_csi()
1217 col = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? 1 : CSI_ARG(args[1]); in on_csi()
1283 vterm_state_setpen(state, args, argcount); in on_csi()
1364 … state->scrollregion_bottom = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? -1 : CSI_ARG(args[1]); in on_csi()
1378 state->scrollregion_right = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? -1 : CSI_ARG(args[1]); in on_csi()
/haiku/src/apps/serialconnect/libvterm/include/
H A Dvterm.h167 …int (*csi)(const char *leader, const long args[], int argcount, const char *intermed, char command…