Searched refs:CSI_ARG (Results 1 – 3 of 3) sorted by relevance
/external/libvterm/src/ |
D | pen.c | 74 col->red = CSI_ARG(args[0]); in lookup_colour() 75 col->green = CSI_ARG(args[1]); in lookup_colour() 76 col->blue = CSI_ARG(args[2]); in lookup_colour() 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() 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() 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() [all …]
|
D | state.c | 1011 col = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? 1 : CSI_ARG(args[1]); in on_csi() 1030 switch(CSI_ARG(args[0])) { in on_csi() 1076 switch(CSI_ARG(args[0])) { in on_csi() 1212 col = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? 1 : CSI_ARG(args[1]); in on_csi() 1247 set_mode(state, CSI_ARG(args[0]), 1); in on_csi() 1252 set_dec_mode(state, CSI_ARG(args[0]), 1); in on_csi() 1269 set_mode(state, CSI_ARG(args[0]), 0); in on_csi() 1274 set_dec_mode(state, CSI_ARG(args[0]), 0); in on_csi() 1308 request_dec_mode(state, CSI_ARG(args[0])); in on_csi() 1359 … state->scrollregion_bottom = argcount < 2 || CSI_ARG_IS_MISSING(args[1]) ? -1 : CSI_ARG(args[1]); in on_csi() [all …]
|
/external/libvterm/include/ |
D | vterm.h | 158 #define CSI_ARG(a) ((a) & CSI_ARG_MASK) macro 163 #define CSI_ARG_IS_MISSING(a) (CSI_ARG(a) == CSI_ARG_MISSING) 164 #define CSI_ARG_OR(a,def) (CSI_ARG(a) == CSI_ARG_MISSING ? (def) : CSI_ARG(a)) 165 #define CSI_ARG_COUNT(a) (CSI_ARG(a) == CSI_ARG_MISSING || CSI_ARG(a) == 0 ? 1 : CSI_ARG(a))
|