Lines Matching defs:esc_seq
46 } esc_seq;
203 char *esc = priv->esc_seq.buf + 2;
350 if (priv->esc_seq.buf[priv->esc_seq.len - 1] != ';')
370 if ((c != '\n') && priv->esc_seq.len >= 0) {
372 priv->esc_seq.buf[priv->esc_seq.len++] = c;
373 priv->esc_seq.buf[priv->esc_seq.len] = '\0';
376 priv->esc_seq.len = -1;
381 priv->esc_seq.len = 0;
382 priv->esc_seq.buf[priv->esc_seq.len] = '\0';
435 if (priv->esc_seq.len >= 2) {
438 if (!strcmp(priv->esc_seq.buf, "[2J")) {
442 } else if (!strcmp(priv->esc_seq.buf, "[H")) {
448 else if ((priv->esc_seq.len >= 3) &&
449 (priv->esc_seq.buf[0] == '[') &&
450 (priv->esc_seq.buf[1] == 'L')) {
459 if (processed || (priv->esc_seq.len >= LCD_ESCAPE_LEN))
460 priv->esc_seq.len = -1;
606 priv->esc_seq.len = -1;