Lines Matching defs:esc_seq
87 } esc_seq;
356 char *esc = priv->esc_seq.buf + 2;
514 if (priv->esc_seq.buf[priv->esc_seq.len - 1] != ';')
559 if ((c != '\n') && priv->esc_seq.len >= 0) {
561 priv->esc_seq.buf[priv->esc_seq.len++] = c;
562 priv->esc_seq.buf[priv->esc_seq.len] = '\0';
565 priv->esc_seq.len = -1;
570 priv->esc_seq.len = 0;
571 priv->esc_seq.buf[priv->esc_seq.len] = '\0';
625 if (priv->esc_seq.len >= 2) {
628 if (!strcmp(priv->esc_seq.buf, "[2J")) {
632 } else if (!strcmp(priv->esc_seq.buf, "[H")) {
638 else if ((priv->esc_seq.len >= 3) &&
639 (priv->esc_seq.buf[0] == '[') &&
640 (priv->esc_seq.buf[1] == 'L')) {
649 if (processed || (priv->esc_seq.len >= LCD_ESCAPE_LEN))
650 priv->esc_seq.len = -1;
791 priv->esc_seq.len = -1;