Lines Matching refs:db_lc
218 char * db_lc; /* current character */
292 db_lc -= n;
295 for (p = db_lc; p < db_le-n; p++) {
300 db_putnchars(BACKUP, db_le - db_lc);
307 db_delete(db_le - db_lc, DEL_FWD);
308 db_delete(db_lc - db_lbuf_start, DEL_BWD);
309 db_le = db_lc = db_lbuf_start;
390 db_putnchars(BACKUP, db_le - db_lc);
413 if (db_lc == db_lbuf_start || db_auto_completion == 0)
419 start = db_lc - 1;
426 if (start == db_lc - 1)
436 } while (start != db_lc &&
453 (db_le == db_lc ||
454 ((db_le > db_lc) && *db_lc != ' ')))
456 for (p = db_le - 1; p >= db_lc; p--)
461 *db_lc++ = *sym;
468 if (db_le == db_lc ||
469 ((db_le > db_lc) && *db_lc != ' ')) {
471 *db_lc++ = ' ';
475 db_putstring(db_lc, db_le - db_lc);
476 db_putnchars(BACKUP, db_le - db_lc);
490 db_putnchars(BACKUP, db_le - db_lc);
498 if (db_lc > db_lbuf_start) {
500 db_lc--;
505 if (db_lc < db_le) {
506 cnputc(*db_lc);
507 db_lc++;
512 while (db_lc > db_lbuf_start) {
514 db_lc--;
519 while (db_lc < db_le) {
520 cnputc(*db_lc);
521 db_lc++;
527 if (db_lc > db_lbuf_start)
532 if (db_lc < db_le)
537 if (db_lc < db_le)
538 db_delete(db_le - db_lc, DEL_FWD);
542 if (db_lc > db_lbuf_start)
543 db_delete(db_lc - db_lbuf_start, DEL_BWD);
547 if (db_lc >= db_lbuf_start + 2) {
548 c = db_lc[-2];
549 db_lc[-2] = db_lc[-1];
550 db_lc[-1] = c;
553 cnputc(db_lc[-2]);
554 cnputc(db_lc[-1]);
567 db_lc = db_le;
632 db_lc = db_le;
683 db_lc = db_le;
703 db_putnchars(BACKUP, db_le - db_lc);
757 for (p = db_le; p > db_lc; p--)
759 *db_lc++ = c;
762 db_putstring(db_lc, db_le - db_lc);
763 db_putnchars(BACKUP, db_le - db_lc);
783 db_lc = lstart;