Home
last modified time | relevance | path

Searched refs:CSI_ARG (Results 1 – 4 of 4) sorted by relevance

/external/libvterm/src/
Dpen.c98 vterm_color_rgb(col, CSI_ARG(args[0]), CSI_ARG(args[1]), CSI_ARG(args[2])); in lookup_colour()
280 switch(arg = CSI_ARG(args[argi])) { in vterm_state_setpen()
322 state->pen.font = CSI_ARG(args[argi]) - 10; in vterm_state_setpen()
363 value = CSI_ARG(args[argi]) - 30; in vterm_state_setpen()
372 …argi += 1 + lookup_colour(state, CSI_ARG(args[argi+1]), args+argi+2, argcount-argi-2, &state->pen.… in vterm_state_setpen()
383 value = CSI_ARG(args[argi]) - 40; in vterm_state_setpen()
390 …argi += 1 + lookup_colour(state, CSI_ARG(args[argi+1]), args+argi+2, argcount-argi-2, &state->pen.… in vterm_state_setpen()
401 value = CSI_ARG(args[argi]) - 90 + 8; in vterm_state_setpen()
407 value = CSI_ARG(args[argi]) - 100 + 8; in vterm_state_setpen()
Dstate.c998 col = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? 1 : CSI_ARG(args[1]); in on_csi()
1017 switch(CSI_ARG(args[0])) { in on_csi()
1063 switch(CSI_ARG(args[0])) { in on_csi()
1226 col = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? 1 : CSI_ARG(args[1]); in on_csi()
1261 set_mode(state, CSI_ARG(args[0]), 1); in on_csi()
1266 set_dec_mode(state, CSI_ARG(args[0]), 1); in on_csi()
1283 set_mode(state, CSI_ARG(args[0]), 0); in on_csi()
1288 set_dec_mode(state, CSI_ARG(args[0]), 0); in on_csi()
1322 request_dec_mode(state, CSI_ARG(args[0])); in on_csi()
1373 … state->scrollregion_bottom = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? -1 : CSI_ARG(args[1]); in on_csi()
[all …]
Dparser.c28 printf(" %lu", CSI_ARG(vt->parser.csi_args[argi])); in do_csi()
/external/libvterm/include/
Dvterm.h324 #define CSI_ARG(a) ((a) & CSI_ARG_MASK) macro
329 #define CSI_ARG_IS_MISSING(a) (CSI_ARG(a) == CSI_ARG_MISSING)
330 #define CSI_ARG_OR(a,def) (CSI_ARG(a) == CSI_ARG_MISSING ? (def) : CSI_ARG(a))
331 #define CSI_ARG_COUNT(a) (CSI_ARG(a) == CSI_ARG_MISSING || CSI_ARG(a) == 0 ? 1 : CSI_ARG(a))