Globals

Hide static globals

1377 globals defined, 703 of them are static.

curwin (3977 uses in 41 translation units) defined in translation unit main.c, declared in ./globals.h:535
buffer.c (103 uses)
  open_buffer():
  172:         curwin->w_cursor.lnum = 1;
  173:         curwin->w_cursor.col = 0;
  228:     foldUpdateAll(curwin);
  233:     if (!(curwin->w_valid & VALID_TOPLINE))
  235:     curwin->w_topline = 1;
  237:     curwin->w_topfill = 0;
  goto_buffer():
  706:     win_close(curwin, TRUE);
  handle_swap_exists():
  748:     close_buffer(curwin, curbuf, DOBUF_UNLOAD);
  do_buffer():
  1113:         win_close(curwin, FALSE);
  1148:         if (curwin->w_jumplistlen > 0)
  1152:         jumpidx = curwin->w_jumplistidx - 1;
  1154:         jumpidx = curwin->w_jumplistlen - 1;
  1157:         while (jumpidx != curwin->w_jumplistidx)
  1159:         buf = buflist_findnr(curwin->w_jumplist[jumpidx].fmark.fnum);
  1175:         if (!jumpidx && curwin->w_jumplistidx == curwin->w_jumplistlen)
  1175:         if (!jumpidx && curwin->w_jumplistidx == curwin->w_jumplistlen)
  1178:             jumpidx = curwin->w_jumplistlen - 1;
  1281:     curwin->w_p_scb = FALSE;    /* reset 'scrollbind' */
  set_curbuf():
  1314:     curwin->w_alt_fnum = curbuf->b_fnum; /* remember alternate file */
  1346:         close_buffer(prevbuf == curwin->w_buffer ? curwin : NULL, prevbuf,
  1346:         close_buffer(prevbuf == curwin->w_buffer ? curwin : NULL, prevbuf,
  enter_buffer():
  1378:     clearFolding(curwin);
  1379:     foldUpdateAll(curwin);    /* update folds (later). */
  1383:     curwin->w_buffer = buf;
  1388:     if (curwin->w_p_diff)
  1393:     curwin->w_cursor.lnum = 1;
  1394:     curwin->w_cursor.col = 0;
  1396:     curwin->w_cursor.coladd = 0;
  1398:     curwin->w_set_curswant = TRUE;
  1419:     curwin->w_topline = 1;
  1421:     curwin->w_topfill = 0;
  1430:     if (curwin->w_cursor.lnum == 1 && inindent(0))
  1433:     check_arg_idx(curwin);        /* check for valid arg_idx */
  1438:     if (curwin->w_topline == 1)        /* when autocmds didn't change it */
  1458:     if (!curbuf->b_help && curwin->w_p_spell && *curbuf->b_p_spl != NUL)
  buflist_new():
  1525:         buflist_setfpos(buf, curwin, lnum, (colnr_T)0, FALSE);
  1664:     buf->b_wininfo->wi_win = curwin;
  buflist_getfile():
  1889:         curwin->w_p_scb = FALSE;
  1904:         curwin->w_cursor.col = col;
  1907:         curwin->w_cursor.coladd = 0;
  1909:         curwin->w_set_curswant = TRUE;
  buflist_getfpos():
  1927:     curwin->w_cursor.lnum = fpos->lnum;
  1931:     curwin->w_cursor.col = 0;
  1934:     curwin->w_cursor.col = fpos->col;
  1937:     curwin->w_cursor.coladd = 0;
  1939:     curwin->w_set_curswant = TRUE;
  buflist_findpat():
  2042:         match = curwin->w_alt_fnum;
  buflist_findnr():
  2298:     nr = curwin->w_alt_fnum;
  find_wininfo():
  2409:     if (wip->wi_win == curwin)
  get_winopts():
  2428:     clear_winopt(&curwin->w_onebuf_opt);
  2430:     clearFolding(curwin);
  2436:     copy_winopt(&wip->wi_opt, &curwin->w_onebuf_opt);
  2438:     curwin->w_fold_manual = wip->wi_fold_manual;
  2439:     curwin->w_foldinvalid = TRUE;
  2440:     cloneFoldGrowArray(&wip->wi_folds, &curwin->w_folds);
  2444:     copy_winopt(&curwin->w_allbuf_opt, &curwin->w_onebuf_opt);
  2444:     copy_winopt(&curwin->w_allbuf_opt, &curwin->w_onebuf_opt);
  2449:     curwin->w_p_fdl = p_fdls;
  buflist_list():
  2510:             (curwin->w_alt_fnum == buf->b_fnum ? '#' : ' '),
  2525:         buf == curbuf ? curwin->w_cursor.lnum
  buf_name_changed():
  2694:     if (curwin->w_buffer == buf)
  2695:     check_arg_idx(curwin);    /* check file name for arg list */
  setaltfname():
  2723:     curwin->w_alt_fnum = buf->b_fnum;
  buflist_altfpos():
  2792:     buflist_setfpos(curbuf, curwin, curwin->w_cursor.lnum,
  2792:     buflist_setfpos(curbuf, curwin, curwin->w_cursor.lnum,
  2793:                           curwin->w_cursor.col, TRUE);
  fileinfo():
  2956:     if (curwin->w_cursor.lnum > 1000000L)
  2957:     n = (int)(((long)curwin->w_cursor.lnum) /
  2960:     n = (int)(((long)curwin->w_cursor.lnum * 100L) /
  2984:         (long)curwin->w_cursor.lnum,
  2989:            (int)curwin->w_cursor.col + 1, (int)curwin->w_virtcol + 1);
  2989:            (int)curwin->w_cursor.col + 1, (int)curwin->w_virtcol + 1);
  2992:     (void)append_arg_number(curwin, buffer, !shortmess(SHM_FILE), IOSIZE);
  maketitle():
  3085:         build_stl_str_hl(curwin, t_str, sizeof(buf),
  3152:         append_arg_number(curwin, buf, FALSE, IOSIZE);
  3190:         build_stl_str_hl(curwin, i_str, sizeof(buf),
  build_stl_str_hl():
  3637:         o_curwin = curwin;
  3638:         curwin = wp;
  3643:         curwin = o_curwin;
  append_arg_number():
  4147:     if (ARGCOUNT <= 1)        /* nothing to do */
  4161:                   : "%d of %d)", wp->w_arg_idx + 1, ARGCOUNT);
  do_arg_all():
  4286:     if (ARGCOUNT <= 0)
  4294:     opened_len = ARGCOUNT;
  4325:         i = ARGCOUNT;
  4329:         for (i = 0; i < ARGCOUNT; ++i)
  4331:             if (ARGLIST[i].ae_fnum == buf->b_fnum
  4332:                 || fullpathcmp(alist_name(&ARGLIST[i]),
  4344:             if (wp->w_alist != curwin->w_alist)
  4349:                 wp->w_alist = curwin->w_alist;
  4358:         if (i == ARGCOUNT && !keep_tabs)    /* close this window */
  4414:     if (count > ARGCOUNT || count <= 0)
  4415:     count = ARGCOUNT;
  4420:     alist = curwin->w_alist;
  4444:         if (curwin->w_arg_idx != i)
  4450:             win_move_after(wpnext, curwin);
  4475:         curwin->w_arg_idx = i;
  4478:         new_curwin = curwin;
  4483:               ((P_HID(curwin->w_buffer)
  4484:                || bufIsChanged(curwin->w_buffer)) ? ECMD_HIDE : 0)
  ex_buffer_all():
  4636:         win_move_after(wp, curwin);
  4676:         win_close(curwin, TRUE);
  read_viminfo_bufferlist():
  4932:     if (xline != NULL && !writing && ARGCOUNT == 0
  4962:         buflist_setfpos(buf, curwin, lnum, col, FALSE);
charset.c (10 uses)
  chartabsize():
  816:     RET_WIN_BUF_CHARTABSIZE(curwin, curbuf, p, col)
  lbr_chartabsize():
  993:     if (!curwin->w_p_lbr && *p_sbr == NUL)
  997:     if (curwin->w_p_wrap)
  998:         return win_nolbr_chartabsize(curwin, s, col, NULL);
  1000:     RET_WIN_BUF_CHARTABSIZE(curwin, curbuf, s, col)
  1003:     return win_lbr_chartabsize(curwin, s, col, NULL);
  getvcol_nolist():
  1361:     int        list_save = curwin->w_p_list;
  1364:     curwin->w_p_list = FALSE;
  1365:     getvcol(curwin, posp, NULL, &vcol, NULL);
  1366:     curwin->w_p_list = list_save;
diff.c (33 uses)
  diff_redraw():
  614:         if (wp != curwin && wp->w_topfill > 0)
  ex_diffupdate():
  795:     curwin->w_valid_cursor.lnum = 0;
  ex_diffpatch():
  869:     win_T    *old_curwin = curwin;
  1004:     if (curwin != old_curwin)        /* split must have worked */
  1007:         diff_win_options(curwin, TRUE);
  ex_diffsplit():
  1050:     win_T    *old_curwin = curwin;
  1062:     curwin->w_p_diff = TRUE;
  1065:     if (curwin != old_curwin)        /* split must have worked */
  1068:         diff_win_options(curwin, TRUE);
  ex_diffthis():
  1083:     diff_win_options(curwin, TRUE);
  diff_win_options():
  1099:     win_T        *old_curwin = curwin;
  1101:     curwin = wp;
  1102:     curbuf = curwin->w_buffer;
  1105:     curwin = old_curwin;
  1106:     curbuf = curwin->w_buffer;
  ex_diffoff():
  1134:     win_T    *old_curwin = curwin;
  1141:     if (wp == curwin || eap->forceit)
  1148:         curwin = wp;
  1149:         curbuf = curwin->w_buffer;
  1152:         curwin = old_curwin;
  1153:         curbuf = curwin->w_buffer;
  nv_diffgetput():
  2023:     ea.line1 = curwin->w_cursor.lnum;
  2024:     ea.line2 = curwin->w_cursor.lnum;
  ex_diffgetput():
  2134:         && diff_check(curwin, eap->line1) == 0
  2135:         && (eap->line1 == 1 || diff_check(curwin, eap->line1 - 1) == 0))
  2288:         if (curwin->w_cursor.lnum >= lnum)
  2292:             if (curwin->w_cursor.lnum >= lnum + count)
  2293:             curwin->w_cursor.lnum += added;
  2295:             curwin->w_cursor.lnum = lnum;
  diff_move_to():
  2394:     linenr_T    lnum = curwin->w_cursor.lnum;
  2433:     if (lnum == curwin->w_cursor.lnum)
  2437:     curwin->w_cursor.lnum = lnum;
  2438:     curwin->w_cursor.col = 0;
edit.c (397 uses)
  edit():
  384:     Insstart = curwin->w_cursor;
  504:     if (((ins_at_eol && curwin->w_cursor.lnum == o_lnum)
  505:             || curwin->w_curswant > curwin->w_virtcol)
  505:             || curwin->w_curswant > curwin->w_virtcol)
  506:         && *(ptr = ml_get_curline() + curwin->w_cursor.col) != NUL)
  509:         ++curwin->w_cursor.col;
  515:             curwin->w_cursor.col += i;
  600:         curwin->w_set_curswant = TRUE;
  643:         && curwin->w_p_wrap
  645:         && curwin->w_topline == old_topline
  647:         && curwin->w_topfill == old_topfill
  651:         mincol = curwin->w_wcol;
  654:         if ((int)curwin->w_wcol < (int)mincol - curbuf->b_p_ts
  655:             && curwin->w_wrow == W_WINROW(curwin)
  655:             && curwin->w_wrow == W_WINROW(curwin)
  656:                          + curwin->w_height - 1 - p_so
  657:             && (curwin->w_cursor.lnum != curwin->w_topline
  657:             && (curwin->w_cursor.lnum != curwin->w_topline
  659:             || curwin->w_topfill > 0
  664:         if (curwin->w_topfill > 0)
  665:             --curwin->w_topfill;
  669:         if (hasFolding(curwin->w_topline, NULL, &old_topline))
  670:             set_topline(curwin, old_topline + 1);
  673:             set_topline(curwin, curwin->w_topline + 1);
  673:             set_topline(curwin, curwin->w_topline + 1);
  691:     if (curwin->w_p_scb)
  696:     old_topline = curwin->w_topline;
  698:     old_topfill = curwin->w_topfill;
  736:         && curwin->w_cursor.col >= compl_col
  742:             && curwin->w_cursor.col > compl_col
  755:                       > curwin->w_cursor.col - compl_col))
  923:         o_lnum = curwin->w_cursor.lnum;
  1253:         if (curwin->w_llist_ref == NULL)    /* quickfix window */
  1374:             && curwin->w_cursor.lnum == Insstart.lnum)
  ins_redraw():
  1455:                  && !equalpos(last_cursormoved, curwin->w_cursor)
  1455:                  && !equalpos(last_cursormoved, curwin->w_cursor)
  1455:                  && !equalpos(last_cursormoved, curwin->w_cursor)
  1470:         last_cursormoved = curwin->w_cursor;
  edit_putchar():
  1546:     pc_row = W_WINROW(curwin) + curwin->w_wrow;
  1546:     pc_row = W_WINROW(curwin) + curwin->w_wrow;
  1547:     pc_col = W_WINCOL(curwin);
  1572:         pc_col += curwin->w_wcol;
  edit_unputchar():
  1601:         ++curwin->w_wcol;
  1603:         redrawWinline(curwin->w_cursor.lnum, FALSE);
  display_dollar():
  1624:     save_col = curwin->w_cursor.col;
  1625:     curwin->w_cursor.col = col;
  1633:     curwin->w_cursor.col -= (*mb_head_off)(p, p + col);
  1637:     if (curwin->w_wcol < W_WIDTH(curwin))
  1637:     if (curwin->w_wcol < W_WIDTH(curwin))
  1640:     dollar_vcol = curwin->w_virtcol;
  1642:     curwin->w_cursor.col = save_col;
  undisplay_dollar():
  1655:     redrawWinline(curwin->w_cursor.lnum, FALSE);
  change_indent():
  1692:     orig_col = curwin->w_cursor.col;
  1697:     save_p_list = curwin->w_p_list;
  1698:     curwin->w_p_list = FALSE;
  1699:     vc = getvcol_nolist(&curwin->w_cursor);
  1707:     start_col = curwin->w_cursor.col;
  1710:     new_cursor_col = curwin->w_cursor.col;
  1712:     new_cursor_col -= curwin->w_cursor.col;
  1714:     insstart_less = curwin->w_cursor.col;
  1745:     insstart_less -= curwin->w_cursor.col;
  1764:     new_cursor_col += curwin->w_cursor.col;
  1767:     new_cursor_col = curwin->w_cursor.col;
  1774:     curwin->w_virtcol = (vcol < 0) ? 0 : vcol;
  1782:     while (vcol <= (int)curwin->w_virtcol)
  1799:     if (vcol != (int)curwin->w_virtcol)
  1801:         curwin->w_cursor.col = new_cursor_col;
  1802:         i = (int)curwin->w_virtcol - vcol;
  1822:     curwin->w_p_list = save_p_list;
  1825:     curwin->w_cursor.col = 0;
  1827:     curwin->w_cursor.col = new_cursor_col;
  1828:     curwin->w_set_curswant = TRUE;
  1836:     if (curwin->w_cursor.lnum == Insstart.lnum && Insstart.col != 0)
  1858:     while (start_col > (int)curwin->w_cursor.col)
  1863:     while (start_col < (int)curwin->w_cursor.col || replaced)
  1894:     new_line[curwin->w_cursor.col] = NUL;
  1897:     ml_replace(curwin->w_cursor.lnum, orig_line, FALSE);
  1898:     curwin->w_cursor.col = orig_col;
  backspace_until_column():
  1941:     while ((int)curwin->w_cursor.col > col)
  1943:     curwin->w_cursor.col--;
  has_compl_option():
  1986:                             && !curwin->w_p_spell
  ins_compl_longest_match():
  2419:         had_match = (curwin->w_cursor.col > compl_col);
  2421:         ins_bytes(compl_leader + curwin->w_cursor.col - compl_col);
  2471:         had_match = (curwin->w_cursor.col > compl_col);
  2473:         ins_bytes(compl_leader + curwin->w_cursor.col - compl_col);
  set_completion():
  2553:     if (startcol > (int)curwin->w_cursor.col)
  2554:     startcol = curwin->w_cursor.col;
  2556:     compl_length = curwin->w_cursor.col - startcol;
  ins_compl_upd_pum():
  2593:     h = curwin->w_cline_height;
  2595:     if (h != curwin->w_cline_height)
  ins_compl_show_pum():
  2795:     col = curwin->w_cursor.col;
  2796:     curwin->w_cursor.col = compl_col;
  2798:     curwin->w_cursor.col = col;
  ins_compl_dictionaries():
  2831:     if (!thesaurus && curwin->w_p_spell)
  ins_compl_bs():
  3176:     p = line + curwin->w_cursor.col;
  3188:     if (curwin->w_cursor.col <= compl_col + compl_length
  ins_compl_new_leader():
  3212:     ins_bytes(compl_leader + curwin->w_cursor.col - compl_col);
  ins_compl_addleader():
  3295:                         curwin->w_cursor.col - compl_col);
  ins_compl_addfrommatch():
  3343:     int        len = curwin->w_cursor.col - compl_col;
  ins_compl_prep():
  3599:         int prev_col = curwin->w_cursor.col;
  3607:                  && ml_get_curline()[curwin->w_cursor.col] != NUL)
  3626:             ins_bytes(compl_leader + curwin->w_cursor.col - compl_col);
  3629:                       + curwin->w_cursor.col - compl_col);
  ins_compl_next_buf():
  3687:         wp = curwin;
  3688:     while ((wp = (wp->w_next != NULL ? wp->w_next : firstwin)) != curwin
  expand_by_function():
  3735:     pos = curwin->w_cursor;
  3737:     curwin->w_cursor = pos;    /* restore the cursor position */
  ins_compl_insert():
  4259:     ins_bytes(compl_shown_match->cp_str + curwin->w_cursor.col - compl_col);
  ins_compl_next():
  4428:         ins_bytes(compl_leader + curwin->w_cursor.col - compl_col);
  ins_complete():
  4643:     line = ml_get(curwin->w_cursor.lnum);
  4644:     curs_col = curwin->w_cursor.col;
  4664:         if (compl_startpos.lnum != curwin->w_cursor.lnum)
  4672:             compl_startpos.lnum = curwin->w_cursor.lnum;
  4689:         compl_length = curwin->w_cursor.col - (int)compl_col;
  4697:             compl_col = curwin->w_cursor.col - compl_length;
  4717:         compl_startpos = curwin->w_cursor;
  4901:         pos = curwin->w_cursor;
  4903:         curwin->w_cursor = pos;    /* restore the cursor position */
  4913:         line = ml_get(curwin->w_cursor.lnum);
  4938:         line = ml_get(curwin->w_cursor.lnum);
  4961:         compl_startpos.lnum = curwin->w_cursor.lnum;
  4968:         compl_col = curwin->w_cursor.col;
  insertchar():
  5482:             && (curwin->w_cursor.lnum != Insstart.lnum
  5496:         do_internal = (fex_format(curwin->w_cursor.lnum, 1L, c) != 0);
  5539:         i = curwin->w_cursor.col;
  internal_format():
  5769:     if ((startcol = curwin->w_cursor.col) == 0)
  5774:     wantcol = curwin->w_cursor.col;
  5776:     curwin->w_cursor.col = startcol - 1;
  5789:             || curwin->w_cursor.lnum != Insstart.lnum
  5790:             || curwin->w_cursor.col >= Insstart.col)
  5796:         end_foundcol = curwin->w_cursor.col;
  5799:         while (curwin->w_cursor.col > 0 && WHITECHAR(cc))
  5804:         if (curwin->w_cursor.col == 0 && WHITECHAR(cc))
  5808:         if (curwin->w_cursor.col < leader_len)
  5814:             if (curwin->w_cursor.col == 0)
  5817:             col = curwin->w_cursor.col;
  5823:             curwin->w_cursor.col = col;
  5827:             foundcol = curwin->w_cursor.col
  5831:             foundcol = curwin->w_cursor.col + 1;
  5832:         if (curwin->w_cursor.col < (colnr_T)wantcol)
  5837:                   && curwin->w_cursor.col <= (colnr_T)wantcol)
  5840:         foundcol = curwin->w_cursor.col;
  5841:         if (curwin->w_cursor.col < (colnr_T)wantcol)
  5847:         if (curwin->w_cursor.col == 0)
  5854:         curwin->w_cursor.col = startcol;
  5877:     curwin->w_cursor.col = foundcol;
  5880:     startcol -= curwin->w_cursor.col;
  5892:         curwin->w_cursor.col = orig_col;
  5906:         curwin->w_cursor.col = foundcol;
  5925:         second_indent = get_number_indent(curwin->w_cursor.lnum -1);
  5955:         curwin->w_cursor.col += startcol;
  5957:         if (curwin->w_cursor.col > len)
  5958:         curwin->w_cursor.col = len;
  auto_format():
  6007:     pos = curwin->w_cursor;
  6023:     if (!WHITECHAR(cc) && curwin->w_cursor.col > 0
  6029:         curwin->w_cursor = pos;
  6032:     curwin->w_cursor = pos;
  6048:     if (prev_line && !paragraph_start(curwin->w_cursor.lnum))
  6050:     --curwin->w_cursor.lnum;
  6061:     curwin->w_cursor = saved_cursor;
  6064:     if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  6067:     curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  6081:     if (curwin->w_cursor.col == len)
  6086:         ml_replace(curwin->w_cursor.lnum, pnew, FALSE);
  comp_textwidth():
  6152:     textwidth = W_WIDTH(curwin) - curbuf->b_p_wm;
  6158:     textwidth -= curwin->w_p_fdc;
  6168:     if (curwin->w_p_nu)
  6175:     textwidth = W_WIDTH(curwin) - 1;
  spell_back_to_badword():
  6245:     pos_T    tpos = curwin->w_cursor;
  6247:     spell_bad_len = spell_move_to(curwin, BACKWARD, TRUE, TRUE, NULL);
  6248:     if (curwin->w_cursor.col != tpos.col)
  stop_arrow():
  6268:     Insstart = curwin->w_cursor;    /* new insertion starts here */
  stop_insert():
  6336:         pos_T   tpos = curwin->w_cursor;
  6342:         if (curwin->w_cursor.col > 0 && gchar_cursor() == NUL)
  6347:             curwin->w_cursor = tpos;
  6360:             && curwin->w_cursor.lnum == tpos.lnum
  6361:             && curwin->w_cursor.col == tpos.col)
  6362:             curwin->w_cursor.coladd = tpos.coladd;
  6374:             && curwin->w_cursor.lnum != end_insert_pos->lnum)))
  6376:         pos_T    tpos = curwin->w_cursor;
  6378:         curwin->w_cursor = *end_insert_pos;
  6381:         if (gchar_cursor() == NUL && curwin->w_cursor.col > 0)
  6382:             --curwin->w_cursor.col;
  6388:         if (curwin->w_cursor.lnum != tpos.lnum)
  6389:         curwin->w_cursor = tpos;
  6391:         ++curwin->w_cursor.col;    /* put cursor back on the NUL */
  6396:         if (VIsual_active && VIsual.lnum == curwin->w_cursor.lnum)
  beginline():
  6523:     coladvance(curwin->w_curswant);
  6526:     curwin->w_cursor.col = 0;
  6528:     curwin->w_cursor.coladd = 0;
  6537:         ++curwin->w_cursor.col;
  6539:     curwin->w_set_curswant = TRUE;
  oneright():
  6560:     pos_T    prevpos = curwin->w_cursor;
  6572:     curwin->w_set_curswant = TRUE;
  6574:     return (prevpos.col != curwin->w_cursor.col
  6575:             || prevpos.coladd != curwin->w_cursor.coladd) ? OK : FAIL;
  6598:     curwin->w_cursor.col += l;
  6600:     curwin->w_set_curswant = TRUE;
  oneleft():
  6636:     if (curwin->w_cursor.coladd == 1)
  6649:         curwin->w_cursor.coladd = 0;
  6652:     curwin->w_set_curswant = TRUE;
  6657:     if (curwin->w_cursor.col == 0)
  6660:     curwin->w_set_curswant = TRUE;
  6661:     --curwin->w_cursor.col;
  cursor_up():
  6681:     lnum = curwin->w_cursor.lnum;
  6690:         if (hasAnyFolding(curwin))
  6716:     curwin->w_cursor.lnum = lnum;
  6720:     coladvance(curwin->w_curswant);
  cursor_down():
  6740:     lnum = curwin->w_cursor.lnum;
  6755:     if (hasAnyFolding(curwin))
  6775:     curwin->w_cursor.lnum = lnum;
  6779:     coladvance(curwin->w_curswant);
  echeck_abbr():
  6897:     return check_abbr(c, ml_get_curline(), curwin->w_cursor.col,
  6898:         curwin->w_cursor.lnum == Insstart.lnum ? Insstart.col : 0);
  replace_do_bs():
  7149:         getvcol(curwin, &curwin->w_cursor, NULL, &start_vcol, NULL);
  7149:         getvcol(curwin, &curwin->w_cursor, NULL, &start_vcol, NULL);
  7192:         curwin->w_cursor.col += ins_len;
  7198:         curwin->w_cursor.col -= ins_len;
  7203:     changed_bytes(curwin->w_cursor.lnum, curwin->w_cursor.col);
  7203:     changed_bytes(curwin->w_cursor.lnum, curwin->w_cursor.col);
  fixthisline():
  7237:     if (linewhite(curwin->w_cursor.lnum))
  in_cinkeys():
  7362:         if (try_match && keytyped == 'e' && curwin->w_cursor.col >= 4)
  7365:         if (skipwhite(p) == p + curwin->w_cursor.col - 4 &&
  7366:             STRNCMP(p + curwin->w_cursor.col - 4, "else", 4) == 0)
  7386:         if (curwin->w_cursor.col > 2
  7387:             && p[curwin->w_cursor.col - 1] == ':'
  7388:             && p[curwin->w_cursor.col - 2] == ':')
  7390:             p[curwin->w_cursor.col - 1] = ' ';
  7394:             p[curwin->w_cursor.col - 1] = ':';
  7445:             && curwin->w_cursor.col >= (colnr_T)(p - look))
  7462:             for (s = line + curwin->w_cursor.col; s > line; s = n)
  7471:             for (s = line + curwin->w_cursor.col; s > line; --s)
  7474:             if (s + (p - look) <= line + curwin->w_cursor.col
  7487:             if ((curwin->w_cursor.col == (colnr_T)(p - look)
  7501:                      (int)(curwin->w_cursor.col - (p - look)))
  ins_ctrl_g():
  7772:           Insstart = curwin->w_cursor;
  ins_esc():
  7861:     temp = curwin->w_cursor.col;
  7901:     stop_insert(&curwin->w_cursor, TRUE);
  7907:     if (restart_edit == NUL && (colnr_T)temp == curwin->w_cursor.col)
  7908:     curwin->w_set_curswant = TRUE;
  7912:     curbuf->b_last_insert = curwin->w_cursor;
  7919:         && (curwin->w_cursor.col != 0
  7921:         || curwin->w_cursor.coladd > 0
  7936:     if (curwin->w_cursor.coladd > 0 || ve_flags == VE_ALL)
  7940:         ++curwin->w_cursor.coladd;
  7945:         --curwin->w_cursor.col;
  ins_shift():
  8170:                           && curwin->w_cursor.col > 0)
  8172:     --curwin->w_cursor.col;
  ins_del():
  8205:     temp = curwin->w_cursor.col;
  8207:         || u_save((linenr_T)(curwin->w_cursor.lnum - 1),
  8208:             (linenr_T)(curwin->w_cursor.lnum + 2)) == FAIL
  8212:         curwin->w_cursor.col = temp;
  ins_bs_one():
  8235:     getvcol(curwin, &curwin->w_cursor, vcolp, NULL, NULL);
  8235:     getvcol(curwin, &curwin->w_cursor, vcolp, NULL, NULL);
  8240:     if (curwin->w_cursor.lnum != Insstart.lnum
  8241:         || curwin->w_cursor.col >= Insstart.col)
  ins_bs():
  8280:         ((curwin->w_cursor.lnum == 1 && curwin->w_cursor.col == 0)
  8280:         ((curwin->w_cursor.lnum == 1 && curwin->w_cursor.col == 0)
  8283:                 || (curwin->w_cursor.lnum == Insstart.lnum
  8284:                 && curwin->w_cursor.col <= Insstart.col)))
  8286:                      && curwin->w_cursor.col <= ai_col)
  8287:             || (!can_bs(BS_EOL) && curwin->w_cursor.col == 0))))
  8314:     if (curwin->w_cursor.coladd > 0)
  8318:         --curwin->w_cursor.coladd;
  8323:         curwin->w_cursor.coladd = 0;
  8326:     curwin->w_cursor.coladd = 0;
  8333:     if (curwin->w_cursor.col == 0)
  8336:     if (curwin->w_cursor.lnum == Insstart.lnum
  8342:         if (u_save((linenr_T)(curwin->w_cursor.lnum - 2),
  8343:                    (linenr_T)(curwin->w_cursor.lnum + 1)) == FAIL)
  8360:     if ((State & REPLACE_FLAG) && curwin->w_cursor.lnum <= lnum)
  8368:                    || curwin->w_cursor.lnum > orig_line_count)
  8372:         --curwin->w_cursor.lnum;
  8380:             char_u  *ptr = ml_get_buf(curbuf, curwin->w_cursor.lnum,
  8418:             temp = curwin->w_cursor.col;
  8424:             curwin->w_cursor.col = temp;
  8456:         temp = curwin->w_cursor.col;
  8458:         if (curwin->w_cursor.col < (colnr_T)temp)
  8459:         mincol = curwin->w_cursor.col;
  8460:         curwin->w_cursor.col = temp;
  8469:             && curwin->w_cursor.col > 0
  8488:         getvcol(curwin, &curwin->w_cursor, &vcol, NULL, NULL);
  8488:         getvcol(curwin, &curwin->w_cursor, &vcol, NULL, NULL);
  8491:         getvcol(curwin, &curwin->w_cursor, NULL, NULL, &want_vcol);
  8491:         getvcol(curwin, &curwin->w_cursor, NULL, NULL, &want_vcol);
  8504:         if (curwin->w_cursor.lnum == Insstart.lnum
  8505:                    && curwin->w_cursor.col < Insstart.col)
  8506:             Insstart.col = curwin->w_cursor.col;
  8518:         getvcol(curwin, &curwin->w_cursor, &vcol, NULL, NULL);
  8518:         getvcol(curwin, &curwin->w_cursor, &vcol, NULL, NULL);
  8593:         (curwin->w_cursor.col > mincol
  8594:          && (curwin->w_cursor.lnum != Insstart.lnum
  8595:              || curwin->w_cursor.col != Insstart.col)));
  8603:     if (curwin->w_cursor.col <= 1)
  8613:     if (curwin->w_cursor.lnum == Insstart.lnum
  8614:                        && curwin->w_cursor.col < Insstart.col)
  8615:     Insstart.col = curwin->w_cursor.col;
  8625:     dollar_vcol = curwin->w_virtcol;
  ins_mouse():
  8644:     win_T    *old_curwin = curwin;
  8654:     tpos = curwin->w_cursor;
  8658:     win_T    *new_curwin = curwin;
  8660:     if (curwin != old_curwin && win_valid(old_curwin))
  8664:         curwin = old_curwin;
  8665:         curbuf = curwin->w_buffer;
  8668:     start_arrow(curwin == old_curwin ? &tpos : NULL);
  8670:     if (curwin != new_curwin && win_valid(new_curwin))
  8672:         curwin = new_curwin;
  8673:         curbuf = curwin->w_buffer;
  ins_mousescroll():
  8693:     win_T    *old_curwin = curwin;
  8699:     tpos = curwin->w_cursor;
  8711:     curwin = mouse_find_win(&row, &col);
  8712:     curbuf = curwin->w_buffer;
  8714:     if (curwin == old_curwin)
  8722:         || curwin != old_curwin
  8728:         scroll_redraw(up, (long)(curwin->w_botline - curwin->w_topline));
  8728:         scroll_redraw(up, (long)(curwin->w_botline - curwin->w_topline));
  8737:     curwin->w_redr_status = TRUE;
  8739:     curwin = old_curwin;
  8740:     curbuf = curwin->w_buffer;
  8754:     if (!equalpos(curwin->w_cursor, tpos))
  8754:     if (!equalpos(curwin->w_cursor, tpos))
  8754:     if (!equalpos(curwin->w_cursor, tpos))
  ins_tabline():
  8774:     start_arrow(&curwin->w_cursor);
  ins_scroll():
  8797:     tpos = curwin->w_cursor;
  ins_horscroll():
  8813:     tpos = curwin->w_cursor;
  ins_left():
  8834:     tpos = curwin->w_cursor;
  8855:     else if (vim_strchr(p_ww, '[') != NULL && curwin->w_cursor.lnum > 1)
  8858:     --(curwin->w_cursor.lnum);
  8860:     curwin->w_set_curswant = TRUE;    /* so we stay at the end */
  ins_home():
  8877:     tpos = curwin->w_cursor;
  8879:     curwin->w_cursor.lnum = 1;
  8880:     curwin->w_cursor.col = 0;
  8882:     curwin->w_cursor.coladd = 0;
  8884:     curwin->w_curswant = 0;
  ins_end():
  8899:     tpos = curwin->w_cursor;
  8901:     curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  8903:     curwin->w_curswant = MAXCOL;
  ins_s_left():
  8916:     if (curwin->w_cursor.lnum > 1 || curwin->w_cursor.col > 0)
  8916:     if (curwin->w_cursor.lnum > 1 || curwin->w_cursor.col > 0)
  8918:     start_arrow(&curwin->w_cursor);
  8920:     curwin->w_set_curswant = TRUE;
  ins_right():
  8937:     start_arrow(&curwin->w_cursor);
  8938:     curwin->w_set_curswant = TRUE;
  8947:         curwin->w_cursor.col += (*mb_ptr2len)(ml_get_cursor());
  8950:         ++curwin->w_cursor.col;
  8962:         && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
  8964:     start_arrow(&curwin->w_cursor);
  8965:     curwin->w_set_curswant = TRUE;
  8966:     ++curwin->w_cursor.lnum;
  8967:     curwin->w_cursor.col = 0;
  ins_s_right():
  8981:     if (curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count
  8984:     start_arrow(&curwin->w_cursor);
  8986:     curwin->w_set_curswant = TRUE;
  ins_up():
  8997:     linenr_T    old_topline = curwin->w_topline;
  8999:     int        old_topfill = curwin->w_topfill;
  9003:     tpos = curwin->w_cursor;
  9008:     if (old_topline != curwin->w_topline
  9010:         || old_topfill != curwin->w_topfill
  ins_pageup():
  9036:         start_arrow(&curwin->w_cursor);
  9043:     tpos = curwin->w_cursor;
  ins_down():
  9060:     linenr_T    old_topline = curwin->w_topline;
  9062:     int        old_topfill = curwin->w_topfill;
  9066:     tpos = curwin->w_cursor;
  9071:     if (old_topline != curwin->w_topline
  9073:         || old_topfill != curwin->w_topfill
  ins_pagedown():
  9099:         start_arrow(&curwin->w_cursor);
  9106:     tpos = curwin->w_cursor;
  ins_tab():
  9137:     if (Insstart_blank_vcol == MAXCOL && curwin->w_cursor.lnum == Insstart.lnum)
  9209:     int        save_list = curwin->w_p_list;
  9218:         pos = curwin->w_cursor;
  9229:         cursor = &curwin->w_cursor;
  9234:         curwin->w_p_list = FALSE;
  9237:     fpos = curwin->w_cursor;
  9254:     getvcol(curwin, &fpos, &vcol, NULL, NULL);
  9255:     getvcol(curwin, cursor, &want_vcol, NULL, NULL);
  9347:     curwin->w_p_list = save_list;
  ins_eol():
  9391:     if (virtual_active() && curwin->w_cursor.coladd > 0)
  ins_copychar():
  9532:     while ((colnr_T)temp < curwin->w_virtcol && *ptr != NUL)
  9537:     if ((colnr_T)temp > curwin->w_virtcol)
  ins_ctrl_ey():
  9571:     c = ins_copychar(curwin->w_cursor.lnum + (c == Ctrl_Y ? -1 : 1));
  ins_try_si():
  9621:         old_pos = curwin->w_cursor;
  9634:         curwin->w_cursor.lnum = pos->lnum;
  9635:         curwin->w_cursor.col = i;
  9637:         curwin->w_cursor = *pos;
  9639:         curwin->w_cursor = old_pos;
  9647:     else if (curwin->w_cursor.col > 0)
  9654:         if (c == '{' && can_si_back && curwin->w_cursor.lnum > 1)
  9656:         old_pos = curwin->w_cursor;
  9658:         while (curwin->w_cursor.lnum > 1)
  9660:             ptr = skipwhite(ml_get(--(curwin->w_cursor.lnum)));
  9668:         curwin->w_cursor = old_pos;
  9678:     if (curwin->w_cursor.col > 0 && can_si && c == '#')
  9686:     if (ai_col > curwin->w_cursor.col)
  9687:     ai_col = curwin->w_cursor.col;
  get_nolist_virtcol():
  9698:     if (curwin->w_p_list && vim_strchr(p_cpo, CPO_LISTWM) == NULL)
  9699:     return getvcol_nolist(&curwin->w_cursor);
  9701:     return curwin->w_virtcol;
eval.c (115 uses)
  call_vim_function():
  1480:             curwin->w_cursor.lnum, curwin->w_cursor.lnum,
  1480:             curwin->w_cursor.lnum, curwin->w_cursor.lnum,
  list_win_vars():
  1996:     list_hashtable_vars(&curwin->w_vars.dv_hashtab,
  ex_call():
  3213:         curwin->w_cursor.lnum = lnum;
  3214:         curwin->w_cursor.col = 0;
  get_user_var_name():
  3716:     ht = &curwin->w_vars.dv_hashtab;
  eval7():
  4703:               curwin->w_cursor.lnum, curwin->w_cursor.lnum,
  4703:               curwin->w_cursor.lnum, curwin->w_cursor.lnum,
  f_append():
  7787:     if (curwin->w_cursor.lnum > lnum)
  7788:         curwin->w_cursor.lnum += added;
  f_argc():
  7803:     rettv->vval.v_number = ARGCOUNT;
  f_argidx():
  7815:     rettv->vval.v_number = curwin->w_arg_idx;
  f_argv():
  7831:     if (idx >= 0 && idx < ARGCOUNT)
  7832:         rettv->vval.v_string = vim_strsave(alist_name(&ARGLIST[idx]));
  7838:     for (idx = 0; idx < ARGCOUNT; ++idx)
  7840:                            alist_name(&ARGLIST[idx]), -1);
  f_call():
  8222:                  curwin->w_cursor.lnum, curwin->w_cursor.lnum,
  8222:                  curwin->w_cursor.lnum, curwin->w_cursor.lnum,
  f_cindent():
  8270:     pos = curwin->w_cursor;
  8274:     curwin->w_cursor.lnum = lnum;
  8276:     curwin->w_cursor = pos;
  f_clearmatches():
  8293:     clear_matches(curwin);
  f_col():
  8326:         if (virtual_active() && fp == &curwin->w_cursor)
  8330:         if (curwin->w_cursor.coladd >= (colnr_T)chartabsize(p,
  8331:                  curwin->w_virtcol - curwin->w_cursor.coladd))
  8331:                  curwin->w_virtcol - curwin->w_cursor.coladd))
  f_cursor():
  8644:     curwin->w_cursor.lnum = line;
  8646:     curwin->w_cursor.col = col - 1;
  8648:     curwin->w_cursor.coladd = coladd;
  8659:     curwin->w_set_curswant = TRUE;
  f_diff_filler():
  8720:     rettv->vval.v_number = diff_check_fill(curwin, get_tv_lnum(argvars));
  f_diff_hlID():
  8751:     filler_lines = diff_check(curwin, lnum);
  8758:         if (diff_find_change(curwin, lnum, &change_start, &change_end))
  foldclosed_both():
  9533:     if (hasFoldingWin(curwin, lnum, &first, &last, FALSE, NULL))
  f_foldtextresult():
  9679:     fold_count = foldedCount(curwin, lnum, &foldinfo);
  9682:     text = get_foldtext(curwin, lnum, lnum + fold_count - 1,
  f_getmatches():
  10371:     matchitem_T    *cur = curwin->w_match_head;
  find_win_by_nr():
  10621:     return curwin;
  getwinvar():
  10677:     oldcurwin = curwin;
  10678:     curwin = win;
  10697:     curwin = oldcurwin;
  10698:     curbuf = curwin->w_buffer;
  f_haslocaldir():
  11291:     rettv->vval.v_number = (curwin->w_localdir != NULL);
  f_lispindent():
  12268:     pos = curwin->w_cursor;
  12272:     curwin->w_cursor.lnum = lnum;
  12274:     curwin->w_cursor = pos;
  f_matchadd():
  12611:     rettv->vval.v_number = match_add(curwin, grp, pat, prio, id);
  f_matcharg():
  12631:         if ((m = (matchitem_T *)get_match(curwin, id)) != NULL)
  f_matchdelete():
  12656:     rettv->vval.v_number = match_delete(curwin,
  search_cmn():
  14109:     pos = save_cursor = curwin->w_cursor;
  14110:     subpatnum = searchit(curwin, curbuf, &pos, dir, pat, 1L,
  14120:     curwin->w_cursor = pos;
  14134:     curwin->w_cursor = save_cursor;
  14136:     curwin->w_set_curswant = TRUE;
  do_searchpair():
  14358:     save_cursor = curwin->w_cursor;
  14359:     pos = curwin->w_cursor;
  14365:     n = searchit(curwin, curbuf, &pos, dir, pat, 1L,
  14391:         save_pos = curwin->w_cursor;
  14392:         curwin->w_cursor = pos;
  14394:         curwin->w_cursor = save_pos;
  14398:         curwin->w_cursor = save_cursor;
  14430:         curwin->w_cursor = pos;
  14440:     match_pos->lnum = curwin->w_cursor.lnum;
  14441:     match_pos->col = curwin->w_cursor.col + 1;
  14446:     curwin->w_cursor = save_cursor;
  f_setline():
  14659:         if (lnum == curwin->w_cursor.lnum)
  f_setmatches():
  14785:     clear_matches(curwin);
  14790:         match_add(curwin, get_dict_string(d, (char_u *)"group", FALSE),
  f_setpos():
  14826:             curwin->w_cursor = pos;
  setwinvar():
  14986:     save_curwin = curwin;
  14991:     curwin = win;
  14992:     curbuf = curwin->w_buffer;
  15026:         curwin = save_curwin;
  15027:         curbuf = curwin->w_buffer;
  f_spellbadword():
  15271:     len = spell_move_to(curwin, FORWARD, TRUE, TRUE, &attr);
  15275:     else if (curwin->w_p_spell && *curbuf->b_p_spl != NUL)
  15285:         len = spell_check(curwin, str, &attr, &capcol, FALSE);
  f_spellsuggest():
  15329:     if (curwin->w_p_spell && *curbuf->b_p_spl != NUL)
  f_synID():
  15777:     id = syn_get_id(curwin, lnum, (colnr_T)col, trans, NULL, FALSE);
  f_synstack():
  15926:     (void)syn_get_id(curwin, lnum, (colnr_T)col, FALSE, NULL, TRUE);
  get_winnr():
  16125:     twin = (tp == curtab) ? curwin : tp->tp_curwin;
  f_virtcol():
  16526:     getvvcol(curwin, fp, NULL, NULL, &vcol);
  f_wincol():
  16588:     rettv->vval.v_number = curwin->w_wcol + 1;
  f_winline():
  16618:     rettv->vval.v_number = curwin->w_wrow + 1;
  f_winrestview():
  16689:     curwin->w_cursor.lnum = get_dict_number(dict, (char_u *)"lnum");
  16690:     curwin->w_cursor.col = get_dict_number(dict, (char_u *)"col");
  16692:     curwin->w_cursor.coladd = get_dict_number(dict, (char_u *)"coladd");
  16694:     curwin->w_curswant = get_dict_number(dict, (char_u *)"curswant");
  16695:     curwin->w_set_curswant = FALSE;
  16697:     set_topline(curwin, get_dict_number(dict, (char_u *)"topline"));
  16699:     curwin->w_topfill = get_dict_number(dict, (char_u *)"topfill");
  16701:     curwin->w_leftcol = get_dict_number(dict, (char_u *)"leftcol");
  16702:     curwin->w_skipcol = get_dict_number(dict, (char_u *)"skipcol");
  16709:     if (curwin->w_topline == 0)
  16710:         curwin->w_topline = 1;
  16711:     if (curwin->w_topline > curbuf->b_ml.ml_line_count)
  16712:         curwin->w_topline = curbuf->b_ml.ml_line_count;
  16714:     check_topfill(curwin, TRUE);
  f_winsaveview():
  16737:     dict_add_nr_str(dict, "lnum", (long)curwin->w_cursor.lnum, NULL);
  16738:     dict_add_nr_str(dict, "col", (long)curwin->w_cursor.col, NULL);
  16740:     dict_add_nr_str(dict, "coladd", (long)curwin->w_cursor.coladd, NULL);
  16743:     dict_add_nr_str(dict, "curswant", (long)curwin->w_curswant, NULL);
  16745:     dict_add_nr_str(dict, "topline", (long)curwin->w_topline, NULL);
  16747:     dict_add_nr_str(dict, "topfill", (long)curwin->w_topfill, NULL);
  16749:     dict_add_nr_str(dict, "leftcol", (long)curwin->w_leftcol, NULL);
  16750:     dict_add_nr_str(dict, "skipcol", (long)curwin->w_skipcol, NULL);
  var2fpos():
  16911:     return &curwin->w_cursor;
  16917:     return &curwin->w_cursor;
  16938:         pos.lnum = curwin->w_topline;
  16944:         pos.lnum = curwin->w_botline - 1;
  16957:         pos.lnum = curwin->w_cursor.lnum;
  handle_subscript():
  17591:             curwin->w_cursor.lnum, curwin->w_cursor.lnum,
  17591:             curwin->w_cursor.lnum, curwin->w_cursor.lnum,
  find_var_in_ht():
  17953:         case 'w': return &curwin->w_winvar;
  find_var_ht():
  18019:     return &curwin->w_vars.dv_hashtab;
ex_cmds.c (113 uses)
  ex_align():
  163:     save_curpos = curwin->w_cursor;
  179:         width = W_WIDTH(curwin) - curbuf->b_p_wm;
  187:     for (curwin->w_cursor.lnum = eap->line1;
  188:          curwin->w_cursor.lnum <= eap->line2; ++curwin->w_cursor.lnum)
  188:          curwin->w_cursor.lnum <= eap->line2; ++curwin->w_cursor.lnum)
  236:     curwin->w_cursor = save_curpos;
  ex_sort():
  551:     curwin->w_cursor.lnum = eap->line1;
  ex_retab():
  589:     save_list = curwin->w_p_list;
  590:     curwin->w_p_list = 0;        /* don't want list mode here */
  702:     curwin->w_p_list = save_list;    /* restore 'list' */
  705:     coladvance(curwin->w_curswant);
  do_move():
  808:     curwin->w_cursor.lnum = dest;
  810:     curwin->w_cursor.lnum = dest + (line2 - line1) + 1;
  ex_copy():
  851:     curwin->w_cursor.lnum = n;
  859:         ml_append(curwin->w_cursor.lnum, p, (colnr_T)0, FALSE);
  864:         line1 = curwin->w_cursor.lnum;
  866:     if (curwin->w_cursor.lnum < line1)
  868:     if (curwin->w_cursor.lnum < line2)
  870:     ++curwin->w_cursor.lnum;
  do_filter():
  1084:     cursor_save = curwin->w_cursor;
  1086:     curwin->w_cursor.lnum = line1;
  1087:     curwin->w_cursor.col = 0;
  1112:     curwin->w_cursor.lnum = line2;
  1128:     curwin->w_cursor.lnum = line2;
  1244:         curbuf->b_op_end.lnum = curwin->w_cursor.lnum;
  1269:         curwin->w_cursor.lnum = line1;
  1276:         foldUpdate(curwin, curbuf->b_op_start.lnum, curbuf->b_op_end.lnum);
  1285:         curwin->w_cursor.lnum = curbuf->b_op_end.lnum;
  1309:     curwin->w_cursor = cursor_save;
  print_line_no_prefix():
  2384:     if (curwin->w_p_nu || use_number)
  2386:     sprintf((char *)numbuf, "%*ld ", number_width(curwin), (long)lnum);
  ex_file():
  2472:         buf = buflist_new(fname, xfname, curwin->w_cursor.lnum, 0);
  2474:         curwin->w_alt_fnum = buf->b_fnum;
  ex_wnext():
  2841:     i = curwin->w_arg_idx + (int)eap->line2;
  2843:     i = curwin->w_arg_idx - (int)eap->line2;
  getfile():
  3047:         curwin->w_cursor.lnum = lnum;
  do_ecmd():
  3265:         curwin->w_alt_fnum = curbuf->b_fnum;
  3370:         close_buffer(curwin, curbuf,
  3392:             curwin->w_buffer = buf;
  3418:     curwin->w_pcmark.lnum = 1;
  3419:     curwin->w_pcmark.col = 0;
  3464:     curwin->w_p_list = FALSE;    /* no list mode */
  3468:     curwin->w_p_nu = 0;        /* no line numbers */
  3470:     curwin->w_p_scb = FALSE;    /* no scroll binding */
  3479:     curwin->w_p_fen = FALSE;    /* No folding in the help window */
  3482:     curwin->w_p_diff = FALSE;    /* No 'diff' */
  3485:     curwin->w_p_spell = FALSE;    /* No spell checking */
  3529:     set_last_cursor(curwin);    /* may set b_last_cursor */
  3532:         newlnum = curwin->w_cursor.lnum;
  3533:         solcol = curwin->w_cursor.col;
  3585:     check_arg_idx(curwin);
  3622:     lnum = curwin->w_cursor.lnum;
  3623:     topline = curwin->w_topline;
  3660:     check_arg_idx(curwin);
  3667:     if (curwin->w_cursor.lnum != lnum)
  3669:         newlnum = curwin->w_cursor.lnum;
  3670:         newcol = curwin->w_cursor.col;
  3672:     if (curwin->w_topline == topline)
  3687:     if (curwin->w_p_diff)
  3697:     if (did_get_winopts && curwin->w_p_spell && *curbuf->b_p_spl != NUL)
  3705:         curwin->w_cursor.lnum = newlnum;
  3706:         curwin->w_cursor.col = newcol;
  3711:         curwin->w_cursor.lnum = newlnum;
  3716:         curwin->w_cursor.col = solcol;
  3719:         curwin->w_cursor.coladd = 0;
  3721:         curwin->w_set_curswant = TRUE;
  3729:         curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  3782:     curwin->w_scbind_pos = curwin->w_topline;
  3782:     curwin->w_scbind_pos = curwin->w_topline;
  ex_append():
  3963:     curwin->w_cursor.lnum = lnum;
  ex_z():
  4016:     bigness = curwin->w_height;
  4018:     bigness = curwin->w_p_scr * 2;
  4020:     bigness = curwin->w_height - 3;
  4121:     curwin->w_cursor.lnum = curs;
  do_sub():
  4213:     pos_T    old_cursor = curwin->w_cursor;
  4319:     endcolumn = (curwin->w_curswant == MAXCOL);
  4457:     nmatch = vim_regexec_multi(&regmatch, curwin, curbuf, lnum,
  4565:         curwin->w_cursor.lnum = lnum;
  4621:             curwin->w_cursor.col = regmatch.startpos[0].col;
  4640:                 getvcol(curwin, &curwin->w_cursor, &sc, NULL, NULL);
  4640:                 getvcol(curwin, &curwin->w_cursor, &sc, NULL, NULL);
  4641:                 curwin->w_cursor.col = regmatch.endpos[0].col - 1;
  4642:                 getvcol(curwin, &curwin->w_cursor, NULL, NULL, &ec);
  4642:                 getvcol(curwin, &curwin->w_cursor, NULL, NULL, &ec);
  4659:                 int save_p_fen = curwin->w_p_fen;
  4661:                 curwin->w_p_fen = FALSE;
  4680:                 curwin->w_p_fen = save_p_fen;
  4774:         curwin->w_cursor.col = regmatch.startpos[0].col;
  4859:         curwin->w_cursor.col = 0;
  4920:                 ++curwin->w_cursor.lnum;
  4968:             || (nmatch = vim_regexec_multi(&regmatch, curwin,
  5034:             nmatch = vim_regexec_multi(&regmatch, curwin, curbuf,
  5077:     curwin->w_cursor = old_cursor;
  5098:         print_line(curwin->w_cursor.lnum, do_number, do_list);
  ex_global():
  5265:     match = vim_regexec_multi(&regmatch, curwin, curbuf, lnum,
  global_exe():
  5319:     curwin->w_cursor.lnum = lnum;
  5320:     curwin->w_cursor.col = 0;
  prepare_tagpreview():
  5400:     if (!curwin->w_p_pvw)
  5415:         curwin->w_p_pvw = TRUE;
  5416:         curwin->w_p_wfh = TRUE;
  5418:         curwin->w_p_scb = FALSE;        /* don't take over 'scrollbind' */
  5421:         curwin->w_p_diff = FALSE;        /* no 'diff' */
  5424:         curwin->w_p_fdc = 0;        /* no 'foldcolumn' */
  ex_help():
  5548:     if (!curwin->w_buffer->b_help
  5583:         if (cmdmod.split == 0 && curwin->w_width != Columns
  5584:                           && curwin->w_width < 80)
  5596:         if (curwin->w_height < p_hh)
  5609:         curwin->w_alt_fnum = alt_fnum;
  5631:     if (alt_fnum != 0 && curwin->w_alt_fnum == empty_fnum && !cmdmod.keepalt)
  5632:     curwin->w_alt_fnum = alt_fnum;
  ex_drop():
  7093:     if (ARGCOUNT == 0)
  7110:     buf = buflist_findnr(ARGLIST[0].ae_fnum);
  7119:         curwin->w_arg_idx = 0;
ex_cmds2.c (77 uses)
  dbg_parsearg():
  480:     bp->dbg_lnum = curwin->w_cursor.lnum;
  do_arglist():
  1818:         for (match = 0; match < ARGCOUNT; ++match)
  1819:         if (vim_regexec(&regmatch, alist_name(&ARGLIST[match]),
  1823:             vim_free(ARGLIST[match].ae_fname);
  1824:             mch_memmove(ARGLIST + match, ARGLIST + match + 1,
  1824:             mch_memmove(ARGLIST + match, ARGLIST + match + 1,
  1824:             mch_memmove(ARGLIST + match, ARGLIST + match + 1,
  1826:             --ALIST(curwin)->al_ga.ga_len;
  1827:             if (curwin->w_arg_idx > match)
  1828:             --curwin->w_arg_idx;
  1861:         alist_set(ALIST(curwin), exp_count, exp_files, FALSE, NULL, 0);
  alist_check_arg_idx():
  1880:     if (win->w_alist == curwin->w_alist)
  ex_args():
  1955:     alist_unlink(ALIST(curwin));
  1957:         ALIST(curwin) = &global_alist;
  1982:     if (ARGCOUNT > 0)
  1987:         for (i = 0; i < ARGCOUNT; ++i)
  1989:         if (i == curwin->w_arg_idx)
  1991:         msg_outtrans(alist_name(&ARGLIST[i]));
  1992:         if (i == curwin->w_arg_idx)
  2001:     garray_T    *gap = &curwin->w_alist->al_ga;
  2010:             AARGLIST(curwin->w_alist)[gap->ga_len].ae_fname =
  2012:             AARGLIST(curwin->w_alist)[gap->ga_len].ae_fnum =
  ex_previous():
  2028:     if (curwin->w_arg_idx - (int)eap->line2 >= ARGCOUNT)
  2028:     if (curwin->w_arg_idx - (int)eap->line2 >= ARGCOUNT)
  2029:     do_argfile(eap, ARGCOUNT - 1);
  2031:     do_argfile(eap, curwin->w_arg_idx - (int)eap->line2);
  ex_last():
  2051:     do_argfile(eap, ARGCOUNT - 1);
  ex_argument():
  2066:     i = curwin->w_arg_idx;
  do_argfile():
  2080:     int        old_arg_idx = curwin->w_arg_idx;
  2082:     if (argn < 0 || argn >= ARGCOUNT)
  2084:     if (ARGCOUNT <= 1)
  2105:         curwin->w_p_scb = FALSE;
  2118:         p = fix_fname(alist_name(&ARGLIST[argn]));
  2127:     curwin->w_arg_idx = argn;
  2128:     if (argn == ARGCOUNT - 1
  2130:         && curwin->w_alist == &global_alist
  2138:     if (do_ecmd(0, alist_name(&ARGLIST[curwin->w_arg_idx]), NULL,
  2138:     if (do_ecmd(0, alist_name(&ARGLIST[curwin->w_arg_idx]), NULL,
  2140:               (P_HID(curwin->w_buffer) ? ECMD_HIDE : 0) +
  2142:         curwin->w_arg_idx = old_arg_idx;
  ex_next():
  2173:         i = curwin->w_arg_idx + (int)eap->line2;
  ex_argedit():
  2194:     for (i = 0; i < ARGCOUNT; ++i)
  2195:     if (ARGLIST[i].ae_fnum == fnum)
  2197:     if (i == ARGCOUNT)
  2204:            eap->addr_count > 0 ? (int)eap->line2 : curwin->w_arg_idx + 1);
  2207:     curwin->w_arg_idx = i;
  ex_argadd():
  2224:            eap->addr_count > 0 ? (int)eap->line2 : curwin->w_arg_idx + 1);
  ex_argdelete():
  2243:     if (eap->line2 > ARGCOUNT)
  2244:         eap->line2 = ARGCOUNT;
  2251:         vim_free(ARGLIST[i - 1].ae_fname);
  2252:         mch_memmove(ARGLIST + eap->line1 - 1, ARGLIST + eap->line2,
  2252:         mch_memmove(ARGLIST + eap->line1 - 1, ARGLIST + eap->line2,
  2252:         mch_memmove(ARGLIST + eap->line1 - 1, ARGLIST + eap->line2,
  2254:         ALIST(curwin)->al_ga.ga_len -= n;
  2255:         if (curwin->w_arg_idx >= eap->line2)
  2256:         curwin->w_arg_idx -= n;
  2257:         else if (curwin->w_arg_idx > eap->line1)
  2258:         curwin->w_arg_idx = eap->line1;
  ex_listdo():
  2327:         if (i == ARGCOUNT)
  2331:         if (curwin->w_arg_idx != i || !editing_arg_idx(curwin))
  2331:         if (curwin->w_arg_idx != i || !editing_arg_idx(curwin))
  2341:         if (curwin->w_arg_idx != i)
  2352:         if (curwin != wp)
  2354:         wp = curwin->w_next;
  2412:         if (curwin->w_p_scb)
  alist_add_list():
  2444:     if (ga_grow(&ALIST(curwin)->al_ga, count) == OK)
  2448:     if (after > ARGCOUNT)
  2449:         after = ARGCOUNT;
  2450:     if (after < ARGCOUNT)
  2451:         mch_memmove(&(ARGLIST[after + count]), &(ARGLIST[after]),
  2451:         mch_memmove(&(ARGLIST[after + count]), &(ARGLIST[after]),
  2451:         mch_memmove(&(ARGLIST[after + count]), &(ARGLIST[after]),
  2455:         ARGLIST[after + i].ae_fname = files[i];
  2456:         ARGLIST[after + i].ae_fnum = buflist_add(files[i], BLN_LISTED);
  2458:     ALIST(curwin)->al_ga.ga_len += count;
  2459:     if (curwin->w_arg_idx >= after)
  2460:         ++curwin->w_arg_idx;
ex_docmd.c (106 uses)
  do_exmode():
  646:     prev_line = curwin->w_cursor.lnum;
  659:     if ((prev_line != curwin->w_cursor.lnum
  675:         print_line_no_prefix(curwin->w_cursor.lnum, FALSE, FALSE);
  do_one_cmd():
  1737:             && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
  1965:     ea.line2 = curwin->w_cursor.lnum;   /* default is current line number */
  2006:         curwin->w_cursor.lnum = ea.line2;
  2078:             curwin->w_cursor.lnum = 1;
  2080:             curwin->w_cursor.lnum = ea.line2;
  2652:     if (curwin->w_cursor.lnum == 0)    /* can happen with zero line number */
  2653:     curwin->w_cursor.lnum = 1;
  get_address():
  3869:             lnum = curwin->w_cursor.lnum;
  3893:                 lnum = curwin->w_cursor.lnum;
  3917:                 pos = curwin->w_cursor; /* save curwin->w_cursor */
  3923:                 curwin->w_cursor.lnum = lnum;
  3932:                 curwin->w_cursor.col = MAXCOL;
  3934:                 curwin->w_cursor.col = 0;
  3939:                 curwin->w_cursor = pos;
  3943:                 lnum = curwin->w_cursor.lnum;
  3944:                 curwin->w_cursor = pos;
  3972:                 pos.lnum = curwin->w_cursor.lnum;
  3982:                 if (searchit(curwin, curbuf, &pos,
  4008:         lnum = curwin->w_cursor.lnum;    /* "+1" is same as ".+1" */
  check_more():
  5003:     int        n = ARGCOUNT - curwin->w_arg_idx - 1;
  5003:     int        n = ARGCOUNT - curwin->w_arg_idx - 1;
  5006:         && ARGCOUNT > 1 && !arg_had_last && n >= 0 && quitmore == 0)
  ex_quit():
  6235:     win_close(curwin, !P_HID(curwin->w_buffer) || eap->forceit);
  6235:     win_close(curwin, !P_HID(curwin->w_buffer) || eap->forceit);
  ex_close():
  6305:         ex_win_close(eap->forceit, curwin, NULL);
  tabpage_close():
  6463:     ex_win_close(forceit, curwin, NULL);
  ex_hide():
  6545:         win_close(curwin, FALSE);    /* don't free buffer */
  ex_exit():
  6641:     win_close(curwin, !P_HID(curwin->w_buffer));
  6641:     win_close(curwin, !P_HID(curwin->w_buffer));
  ex_print():
  6669:     curwin->w_cursor.lnum = eap->line2;
  handle_drop():
  6753:     curwin->w_p_scb = FALSE;
  6758:     alist_unlink(curwin->w_alist);
  6768:     alist_set(ALIST(curwin), filec, filev, FALSE, NULL, 0);
  alist_new():
  6836:     curwin->w_alist = (alist_T *)alloc((unsigned)sizeof(alist_T));
  6837:     if (curwin->w_alist == NULL)
  6839:     curwin->w_alist = &global_alist;
  6844:     curwin->w_alist->al_refcount = 1;
  6845:     alist_init(curwin->w_alist);
  ex_splitview():
  7044:     win_T    *old_curwin = curwin;
  7135:         if (curwin != old_curwin
  7153:         curwin->w_p_scb = FALSE;
  ex_tabs():
  7252:         msg_putchar(wp == curwin ? '>' : ' ');
  ex_resize():
  7294:     win_T    *wp = curwin;
  7311:         n += W_WIDTH(curwin);
  7320:         n += curwin->w_height;
  ex_open():
  7375:     curwin->w_cursor.lnum = eap->line2;
  7389:         curwin->w_cursor.col = (colnr_T)(regmatch.startp[0] - p);
  do_exedit():
  7544:             win_close(curwin, !need_hide && !P_HID(curbuf));
  7571:     n = curwin->w_arg_idx_invalid;
  7573:     check_arg_idx(curwin);
  7575:     if (n != curwin->w_arg_idx_invalid)
  7587:         && curwin != old_curwin
  ex_syncbind():
  7652:     linenr_T    old_linenr = curwin->w_cursor.lnum;
  7659:     if (curwin->w_p_scb)
  7661:     topline = curwin->w_topline;
  7683:     wp = curwin;
  7684:     for (curwin = firstwin; curwin; curwin = curwin->w_next)
  7684:     for (curwin = firstwin; curwin; curwin = curwin->w_next)
  7684:     for (curwin = firstwin; curwin; curwin = curwin->w_next)
  7684:     for (curwin = firstwin; curwin; curwin = curwin->w_next)
  7686:     if (curwin->w_p_scb)
  7688:         y = topline - curwin->w_topline;
  7693:         curwin->w_scbind_pos = topline;
  7697:         curwin->w_redr_status = TRUE;
  7701:     curwin = wp;
  7702:     if (curwin->w_p_scb)
  7706:     if (old_linenr != curwin->w_cursor.lnum)
  ex_read():
  7788:             if (curwin->w_cursor.lnum > 1
  7789:                          && curwin->w_cursor.lnum >= lnum)
  7790:             --curwin->w_cursor.lnum;
  ex_cd():
  7876:         vim_free(curwin->w_localdir);
  7885:             curwin->w_localdir = vim_strsave(NameBuff);
  7893:         curwin->w_localdir = NULL;
  ex_sleep():
  7945:     n = W_WINROW(curwin) + curwin->w_wrow - msg_scrolled;
  7945:     n = W_WINROW(curwin) + curwin->w_wrow - msg_scrolled;
  7947:         windgoto((int)n, curwin->w_wcol);
  ex_operators():
  8143:     curwin->w_cursor.lnum = eap->line1;
  ex_put():
  8190:     curwin->w_cursor.lnum = eap->line2;
  ex_may_print():
  8242:     print_line(curwin->w_cursor.lnum, (eap->flags & EXFLAG_NR),
  ex_join():
  8269:     curwin->w_cursor.lnum = eap->line1;
  ex_at():
  8295:     curwin->w_cursor.lnum = eap->line2;
  ex_mkrc():
  8769:         failed |= (put_view(fd, curwin, !using_vdir, flagp,
  ex_mark():
  8879:     pos = curwin->w_cursor;        /* save curwin->w_cursor */
  8880:     curwin->w_cursor.lnum = eap->line2;
  8884:     curwin->w_cursor = pos;        /* restore curwin->w_cursor */
  update_topline_cursor():
  8896:     if (!curwin->w_p_wrap)
  ex_normal():
  9019:         curwin->w_cursor.lnum = eap->line1++;
  9020:         curwin->w_cursor.col = 0;
  ex_startinsert():
  9063:     curwin->w_curswant = MAXCOL;
  9064:     curwin->w_set_curswant = FALSE;
  9083:     curwin->w_curswant = 0;        /* avoid MAXCOL */
  ex_pedit():
  9233:     win_T    *curwin_save = curwin;
  9240:     if (curwin != curwin_save && win_valid(curwin_save))
  arg_all():
  9630:     for (idx = 0; idx < ARGCOUNT; ++idx)
  9632:         p = alist_name(&ARGLIST[idx]);
  makeopens():
  9960:         if (curwin == wp)
  put_view():
  10305:     save_curwin = curwin;
  10306:     curwin = wp;
  10307:     curbuf = curwin->w_buffer;
  10317:     curwin = save_curwin;
  10318:     curbuf = curwin->w_buffer;
  ex_match():
  10903:     match_delete(curwin, id, FALSE);
  10938:         match_add(curwin, g, p + 1, 10, id);
ex_getln.c (37 uses)
  getcmdline():
  207:     old_cursor = curwin->w_cursor;        /* needs to be restored later */
  208:     old_curswant = curwin->w_curswant;
  209:     old_leftcol = curwin->w_leftcol;
  210:     old_topline = curwin->w_topline;
  212:     old_topfill = curwin->w_topfill;
  214:     old_botline = curwin->w_botline;
  1403:                    && !equalpos(curwin->w_cursor, old_cursor))
  1403:                    && !equalpos(curwin->w_cursor, old_cursor))
  1403:                    && !equalpos(curwin->w_cursor, old_cursor))
  1723:         curwin->w_cursor = old_cursor;  /* start at old position */
  1764:         curwin->w_leftcol = old_leftcol;
  1765:         curwin->w_topline = old_topline;
  1767:         curwin->w_topfill = old_topfill;
  1769:         curwin->w_botline = old_botline;
  1775:         pos_T        save_pos = curwin->w_cursor;
  1781:         curwin->w_cursor.lnum += search_match_lines;
  1782:         curwin->w_cursor.col = search_match_endcol;
  1783:         if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  1785:             curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  1789:         end_pos = curwin->w_cursor;
  1790:         curwin->w_cursor = save_pos;
  1793:         end_pos = curwin->w_cursor; /* shutup gcc 4 */
  1798:         if (p_ru && curwin->w_status_height > 0)
  1799:         curwin->w_redr_status = TRUE;
  1808:         curwin->w_cursor = end_pos;
  1845:     curwin->w_cursor = old_cursor;
  1846:     curwin->w_curswant = old_curswant;
  1847:     curwin->w_leftcol = old_leftcol;
  1848:     curwin->w_topline = old_topline;
  1850:     curwin->w_topfill = old_topfill;
  1852:     curwin->w_botline = old_botline;
  ex_window():
  5956:     win_T        *old_curwin = curwin;
  6016:     curwin->w_p_scb = FALSE;
  6065:     curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  6066:     curwin->w_cursor.col = ccline.cmdpos;
  6163:         ccline.cmdpos = curwin->w_cursor.col;
  6177:     wp = curwin;
fileio.c (32 uses)
  readfile():
  2262:         foldUpdateAll(curwin);
  2445:         curwin->w_cursor.lnum = from + linecnt;
  2447:         curwin->w_cursor.lnum = from + 1;
  buf_reload():
  6636:     old_cursor = curwin->w_cursor;
  6637:     old_topline = curwin->w_topline;
  6656:         curwin->w_buffer = savebuf;
  6659:         curwin->w_buffer = buf;
  6715:         curwin->w_topline = curbuf->b_ml.ml_line_count;
  6717:         curwin->w_topline = old_topline;
  6718:     curwin->w_cursor = old_cursor;
  6730:         if (wp->w_buffer == curwin->w_buffer
  aucmd_prepbuf():
  8271:     win = curwin;
  8290:     aco->save_curwin = curwin;
  8291:     curwin = win;
  8301:     curwin->w_buffer = buf;
  8305:     aco->save_cursor = curwin->w_cursor;
  8306:     curwin->w_cursor.lnum = 1;
  8307:     curwin->w_cursor.col = 0;
  8308:     aco->save_topline = curwin->w_topline;
  8309:     curwin->w_topline = 1;
  8311:     aco->save_topfill = curwin->w_topfill;
  8312:     curwin->w_topfill = 0;
  aucmd_restbuf():
  8337:         if (curwin == aco->new_curwin
  8343:         curwin->w_buffer = curbuf;
  8347:         curwin = aco->save_curwin;
  8348:         curbuf = curwin->w_buffer;
  8358:         curwin->w_buffer = curbuf;
  8360:         curwin->w_cursor = aco->save_cursor;
  8365:         curwin->w_topline = aco->save_topline;
  8367:         curwin->w_topfill = aco->save_topfill;
  8372:         curwin->w_topline = curbuf->b_ml.ml_line_count;
  8374:         curwin->w_topfill = 0;
fold.c (81 uses)
  hasFolding():
  139:     return hasFoldingWin(curwin, lnum, firstp, lastp, TRUE, NULL);
  foldLevel():
  261:     checkupdate(curwin);
  268:     if (!hasAnyFolding(curwin))
  271:     return foldLevelWin(curwin, lnum);
  foldOpenCursor():
  473:     checkupdate(curwin);
  474:     if (hasAnyFolding(curwin))
  478:         (void)setManualFold(curwin->w_cursor.lnum, TRUE, FALSE, &done);
  newFoldLevel():
  491:     newFoldLevelWin(curwin);
  494:     if (foldmethodIsDiff(curwin) && curwin->w_p_scb)
  494:     if (foldmethodIsDiff(curwin) && curwin->w_p_scb)
  503:         if (wp != curwin && foldmethodIsDiff(wp) && wp->w_p_scb)
  505:         wp->w_p_fdl = curwin->w_p_fdl;
  foldCheckClose():
  543:     checkupdate(curwin);
  544:     if (checkCloseRec(&curwin->w_folds, curwin->w_cursor.lnum,
  544:     if (checkCloseRec(&curwin->w_folds, curwin->w_cursor.lnum,
  545:                             (int)curwin->w_p_fdl))
  foldManualAllowed():
  590:     if (foldmethodIsManual(curwin) || foldmethodIsMarker(curwin))
  590:     if (foldmethodIsManual(curwin) || foldmethodIsMarker(curwin))
  foldCreate():
  630:     if (foldmethodIsMarker(curwin))
  636:     checkupdate(curwin);
  639:     gap = &curwin->w_folds;
  653:         if (level >= curwin->w_p_fdl)
  713:     if (use_level && !closed && level < curwin->w_p_fdl)
  716:         curwin->w_fold_manual = TRUE;
  deleteFold():
  752:     checkupdate(curwin);
  757:     gap = &curwin->w_folds;
  770:         if (check_closed(curwin, fp, &use_level, level,
  788:         if (foldmethodIsManual(curwin))
  797:         parseMarker(curwin);
  foldUpdate():
  846:     (void)foldFind(&curwin->w_folds, curwin->w_cursor.lnum, &fp);
  846:     (void)foldFind(&curwin->w_folds, curwin->w_cursor.lnum, &fp);
  847:     while (fp < (fold_T *)curwin->w_folds.ga_data + curwin->w_folds.ga_len
  847:     while (fp < (fold_T *)curwin->w_folds.ga_data + curwin->w_folds.ga_len
  foldMoveTo():
  910:     checkupdate(curwin);
  918:     gap = &curwin->w_folds;
  921:     lnum_found = curwin->w_cursor.lnum;
  926:         if (!foldFind(gap, curwin->w_cursor.lnum - lnum_off, &fp))
  952:         if (check_closed(curwin, fp, &use_level, level,
  969:             if (lnum > curwin->w_cursor.lnum)
  979:             if (lnum < curwin->w_cursor.lnum)
  991:             if (lnum > curwin->w_cursor.lnum)
  997:             if (lnum < curwin->w_cursor.lnum)
  1010:     if (lnum_found != curwin->w_cursor.lnum)
  1014:         curwin->w_cursor.lnum = lnum_found;
  1015:         curwin->w_cursor.col = 0;
  foldAdjustVisual():
  1073:     if (!VIsual_active || !hasAnyFolding(curwin))
  1076:     if (ltoreq(VIsual, curwin->w_cursor))
  1076:     if (ltoreq(VIsual, curwin->w_cursor))
  1076:     if (ltoreq(VIsual, curwin->w_cursor))
  1076:     if (ltoreq(VIsual, curwin->w_cursor))
  1076:     if (ltoreq(VIsual, curwin->w_cursor))
  1076:     if (ltoreq(VIsual, curwin->w_cursor))
  1076:     if (ltoreq(VIsual, curwin->w_cursor))
  1076:     if (ltoreq(VIsual, curwin->w_cursor))
  1079:     end = &curwin->w_cursor;
  1083:     start = &curwin->w_cursor;
  foldAdjustCursor():
  1110:     (void)hasFolding(curwin->w_cursor.lnum, &curwin->w_cursor.lnum, NULL);
  1110:     (void)hasFolding(curwin->w_cursor.lnum, &curwin->w_cursor.lnum, NULL);
  setManualFold():
  1279:     if (foldmethodIsDiff(curwin) && curwin->w_p_scb)
  1279:     if (foldmethodIsDiff(curwin) && curwin->w_p_scb)
  1290:         if (wp != curwin && foldmethodIsDiff(wp) && wp->w_p_scb)
  1292:         dlnum = diff_lnum_win(curwin->w_cursor.lnum, wp);
  1300:     return setManualFoldWin(curwin, lnum, opening, recurse, donep);
  setManualFoldWin():
  1411:     else if (donep == NULL && wp == curwin)
  getDeepestNesting():
  1650:     checkupdate(curwin);
  1651:     return getDeepestNestingRecurse(&curwin->w_folds);
  checkSmall():
  1732:     if (fp->fd_len > curwin->w_p_fml)
  1740:         if (count > curwin->w_p_fml)
  foldCreateMarkers():
  1782:     parseMarker(curwin);
  1784:     foldAddMarker(start, curwin->w_p_fmr, foldstartmarkerlen);
  deleteFoldMarkers():
  1847:     foldDelMarker(fp->fd_top + lnum_off, curwin->w_p_fmr, foldstartmarkerlen);
  get_foldtext():
  1943:     save_curwin = curwin;
  1944:     curwin = wp;
  1952:     curwin = save_curwin;
  1953:     curbuf = curwin->w_buffer;
  foldtext_cleanup():
  2036:     parseMarker(curwin);
  2041:     if (STRNCMP(s, curwin->w_p_fmr, foldstartmarkerlen) == 0)
  foldlevelExpr():
  3026:     win = curwin;
  3027:     curwin = flp->wp;
  3104:     curwin = win;
  3105:     curbuf = curwin->w_buffer;
getchar.c (39 uses)
  start_redo():
  813:     VIsual = curwin->w_cursor;
  vgetorpeek():
  2489:         new_wcol = curwin->w_wcol;
  2490:         new_wrow = curwin->w_wrow;
  2528:             old_wcol = curwin->w_wcol;
  2529:             old_wrow = curwin->w_wrow;
  2532:             if (curwin->w_cursor.col != 0)
  2534:             if (curwin->w_wcol > 0)
  2543:                 col = vcol = curwin->w_wcol = 0;
  2545:                 while (col < curwin->w_cursor.col)
  2548:                     curwin->w_wcol = vcol;
  2558:                 curwin->w_wrow = curwin->w_cline_row
  2558:                 curwin->w_wrow = curwin->w_cline_row
  2559:                        + curwin->w_wcol / W_WIDTH(curwin);
  2559:                        + curwin->w_wcol / W_WIDTH(curwin);
  2560:                 curwin->w_wcol %= W_WIDTH(curwin);
  2560:                 curwin->w_wcol %= W_WIDTH(curwin);
  2561:                 curwin->w_wcol += curwin_col_off();
  2568:                 --curwin->w_wcol;
  2570:                 col = curwin->w_cursor.col - 1;
  2574:             else if (curwin->w_p_wrap && curwin->w_wrow)
  2574:             else if (curwin->w_p_wrap && curwin->w_wrow)
  2576:                 --curwin->w_wrow;
  2577:                 curwin->w_wcol = W_WIDTH(curwin) - 1;
  2577:                 curwin->w_wcol = W_WIDTH(curwin) - 1;
  2579:                 col = curwin->w_cursor.col - 1;
  2583:             if (has_mbyte && col > 0 && curwin->w_wcol > 0)
  2590:                 --curwin->w_wcol;
  2597:             new_wcol = curwin->w_wcol;
  2598:             new_wrow = curwin->w_wrow;
  2600:             curwin->w_wcol = old_wcol;
  2601:             curwin->w_wrow = old_wrow;
  2692:             old_wcol = curwin->w_wcol;
  2693:             old_wrow = curwin->w_wrow;
  2694:             curwin->w_wcol = new_wcol;
  2695:             curwin->w_wrow = new_wrow;
  2702:             curwin->w_wcol = old_wcol;
  2703:             curwin->w_wrow = old_wrow;
  eval_map_expr():
  4430:     save_cursor = curwin->w_cursor;
  4436:     curwin->w_cursor = save_cursor;
gui.c (76 uses)
  gui_write():
  1740:     if (old_curwin != curwin)
  1747:     if (force_scrollbar || old_curwin != curwin)
  1751:     old_curwin = curwin;
  gui_send_mouse_event():
  2938:             col = curwin->w_wcol;
  2939:             row = curwin->w_wrow + W_WINROW(curwin);
  2939:             row = curwin->w_wrow + W_WINROW(curwin);
  3008:     if (curwin->w_topline != gui_prev_topline
  3010:         || curwin->w_topfill != gui_prev_topfill
  3034:     gui_prev_topline = curwin->w_topline;
  3036:     gui_prev_topfill = curwin->w_topfill;
  get_tabline_label():
  3450:     curtab->tp_curwin = curwin;
  3456:     curwin = curtab->tp_curwin;
  3457:     curbuf = curwin->w_buffer;
  3460:     build_stl_str_hl(curwin, res, MAXPATHL, *opt, use_sandbox,
  3469:     curwin = curtab->tp_curwin;
  3470:     curbuf = curwin->w_buffer;
  gui_drag_scrollbar():
  3669:     colnr_T    old_leftcol = curwin->w_leftcol;
  3671:     linenr_T    old_topline = curwin->w_topline;
  3674:     int        old_topfill = curwin->w_topfill;
  3689:     if (cmdwin_type != 0 && sb->wp != curwin)
  3742:     if ((sb->wp == NULL || sb->wp == curwin) && pum_visible())
  3828:     if (old_leftcol != curwin->w_leftcol)
  3830:         updateWindow(curwin);   /* update window, status and cmdline */
  3846:     if (curwin->w_p_scb
  3847:         && ((sb->wp == NULL && curwin->w_leftcol != old_leftcol)
  3848:         || (sb->wp == curwin && (curwin->w_topline != old_topline
  3848:         || (sb->wp == curwin && (curwin->w_topline != old_topline
  3850:                        || curwin->w_topfill != old_topfill
  gui_update_scrollbars():
  3984:         || prev_curwin != curwin
  4080:     prev_curwin = curwin;
  gui_do_scrollbar():
  4097:     int        midcol = curwin->w_wincol + curwin->w_width / 2;
  4097:     int        midcol = curwin->w_wincol + curwin->w_width / 2;
  gui_do_scroll():
  4162:     save_wp = curwin;
  4168:     curwin = wp;
  4201:     curwin = save_wp;
  4237:     return (wp == curwin && !equalpos(curwin->w_cursor, old_cursor));
  4237:     return (wp == curwin && !equalpos(curwin->w_cursor, old_cursor));
  4237:     return (wp == curwin && !equalpos(curwin->w_cursor, old_cursor));
  4237:     return (wp == curwin && !equalpos(curwin->w_cursor, old_cursor));
  gui_update_horiz_scrollbar():
  4286:     if (!force && curwin->w_p_wrap && gui.prev_wrap)
  4293:     if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  4299:     size = W_WIDTH(curwin);
  4300:     if (curwin->w_p_wrap)
  4311:     value = curwin->w_leftcol;
  4317:         && curwin->w_topline <= curwin->w_cursor.lnum
  4317:         && curwin->w_topline <= curwin->w_cursor.lnum
  4318:         && curwin->w_botline > curwin->w_cursor.lnum
  4318:         && curwin->w_botline > curwin->w_cursor.lnum
  4319:         && curwin->w_botline <= curbuf->b_ml.ml_line_count + 1)
  4328:         for (lnum = curwin->w_topline; lnum < curwin->w_botline; ++lnum)
  4328:         for (lnum = curwin->w_topline; lnum < curwin->w_botline; ++lnum)
  4337:             && abs((int)(lnum - curwin->w_cursor.lnum))
  4338:                < abs((int)(longest_lnum - curwin->w_cursor.lnum)))
  4344:         max = scroll_line_len(curwin->w_cursor.lnum);
  4349:         if (curwin->w_virtcol >= (colnr_T)max)
  4350:         max = curwin->w_virtcol;
  4388:     gui.prev_wrap = curwin->w_p_wrap;
  gui_do_horiz_scroll():
  4400:     if (curwin->w_p_wrap)
  4403:     if (curwin->w_leftcol == scrollbar_value)
  4406:     curwin->w_leftcol = (colnr_T)scrollbar_value;
  4412:         && longest_lnum >= curwin->w_topline
  4413:         && longest_lnum < curwin->w_botline
  4416:     if (scrollbar_value > scroll_line_len(curwin->w_cursor.lnum))
  4418:         curwin->w_cursor.lnum = longest_lnum;
  4419:         curwin->w_cursor.col = 0;
  gui_mouse_moved():
  4582:     if (wp == curwin || wp == NULL)
  gui_mouse_correct():
  4650:     if (wp != curwin && wp != NULL)    /* If in other than current window */
  4653:     gui_mch_setmouse((int)W_ENDCOL(curwin) * gui.char_width - 3,
  4653:     gui_mch_setmouse((int)W_ENDCOL(curwin) * gui.char_width - 3,
  4654:         (W_WINROW(curwin) + curwin->w_wrow) * gui.char_height
  4654:         (W_WINROW(curwin) + curwin->w_wrow) * gui.char_height
  gui_update_screen():
  4861:         && !equalpos(last_cursormoved, curwin->w_cursor))
  4861:         && !equalpos(last_cursormoved, curwin->w_cursor))
  4861:         && !equalpos(last_cursormoved, curwin->w_cursor))
  4864:     last_cursormoved = curwin->w_cursor;
  gui_wingoto_xy():
  5104:     if (wp != NULL && wp != curwin)
gui_mac.c (4 uses)
  HandleODocAE():
  1133:         curwin->w_cursor.lnum = lnum;
  1134:         curwin->w_cursor.col = 0;
  1149:     VIsual = curwin->w_cursor;
  gui_mac_scroll_action():
  1617:     page = W_WIDTH(curwin) - 5;
hardcopy.c (11 uses)
  prt_header():
  480:     tmp_lnum = curwin->w_cursor.lnum;
  481:     tmp_topline = curwin->w_topline;
  482:     tmp_botline = curwin->w_botline;
  483:     curwin->w_cursor.lnum = lnum;
  484:     curwin->w_topline = lnum;
  485:     curwin->w_botline = lnum + 63;
  491:     build_stl_str_hl(curwin, tbuf, (size_t)(width + IOSIZE),
  496:     curwin->w_cursor.lnum = tmp_lnum;
  497:     curwin->w_topline = tmp_topline;
  498:     curwin->w_botline = tmp_botline;
  hardcopy_line():
  879:         id = syn_get_id(curwin, ppos->file_line, col, 1, NULL, FALSE);
if_python.c (17 uses)
  WindowSetattr():
  2081:     savewin = curwin;
  2082:     curwin = this->win;
  2084:     curwin = savewin;
  2104:     savewin = curwin;
  2105:     curwin = this->win;
  2107:     curwin = savewin;
  CurrentGetattr():
  2267:     return (PyObject *)WindowNew(curwin);
  2269:     return GetBufferLine(curbuf, (PyInt)curwin->w_cursor.lnum);
  CurrentSetattr():
  2287:     if (SetBufferLine(curbuf, (PyInt)curwin->w_cursor.lnum, value, NULL) == FAIL)
  py_fix_cursor():
  2439:     if (curwin->w_cursor.lnum >= lo)
  2443:     if (curwin->w_cursor.lnum >= hi)
  2445:         curwin->w_cursor.lnum += extra;
  2450:         curwin->w_cursor.lnum = lo;
  SetBufferLine():
  2491:         if (buf == curwin->w_buffer)
  2533:     if (buf == curwin->w_buffer)
  SetBufferLineList():
  2591:         if (buf == curwin->w_buffer)
  2720:     if (buf == curwin->w_buffer)
main.c (31 uses)
  main():
  809:     curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  900:     if (curwin->w_p_diff && curwin->w_p_scb)
  900:     if (curwin->w_p_diff && curwin->w_p_scb)
  main_loop():
  1062:                  && !equalpos(last_cursormoved, curwin->w_cursor))
  1062:                  && !equalpos(last_cursormoved, curwin->w_cursor))
  1062:                  && !equalpos(last_cursormoved, curwin->w_cursor))
  1065:         last_cursormoved = curwin->w_cursor;
  1089:         if (hasAnyFolding(curwin) && !char_avail())
  create_windows():
  2430:             curwin = firstwin;
  2440:         if (curwin->w_next == NULL)
  2442:         curwin = curwin->w_next;
  2442:         curwin = curwin->w_next;
  2446:         curbuf = curwin->w_buffer;
  2452:             curwin->w_p_fdl = p_fdls;
  2474:             curwin->w_arg_idx = -1;
  2497:         curwin = firstwin;
  2498:     curbuf = curwin->w_buffer;
  edit_buffers():
  2530:     if (curwin->w_arg_idx == -1)
  2532:     win_close(curwin, TRUE);
  2540:     if (curwin->w_arg_idx == -1)
  2543:         win_close(curwin, TRUE);
  2558:         if (curwin->w_next == NULL)    /* just checking */
  2560:         win_enter(curwin->w_next, FALSE);
  2569:         curwin->w_arg_idx = arg_idx;
  2584:         win_close(curwin, TRUE);
  2610:     win_equal(curwin, FALSE, 'b');    /* adjust heights */
  exe_pre_commands():
  2627:     curwin->w_cursor.lnum = 0; /* just in case.. */
  exe_commands():
  2657:     if (parmp->tagname == NULL && curwin->w_cursor.lnum <= 1)
  2658:     curwin->w_cursor.lnum = 0;
  2673:     if (curwin->w_cursor.lnum == 0)
  2674:     curwin->w_cursor.lnum = 1;
mark.c (107 uses)
  setmark():
  49:     return setmark_pos(c, &curwin->w_cursor, curbuf->b_fnum);
  setmark_pos():
  71:     if (pos == &curwin->w_cursor)
  75:         curwin->w_prev_pcmark = curwin->w_pcmark;
  75:         curwin->w_prev_pcmark = curwin->w_pcmark;
  78:         curwin->w_pcmark = *pos;
  setpcmark():
  143:     curwin->w_prev_pcmark = curwin->w_pcmark;
  143:     curwin->w_prev_pcmark = curwin->w_pcmark;
  144:     curwin->w_pcmark = curwin->w_cursor;
  144:     curwin->w_pcmark = curwin->w_cursor;
  166:     if (++curwin->w_jumplistlen > JUMPLISTSIZE)
  168:     curwin->w_jumplistlen = JUMPLISTSIZE;
  169:     vim_free(curwin->w_jumplist[0].fname);
  171:         curwin->w_jumplist[i - 1] = curwin->w_jumplist[i];
  171:         curwin->w_jumplist[i - 1] = curwin->w_jumplist[i];
  173:     curwin->w_jumplistidx = curwin->w_jumplistlen;
  173:     curwin->w_jumplistidx = curwin->w_jumplistlen;
  174:     fm = &curwin->w_jumplist[curwin->w_jumplistlen - 1];
  174:     fm = &curwin->w_jumplist[curwin->w_jumplistlen - 1];
  176:     fm->fmark.mark = curwin->w_pcmark;
  checkpcmark():
  191:     if (curwin->w_prev_pcmark.lnum != 0
  192:         && (equalpos(curwin->w_pcmark, curwin->w_cursor)
  192:         && (equalpos(curwin->w_pcmark, curwin->w_cursor)
  192:         && (equalpos(curwin->w_pcmark, curwin->w_cursor)
  192:         && (equalpos(curwin->w_pcmark, curwin->w_cursor)
  192:         && (equalpos(curwin->w_pcmark, curwin->w_cursor)
  192:         && (equalpos(curwin->w_pcmark, curwin->w_cursor)
  193:         || curwin->w_pcmark.lnum == 0))
  195:     curwin->w_pcmark = curwin->w_prev_pcmark;
  195:     curwin->w_pcmark = curwin->w_prev_pcmark;
  196:     curwin->w_prev_pcmark.lnum = 0;        /* Show it has been checked */
  movemark():
  213:     if (curwin->w_jumplistlen == 0)        /* nothing to jump to */
  218:     if (curwin->w_jumplistidx + count < 0
  219:         || curwin->w_jumplistidx + count >= curwin->w_jumplistlen)
  219:         || curwin->w_jumplistidx + count >= curwin->w_jumplistlen)
  227:     if (curwin->w_jumplistidx == curwin->w_jumplistlen)
  227:     if (curwin->w_jumplistidx == curwin->w_jumplistlen)
  230:         --curwin->w_jumplistidx;    /* skip the new entry */
  231:         if (curwin->w_jumplistidx + count < 0)
  235:     curwin->w_jumplistidx += count;
  237:     jmp = curwin->w_jumplist + curwin->w_jumplistidx;
  237:     jmp = curwin->w_jumplist + curwin->w_jumplistidx;
  252:         curwin->w_cursor = jmp->fmark.mark;
  movechangelist():
  273:     n = curwin->w_changelistidx;
  288:     curwin->w_changelistidx = n;
  getmark_fnum():
  337:     pos_copy = curwin->w_pcmark;    /* need to make a copy because */
  356:     pos = curwin->w_cursor;
  361:         pos_copy = curwin->w_cursor;
  364:     curwin->w_cursor = pos;
  372:     pos = curwin->w_cursor;
  376:         pos_copy = curwin->w_cursor;
  379:     curwin->w_cursor = pos;
  437:             curwin->w_cursor = namedfm[c].fmark.mark;
  do_marks():
  713:     show_one_mark('\'', arg, &curwin->w_pcmark, NULL, TRUE);
  ex_jumps():
  898:     for (i = 0; i < curwin->w_jumplistlen && !got_int; ++i)
  900:     if (curwin->w_jumplist[i].fmark.mark.lnum != 0)
  902:         if (curwin->w_jumplist[i].fmark.fnum == 0)
  903:         fname2fnum(&curwin->w_jumplist[i]);
  904:         name = fm_getname(&curwin->w_jumplist[i].fmark, 16);
  912:         i == curwin->w_jumplistidx ? '>' : ' ',
  913:         i > curwin->w_jumplistidx ? i - curwin->w_jumplistidx
  913:         i > curwin->w_jumplistidx ? i - curwin->w_jumplistidx
  914:                       : curwin->w_jumplistidx - i,
  915:         curwin->w_jumplist[i].fmark.mark.lnum,
  916:         curwin->w_jumplist[i].fmark.mark.col);
  919:                 curwin->w_jumplist[i].fmark.fnum == curbuf->b_fnum
  926:     if (curwin->w_jumplistidx == curwin->w_jumplistlen)
  926:     if (curwin->w_jumplistidx == curwin->w_jumplistlen)
  ex_changes():
  952:             i == curwin->w_changelistidx ? '>' : ' ',
  953:             i > curwin->w_changelistidx ? i - curwin->w_changelistidx
  953:             i > curwin->w_changelistidx ? i - curwin->w_changelistidx
  954:                         : curwin->w_changelistidx - i,
  967:     if (curwin->w_changelistidx == curbuf->b_changelistlen)
  mark_adjust():
  1074:     one_adjust(&(curwin->w_pcmark.lnum));
  1077:     one_adjust(&(curwin->w_prev_pcmark.lnum));
  1116:         if (win != curwin)
  mark_col_adjust():
  1236:     col_adjust(&(curwin->w_pcmark));
  1239:     col_adjust(&(curwin->w_prev_pcmark));
  1264:         if (win != curwin)
  cleanup_jumplist():
  1282:     for (from = 0; from < curwin->w_jumplistlen; ++from)
  1284:     if (curwin->w_jumplistidx == from)
  1285:         curwin->w_jumplistidx = to;
  1286:     for (i = from + 1; i < curwin->w_jumplistlen; ++i)
  1287:         if (curwin->w_jumplist[i].fmark.fnum
  1288:                     == curwin->w_jumplist[from].fmark.fnum
  1289:             && curwin->w_jumplist[from].fmark.fnum != 0
  1290:             && curwin->w_jumplist[i].fmark.mark.lnum
  1291:                   == curwin->w_jumplist[from].fmark.mark.lnum)
  1293:     if (i >= curwin->w_jumplistlen)        /* no duplicate */
  1294:         curwin->w_jumplist[to++] = curwin->w_jumplist[from];
  1294:         curwin->w_jumplist[to++] = curwin->w_jumplist[from];
  1296:         vim_free(curwin->w_jumplist[from].fname);
  1298:     if (curwin->w_jumplistidx == curwin->w_jumplistlen)
  1298:     if (curwin->w_jumplistidx == curwin->w_jumplistlen)
  1299:     curwin->w_jumplistidx = to;
  1300:     curwin->w_jumplistlen = to;
  read_viminfo_filemark():
  1382:         if (curwin->w_jumplistlen == JUMPLISTSIZE)
  1386:         for (i = curwin->w_jumplistlen; i > 0; --i)
  1387:             curwin->w_jumplist[i] = curwin->w_jumplist[i - 1];
  1387:             curwin->w_jumplist[i] = curwin->w_jumplist[i - 1];
  1388:         ++curwin->w_jumplistidx;
  1389:         ++curwin->w_jumplistlen;
  1390:         fm = &curwin->w_jumplist[0];
  write_viminfo_filemarks():
  1445:         if (namedfm[i].fmark.mark.lnum == curwin->w_cursor.lnum
  1456:     namedfm[NMARKS].fmark.mark = curwin->w_cursor;
  1471:     for (fm = &curwin->w_jumplist[curwin->w_jumplistlen - 1];
  1471:     for (fm = &curwin->w_jumplist[curwin->w_jumplistlen - 1];
  1472:                        fm >= &curwin->w_jumplist[0]; --fm)
mbyte.c (9 uses)
  utf_find_illegal():
  2632:     pos_T    pos = curwin->w_cursor;
  2648:     curwin->w_cursor.coladd = 0;
  2671:             curwin->w_cursor.col += (colnr_T)(p - ml_get_cursor());
  2680:             curwin->w_cursor.col += l;
  2687:     if (curwin->w_cursor.lnum == curbuf->b_ml.ml_line_count)
  2689:     ++curwin->w_cursor.lnum;
  2690:     curwin->w_cursor.col = 0;
  2694:     curwin->w_cursor = pos;
  mb_adjust_cursor():
  2763:     mb_adjustpos(&curwin->w_cursor);
memline.c (10 uses)
  ml_open():
  298:     curwin->w_nrwidth_line_count = 0;
  ml_get_curline():
  2053:     return ml_get_buf(curbuf, curwin->w_cursor.lnum, FALSE);
  ml_get_cursor():
  2062:     return (ml_get_buf(curbuf, curwin->w_cursor.lnum, FALSE) +
  2063:                             curwin->w_cursor.col);
  goto_byte():
  4840:     curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  4841:     curwin->w_curswant = MAXCOL;
  4846:     curwin->w_cursor.lnum = lnum;
  4847:     curwin->w_cursor.col = (colnr_T)boff;
  4849:     curwin->w_cursor.coladd = 0;
  4851:     curwin->w_set_curswant = TRUE;
menu.c (7 uses)
  ex_emenu():
  2209:         curwin->w_cursor = curbuf->b_visual.vi_start;
  2210:         curwin->w_curswant = curbuf->b_visual.vi_curswant;
  2216:         curwin->w_cursor.lnum = eap->line1;
  2217:         curwin->w_cursor.col = 1;
  2229:     VIsual = curwin->w_cursor;
  2230:     curwin->w_cursor = tpos;
  2237:         ++curwin->w_cursor.col;
message.c (1 use)
  msg_prt_line():
  1567:     if (curwin->w_p_list)
misc1.c (235 uses)
  set_indent():
  297:     if (!(flags & SIN_UNDO) || u_savesub(curwin->w_cursor.lnum) == OK)
  299:     ml_replace(curwin->w_cursor.lnum, newline, FALSE);
  301:         changed_bytes(curwin->w_cursor.lnum, 0);
  303:     if (saved_cursor.lnum == curwin->w_cursor.lnum
  311:     curwin->w_cursor.col = ind_len;
  copy_indent():
  412:     ml_replace(curwin->w_cursor.lnum, line, FALSE);
  415:     curwin->w_cursor.col = ind_len;
  get_number_indent():
  440:     if (vim_regexec_multi(&regmatch, curwin, curbuf, lnum,
  454:     getvcol(curwin, &pos, &col, NULL, NULL);
  open_line():
  578:     if (curwin->w_cursor.lnum < orig_line_count)
  579:         next_line = vim_strsave(ml_get(curwin->w_cursor.lnum + 1));
  594:     p = saved_line + curwin->w_cursor.col;
  604:     saved_line[curwin->w_cursor.col] = NUL;
  614:     p_extra = saved_line + curwin->w_cursor.col;
  674:         old_cursor = curwin->w_cursor;
  694:             while (ptr[0] == '#' && curwin->w_cursor.lnum > 1)
  695:             ptr = ml_get(--curwin->w_cursor.lnum);
  727:                 curwin->w_cursor.col = (colnr_T)(p - ptr);
  730:                     curwin->w_cursor.lnum = pos->lnum;
  766:             curwin->w_cursor.col = (colnr_T)(p - ptr);
  769:                 curwin->w_cursor.lnum = pos->lnum;
  808:              curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
  814:             ptr = ml_get(++curwin->w_cursor.lnum);
  827:         curwin->w_cursor = old_cursor;
  944:                     && (int)curwin->w_cursor.col == lead_len)
  1253:         old_cursor = curwin->w_cursor;
  1254:         curwin->w_cursor.col = (colnr_T)(comment_end - saved_line);
  1257:             curwin->w_cursor.lnum = pos->lnum;
  1260:         curwin->w_cursor = old_cursor;
  1318:     old_cursor = curwin->w_cursor;
  1320:     --curwin->w_cursor.lnum;
  1325:     if (ml_append(curwin->w_cursor.lnum, p_extra, (colnr_T)0, FALSE)
  1330:     mark_adjust(curwin->w_cursor.lnum + 1, (linenr_T)MAXLNUM, 1L, 0L);
  1339:     curwin->w_cursor.lnum++;
  1340:     if (curwin->w_cursor.lnum >= Insstart.lnum + vr_lines_changed)
  1348:     ml_replace(curwin->w_cursor.lnum, p_extra, TRUE);
  1349:     changed_bytes(curwin->w_cursor.lnum, 0);
  1350:     curwin->w_cursor.lnum--;
  1361:     ++curwin->w_cursor.lnum;
  1384:     less_cols -= curwin->w_cursor.col;
  1386:     ai_col = curwin->w_cursor.col;
  1393:         for (n = 0; n < (int)curwin->w_cursor.col; ++n)
  1395:     newcol += curwin->w_cursor.col;
  1412:     curwin->w_cursor = old_cursor;
  1419:         saved_line[curwin->w_cursor.col] = NUL;
  1423:         ml_replace(curwin->w_cursor.lnum, saved_line, FALSE);
  1427:         changed_lines(curwin->w_cursor.lnum, curwin->w_cursor.col,
  1427:         changed_lines(curwin->w_cursor.lnum, curwin->w_cursor.col,
  1428:                            curwin->w_cursor.lnum + 1, 1L);
  1433:             mark_col_adjust(curwin->w_cursor.lnum,
  1434:                      curwin->w_cursor.col + less_cols_off,
  1438:         changed_bytes(curwin->w_cursor.lnum, curwin->w_cursor.col);
  1438:         changed_bytes(curwin->w_cursor.lnum, curwin->w_cursor.col);
  1445:     curwin->w_cursor.lnum = old_cursor.lnum + 1;
  1448:     changed_lines(curwin->w_cursor.lnum, 0, curwin->w_cursor.lnum, 1L);
  1448:     changed_lines(curwin->w_cursor.lnum, 0, curwin->w_cursor.lnum, 1L);
  1450:     curwin->w_cursor.col = newcol;
  1452:     curwin->w_cursor.coladd = 0;
  1497:         : KEY_OPEN_BACK, ' ', linewhite(curwin->w_cursor.lnum)))
  1523:     ml_replace(curwin->w_cursor.lnum, next_line, FALSE);
  1526:     curwin->w_cursor.col = 0;
  1528:     curwin->w_cursor.coladd = 0;
  plines():
  1669:     return plines_win(curwin, lnum, TRUE);
  plines_nofill():
  1688:     return plines_win_nofill(curwin, lnum, TRUE);
  ins_char_bytes():
  1939:     linenr_T    lnum = curwin->w_cursor.lnum;
  1944:     if (virtual_active() && curwin->w_cursor.coladd > 0)
  1948:     col = curwin->w_cursor.col;
  1977:         old_list = curwin->w_p_list;
  1979:         curwin->w_p_list = FALSE;
  1987:         getvcol(curwin, &curwin->w_cursor, NULL, &vcol, NULL);
  1987:         getvcol(curwin, &curwin->w_cursor, NULL, &vcol, NULL);
  2009:         curwin->w_p_list = old_list;
  2093:     curwin->w_cursor.col += charlen;
  ins_str():
  2116:     linenr_T    lnum = curwin->w_cursor.lnum;
  2119:     if (virtual_active() && curwin->w_cursor.coladd > 0)
  2123:     col = curwin->w_cursor.col;
  2136:     curwin->w_cursor.col += newlen;
  del_bytes():
  2204:     linenr_T    lnum = curwin->w_cursor.lnum;
  2205:     colnr_T    col = curwin->w_cursor.col;
  2261:         --curwin->w_cursor.col;
  2263:         curwin->w_cursor.coladd = 0;
  2267:         curwin->w_cursor.col -=
  2268:                 (*mb_head_off)(oldp, oldp + curwin->w_cursor.col);
  2302:     changed_bytes(lnum, curwin->w_cursor.col);
  truncate_line():
  2318:     linenr_T    lnum = curwin->w_cursor.lnum;
  2319:     colnr_T    col = curwin->w_cursor.col;
  2332:     changed_bytes(lnum, curwin->w_cursor.col);
  2337:     if (fixpos && curwin->w_cursor.col > 0)
  2338:     --curwin->w_cursor.col;
  del_lines():
  2358:     if (undo && u_savedel(curwin->w_cursor.lnum, nlines) == FAIL)
  2366:     ml_delete(curwin->w_cursor.lnum, TRUE);
  2370:     if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  2374:     deleted_lines_mark(curwin->w_cursor.lnum, n);
  2376:     curwin->w_cursor.col = 0;
  pchar_cursor():
  2411:     *(ml_get_buf(curbuf, curwin->w_cursor.lnum, TRUE)
  2412:                           + curwin->w_cursor.col) = c;
  inindent():
  2448:     if (col >= curwin->w_cursor.col + extra)
  changed_bytes():
  2549:     if (curwin->w_p_diff)
  2555:         if (wp->w_p_diff && wp != curwin)
  changed_lines():
  2660:     if (xtra == 0 && curwin->w_p_diff)
  2669:         if (wp->w_p_diff && wp != curwin)
  changed_common():
  2799:     curwin->w_changelistidx = curbuf->b_changelistlen;
  2895:     if (lnum <= curwin->w_cursor.lnum
  2896:          && lnume + (xtra < 0 ? -xtra : xtra) > curwin->w_cursor.lnum)
  find_start_comment():
  4747:     cur_maxcomment = curwin->w_cursor.lnum - pos->lnum - 1;
  find_line_comment():
  4930:     pos = curwin->w_cursor;
  cin_islabel():
  4996:     cursor_save = curwin->w_cursor;
  4997:     while (curwin->w_cursor.lnum > 1)
  4999:         --curwin->w_cursor.lnum;
  5004:         curwin->w_cursor.col = 0;
  5006:         curwin->w_cursor = *trypos;
  5014:         curwin->w_cursor = cursor_save;
  5022:     curwin->w_cursor = cursor_save;
  get_indent_nolabel():
  5170:     getvcol(curwin, &fp, &col, NULL, NULL);
  skip_label():
  5190:     cursor_save = curwin->w_cursor;
  5191:     curwin->w_cursor.lnum = lnum;
  5208:     curwin->w_cursor = cursor_save;
  cin_first_id_amount():
  5255:     fp.lnum = curwin->w_cursor.lnum;
  5257:     getvcol(curwin, &fp, &col, NULL, NULL);
  cin_get_equal_amount():
  5306:     getvcol(curwin, &fp, &col, NULL, NULL);
  cin_iswhileofdo():
  5523:     cursor_save = curwin->w_cursor;
  5524:     curwin->w_cursor.lnum = lnum;
  5525:     curwin->w_cursor.col = 0;
  5530:         ++curwin->w_cursor.col;
  5535:     curwin->w_cursor = cursor_save;
  cin_iswhileofdo_end():
  5575:         curwin->w_cursor.col = i;
  5584:             curwin->w_cursor.lnum = trypos->lnum;
  cin_is_cpp_baseclass():
  5626:     linenr_T    lnum = curwin->w_cursor.lnum;
  5679:         if (lnum == curwin->w_cursor.lnum)
  5755:         if (lnum == curwin->w_cursor.lnum && *s == ',' && cin_nocode(s + 1))
  get_baseclass_amount():
  5788:     curwin->w_cursor.col = col;
  5789:     getvcol(curwin, &curwin->w_cursor, &vcol, NULL, NULL);
  5789:     getvcol(curwin, &curwin->w_cursor, &vcol, NULL, NULL);
  find_start_brace():
  5872:     cursor_save = curwin->w_cursor;
  5877:     curwin->w_cursor = *trypos;
  5884:         curwin->w_cursor.lnum = pos->lnum;
  5886:     curwin->w_cursor = cursor_save;
  find_match_paren():
  5903:     cursor_save = curwin->w_cursor;
  5913:         curwin->w_cursor = *trypos;
  5918:     curwin->w_cursor = cursor_save;
  corr_ind_maxparen():
  5933:     long    n = (long)startpos->lnum - (long)curwin->w_cursor.lnum;
  find_last_paren():
  5953:     curwin->w_cursor.col = 0;            /* default is start of line */
  5967:         curwin->w_cursor.col = i;
  get_c_indent():
  6259:     cur_curpos = curwin->w_cursor;
  6276:         && curwin->w_cursor.col < STRLEN(linecopy)
  6277:         && linecopy[curwin->w_cursor.col] == ')')
  6278:     linecopy[curwin->w_cursor.col] = NUL;
  6284:     curwin->w_cursor.col = 0;
  6310:     getvcol(curwin, trypos, &col, NULL, NULL);
  6332:     getvcol(curwin, trypos, &col, NULL, NULL);
  6377:             if (curwin->w_cursor.lnum > 1)
  6383:             look = skipwhite(ml_get(curwin->w_cursor.lnum - 1));
  6385:                 amount = get_indent_lnum(curwin->w_cursor.lnum - 1);
  6389:                 amount = get_indent_lnum(curwin->w_cursor.lnum - 1);
  6411:             amount = get_indent_lnum(curwin->w_cursor.lnum - 1);
  6458:         getvcol(curwin, trypos, &col, NULL, NULL);
  6495:         amount = get_indent_lnum(curwin->w_cursor.lnum - 1);  /* XXX */
  6508:         curwin->w_cursor.lnum = lnum;
  6551:         linenr_T    save_lnum = curwin->w_cursor.lnum;
  6557:         curwin->w_cursor.lnum = our_paren_pos.lnum;
  6560:         curwin->w_cursor.col = look_col + 1;
  6567:         curwin->w_cursor.lnum = save_lnum;
  6631:             getvcol(curwin, &our_paren_pos, &col, NULL, NULL);
  6672:             curwin->w_cursor.lnum = our_paren_pos.lnum;
  6673:             curwin->w_cursor.col = col;
  6717:         getvcol(curwin, trypos, &col, NULL, NULL);
  6730:         curwin->w_cursor.lnum = ourscope;
  6785:         curwin->w_cursor.lnum = cur_curpos.lnum;
  6855:         curwin->w_cursor = cur_curpos;
  6858:         curwin->w_cursor.lnum--;
  6859:         curwin->w_cursor.col = 0;
  6865:         if (curwin->w_cursor.lnum <= ourscope)
  6878:             if (curwin->w_cursor.lnum == 0
  6879:                 || curwin->w_cursor.lnum
  6901:                 curwin->w_cursor.lnum = trypos->lnum + 1;
  6902:                 curwin->w_cursor.col = 0;
  6909:             if (cin_ispreproc_cont(&l, &curwin->w_cursor.lnum))
  6923:                 || !cin_isfuncdecl(&l, curwin->w_cursor.lnum))
  6962:                 curwin->w_cursor.lnum = trypos->lnum + 1;
  6963:                 curwin->w_cursor.col = 0;
  7000:             curwin->w_cursor.lnum = trypos->lnum + 1;
  7001:             curwin->w_cursor.col = 0;
  7061:             n = get_indent_nolabel(curwin->w_cursor.lnum);  /* XXX */
  7126:             curwin->w_cursor.lnum = trypos->lnum + 1;
  7127:             curwin->w_cursor.col = 0;
  7149:         if (cin_ispreproc_cont(&l, &curwin->w_cursor.lnum)
  7244:             curwin->w_cursor = *trypos;
  7248:                 ++curwin->w_cursor.lnum;
  7249:                 curwin->w_cursor.col = 0;
  7263:             while (curwin->w_cursor.lnum > 1)
  7265:                 l = ml_get(curwin->w_cursor.lnum - 1);
  7268:                 --curwin->w_cursor.lnum;
  7269:                 curwin->w_cursor.col = 0;
  7277:             cur_amount = skip_label(curwin->w_cursor.lnum,
  7463:                                curwin->w_cursor.lnum);
  7603:                 curwin->w_cursor = *trypos;
  7607:                 ++curwin->w_cursor.lnum;
  7608:                 curwin->w_cursor.col = 0;
  7628:             amount = skip_label(curwin->w_cursor.lnum,
  7664:             curwin->w_cursor.col = 0;
  7669:                 curwin->w_cursor = *trypos;
  7675:                 ++curwin->w_cursor.lnum;
  7676:                 curwin->w_cursor.col = 0;
  7728:         curwin->w_cursor = cur_curpos;
  7732:         while (curwin->w_cursor.lnum > 1)
  7734:         curwin->w_cursor.lnum--;
  7735:         curwin->w_cursor.col = 0;
  7744:             curwin->w_cursor.lnum = trypos->lnum + 1;
  7745:             curwin->w_cursor.col = 0;
  7770:         if (cin_ispreproc_cont(&l, &curwin->w_cursor.lnum))
  7796:             curwin->w_cursor = *trypos;
  7804:             while (n == 0 && curwin->w_cursor.lnum > 1)
  7806:             l = ml_get(curwin->w_cursor.lnum - 1);
  7809:             --curwin->w_cursor.lnum;
  7810:             curwin->w_cursor.col = 0;
  7851:         if (cin_isfuncdecl(&l, curwin->w_cursor.lnum))
  7866:             l = ml_get(curwin->w_cursor.lnum - 1);
  7884:             curwin->w_cursor = *trypos;
  7916:     curwin->w_cursor = cur_curpos;
  find_match():
  7949:     curwin->w_cursor.col = 0;
  7951:     while (curwin->w_cursor.lnum > ourscope + 1)
  7953:     curwin->w_cursor.lnum--;
  7954:     curwin->w_cursor.col = 0;
  7960:         || cin_iswhileofdo(look, curwin->w_cursor.lnum, ind_maxparen))
  8004:         if (cin_iswhileofdo(look, curwin->w_cursor.lnum, ind_maxparen))
  get_expr_indent():
  8054:     pos = curwin->w_cursor;
  8055:     set_vim_var_nr(VV_LNUM, curwin->w_cursor.lnum);
  8069:     curwin->w_cursor = pos;
  get_lisp_indent():
  8135:     realpos = curwin->w_cursor;
  8136:     curwin->w_cursor.col = 0;
  8154:     while (--curwin->w_cursor.lnum >= pos->lnum)
  8156:         if (linewhite(curwin->w_cursor.lnum))
  8203:         curwin->w_cursor.lnum = pos->lnum;
  8204:         curwin->w_cursor.col = pos->col;
  8298:     curwin->w_cursor = realpos;
misc2.c (51 uses)
  getviscol():
  52:     getvvcol(curwin, &curwin->w_cursor, &x, NULL, NULL);
  52:     getvvcol(curwin, &curwin->w_cursor, &x, NULL, NULL);
  getviscol2():
  67:     pos.lnum = curwin->w_cursor.lnum;
  70:     getvvcol(curwin, &pos, &x, NULL, NULL);
  coladvance_force():
  83:     int rc = coladvance2(&curwin->w_cursor, TRUE, FALSE, wcol);
  86:     curwin->w_valid &= ~VALID_VIRTCOL;
  90:     curwin->w_valid |= VALID_VIRTCOL;
  91:     curwin->w_virtcol = wcol;
  coladvance():
  110:     int rc = getvpos(&curwin->w_cursor, wcol);
  113:     curwin->w_valid &= ~VALID_VIRTCOL;
  117:     curwin->w_valid |= VALID_VIRTCOL;
  118:     curwin->w_virtcol = wcol;
  coladvance2():
  173:         curwin->w_curswant = linetabsize(line) + one_more;
  174:         if (curwin->w_curswant > 0)
  175:             --curwin->w_curswant;
  182:     int width = W_WIDTH(curwin) - win_col_off(curwin);
  182:     int width = W_WIDTH(curwin) - win_col_off(curwin);
  185:         && curwin->w_p_wrap
  187:         && curwin->w_width != 0
  213:         csize = win_lbr_chartabsize(curwin, ptr, col, &head);
  321:         getvcol(curwin, pos, &scol, NULL, &ecol);
  330:         if (b > 0 && b < (MAXCOL - 2 * W_WIDTH(curwin)))
  inc_cursor():
  361:     return inc(&curwin->w_cursor);
  dec_cursor():
  422:     return dec(&curwin->w_cursor);
  check_cursor_lnum():
  480:     if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  486:                         &curwin->w_cursor.lnum, NULL))
  488:         curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  490:     if (curwin->w_cursor.lnum <= 0)
  491:     curwin->w_cursor.lnum = 1;
  check_cursor_col():
  502:     colnr_T oldcol = curwin->w_cursor.col + curwin->w_cursor.coladd;
  502:     colnr_T oldcol = curwin->w_cursor.col + curwin->w_cursor.coladd;
  507:     curwin->w_cursor.col = 0;
  508:     else if (curwin->w_cursor.col >= len)
  522:         curwin->w_cursor.col = len;
  525:         curwin->w_cursor.col = len - 1;
  539:     curwin->w_cursor.coladd = 0;
  541:     curwin->w_cursor.coladd = oldcol - curwin->w_cursor.col;
  541:     curwin->w_cursor.coladd = oldcol - curwin->w_cursor.col;
  adjust_cursor_col():
  563:     if (curwin->w_cursor.col > 0
  568:     --curwin->w_cursor.col;
  leftcol_changed():
  584:     lastcol = curwin->w_leftcol + W_WIDTH(curwin) - curwin_col_off() - 1;
  584:     lastcol = curwin->w_leftcol + W_WIDTH(curwin) - curwin_col_off() - 1;
  591:     if (curwin->w_virtcol > (colnr_T)(lastcol - p_siso))
  596:     else if (curwin->w_virtcol < curwin->w_leftcol + p_siso)
  596:     else if (curwin->w_virtcol < curwin->w_leftcol + p_siso)
  599:     (void)coladvance((colnr_T)(curwin->w_leftcol + p_siso));
  607:     getvvcol(curwin, &curwin->w_cursor, &s, NULL, &e);
  607:     getvvcol(curwin, &curwin->w_cursor, &s, NULL, &e);
  613:     else if (s < curwin->w_leftcol)
  618:         curwin->w_leftcol = s;    /* adjust w_leftcol instead */
  624:     curwin->w_set_curswant = TRUE;
move.c (554 uses)
  update_topline():
  163:     check_cursor_moved(curwin);
  164:     if (curwin->w_valid & VALID_TOPLINE)
  173:     old_topline = curwin->w_topline;
  175:     old_topfill = curwin->w_topfill;
  183:     if (curwin->w_topline != 1)
  185:     curwin->w_topline = 1;
  187:     curwin->w_topfill = 0;
  189:     curwin->w_botline = 2;
  190:     curwin->w_valid |= VALID_BOTLINE|VALID_BOTLINE_AP;
  192:     curwin->w_scbind_pos = 1;
  202:     if (curwin->w_topline > 1)
  207:         if (curwin->w_cursor.lnum < curwin->w_topline)
  207:         if (curwin->w_cursor.lnum < curwin->w_topline)
  214:     if (!check_topline && curwin->w_topfill > diff_check_fill(curwin,
  214:     if (!check_topline && curwin->w_topfill > diff_check_fill(curwin,
  215:                                curwin->w_topline))
  221:         halfheight = curwin->w_height / 2 - 1;
  226:         if (hasAnyFolding(curwin))
  232:         for (lnum = curwin->w_cursor.lnum;
  233:                       lnum < curwin->w_topline + p_so; ++lnum)
  244:         n = curwin->w_topline + p_so - curwin->w_cursor.lnum;
  244:         n = curwin->w_topline + p_so - curwin->w_cursor.lnum;
  262:         (void)hasFolding(curwin->w_topline, &curwin->w_topline, NULL);
  262:         (void)hasFolding(curwin->w_topline, &curwin->w_topline, NULL);
  278:     if (!(curwin->w_valid & VALID_BOTLINE_AP))
  281:     if (curwin->w_botline <= curbuf->b_ml.ml_line_count)
  283:         if (curwin->w_cursor.lnum < curwin->w_botline
  283:         if (curwin->w_cursor.lnum < curwin->w_botline
  284:             && ((long)curwin->w_cursor.lnum
  285:                          >= (long)curwin->w_botline - p_so
  287:             || hasAnyFolding(curwin)
  295:         n = curwin->w_empty_rows;
  296:         loff.lnum = curwin->w_cursor.lnum;
  303:         n += curwin->w_filler_rows;
  306:         while (loff.lnum < curwin->w_botline
  308:             && (loff.lnum + 1 < curwin->w_botline || loff.fill == 0)
  324:         if (hasAnyFolding(curwin))
  330:             for (lnum = curwin->w_cursor.lnum;
  331:                      lnum >= curwin->w_botline - p_so; --lnum)
  335:             if (lnum <= 0 || line_count > curwin->w_height + 1)
  342:             line_count = curwin->w_cursor.lnum - curwin->w_botline
  342:             line_count = curwin->w_cursor.lnum - curwin->w_botline
  344:         if (line_count <= curwin->w_height + 1)
  351:     curwin->w_valid |= VALID_TOPLINE;
  356:     if (curwin->w_topline != old_topline
  358:         || curwin->w_topfill != old_topfill
  363:     if (curwin->w_skipcol != 0)
  365:         curwin->w_skipcol = 0;
  371:     if (curwin->w_cursor.lnum == curwin->w_topline)
  371:     if (curwin->w_cursor.lnum == curwin->w_topline)
  scrolljump_value():
  390:     return (curwin->w_height * -p_sj) / 100;
  check_top_offset():
  403:     if (curwin->w_cursor.lnum < curwin->w_topline + p_so
  403:     if (curwin->w_cursor.lnum < curwin->w_topline + p_so
  405:             || hasAnyFolding(curwin)
  409:     loff.lnum = curwin->w_cursor.lnum;
  412:     n = curwin->w_topfill;        /* always have this context */
  421:         if (loff.lnum < curwin->w_topline
  423:             || (loff.lnum == curwin->w_topline && loff.fill > 0)
  update_curswant():
  438:     if (curwin->w_set_curswant)
  441:     curwin->w_curswant = curwin->w_virtcol;
  441:     curwin->w_curswant = curwin->w_virtcol;
  442:     curwin->w_set_curswant = FALSE;
  changed_window_setting():
  484:     changed_window_setting_win(curwin);
  changed_cline_bef_curs():
  528:     curwin->w_valid &= ~(VALID_WROW|VALID_WCOL|VALID_VIRTCOL
  changed_line_abv_curs():
  561:     curwin->w_valid &= ~(VALID_WROW|VALID_WCOL|VALID_VIRTCOL|VALID_CROW
  validate_botline():
  579:     if (!(curwin->w_valid & VALID_BOTLINE))
  580:     comp_botline(curwin);
  invalidate_botline():
  600:     curwin->w_valid &= ~(VALID_BOTLINE|VALID_BOTLINE_AP);
  cursor_valid():
  657:     check_cursor_moved(curwin);
  658:     return ((curwin->w_valid & (VALID_WROW|VALID_WCOL)) ==
  validate_cursor():
  669:     check_cursor_moved(curwin);
  670:     if ((curwin->w_valid & (VALID_WCOL|VALID_WROW)) != (VALID_WCOL|VALID_WROW))
  validate_cline_row():
  685:     check_cursor_moved(curwin);
  686:     if (!(curwin->w_valid & VALID_CROW))
  687:     curs_rows(curwin, FALSE);
  validate_virtcol():
  829:     validate_virtcol_win(curwin);
  validate_cheight():
  861:     check_cursor_moved(curwin);
  862:     if (!(curwin->w_valid & VALID_CHEIGHT))
  865:     if (curwin->w_cursor.lnum == curwin->w_topline)
  865:     if (curwin->w_cursor.lnum == curwin->w_topline)
  866:         curwin->w_cline_height = plines_nofill(curwin->w_cursor.lnum)
  866:         curwin->w_cline_height = plines_nofill(curwin->w_cursor.lnum)
  867:                               + curwin->w_topfill;
  870:         curwin->w_cline_height = plines(curwin->w_cursor.lnum);
  870:         curwin->w_cline_height = plines(curwin->w_cursor.lnum);
  872:     curwin->w_cline_folded = hasFolding(curwin->w_cursor.lnum, NULL, NULL);
  872:     curwin->w_cline_folded = hasFolding(curwin->w_cursor.lnum, NULL, NULL);
  874:     curwin->w_valid |= VALID_CHEIGHT;
  validate_cursor_col():
  888:     if (!(curwin->w_valid & VALID_WCOL))
  890:     col = curwin->w_virtcol;
  895:     if (curwin->w_p_wrap && col >= (colnr_T)W_WIDTH(curwin)
  895:     if (curwin->w_p_wrap && col >= (colnr_T)W_WIDTH(curwin)
  896:         && W_WIDTH(curwin) - off + curwin_col_off2() > 0)
  898:         col -= W_WIDTH(curwin);
  899:         col = col % (W_WIDTH(curwin) - off + curwin_col_off2());
  901:     curwin->w_wcol = col;
  902:     curwin->w_valid |= VALID_WCOL;
  win_col_off():
  916:         + (cmdwin_type == 0 || wp != curwin ? 0 : 1)
  curwin_col_off():
  935:     return win_col_off(curwin);
  curwin_col_off2():
  954:     return win_col_off2(curwin);
  curs_columns():
  986:     if (!(curwin->w_valid & VALID_CROW))
  987:     curs_rows(curwin, FALSE);
  993:     if (curwin->w_cline_folded)
  995:     startcol = curwin->w_virtcol = endcol = curwin->w_leftcol;
  995:     startcol = curwin->w_virtcol = endcol = curwin->w_leftcol;
  998:     getvvcol(curwin, &curwin->w_cursor,
  998:     getvvcol(curwin, &curwin->w_cursor,
  999:                 &startcol, &(curwin->w_virtcol), &endcol);
  1006:     curwin->w_wcol = curwin->w_virtcol + extra;
  1006:     curwin->w_wcol = curwin->w_virtcol + extra;
  1012:     curwin->w_wrow = curwin->w_cline_row;
  1012:     curwin->w_wrow = curwin->w_cline_row;
  1014:     textwidth = W_WIDTH(curwin) - extra;
  1018:     curwin->w_wcol = W_WIDTH(curwin) - 1;
  1018:     curwin->w_wcol = W_WIDTH(curwin) - 1;
  1019:     curwin->w_wrow = curwin->w_height - 1;
  1019:     curwin->w_wrow = curwin->w_height - 1;
  1021:     else if (curwin->w_p_wrap
  1023:         && curwin->w_width != 0
  1030:     if (curwin->w_wcol >= W_WIDTH(curwin))
  1030:     if (curwin->w_wcol >= W_WIDTH(curwin))
  1032:         n = (curwin->w_wcol - W_WIDTH(curwin)) / width + 1;
  1032:         n = (curwin->w_wcol - W_WIDTH(curwin)) / width + 1;
  1033:         curwin->w_wcol -= n * width;
  1034:         curwin->w_wrow += n;
  1041:             && curwin->w_wcol == (int)vim_strsize(p_sbr))
  1042:         curwin->w_wcol = 0;
  1052:         && !curwin->w_cline_folded
  1062:     off_left = (int)startcol - (int)curwin->w_leftcol - p_siso;
  1063:     off_right = (int)endcol - (int)(curwin->w_leftcol + W_WIDTH(curwin)
  1063:     off_right = (int)endcol - (int)(curwin->w_leftcol + W_WIDTH(curwin)
  1075:         new_leftcol = curwin->w_wcol - extra - textwidth / 2;
  1081:             new_leftcol = curwin->w_leftcol - diff;
  1083:             new_leftcol = curwin->w_leftcol + diff;
  1087:         if (new_leftcol != (int)curwin->w_leftcol)
  1089:         curwin->w_leftcol = new_leftcol;
  1094:     curwin->w_wcol -= curwin->w_leftcol;
  1094:     curwin->w_wcol -= curwin->w_leftcol;
  1096:     else if (curwin->w_wcol > (int)curwin->w_leftcol)
  1096:     else if (curwin->w_wcol > (int)curwin->w_leftcol)
  1097:     curwin->w_wcol -= curwin->w_leftcol;
  1097:     curwin->w_wcol -= curwin->w_leftcol;
  1099:     curwin->w_wcol = 0;
  1104:     if (curwin->w_cursor.lnum == curwin->w_topline)
  1104:     if (curwin->w_cursor.lnum == curwin->w_topline)
  1105:     curwin->w_wrow += curwin->w_topfill;
  1105:     curwin->w_wrow += curwin->w_topfill;
  1107:     curwin->w_wrow += diff_check_fill(curwin, curwin->w_cursor.lnum);
  1107:     curwin->w_wrow += diff_check_fill(curwin, curwin->w_cursor.lnum);
  1107:     curwin->w_wrow += diff_check_fill(curwin, curwin->w_cursor.lnum);
  1110:     prev_skipcol = curwin->w_skipcol;
  1113:     if ((curwin->w_wrow >= curwin->w_height
  1113:     if ((curwin->w_wrow >= curwin->w_height
  1115:             || curwin->w_wrow + p_so >= curwin->w_height)
  1115:             || curwin->w_wrow + p_so >= curwin->w_height)
  1122:             (curwin, curwin->w_cursor.lnum, FALSE))
  1122:             (curwin, curwin->w_cursor.lnum, FALSE))
  1123:                             - 1 >= curwin->w_height))
  1124:         && curwin->w_height != 0
  1125:         && curwin->w_cursor.lnum == curwin->w_topline
  1125:         && curwin->w_cursor.lnum == curwin->w_topline
  1128:         && curwin->w_width != 0
  1139:     if (curwin->w_skipcol + p_so * width > curwin->w_virtcol)
  1139:     if (curwin->w_skipcol + p_so * width > curwin->w_virtcol)
  1144:         p_lines = plines_win(curwin, curwin->w_cursor.lnum, FALSE);
  1144:         p_lines = plines_win(curwin, curwin->w_cursor.lnum, FALSE);
  1146:     if (p_lines > curwin->w_wrow + p_so)
  1147:         n = curwin->w_wrow + p_so;
  1150:     if ((colnr_T)n >= curwin->w_height + curwin->w_skipcol / width)
  1150:     if ((colnr_T)n >= curwin->w_height + curwin->w_skipcol / width)
  1156:         n = curwin->w_virtcol / width;
  1157:         if (n > curwin->w_height / 2)
  1158:         n -= curwin->w_height / 2;
  1162:         if (n > p_lines - curwin->w_height + 1)
  1163:         n = p_lines - curwin->w_height + 1;
  1164:         curwin->w_skipcol = n * width;
  1169:         extra = (curwin->w_skipcol + p_so * width - curwin->w_virtcol
  1169:         extra = (curwin->w_skipcol + p_so * width - curwin->w_virtcol
  1173:         if ((colnr_T)(extra * width) > curwin->w_skipcol)
  1174:             extra = curwin->w_skipcol / width;
  1175:         curwin->w_skipcol -= extra * width;
  1181:         endcol = (n - curwin->w_height + 1) * width;
  1182:         while (endcol > curwin->w_virtcol)
  1184:         if (endcol > curwin->w_skipcol)
  1185:         curwin->w_skipcol = endcol;
  1188:     curwin->w_wrow -= curwin->w_skipcol / width;
  1188:     curwin->w_wrow -= curwin->w_skipcol / width;
  1189:     if (curwin->w_wrow >= curwin->w_height)
  1189:     if (curwin->w_wrow >= curwin->w_height)
  1192:         extra = curwin->w_wrow - curwin->w_height + 1;
  1192:         extra = curwin->w_wrow - curwin->w_height + 1;
  1193:         curwin->w_skipcol += extra * width;
  1194:         curwin->w_wrow -= extra;
  1197:     extra = ((int)prev_skipcol - (int)curwin->w_skipcol) / width;
  1199:         win_ins_lines(curwin, 0, extra, FALSE, FALSE);
  1201:         win_del_lines(curwin, 0, -extra, FALSE, FALSE);
  1204:     curwin->w_skipcol = 0;
  1205:     if (prev_skipcol != curwin->w_skipcol)
  1211:     if (((curwin->w_p_cuc && (curwin->w_valid & VALID_VIRTCOL) == 0)
  1211:     if (((curwin->w_p_cuc && (curwin->w_valid & VALID_VIRTCOL) == 0)
  1212:         || (curwin->w_p_cul && (curwin->w_valid & VALID_WROW) == 0))
  1212:         || (curwin->w_p_cul && (curwin->w_valid & VALID_WROW) == 0))
  1220:     curwin->w_valid |= VALID_WCOL|VALID_WROW|VALID_VIRTCOL;
  scrolldown():
  1240:     (void)hasFolding(curwin->w_topline, &curwin->w_topline, NULL);
  1240:     (void)hasFolding(curwin->w_topline, &curwin->w_topline, NULL);
  1246:     if (curwin->w_topfill < diff_check(curwin, curwin->w_topline))
  1246:     if (curwin->w_topfill < diff_check(curwin, curwin->w_topline))
  1246:     if (curwin->w_topfill < diff_check(curwin, curwin->w_topline))
  1248:         ++curwin->w_topfill;
  1254:         if (curwin->w_topline == 1)
  1256:         --curwin->w_topline;
  1258:         curwin->w_topfill = 0;
  1262:         if (hasFolding(curwin->w_topline, &first, NULL))
  1266:             line_count -= curwin->w_topline - first - 1;
  1267:         curwin->w_botline -= curwin->w_topline - first;
  1267:         curwin->w_botline -= curwin->w_topline - first;
  1268:         curwin->w_topline = first;
  1273:         done += plines_nofill(curwin->w_topline);
  1278:     --curwin->w_botline;        /* approximate w_botline */
  1281:     curwin->w_wrow += done;        /* keep w_wrow updated */
  1282:     curwin->w_cline_row += done;    /* keep w_cline_row updated */
  1285:     if (curwin->w_cursor.lnum == curwin->w_topline)
  1285:     if (curwin->w_cursor.lnum == curwin->w_topline)
  1286:     curwin->w_cline_row = 0;
  1287:     check_topfill(curwin, TRUE);
  1294:     wrow = curwin->w_wrow;
  1295:     if (curwin->w_p_wrap
  1297:         && curwin->w_width != 0
  1303:     wrow += curwin->w_cline_height - 1 -
  1304:         curwin->w_virtcol / W_WIDTH(curwin);
  1304:         curwin->w_virtcol / W_WIDTH(curwin);
  1306:     while (wrow >= curwin->w_height && curwin->w_cursor.lnum > 1)
  1306:     while (wrow >= curwin->w_height && curwin->w_cursor.lnum > 1)
  1309:     if (hasFolding(curwin->w_cursor.lnum, &first, NULL))
  1313:         curwin->w_cursor.lnum = 1;
  1315:         curwin->w_cursor.lnum = first - 1;
  1319:         wrow -= plines(curwin->w_cursor.lnum--);
  1320:     curwin->w_valid &=
  1330:     coladvance(curwin->w_curswant);
  scrollup():
  1348:         (byfold && hasAnyFolding(curwin))
  1354:         curwin->w_p_diff
  1359:     lnum = curwin->w_topline;
  1363:         if (curwin->w_topfill > 0)
  1364:         --curwin->w_topfill;
  1376:         curwin->w_topfill = diff_check_fill(curwin, lnum);
  1376:         curwin->w_topfill = diff_check_fill(curwin, lnum);
  1381:     curwin->w_botline += lnum - curwin->w_topline;
  1381:     curwin->w_botline += lnum - curwin->w_topline;
  1382:     curwin->w_topline = lnum;
  1387:     curwin->w_topline += line_count;
  1388:     curwin->w_botline += line_count;    /* approximate w_botline */
  1391:     if (curwin->w_topline > curbuf->b_ml.ml_line_count)
  1392:     curwin->w_topline = curbuf->b_ml.ml_line_count;
  1393:     if (curwin->w_botline > curbuf->b_ml.ml_line_count + 1)
  1394:     curwin->w_botline = curbuf->b_ml.ml_line_count + 1;
  1397:     check_topfill(curwin, FALSE);
  1401:     if (hasAnyFolding(curwin))
  1403:     (void)hasFolding(curwin->w_topline, &curwin->w_topline, NULL);
  1403:     (void)hasFolding(curwin->w_topline, &curwin->w_topline, NULL);
  1406:     curwin->w_valid &= ~(VALID_WROW|VALID_CROW|VALID_BOTLINE);
  1407:     if (curwin->w_cursor.lnum < curwin->w_topline)
  1407:     if (curwin->w_cursor.lnum < curwin->w_topline)
  1409:     curwin->w_cursor.lnum = curwin->w_topline;
  1409:     curwin->w_cursor.lnum = curwin->w_topline;
  1410:     curwin->w_valid &=
  1412:     coladvance(curwin->w_curswant);
  max_topfill():
  1456:     n = plines_nofill(curwin->w_topline);
  1457:     if (n >= curwin->w_height)
  1458:     curwin->w_topfill = 0;
  1461:     curwin->w_topfill = diff_check_fill(curwin, curwin->w_topline);
  1461:     curwin->w_topfill = diff_check_fill(curwin, curwin->w_topline);
  1461:     curwin->w_topfill = diff_check_fill(curwin, curwin->w_topline);
  1462:     if (curwin->w_topfill + n > curwin->w_height)
  1462:     if (curwin->w_topfill + n > curwin->w_height)
  1463:         curwin->w_topfill = curwin->w_height - n;
  1463:         curwin->w_topfill = curwin->w_height - n;
  scrolldown_clamp():
  1478:     int        can_fill = (curwin->w_topfill
  1479:                 < diff_check_fill(curwin, curwin->w_topline));
  1479:                 < diff_check_fill(curwin, curwin->w_topline));
  1482:     if (curwin->w_topline <= 1
  1496:     end_row = curwin->w_wrow;
  1501:     end_row += plines_nofill(curwin->w_topline - 1);
  1505:     if (curwin->w_p_wrap
  1507:         && curwin->w_width != 0
  1513:     end_row += curwin->w_cline_height - 1 -
  1514:         curwin->w_virtcol / W_WIDTH(curwin);
  1514:         curwin->w_virtcol / W_WIDTH(curwin);
  1516:     if (end_row < curwin->w_height - p_so)
  1521:         ++curwin->w_topfill;
  1522:         check_topfill(curwin, TRUE);
  1526:         --curwin->w_topline;
  1527:         curwin->w_topfill = 0;
  1533:     hasFolding(curwin->w_topline, &curwin->w_topline, NULL);
  1533:     hasFolding(curwin->w_topline, &curwin->w_topline, NULL);
  1535:     --curwin->w_botline;        /* approximate w_botline */
  1536:     curwin->w_valid &= ~(VALID_WROW|VALID_CROW|VALID_BOTLINE);
  scrollup_clamp():
  1549:     if (curwin->w_topline == curbuf->b_ml.ml_line_count
  1551:         && curwin->w_topfill == 0
  1564:     start_row = curwin->w_wrow - plines_nofill(curwin->w_topline)
  1564:     start_row = curwin->w_wrow - plines_nofill(curwin->w_topline)
  1565:                               - curwin->w_topfill;
  1569:     if (curwin->w_p_wrap
  1571:         && curwin->w_width != 0
  1576:     start_row -= curwin->w_virtcol / W_WIDTH(curwin);
  1576:     start_row -= curwin->w_virtcol / W_WIDTH(curwin);
  1581:     if (curwin->w_topfill > 0)
  1582:         --curwin->w_topfill;
  1587:         (void)hasFolding(curwin->w_topline, NULL, &curwin->w_topline);
  1587:         (void)hasFolding(curwin->w_topline, NULL, &curwin->w_topline);
  1589:         ++curwin->w_topline;
  1591:     ++curwin->w_botline;        /* approximate w_botline */
  1592:     curwin->w_valid &= ~(VALID_WROW|VALID_CROW|VALID_BOTLINE);
  topline_back():
  1608:     if (lp->fill < diff_check_fill(curwin, lp->lnum))
  botline_forw():
  1651:     if (lp->fill < diff_check_fill(curwin, lp->lnum + 1))
  botline_topline():
  1696:     lp->fill = diff_check_fill(curwin, lp->lnum) - lp->fill + 1;
  topline_botline():
  1711:     lp->fill = diff_check_fill(curwin, lp->lnum) - lp->fill + 1;
  scroll_cursor_top():
  1733:     linenr_T    old_topline = curwin->w_topline;
  1735:     linenr_T    old_topfill = curwin->w_topfill;
  1753:     used = curwin->w_cline_height;
  1754:     if (curwin->w_cursor.lnum < curwin->w_topline)
  1754:     if (curwin->w_cursor.lnum < curwin->w_topline)
  1758:     if (hasFolding(curwin->w_cursor.lnum, &top, &bot))
  1766:     top = curwin->w_cursor.lnum - 1;
  1767:     bot = curwin->w_cursor.lnum + 1;
  1773:     i = diff_check_fill(curwin, curwin->w_cursor.lnum);
  1773:     i = diff_check_fill(curwin, curwin->w_cursor.lnum);
  1802:     if (used > curwin->w_height)
  1804:     if (top < curwin->w_topline)
  1810:     if ((new_topline >= curwin->w_topline || scrolled > min_scroll)
  1825:     if (used > curwin->w_height)
  1833:     if (new_topline < curwin->w_topline || always)
  1834:         curwin->w_topline = new_topline;
  1835:     if (curwin->w_topline > curwin->w_cursor.lnum)
  1835:     if (curwin->w_topline > curwin->w_cursor.lnum)
  1836:         curwin->w_topline = curwin->w_cursor.lnum;
  1836:         curwin->w_topline = curwin->w_cursor.lnum;
  1838:     curwin->w_topfill = diff_check_fill(curwin, curwin->w_topline);
  1838:     curwin->w_topfill = diff_check_fill(curwin, curwin->w_topline);
  1838:     curwin->w_topfill = diff_check_fill(curwin, curwin->w_topline);
  1839:     if (curwin->w_topfill > 0 && extra > off)
  1841:         curwin->w_topfill -= extra - off;
  1842:         if (curwin->w_topfill < 0)
  1843:         curwin->w_topfill = 0;
  1845:     check_topfill(curwin, FALSE);
  1847:     if (curwin->w_topline != old_topline
  1849:         || curwin->w_topfill != old_topfill
  1852:         curwin->w_valid &=
  1854:     curwin->w_valid |= VALID_TOPLINE;
  scroll_cursor_bot():
  1907:     linenr_T    old_topline = curwin->w_topline;
  1911:     int        old_topfill = curwin->w_topfill;
  1914:     linenr_T    old_botline = curwin->w_botline;
  1915:     linenr_T    old_valid = curwin->w_valid;
  1916:     int        old_empty_rows = curwin->w_empty_rows;
  1919:     cln = curwin->w_cursor.lnum;
  1923:     curwin->w_botline = cln + 1;
  1927:     for (curwin->w_topline = curwin->w_botline;
  1927:     for (curwin->w_topline = curwin->w_botline;
  1928:         curwin->w_topline > 1;
  1929:         curwin->w_topline = loff.lnum)
  1931:         loff.lnum = curwin->w_topline;
  1933:         if (used + loff.height > curwin->w_height)
  1937:         curwin->w_topfill = loff.fill;
  1940:     set_empty_rows(curwin, used);
  1941:     curwin->w_valid |= VALID_BOTLINE|VALID_BOTLINE_AP;
  1942:     if (curwin->w_topline != old_topline
  1944:         || curwin->w_topfill != old_topfill
  1947:         curwin->w_valid &= ~(VALID_WROW|VALID_CROW);
  1963:     if (cln >= curwin->w_botline)
  1966:     if (cln == curwin->w_botline)
  1967:         scrolled -= curwin->w_empty_rows;
  1978:     if (!hasFolding(curwin->w_cursor.lnum, &loff.lnum, &boff.lnum))
  1987:     fill_below_window = diff_check_fill(curwin, curwin->w_botline)
  1987:     fill_below_window = diff_check_fill(curwin, curwin->w_botline)
  1988:                               - curwin->w_filler_rows;
  2002:         && loff.lnum <= curwin->w_botline
  2004:         && (loff.lnum < curwin->w_botline
  2013:     if (used > curwin->w_height)
  2015:     if (loff.lnum >= curwin->w_botline
  2017:         && (loff.lnum > curwin->w_botline
  2024:         if (loff.lnum == curwin->w_botline
  2029:         scrolled -= curwin->w_empty_rows;
  2037:         if (used > curwin->w_height)
  2046:         if (boff.lnum >= curwin->w_botline
  2048:             || (boff.lnum + 1 == curwin->w_botline
  2049:                 && boff.fill > curwin->w_filler_rows)
  2055:             if (boff.lnum == curwin->w_botline
  2060:             scrolled -= curwin->w_empty_rows;
  2070:     else if (used > curwin->w_height)
  2077:     boff.fill = curwin->w_topfill;
  2079:     boff.lnum = curwin->w_topline - 1;
  2080:     for (i = 0; i < scrolled && boff.lnum < curwin->w_botline; )
  2094:     if (line_count >= curwin->w_height && line_count > min_scroll)
  2104:     if (curwin->w_topline == old_topline && set_topbot)
  2106:     curwin->w_botline = old_botline;
  2107:     curwin->w_empty_rows = old_empty_rows;
  2108:     curwin->w_valid = old_valid;
  2110:     curwin->w_valid |= VALID_TOPLINE;
  scroll_cursor_halfway():
  2131:     loff.lnum = boff.lnum = curwin->w_cursor.lnum;
  2151:         if (used > curwin->w_height)
  2167:         if (used > curwin->w_height)
  2177:     if (!hasFolding(topline, &curwin->w_topline, NULL))
  2179:     curwin->w_topline = topline;
  2181:     curwin->w_topfill = topfill;
  2182:     check_topfill(curwin, FALSE);
  2184:     curwin->w_valid &= ~(VALID_WROW|VALID_CROW|VALID_BOTLINE|VALID_BOTLINE_AP);
  2185:     curwin->w_valid |= VALID_TOPLINE;
  cursor_correct():
  2218:     if (curwin->w_topline == 1)
  2221:     max_off = curwin->w_height / 2;
  2226:     if (curwin->w_botline == curbuf->b_ml.ml_line_count + 1
  2233:     max_off = (curwin->w_height - 1) / 2;
  2242:     cln = curwin->w_cursor.lnum;
  2243:     if (cln >= curwin->w_topline + above_wanted
  2244:         && cln < curwin->w_botline - below_wanted
  2246:         && !hasAnyFolding(curwin)
  2257:     topline = curwin->w_topline;
  2258:     botline = curwin->w_botline - 1;
  2261:     above = curwin->w_topfill;
  2262:     below = curwin->w_filler_rows;
  2290:         above += diff_check_fill(curwin, topline + 1);
  2296:     curwin->w_cursor.lnum = topline;
  2298:     curwin->w_cursor.lnum = botline;
  2301:     if (cln < topline && curwin->w_topline > 1)
  2303:         curwin->w_cursor.lnum = topline;
  2304:         curwin->w_valid &=
  2307:     if (cln > botline && curwin->w_botline <= curbuf->b_ml.ml_line_count)
  2309:         curwin->w_cursor.lnum = botline;
  2310:         curwin->w_valid &=
  2314:     curwin->w_valid |= VALID_TOPLINE;
  onepage():
  2332:     linenr_T    old_topline = curwin->w_topline;
  2350:         ? ((curwin->w_topline >= curbuf->b_ml.ml_line_count - p_so)
  2351:             && curwin->w_botline > curbuf->b_ml.ml_line_count)
  2352:         : (curwin->w_topline == 1
  2354:             && curwin->w_topfill ==
  2355:                     diff_check_fill(curwin, curwin->w_topline)
  2355:                     diff_check_fill(curwin, curwin->w_topline)
  2373:             ++curwin->w_topline;
  2375:             curwin->w_topline += p_window - 2;
  2376:         if (curwin->w_topline > curbuf->b_ml.ml_line_count)
  2377:             curwin->w_topline = curbuf->b_ml.ml_line_count;
  2378:         curwin->w_cursor.lnum = curwin->w_topline;
  2378:         curwin->w_cursor.lnum = curwin->w_topline;
  2380:         else if (curwin->w_botline > curbuf->b_ml.ml_line_count)
  2383:         curwin->w_topline = curbuf->b_ml.ml_line_count;
  2385:         curwin->w_topfill = 0;
  2387:         curwin->w_valid &= ~(VALID_WROW|VALID_CROW);
  2393:         loff.lnum = curwin->w_botline;
  2395:         loff.fill = diff_check_fill(curwin, loff.lnum)
  2396:                               - curwin->w_filler_rows;
  2399:         curwin->w_topline = loff.lnum;
  2401:         curwin->w_topfill = loff.fill;
  2402:         check_topfill(curwin, FALSE);
  2404:         curwin->w_cursor.lnum = curwin->w_topline;
  2404:         curwin->w_cursor.lnum = curwin->w_topline;
  2405:         curwin->w_valid &= ~(VALID_WCOL|VALID_CHEIGHT|VALID_WROW|
  2412:         if (curwin->w_topline == 1)
  2423:             --curwin->w_topline;
  2425:             curwin->w_topline -= p_window - 2;
  2426:         if (curwin->w_topline < 1)
  2427:             curwin->w_topline = 1;
  2428:         curwin->w_cursor.lnum = curwin->w_topline + p_window - 1;
  2428:         curwin->w_cursor.lnum = curwin->w_topline + p_window - 1;
  2429:         if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  2430:             curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  2437:         loff.lnum = curwin->w_topline - 1;
  2439:         loff.fill = diff_check_fill(curwin, loff.lnum + 1)
  2440:                               - curwin->w_topfill;
  2455:         curwin->w_cursor.lnum = loff.lnum;
  2460:         while (n <= curwin->w_height && loff.lnum >= 1)
  2465:         if (n <= curwin->w_height)            /* at begin of file */
  2467:         curwin->w_topline = 1;
  2471:         curwin->w_valid &= ~(VALID_WROW|VALID_CROW|VALID_BOTLINE);
  2491:         if (loff.lnum >= curwin->w_topline
  2493:             && (loff.lnum > curwin->w_topline
  2494:                 || loff.fill >= curwin->w_topfill)
  2501:             loff.fill = curwin->w_topfill;
  2502:             if (curwin->w_topfill < diff_check_fill(curwin,
  2502:             if (curwin->w_topfill < diff_check_fill(curwin,
  2503:                                curwin->w_topline))
  2505:             if (curwin->w_topfill == loff.fill)
  2508:             --curwin->w_topline;
  2510:             curwin->w_topfill = 0;
  2513:             comp_botline(curwin);
  2514:             curwin->w_cursor.lnum = curwin->w_botline - 1;
  2514:             curwin->w_cursor.lnum = curwin->w_botline - 1;
  2515:             curwin->w_valid &= ~(VALID_WCOL|VALID_CHEIGHT|
  2520:             curwin->w_topline = loff.lnum;
  2522:             curwin->w_topfill = loff.fill;
  2523:             check_topfill(curwin, FALSE);
  2525:             curwin->w_valid &= ~(VALID_WROW|VALID_CROW|VALID_BOTLINE);
  2536:     curwin->w_valid &= ~(VALID_WCOL|VALID_WROW|VALID_VIRTCOL);
  2546:     if (curwin->w_topline <= old_topline
  2549:         curwin->w_topline = old_topline + 1;
  2551:         (void)hasFolding(curwin->w_topline, &curwin->w_topline, NULL);
  2551:         (void)hasFolding(curwin->w_topline, &curwin->w_topline, NULL);
  get_scroll_overlap():
  2578:     int        min_height = curwin->w_height - 2;
  halfpage():
  2645:     curwin->w_p_scr = (Prenum > curwin->w_height) ?
  2645:     curwin->w_p_scr = (Prenum > curwin->w_height) ?
  2646:                         curwin->w_height : Prenum;
  2647:     n = (curwin->w_p_scr <= curwin->w_height) ?
  2647:     n = (curwin->w_p_scr <= curwin->w_height) ?
  2648:                     curwin->w_p_scr : curwin->w_height;
  2648:                     curwin->w_p_scr : curwin->w_height;
  2651:     room = curwin->w_empty_rows;
  2653:     room += curwin->w_filler_rows;
  2660:     while (n > 0 && curwin->w_botline <= curbuf->b_ml.ml_line_count)
  2663:         if (curwin->w_topfill > 0)
  2668:         --curwin->w_topfill;
  2674:         i = plines_nofill(curwin->w_topline);
  2682:         (void)hasFolding(curwin->w_topline, NULL, &curwin->w_topline);
  2682:         (void)hasFolding(curwin->w_topline, NULL, &curwin->w_topline);
  2684:         ++curwin->w_topline;
  2686:         curwin->w_topfill = diff_check_fill(curwin, curwin->w_topline);
  2686:         curwin->w_topfill = diff_check_fill(curwin, curwin->w_topline);
  2686:         curwin->w_topfill = diff_check_fill(curwin, curwin->w_topline);
  2690:         if (curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
  2692:             ++curwin->w_cursor.lnum;
  2693:             curwin->w_valid &=
  2698:         curwin->w_valid &= ~(VALID_CROW|VALID_WROW);
  2706:         if (curwin->w_p_diff)
  2707:         curwin->w_valid &= ~(VALID_BOTLINE|VALID_BOTLINE_AP);
  2714:             i = plines(curwin->w_botline);
  2718:             (void)hasFolding(curwin->w_botline, NULL,
  2719:                               &curwin->w_botline);
  2721:             ++curwin->w_botline;
  2723:         } while (curwin->w_botline <= curbuf->b_ml.ml_line_count);
  2734:         if (hasAnyFolding(curwin))
  2737:             && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
  2739:             (void)hasFolding(curwin->w_cursor.lnum, NULL,
  2740:                               &curwin->w_cursor.lnum);
  2741:             ++curwin->w_cursor.lnum;
  2746:         curwin->w_cursor.lnum += n;
  2770:     while (n > 0 && curwin->w_topline > 1)
  2773:         if (curwin->w_topfill < diff_check_fill(curwin, curwin->w_topline))
  2773:         if (curwin->w_topfill < diff_check_fill(curwin, curwin->w_topline))
  2773:         if (curwin->w_topfill < diff_check_fill(curwin, curwin->w_topline))
  2778:         ++curwin->w_topfill;
  2784:         i = plines_nofill(curwin->w_topline - 1);
  2791:         --curwin->w_topline;
  2793:         (void)hasFolding(curwin->w_topline, &curwin->w_topline, NULL);
  2793:         (void)hasFolding(curwin->w_topline, &curwin->w_topline, NULL);
  2796:         curwin->w_topfill = 0;
  2799:         curwin->w_valid &= ~(VALID_CROW|VALID_WROW|
  2803:         if (curwin->w_cursor.lnum > 1)
  2805:         --curwin->w_cursor.lnum;
  2806:         curwin->w_valid &= ~(VALID_VIRTCOL|VALID_CHEIGHT|VALID_WCOL);
  2816:         if (curwin->w_cursor.lnum <= (linenr_T)n)
  2817:         curwin->w_cursor.lnum = 1;
  2820:         if (hasAnyFolding(curwin))
  2822:         while (--n >= 0 && curwin->w_cursor.lnum > 1)
  2824:             --curwin->w_cursor.lnum;
  2825:             (void)hasFolding(curwin->w_cursor.lnum,
  2826:                         &curwin->w_cursor.lnum, NULL);
  2831:         curwin->w_cursor.lnum -= n;
  2854:     check_topfill(curwin, !flag);
normal.c (620 uses)
  normal_cmd():
  572:     int        old_col = curwin->w_curswant;
  1126:     old_pos = curwin->w_cursor;        /* remember where cursor was */
  1197:                 && old_pos.lnum == curwin->w_cursor.lnum
  1198:                 && old_pos.col == curwin->w_cursor.col)
  1291:     if (curwin->w_p_scb && toplevel)
  do_pending_operator():
  1382:     old_cursor = curwin->w_cursor;
  1470:         oap->start = curwin->w_cursor;
  1471:         curwin->w_cursor.lnum += redo_VIsual_line_count - 1;
  1472:         if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  1473:         curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  1478:             curwin->w_cursor.col += redo_VIsual_col - 1;
  1480:             curwin->w_cursor.col = redo_VIsual_col;
  1484:         curwin->w_curswant = MAXCOL;
  1499:         curbuf->b_visual.vi_end = curwin->w_cursor;
  1501:         curbuf->b_visual.vi_curswant = curwin->w_curswant;
  1511:         if (lt(VIsual, curwin->w_cursor))
  1511:         if (lt(VIsual, curwin->w_cursor))
  1511:         if (lt(VIsual, curwin->w_cursor))
  1511:         if (lt(VIsual, curwin->w_cursor))
  1511:         if (lt(VIsual, curwin->w_cursor))
  1514:             curwin->w_cursor.col =
  1515:                    (colnr_T)STRLEN(ml_get(curwin->w_cursor.lnum));
  1519:             curwin->w_cursor.col = 0;
  1544:     if (lt(oap->start, curwin->w_cursor))
  1544:     if (lt(oap->start, curwin->w_cursor))
  1544:     if (lt(oap->start, curwin->w_cursor))
  1544:     if (lt(oap->start, curwin->w_cursor))
  1544:     if (lt(oap->start, curwin->w_cursor))
  1552:         if (hasFolding(curwin->w_cursor.lnum, NULL,
  1553:                               &curwin->w_cursor.lnum))
  1554:             curwin->w_cursor.col = (colnr_T)STRLEN(ml_get_curline());
  1557:         oap->end = curwin->w_cursor;
  1558:         curwin->w_cursor = oap->start;
  1563:         curwin->w_valid &= ~VALID_VIRTCOL;
  1571:         if (hasFolding(curwin->w_cursor.lnum, &curwin->w_cursor.lnum,
  1571:         if (hasFolding(curwin->w_cursor.lnum, &curwin->w_cursor.lnum,
  1573:             curwin->w_cursor.col = 0;
  1579:         oap->start = curwin->w_cursor;
  1598:         getvvcol(curwin, &(oap->start),
  1602:             getvvcol(curwin, &(oap->end), &start, NULL, &end);
  1617:         if (curwin->w_curswant == MAXCOL)
  1619:             curwin->w_cursor.col = MAXCOL;
  1621:             for (curwin->w_cursor.lnum = oap->start.lnum;
  1622:                 curwin->w_cursor.lnum <= oap->end.lnum;
  1623:                               ++curwin->w_cursor.lnum)
  1625:             getvvcol(curwin, &curwin->w_cursor, NULL, NULL, &end);
  1625:             getvvcol(curwin, &curwin->w_cursor, NULL, NULL, &end);
  1639:         curwin->w_cursor.lnum = oap->end.lnum;
  1641:         oap->end = curwin->w_cursor;
  1643:         curwin->w_cursor = oap->start;
  1645:         oap->start = curwin->w_cursor;
  1655:         if (curwin->w_curswant == MAXCOL)
  1774:     curwin->w_set_curswant = TRUE;
  1858:         if (curwin->w_cursor.lnum + oap->line_count - 1 >
  2071:         coladvance(curwin->w_curswant = old_col);
  2075:         curwin->w_cursor = old_cursor;
  op_colon():
  2101:     if (oap->start.lnum == curwin->w_cursor.lnum)
  2108:         if (oap->end.lnum == curwin->w_cursor.lnum)
  2112:         else if (oap->start.lnum == curwin->w_cursor.lnum)
  do_mouse():
  2244:     win_T    *old_curwin = curwin;
  2256:     save_cursor = curwin->w_cursor;
  2493:             if (curwin != old_curwin)
  2563:             if (mouse_row < W_WINROW(curwin)
  2565:                       > (W_WINROW(curwin) + curwin->w_height))
  2565:                       > (W_WINROW(curwin) + curwin->w_height))
  2571:                 if ((lt(curwin->w_cursor, VIsual)
  2571:                 if ((lt(curwin->w_cursor, VIsual)
  2571:                 if ((lt(curwin->w_cursor, VIsual)
  2571:                 if ((lt(curwin->w_cursor, VIsual)
  2571:                 if ((lt(curwin->w_cursor, VIsual)
  2572:                     && (lt(m_pos, curwin->w_cursor)
  2572:                     && (lt(m_pos, curwin->w_cursor)
  2572:                     && (lt(m_pos, curwin->w_cursor)
  2572:                     && (lt(m_pos, curwin->w_cursor)
  2572:                     && (lt(m_pos, curwin->w_cursor)
  2574:                     || (lt(VIsual, curwin->w_cursor)
  2574:                     || (lt(VIsual, curwin->w_cursor)
  2574:                     || (lt(VIsual, curwin->w_cursor)
  2574:                     || (lt(VIsual, curwin->w_cursor)
  2574:                     || (lt(VIsual, curwin->w_cursor)
  2576:                         || lt(curwin->w_cursor, m_pos))))
  2576:                         || lt(curwin->w_cursor, m_pos))))
  2576:                         || lt(curwin->w_cursor, m_pos))))
  2576:                         || lt(curwin->w_cursor, m_pos))))
  2576:                         || lt(curwin->w_cursor, m_pos))))
  2582:                 getvcols(curwin, &curwin->w_cursor, &VIsual,
  2582:                 getvcols(curwin, &curwin->w_cursor, &VIsual,
  2584:                 getvcol(curwin, &m_pos, NULL, &m_pos.col, NULL);
  2648:         if (lt(curwin->w_cursor, VIsual))
  2648:         if (lt(curwin->w_cursor, VIsual))
  2648:         if (lt(curwin->w_cursor, VIsual))
  2648:         if (lt(curwin->w_cursor, VIsual))
  2648:         if (lt(curwin->w_cursor, VIsual))
  2650:             start_visual = curwin->w_cursor;
  2656:             end_visual = curwin->w_cursor;
  2705:     if (curwin != old_curwin && oap != NULL && oap->op_type != OP_NOP)
  2716:         openFold(curwin->w_cursor.lnum, 1L);
  2718:         closeFold(curwin->w_cursor.lnum, 1L);
  2720:     if (curwin == old_curwin)
  2721:         curwin->w_cursor = save_cursor;
  2764:         getvcols(curwin, &start_visual, &end_visual, &leftcol, &rightcol);
  2765:         if (curwin->w_curswant > (leftcol + rightcol) / 2)
  2769:         if (curwin->w_cursor.lnum <
  2776:         start_visual = curwin->w_cursor;        /* save the cursor pos */
  2777:         curwin->w_cursor = end_visual;
  2779:         VIsual = curwin->w_cursor;
  2780:         curwin->w_cursor = start_visual;        /* restore the cursor */
  2789:         if (lt(curwin->w_cursor, start_visual))
  2789:         if (lt(curwin->w_cursor, start_visual))
  2789:         if (lt(curwin->w_cursor, start_visual))
  2789:         if (lt(curwin->w_cursor, start_visual))
  2789:         if (lt(curwin->w_cursor, start_visual))
  2791:         else if (lt(end_visual, curwin->w_cursor))
  2791:         else if (lt(end_visual, curwin->w_cursor))
  2791:         else if (lt(end_visual, curwin->w_cursor))
  2791:         else if (lt(end_visual, curwin->w_cursor))
  2791:         else if (lt(end_visual, curwin->w_cursor))
  2798:             if (curwin->w_cursor.col - start_visual.col >
  2799:                     end_visual.col - curwin->w_cursor.col)
  2808:             diff = (curwin->w_cursor.lnum - start_visual.lnum) -
  2809:                 (end_visual.lnum - curwin->w_cursor.lnum);
  2817:             if (curwin->w_cursor.col <
  2868:         where_paste_started = curwin->w_cursor;
  2883:     if (curwin->w_llist_ref == NULL)    /* quickfix window */
  2956:         VIsual = curwin->w_cursor;
  2995:         end_visual = curwin->w_cursor;
  3003:             && equalpos(curwin->w_cursor, VIsual)
  3003:             && equalpos(curwin->w_cursor, VIsual)
  3003:             && equalpos(curwin->w_cursor, VIsual)
  3006:             curwin->w_cursor = *pos;
  3011:             if (lt(curwin->w_cursor, VIsual))
  3011:             if (lt(curwin->w_cursor, VIsual))
  3011:             if (lt(curwin->w_cursor, VIsual))
  3011:             if (lt(curwin->w_cursor, VIsual))
  3011:             if (lt(curwin->w_cursor, VIsual))
  3014:                 ++curwin->w_cursor.col;
  3023:         if (lt(curwin->w_cursor, orig_cursor))
  3023:         if (lt(curwin->w_cursor, orig_cursor))
  3023:         if (lt(curwin->w_cursor, orig_cursor))
  3023:         if (lt(curwin->w_cursor, orig_cursor))
  3023:         if (lt(curwin->w_cursor, orig_cursor))
  3025:             find_start_of_word(&curwin->w_cursor);
  3033:             curwin->w_cursor.col +=
  3038:             find_end_of_word(&curwin->w_cursor);
  3041:         curwin->w_set_curswant = TRUE;
  end_visual_mode():
  3213:     curbuf->b_visual.vi_end = curwin->w_cursor;
  3214:     curbuf->b_visual.vi_curswant = curwin->w_curswant;
  3220:     curwin->w_cursor.coladd = 0;
  find_ident_under_cursor():
  3331:     return find_ident_at_pos(curwin, curwin->w_cursor.lnum,
  3331:     return find_ident_at_pos(curwin, curwin->w_cursor.lnum,
  3332:                      curwin->w_cursor.col, string, find_type);
  clear_showcmd():
  3669:     int        i = lt(VIsual, curwin->w_cursor);
  3669:     int        i = lt(VIsual, curwin->w_cursor);
  3669:     int        i = lt(VIsual, curwin->w_cursor);
  3669:     int        i = lt(VIsual, curwin->w_cursor);
  3669:     int        i = lt(VIsual, curwin->w_cursor);
  3678:         bot = curwin->w_cursor.lnum;
  3682:         top = curwin->w_cursor.lnum;
  3694:         getvcols(curwin, &curwin->w_cursor, &VIsual, &leftcol, &rightcol);
  3694:         getvcols(curwin, &curwin->w_cursor, &VIsual, &leftcol, &rightcol);
  3698:     else if (VIsual_mode == 'V' || VIsual.lnum != curwin->w_cursor.lnum)
  3702:             ? curwin->w_cursor.col - VIsual.col
  3703:             : VIsual.col - curwin->w_cursor.col) + (*p_sel != 'e'));
  do_check_scrollbind():
  3881:     if (check && curwin->w_p_scb)
  3887:     else if (curwin == old_curwin)
  3894:         if ((curwin->w_buffer == old_buf
  3896:             || curwin->w_p_diff
  3899:         && (curwin->w_topline != old_topline
  3901:             || curwin->w_topfill != old_topfill
  3903:             || curwin->w_leftcol != old_leftcol))
  3905:         check_scrollbind(curwin->w_topline - old_topline,
  3906:             (long)(curwin->w_leftcol - old_leftcol));
  3921:         check_scrollbind(curwin->w_topline - curwin->w_scbind_pos, 0L);
  3921:         check_scrollbind(curwin->w_topline - curwin->w_scbind_pos, 0L);
  3923:     curwin->w_scbind_pos = curwin->w_topline;
  3923:     curwin->w_scbind_pos = curwin->w_topline;
  3926:     old_curwin = curwin;
  3927:     old_topline = curwin->w_topline;
  3929:     old_topfill = curwin->w_topfill;
  3931:     old_buf = curwin->w_buffer;
  3932:     old_leftcol = curwin->w_leftcol;
  check_scrollbind():
  3947:     win_T    *old_curwin = curwin;
  3953:     colnr_T    tgt_leftcol = curwin->w_leftcol;
  3972:     for (curwin = firstwin; curwin; curwin = curwin->w_next)
  3972:     for (curwin = firstwin; curwin; curwin = curwin->w_next)
  3972:     for (curwin = firstwin; curwin; curwin = curwin->w_next)
  3972:     for (curwin = firstwin; curwin; curwin = curwin->w_next)
  3974:     curbuf = curwin->w_buffer;
  3976:     if (curwin != old_curwin && curwin->w_p_scb)
  3976:     if (curwin != old_curwin && curwin->w_p_scb)
  3984:         if (old_curwin->w_p_diff && curwin->w_p_diff)
  3986:             diff_set_topline(old_curwin, curwin);
  3991:             curwin->w_scbind_pos += topline_diff;
  3992:             topline = curwin->w_scbind_pos;
  3998:             y = topline - curwin->w_topline;
  4008:         curwin->w_redr_status = TRUE;
  4015:         if (want_hor && curwin->w_leftcol != tgt_leftcol)
  4017:         curwin->w_leftcol = tgt_leftcol;
  4030:     curwin = old_curwin;
  find_decl():
  4168:     old_pos = curwin->w_cursor;
  4182:     curwin->w_cursor.lnum = 1;
  4183:     par_pos = curwin->w_cursor;
  4187:     par_pos = curwin->w_cursor;
  4188:     while (curwin->w_cursor.lnum > 1 && *skipwhite(ml_get_curline()) != NUL)
  4189:         --curwin->w_cursor.lnum;
  4191:     curwin->w_cursor.col = 0;
  4197:     t = searchit(curwin, curbuf, &curwin->w_cursor, FORWARD,
  4197:     t = searchit(curwin, curbuf, &curwin->w_cursor, FORWARD,
  4199:     if (curwin->w_cursor.lnum >= old_pos.lnum)
  4209:              (int)(old_pos.lnum - curwin->w_cursor.lnum + 1))) != NULL
  4219:         curwin->w_cursor = found_pos;
  4228:         ++curwin->w_cursor.lnum;
  4229:         curwin->w_cursor.col = 0;
  4235:     if (curwin->w_cursor.lnum >= par_pos.lnum)
  4239:         curwin->w_cursor = found_pos;
  4246:     found_pos = curwin->w_cursor;
  4252:     curwin->w_cursor = old_pos;
  4256:     curwin->w_set_curswant = TRUE;
  nv_screengo():
  4295:     width1 = W_WIDTH(curwin) - col_off1;
  4296:     width2 = W_WIDTH(curwin) - col_off2;
  4299:     if (curwin->w_width != 0)
  4306:       if (curwin->w_curswant == MAXCOL)
  4311:         curwin->w_curswant = 0;
  4314:         curwin->w_curswant = width1 - 1;
  4315:         if (curwin->w_virtcol > curwin->w_curswant)
  4315:         if (curwin->w_virtcol > curwin->w_curswant)
  4316:         curwin->w_curswant += ((curwin->w_virtcol
  4316:         curwin->w_curswant += ((curwin->w_virtcol
  4317:                  - curwin->w_curswant - 1) / width2 + 1) * width2;
  4326:     if (curwin->w_curswant > (colnr_T)n + 1)
  4327:         curwin->w_curswant -= ((curwin->w_curswant - n) / width2 + 1)
  4327:         curwin->w_curswant -= ((curwin->w_curswant - n) / width2 + 1)
  4335:         if ((long)curwin->w_curswant >= width2)
  4337:         curwin->w_curswant -= width2;
  4341:         if (curwin->w_cursor.lnum == 1)
  4346:         --curwin->w_cursor.lnum;
  4351:             (void)hasFolding(curwin->w_cursor.lnum,
  4352:                         &curwin->w_cursor.lnum, NULL);
  4356:             curwin->w_curswant += (((linelen - width1 - 1) / width2)
  4366:         if (curwin->w_curswant + width2 < (colnr_T)n)
  4368:         curwin->w_curswant += width2;
  4374:         (void)hasFolding(curwin->w_cursor.lnum, NULL,
  4375:                               &curwin->w_cursor.lnum);
  4377:         if (curwin->w_cursor.lnum == curbuf->b_ml.ml_line_count)
  4382:         curwin->w_cursor.lnum++;
  4383:         curwin->w_curswant %= width2;
  4391:     coladvance(curwin->w_curswant);
  4394:     if (curwin->w_cursor.col > 0 && curwin->w_p_wrap)
  4394:     if (curwin->w_cursor.col > 0 && curwin->w_p_wrap)
  4402:     if (curwin->w_virtcol > curwin->w_curswant
  4402:     if (curwin->w_virtcol > curwin->w_curswant
  4403:         && (curwin->w_curswant < (colnr_T)width1
  4404:             ? (curwin->w_curswant > (colnr_T)width1 / 2)
  4405:             : ((curwin->w_curswant - width1) % width2
  4407:         --curwin->w_cursor.col;
  4412:     curwin->w_curswant = MAXCOL;        /* stick in the last column */
  nv_mousescroll():
  4428:     win_T *old_curwin = curwin;
  4439:     curwin = mouse_find_win(&row, &col);
  4440:     curbuf = curwin->w_buffer;
  4456:     curwin->w_redr_status = TRUE;
  4458:     curwin = old_curwin;
  4459:     curbuf = curwin->w_buffer;
  scroll_redraw():
  4494:     linenr_T    prev_topline = curwin->w_topline;
  4496:     int        prev_topfill = curwin->w_topfill;
  4498:     linenr_T    prev_lnum = curwin->w_cursor.lnum;
  4509:     check_cursor_moved(curwin);
  4510:     curwin->w_valid |= VALID_TOPLINE;
  4515:     while (curwin->w_topline == prev_topline
  4517:         && curwin->w_topfill == prev_topfill
  4523:         if (curwin->w_cursor.lnum > prev_lnum
  4529:         if (curwin->w_cursor.lnum < prev_lnum
  4536:         check_cursor_moved(curwin);
  4537:         curwin->w_valid |= VALID_TOPLINE;
  4540:     if (curwin->w_cursor.lnum != prev_lnum)
  4541:     coladvance(curwin->w_curswant);
  nv_zet():
  4556:     long    old_fdl = curwin->w_p_fdl;
  4557:     int        old_fen = curwin->w_p_fen;
  4637:         && cap->count0 != curwin->w_cursor.lnum)
  4641:         curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  4643:         curwin->w_cursor.lnum = cap->count0;
  4655:             if (curwin->w_botline > curbuf->b_ml.ml_line_count)
  4656:             curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  4658:             curwin->w_cursor.lnum = curwin->w_botline;
  4658:             curwin->w_cursor.lnum = curwin->w_botline;
  4686:             curwin->w_cursor.lnum = curwin->w_topline;
  4686:             curwin->w_cursor.lnum = curwin->w_topline;
  4688:         else if (curwin->w_topline == 1)
  4689:             curwin->w_cursor.lnum = 1;
  4691:             curwin->w_cursor.lnum = curwin->w_topline - 1;
  4691:             curwin->w_cursor.lnum = curwin->w_topline - 1;
  4703:         cap->count1 *= W_WIDTH(curwin) / 2;
  4709:         if (!curwin->w_p_wrap)
  4711:             if ((colnr_T)cap->count1 > curwin->w_leftcol)
  4712:             curwin->w_leftcol = 0;
  4714:             curwin->w_leftcol -= (colnr_T)cap->count1;
  4720:     case 'L':    cap->count1 *= W_WIDTH(curwin) / 2;
  4726:         if (!curwin->w_p_wrap)
  4729:             curwin->w_leftcol += (colnr_T)cap->count1;
  4735:     case 's':    if (!curwin->w_p_wrap)
  4738:             if (hasFolding(curwin->w_cursor.lnum, NULL, NULL))
  4742:             getvcol(curwin, &curwin->w_cursor, &col, NULL, NULL);
  4742:             getvcol(curwin, &curwin->w_cursor, &col, NULL, NULL);
  4747:             if (curwin->w_leftcol != col)
  4749:             curwin->w_leftcol = col;
  4756:     case 'e':    if (!curwin->w_p_wrap)
  4759:             if (hasFolding(curwin->w_cursor.lnum, NULL, NULL))
  4763:             getvcol(curwin, &curwin->w_cursor, NULL, NULL, &col);
  4763:             getvcol(curwin, &curwin->w_cursor, NULL, NULL, &col);
  4764:             n = W_WIDTH(curwin) - curwin_col_off();
  4769:             if (curwin->w_leftcol != col)
  4771:             curwin->w_leftcol = col;
  4785:             curwin->w_p_fen = TRUE;
  4806:             deleteFold(curwin->w_cursor.lnum,
  4807:                   curwin->w_cursor.lnum, nchar == 'D', FALSE);
  4812:     case 'E':    if (foldmethodIsManual(curwin))
  4814:             clearFolding(curwin);
  4817:         else if (foldmethodIsMarker(curwin))
  4825:     case 'n':    curwin->w_p_fen = FALSE;
  4829:     case 'N':    curwin->w_p_fen = TRUE;
  4833:     case 'i':    curwin->w_p_fen = !curwin->w_p_fen;
  4833:     case 'i':    curwin->w_p_fen = !curwin->w_p_fen;
  4837:     case 'a':    if (hasFolding(curwin->w_cursor.lnum, NULL, NULL))
  4838:             openFold(curwin->w_cursor.lnum, cap->count1);
  4841:             closeFold(curwin->w_cursor.lnum, cap->count1);
  4842:             curwin->w_p_fen = TRUE;
  4847:     case 'A':    if (hasFolding(curwin->w_cursor.lnum, NULL, NULL))
  4848:             openFoldRecurse(curwin->w_cursor.lnum);
  4851:             closeFoldRecurse(curwin->w_cursor.lnum);
  4852:             curwin->w_p_fen = TRUE;
  4860:             openFold(curwin->w_cursor.lnum, cap->count1);
  4867:             openFoldRecurse(curwin->w_cursor.lnum);
  4874:             closeFold(curwin->w_cursor.lnum, cap->count1);
  4875:         curwin->w_p_fen = TRUE;
  4882:             closeFoldRecurse(curwin->w_cursor.lnum);
  4883:         curwin->w_p_fen = TRUE;
  4891:     case 'x':    curwin->w_p_fen = TRUE;
  4897:     case 'X':    curwin->w_p_fen = TRUE;
  4902:     case 'm':    if (curwin->w_p_fdl > 0)
  4903:             --curwin->w_p_fdl;
  4905:         curwin->w_p_fen = TRUE;
  4909:     case 'M':    curwin->w_p_fdl = 0;
  4911:         curwin->w_p_fen = TRUE;
  4915:     case 'r':    ++curwin->w_p_fdl;
  4919:     case 'R':    curwin->w_p_fdl = getDeepestNesting();
  4970:             pos_T    pos = curwin->w_cursor;
  4973:             len = spell_move_to(curwin, FORWARD, TRUE, TRUE, NULL);
  4974:             if (len != 0 && curwin->w_cursor.col <= pos.col)
  4975:                 ptr = ml_get_pos(&curwin->w_cursor);
  4976:             curwin->w_cursor = pos;
  5000:     if (old_fen != curwin->w_p_fen)
  5005:     if (foldmethodIsDiff(curwin) && curwin->w_p_scb)
  5005:     if (foldmethodIsDiff(curwin) && curwin->w_p_scb)
  5010:         if (wp != curwin && foldmethodIsDiff(wp) && wp->w_p_scb)
  5012:             wp->w_p_fen = curwin->w_p_fen;
  5022:     if (old_fdl != curwin->w_p_fdl)
  nv_ident():
  5425:         curwin->w_cursor.col = (colnr_T) (ptr - ml_get_curline());
  get_visual_text():
  5547:     if (VIsual.lnum != curwin->w_cursor.lnum)
  5560:     if (lt(curwin->w_cursor, VIsual))
  5560:     if (lt(curwin->w_cursor, VIsual))
  5560:     if (lt(curwin->w_cursor, VIsual))
  5560:     if (lt(curwin->w_cursor, VIsual))
  5560:     if (lt(curwin->w_cursor, VIsual))
  5562:         *pp = ml_get_pos(&curwin->w_cursor);
  5563:         *lenp = VIsual.col - curwin->w_cursor.col + 1;
  5568:         *lenp = curwin->w_cursor.col - VIsual.col + 1;
  nv_scroll():
  5612:     curwin->w_cursor.lnum = curwin->w_botline - 1;
  5612:     curwin->w_cursor.lnum = curwin->w_botline - 1;
  5613:     if (cap->count1 - 1 >= curwin->w_cursor.lnum)
  5614:         curwin->w_cursor.lnum = 1;
  5618:         if (hasAnyFolding(curwin))
  5622:                 && curwin->w_cursor.lnum > curwin->w_topline; --n)
  5622:                 && curwin->w_cursor.lnum > curwin->w_topline; --n)
  5624:             (void)hasFolding(curwin->w_cursor.lnum,
  5625:                         &curwin->w_cursor.lnum, NULL);
  5626:             --curwin->w_cursor.lnum;
  5631:         curwin->w_cursor.lnum -= cap->count1 - 1;
  5640:         used -= diff_check_fill(curwin, curwin->w_topline)
  5640:         used -= diff_check_fill(curwin, curwin->w_topline)
  5641:                               - curwin->w_topfill;
  5644:         half = (curwin->w_height - curwin->w_empty_rows + 1) / 2;
  5644:         half = (curwin->w_height - curwin->w_empty_rows + 1) / 2;
  5645:         for (n = 0; curwin->w_topline + n < curbuf->b_ml.ml_line_count; ++n)
  5650:         if (n > 0 && used + diff_check_fill(curwin, curwin->w_topline
  5650:         if (n > 0 && used + diff_check_fill(curwin, curwin->w_topline
  5657:         used += plines(curwin->w_topline + n);
  5661:         if (hasFolding(curwin->w_topline + n, NULL, &lnum))
  5662:             n = lnum - curwin->w_topline;
  5665:         if (n > 0 && used > curwin->w_height)
  5672:         if (hasAnyFolding(curwin))
  5675:         lnum = curwin->w_topline;
  5676:         while (n-- > 0 && lnum < curwin->w_botline - 1)
  5681:         n = lnum - curwin->w_topline;
  5685:     curwin->w_cursor.lnum = curwin->w_topline + n;
  5685:     curwin->w_cursor.lnum = curwin->w_topline + n;
  5686:     if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  5687:         curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  nv_right():
  5748:             && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
  5755:             && !lineempty(curwin->w_cursor.lnum))
  5759:             ++curwin->w_cursor.lnum;
  5760:             curwin->w_cursor.col = 0;
  5762:             curwin->w_cursor.coladd = 0;
  5764:             curwin->w_set_curswant = TRUE;
  5777:         if (!lineempty(curwin->w_cursor.lnum))
  5785:         curwin->w_set_curswant = TRUE;
  5794:             curwin->w_cursor.col +=
  5798:             ++curwin->w_cursor.col;
  nv_left():
  5847:             && curwin->w_cursor.lnum > 1)
  5849:         --(curwin->w_cursor.lnum);
  5851:         curwin->w_set_curswant = TRUE;
  5859:             && !lineempty(curwin->w_cursor.lnum))
  5862:             ++curwin->w_cursor.col;
  nv_down():
  5922:     if (curwin->w_llist_ref == NULL)
  nv_gotofile():
  5982:         curwin->w_cursor.lnum = lnum;
  nv_dollar():
  6025:     curwin->w_curswant = MAXCOL;    /* so we stay at the end */
  normal_search():
  6093:     curwin->w_set_curswant = TRUE;
  6104:     curwin->w_cursor.coladd = 0;
  nv_csearch():
  6139:     curwin->w_set_curswant = TRUE;
  6147:         getvcol(curwin, &curwin->w_cursor, &scol, NULL, &ecol);
  6147:         getvcol(curwin, &curwin->w_cursor, &scol, NULL, &ecol);
  6148:         curwin->w_cursor.coladd = ecol - scol;
  6151:         curwin->w_cursor.coladd = 0;
  nv_brackets():
  6182:     old_pos = curwin->w_cursor;
  6184:     curwin->w_cursor.coladd = 0;        /* TODO: don't do this for an error. */
  6227:         cap->cmdchar == ']' ? curwin->w_cursor.lnum + 1 : (linenr_T)1,
  6229:         curwin->w_set_curswant = TRUE;
  6279:         curwin->w_cursor = *pos;
  6282:     curwin->w_cursor = old_pos;
  6300:         curwin->w_cursor = prev_pos;
  6325:                 new_pos = curwin->w_cursor;
  6333:                 new_pos = curwin->w_cursor;
  6342:                 curwin->w_cursor = *pos;
  6348:         curwin->w_cursor = old_pos;
  6355:         curwin->w_cursor = *pos;
  6356:         curwin->w_set_curswant = TRUE;
  6375:     curwin->w_set_curswant = TRUE;
  6414:     pos = &curwin->w_cursor;
  6473:         if (spell_move_to(curwin, cap->cmdchar == ']' ? FORWARD : BACKWARD,
  nv_percent():
  6500:     linenr_T    lnum = curwin->w_cursor.lnum;
  6515:         curwin->w_cursor.lnum = (curbuf->b_ml.ml_line_count + 99L)
  6518:         curwin->w_cursor.lnum = (curbuf->b_ml.ml_line_count *
  6520:         if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  6521:         curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  6534:         curwin->w_cursor = *pos;
  6535:         curwin->w_set_curswant = TRUE;
  6537:         curwin->w_cursor.coladd = 0;
  6546:         && lnum != curwin->w_cursor.lnum
  nv_brace():
  6565:     curwin->w_set_curswant = TRUE;
  6574:     curwin->w_cursor.coladd = 0;
  nv_findpar():
  6608:     curwin->w_set_curswant = TRUE;
  6614:     curwin->w_cursor.coladd = 0;
  nv_kundo():
  6655:     curwin->w_set_curswant = TRUE;
  nv_replace():
  6711:         curwin->w_cursor.col -= cap->count1;
  6775:     curbuf->b_op_start = curwin->w_cursor;
  6813:         ptr = ml_get_buf(curbuf, curwin->w_cursor.lnum, TRUE);
  6814:         ptr[curwin->w_cursor.col] = cap->nchar;
  6817:         ++curwin->w_cursor.col;
  6832:         changed_bytes(curwin->w_cursor.lnum,
  6833:                    (colnr_T)(curwin->w_cursor.col - cap->count1));
  6835:     --curwin->w_cursor.col;        /* cursor on the last replaced char */
  6842:     curbuf->b_op_end = curwin->w_cursor;
  6843:     curwin->w_set_curswant = TRUE;
  v_swap_corners():
  6862:     old_cursor = curwin->w_cursor;
  6863:     getvcols(curwin, &old_cursor, &VIsual, &left, &right);
  6864:     curwin->w_cursor.lnum = VIsual.lnum;
  6866:     VIsual = curwin->w_cursor;
  6868:     curwin->w_cursor.lnum = old_cursor.lnum;
  6869:     curwin->w_curswant = right;
  6873:         ++curwin->w_curswant;
  6874:     coladvance(curwin->w_curswant);
  6875:     if (curwin->w_cursor.col == old_cursor.col
  6878:             || curwin->w_cursor.coladd == old_cursor.coladd)
  6882:         curwin->w_cursor.lnum = VIsual.lnum;
  6886:         VIsual = curwin->w_cursor;
  6888:         curwin->w_cursor.lnum = old_cursor.lnum;
  6890:         curwin->w_curswant = left;
  6895:     old_cursor = curwin->w_cursor;
  6896:     curwin->w_cursor = VIsual;
  6898:     curwin->w_set_curswant = TRUE;
  n_swapchar():
  6991:     if (lineempty(curwin->w_cursor.lnum) && vim_strchr(p_ww, '~') == NULL)
  7002:     startpos = curwin->w_cursor;
  7008:     did_change |= swapchar(cap->oap->op_type, &curwin->w_cursor);
  7013:             && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
  7031:         ++curwin->w_cursor.lnum;
  7032:         curwin->w_cursor.col = 0;
  7035:             if (u_savesub(curwin->w_cursor.lnum) == FAIL)
  7056:     curwin->w_set_curswant = TRUE;
  7059:     changed_lines(startpos.lnum, startpos.col, curwin->w_cursor.lnum + 1,
  7062:     curbuf->b_op_end = curwin->w_cursor;
  nv_cursormark():
  7086:     curwin->w_cursor = *pos;
  7096:     curwin->w_set_curswant = TRUE;
  v_visop():
  7116:         curwin->w_curswant = MAXCOL;
  nv_optrans():
  7181:         cap->oap->start = curwin->w_cursor;
  nv_gomark():
  7213:     linenr_T    lnum = curwin->w_cursor.lnum;
  7238:     curwin->w_cursor.coladd = 0;
  7242:         && (pos == (pos_T *)-1 || lnum != curwin->w_cursor.lnum)
  nv_pcmark():
  7259:     linenr_T    lnum = curwin->w_cursor.lnum;
  7271:         curwin->w_set_curswant = TRUE;
  7289:         && (pos == (pos_T *)-1 || lnum != curwin->w_cursor.lnum)
  nv_visual():
  7370:         VIsual = curwin->w_cursor;
  7388:         curwin->w_cursor.lnum +=
  7390:         if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  7391:             curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  7397:             curwin->w_cursor.col += resel_VIsual_col * cap->count0 - 1;
  7399:             curwin->w_cursor.col = resel_VIsual_col;
  7404:         curwin->w_curswant = MAXCOL;
  7410:         curwin->w_curswant = curwin->w_virtcol
  7410:         curwin->w_curswant = curwin->w_virtcol
  7412:         coladvance(curwin->w_curswant);
  7415:         curwin->w_set_curswant = TRUE;
  n_start_visual_mode():
  7466:     coladvance(curwin->w_virtcol);
  7468:     VIsual = curwin->w_cursor;
  7487:     if (curwin->w_redr_type < INVERTED)
  7489:     curwin->w_old_cursor_lnum = curwin->w_cursor.lnum;
  7489:     curwin->w_old_cursor_lnum = curwin->w_cursor.lnum;
  7490:     curwin->w_old_visual_lnum = curwin->w_cursor.lnum;
  7490:     curwin->w_old_visual_lnum = curwin->w_cursor.lnum;
  nv_g_cmd():
  7593:         i = curwin->w_curswant;
  7594:         curwin->w_curswant = curbuf->b_visual.vi_curswant;
  7598:         curbuf->b_visual.vi_end = curwin->w_cursor;
  7599:         curwin->w_cursor = curbuf->b_visual.vi_start;
  7605:         curwin->w_curswant = curbuf->b_visual.vi_curswant;
  7607:         curwin->w_cursor = curbuf->b_visual.vi_start;
  7616:         VIsual = curwin->w_cursor;
  7617:         curwin->w_cursor = tpos;
  7680:     if (!curwin->w_p_wrap
  7682:         || hasFolding(curwin->w_cursor.lnum, NULL, NULL)
  7699:     if (!curwin->w_p_wrap
  7701:         || hasFolding(curwin->w_cursor.lnum, NULL, NULL)
  7735:     if (curwin->w_p_wrap
  7737:         && curwin->w_width != 0
  7741:         int        width1 = W_WIDTH(curwin) - curwin_col_off();
  7746:         if (curwin->w_virtcol >= (colnr_T)width1 && width2 > 0)
  7747:         i = (curwin->w_virtcol - width1) / width2 * width2 + width1;
  7750:         i = curwin->w_leftcol;
  7754:         i += (W_WIDTH(curwin) - curwin_col_off()
  7755:             + ((curwin->w_p_wrap && i > 0)
  7764:     curwin->w_set_curswant = TRUE;
  7772:     curwin->w_curswant = MAXCOL;
  7781:         if (curwin->w_cursor.col > 0 && ptr[curwin->w_cursor.col] == NUL)
  7781:         if (curwin->w_cursor.col > 0 && ptr[curwin->w_cursor.col] == NUL)
  7782:         --curwin->w_cursor.col;
  7785:         while (curwin->w_cursor.col > 0
  7786:                     && vim_iswhite(ptr[curwin->w_cursor.col]))
  7786:                     && vim_iswhite(ptr[curwin->w_cursor.col]))
  7787:         --curwin->w_cursor.col;
  7788:         curwin->w_set_curswant = TRUE;
  7800:         if (curwin->w_p_wrap
  7802:             && curwin->w_width != 0
  7806:         curwin->w_curswant = MAXCOL;    /* so we stay at the end */
  7809:             int        width1 = W_WIDTH(curwin) - col_off;
  7814:             if (curwin->w_virtcol >= (colnr_T)width1)
  7815:             i += ((curwin->w_virtcol - width1) / width2 + 1)
  7819:             if (curwin->w_cursor.col > 0 && curwin->w_p_wrap)
  7819:             if (curwin->w_cursor.col > 0 && curwin->w_p_wrap)
  7827:             if (curwin->w_virtcol > (colnr_T)i)
  7828:                 --curwin->w_cursor.col;
  7837:         i = curwin->w_leftcol + W_WIDTH(curwin) - col_off - 1;
  7837:         i = curwin->w_leftcol + W_WIDTH(curwin) - col_off - 1;
  7842:         curwin->w_curswant = curwin->w_virtcol;
  7842:         curwin->w_curswant = curwin->w_virtcol;
  7843:         curwin->w_set_curswant = FALSE;
  7867:     curwin->w_set_curswant = TRUE;
  7886:         curwin->w_cursor = curbuf->b_last_insert;
  7889:         if (curwin->w_cursor.col > (colnr_T)i)
  7893:             curwin->w_cursor.coladd += curwin->w_cursor.col - i;
  7893:             curwin->w_cursor.coladd += curwin->w_cursor.col - i;
  7895:         curwin->w_cursor.col = i;
  7984:     oap->cursor_start = curwin->w_cursor;
  n_opencmd():
  8104:         (void)hasFolding(curwin->w_cursor.lnum,
  8105:                         &curwin->w_cursor.lnum, NULL);
  8108:         (void)hasFolding(curwin->w_cursor.lnum,
  8109:                         NULL, &curwin->w_cursor.lnum);
  8111:     if (u_save((linenr_T)(curwin->w_cursor.lnum -
  8113:            (linenr_T)(curwin->w_cursor.lnum +
  nv_redo():
  8159:     curwin->w_set_curswant = TRUE;
  nv_Undo():
  8185:     curwin->w_set_curswant = TRUE;
  nv_operator():
  8223:     cap->oap->start = curwin->w_cursor;
  nv_pipe():
  8309:     curwin->w_curswant = (colnr_T)(cap->count0 - 1);
  8312:     curwin->w_curswant = 0;
  8315:     curwin->w_set_curswant = FALSE;
  nv_bck_word():
  8328:     curwin->w_set_curswant = TRUE;
  nv_wordcmd():
  8348:     pos_T    startpos = curwin->w_cursor;
  8403:     curwin->w_set_curswant = TRUE;
  8411:     if (lt(startpos, curwin->w_cursor))
  8411:     if (lt(startpos, curwin->w_cursor))
  8411:     if (lt(startpos, curwin->w_cursor))
  8411:     if (lt(startpos, curwin->w_cursor))
  8411:     if (lt(startpos, curwin->w_cursor))
  adjust_cursor():
  8442:     if (curwin->w_cursor.col > 0 && gchar_cursor() == NUL
  8451:     --curwin->w_cursor.col;
  adjust_for_sel():
  8489:         && gchar_cursor() != NUL && lt(VIsual, curwin->w_cursor))
  8489:         && gchar_cursor() != NUL && lt(VIsual, curwin->w_cursor))
  8489:         && gchar_cursor() != NUL && lt(VIsual, curwin->w_cursor))
  8489:         && gchar_cursor() != NUL && lt(VIsual, curwin->w_cursor))
  8489:         && gchar_cursor() != NUL && lt(VIsual, curwin->w_cursor))
  8496:         ++curwin->w_cursor.col;
  unadjust_for_sel():
  8511:     if (*p_sel == 'e' && !equalpos(VIsual, curwin->w_cursor))
  8511:     if (*p_sel == 'e' && !equalpos(VIsual, curwin->w_cursor))
  8511:     if (*p_sel == 'e' && !equalpos(VIsual, curwin->w_cursor))
  8513:     if (lt(VIsual, curwin->w_cursor))
  8513:     if (lt(VIsual, curwin->w_cursor))
  8513:     if (lt(VIsual, curwin->w_cursor))
  8513:     if (lt(VIsual, curwin->w_cursor))
  8513:     if (lt(VIsual, curwin->w_cursor))
  8514:         pp = &curwin->w_cursor;
  nv_goto():
  8582:     curwin->w_cursor.lnum = lnum;
  nv_esc():
  8669:     curwin->w_set_curswant = TRUE;
  nv_edit():
  8731:         curwin->w_set_curswant = TRUE;
  8745:             curwin->w_cursor.col += (colnr_T)STRLEN(ml_get_cursor());
  8760:             && (curwin->w_cursor.coladd > 0
  8763:             curwin->w_cursor.coladd++;
  8772:     if (curwin->w_cursor.coladd && cap->cmdchar != 'A')
  nv_object():
  8894:     curwin->w_set_curswant = TRUE;
  nv_halfpage():
  8964:     if ((cap->cmdchar == Ctrl_U && curwin->w_cursor.lnum == 1)
  8966:         && curwin->w_cursor.lnum == curbuf->b_ml.ml_line_count))
  nv_join():
  8988:     if (curwin->w_cursor.lnum + cap->count0 - 1 >
  nv_put():
  9093:             && curwin->w_cursor.col < curbuf->b_op_start.col)
  9095:             && curwin->w_cursor.lnum < curbuf->b_op_start.lnum))
  9124:         if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  9126:         curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
ops.c (242 uses)
  op_shift():
  242:     block_col = curwin->w_cursor.col;
  249:         curwin->w_cursor.col = 0;
  263:     ++curwin->w_cursor.lnum;
  271:     curwin->w_cursor.lnum = oap->start.lnum;
  272:     curwin->w_cursor.col = block_col;
  278:     curwin->w_cursor.lnum = oap->start.lnum;
  282:     --curwin->w_cursor.lnum;    /* put cursor on last line, for ":>" */
  shift_block():
  387:     int            oldcol = curwin->w_cursor.col;
  404:     block_prep(oap, &bd, curwin->w_cursor.lnum, TRUE);
  522:     ml_replace(curwin->w_cursor.lnum, newp, FALSE);
  523:     changed_bytes(curwin->w_cursor.lnum, (colnr_T)bd.textcol);
  525:     curwin->w_cursor.col = oldcol;
  op_reindent():
  652:     linenr_T    start_lnum = curwin->w_cursor.lnum;
  690:             first_changed = curwin->w_cursor.lnum;
  691:         last_changed = curwin->w_cursor.lnum;
  694:     ++curwin->w_cursor.lnum;
  695:     curwin->w_cursor.col = 0;  /* make sure it's valid */
  699:     curwin->w_cursor.lnum = start_lnum;
  op_delete():
  1731:     for (lnum = curwin->w_cursor.lnum; lnum <= oap->end.lnum; ++lnum)
  1738:         if (lnum == curwin->w_cursor.lnum)
  1740:         curwin->w_cursor.col = bd.textcol + bd.startspaces;
  1742:         curwin->w_cursor.coladd = 0;
  1769:     changed_lines(curwin->w_cursor.lnum, curwin->w_cursor.col,
  1769:     changed_lines(curwin->w_cursor.lnum, curwin->w_cursor.col,
  1785:         lnum = curwin->w_cursor.lnum;
  1786:         ++curwin->w_cursor.lnum;
  1788:         curwin->w_cursor.lnum = lnum;
  1796:         ai_col = curwin->w_cursor.col;
  1827:         oap->start = curwin->w_cursor;
  1831:             oap->end.col = curwin->w_cursor.col;
  1832:             oap->end.coladd = curwin->w_cursor.coladd;
  1833:             curwin->w_cursor = oap->start;
  1845:         curwin->w_cursor = oap->end;
  1847:         oap->end = curwin->w_cursor;
  1848:         curwin->w_cursor = oap->start;
  1861:             && oap->end.lnum == curwin->w_cursor.lnum
  1889:             curwin->w_cursor.coladd = 0;
  1903:         if (u_save((linenr_T)(curwin->w_cursor.lnum - 1),
  1904:          (linenr_T)(curwin->w_cursor.lnum + oap->line_count)) == FAIL)
  1909:         curpos = curwin->w_cursor;    /* remember curwin->w_cursor */
  1910:         ++curwin->w_cursor.lnum;
  1914:         curwin->w_cursor.col = 0;
  1921:         curwin->w_cursor = curpos;        /* restore curwin->w_cursor */
  op_replace():
  1999:     bd.is_MAX = (curwin->w_curswant == MAXCOL);
  2000:     for ( ; curwin->w_cursor.lnum <= oap->end.lnum; ++curwin->w_cursor.lnum)
  2000:     for ( ; curwin->w_cursor.lnum <= oap->end.lnum; ++curwin->w_cursor.lnum)
  2002:         block_prep(oap, &bd, curwin->w_cursor.lnum, TRUE);
  2087:         ml_replace(curwin->w_cursor.lnum, newp, FALSE);
  2098:         curwin->w_cursor.col = 0;
  2106:     while (ltoreq(curwin->w_cursor, oap->end))
  2106:     while (ltoreq(curwin->w_cursor, oap->end))
  2106:     while (ltoreq(curwin->w_cursor, oap->end))
  2106:     while (ltoreq(curwin->w_cursor, oap->end))
  2106:     while (ltoreq(curwin->w_cursor, oap->end))
  2106:     while (ltoreq(curwin->w_cursor, oap->end))
  2106:     while (ltoreq(curwin->w_cursor, oap->end))
  2106:     while (ltoreq(curwin->w_cursor, oap->end))
  2132:             if (curwin->w_cursor.lnum == oap->end.lnum)
  2140:             if (curwin->w_cursor.lnum == oap->end.lnum)
  2144:             pchar(curwin->w_cursor, c);
  2144:             pchar(curwin->w_cursor, c);
  2148:         else if (virtual_op && curwin->w_cursor.lnum == oap->end.lnum)
  2152:         if (curwin->w_cursor.lnum == oap->start.lnum
  2160:         curwin->w_cursor.col -= (virtcols + 1);
  2163:             pchar(curwin->w_cursor, c);
  2163:             pchar(curwin->w_cursor, c);
  2164:             if (inc(&curwin->w_cursor) == -1)
  2176:     curwin->w_cursor = oap->start;
  swapchar():
  2365:     pos_T   sp = curwin->w_cursor;
  2368:     curwin->w_cursor = *pos;
  2372:     curwin->w_cursor = sp;
  2399:         pos_T   sp = curwin->w_cursor;
  2401:         curwin->w_cursor = *pos;
  2404:         curwin->w_cursor = sp;
  op_insert():
  2429:     bd.is_MAX = (curwin->w_curswant == MAXCOL);
  2432:     curwin->w_cursor.lnum = oap->start.lnum;
  2442:     if (curwin->w_cursor.coladd > 0)
  2452:         --curwin->w_cursor.col;
  2468:         && curwin->w_cursor.coladd == 0
  2473:         curwin->w_set_curswant = TRUE;
  2475:             && (curwin->w_cursor.col < bd.textcol + bd.textlen))
  2476:         ++curwin->w_cursor.col;
  2490:         curwin->w_cursor = oap->end;
  2494:         if (!lineempty(curwin->w_cursor.lnum)
  2505:     if (curwin->w_cursor.lnum != oap->start.lnum || got_int)
  2548:         curwin->w_cursor.col = oap->start.col;
  op_change():
  2603:     if ((l > curwin->w_cursor.col) && !lineempty(curwin->w_cursor.lnum)
  2603:     if ((l > curwin->w_cursor.col) && !lineempty(curwin->w_cursor.lnum)
  2614:     if (virtual_op && (curwin->w_cursor.coladd > 0
  2621:     bd.textcol = curwin->w_cursor.col;
  2672:                 linenr_T lnum = curwin->w_cursor.lnum;
  2674:                 curwin->w_cursor.lnum = linenr;
  2676:                 curwin->w_cursor.lnum = lnum;
  op_yank():
  2883:     if (curwin->w_curswant == MAXCOL && y_current->y_width > 0)
  2923:                 getvcol(curwin, &oap->start, &cs, NULL, &ce);
  2942:                 getvcol(curwin, &oap->end, &cs, NULL, &ce);
  do_put():
  3229:     curbuf->b_op_start = curwin->w_cursor;    /* default for '[ mark */
  3230:     curbuf->b_op_end = curwin->w_cursor;    /* default for '] mark */
  3328:         ml_append(curwin->w_cursor.lnum, ptr, (colnr_T)0, FALSE);
  3331:         ptr = vim_strnsave(ml_get_curline(), curwin->w_cursor.col);
  3334:         ml_replace(curwin->w_cursor.lnum, ptr, FALSE);
  3341:         curwin->w_cursor = curbuf->b_visual.vi_end;
  3344:     curbuf->b_op_start = curwin->w_cursor;    /* default for '[ mark */
  3345:     curbuf->b_op_end = curwin->w_cursor;    /* default for '] mark */
  3362:     lnum = curwin->w_cursor.lnum + y_size + 1;
  3365:     if (u_save(curwin->w_cursor.lnum - 1, lnum) == FAIL)
  3372:     lnum = curwin->w_cursor.lnum;
  3387:         curwin->w_cursor.lnum = lnum - 1;
  3389:         curwin->w_cursor.lnum = lnum;
  3390:     curbuf->b_op_start = curwin->w_cursor;    /* for mark_adjust() */
  3406:             ? (int)curwin->w_cursor.coladd < curbuf->b_p_ts - 1
  3407:                         : curwin->w_cursor.coladd > 0)
  3410:         curwin->w_cursor.coladd = 0;
  3412:     else if (curwin->w_cursor.coladd > 0 || gchar_cursor() == NUL)
  3417:     lnum = curwin->w_cursor.lnum;
  3418:     col = curwin->w_cursor.col;
  3433:         getvcol(curwin, &curwin->w_cursor, &col, NULL, &endcol2);
  3433:         getvcol(curwin, &curwin->w_cursor, &col, NULL, &endcol2);
  3436:         getvcol(curwin, &curwin->w_cursor, NULL, NULL, &col);
  3436:         getvcol(curwin, &curwin->w_cursor, NULL, NULL, &col);
  3441:         curwin->w_cursor.col += (*mb_ptr2len)(ml_get_cursor());
  3447:         ++curwin->w_cursor.col;
  3451:         getvcol(curwin, &curwin->w_cursor, &col, NULL, &endcol2);
  3451:         getvcol(curwin, &curwin->w_cursor, &col, NULL, &endcol2);
  3454:     col += curwin->w_cursor.coladd;
  3456:         && (curwin->w_cursor.coladd > 0
  3457:             || endcol2 == curwin->w_cursor.col))
  3462:         ++curwin->w_cursor.col;
  3465:         if (dir == BACKWARD && curwin->w_cursor.col)
  3466:             curwin->w_cursor.col--;
  3468:             curwin->w_cursor.col++;
  3471:     curwin->w_cursor.coladd = 0;
  3485:         if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  3567:         ml_replace(curwin->w_cursor.lnum, newp, FALSE);
  3569:         ++curwin->w_cursor.lnum;
  3571:         curwin->w_cursor.col += bd.startspaces;
  3574:     changed_lines(lnum, 0, curwin->w_cursor.lnum, nr_lines);
  3577:     curbuf->b_op_start = curwin->w_cursor;
  3581:     curbuf->b_op_end.lnum = curwin->w_cursor.lnum - 1;
  3590:         curwin->w_cursor = curbuf->b_op_end;
  3591:         curwin->w_cursor.col++;
  3595:         if (curwin->w_cursor.col > len)
  3596:         curwin->w_cursor.col = len;
  3599:         curwin->w_cursor.lnum = lnum;
  3622:             curwin->w_cursor.col += bytelen;
  3632:             ++curwin->w_cursor.col;
  3637:         curbuf->b_op_start = curwin->w_cursor;
  3644:     new_cursor = curwin->w_cursor;
  3668:         curwin->w_cursor.col += (colnr_T)(totlen - 1);
  3670:         curbuf->b_op_end = curwin->w_cursor;
  3673:         ++curwin->w_cursor.col;
  3714:             curwin->w_cursor.lnum = lnum;
  3728:             old_pos = curwin->w_cursor;
  3729:             curwin->w_cursor.lnum = lnum;
  3749:             curwin->w_cursor = old_pos;
  3770:         changed_lines(curwin->w_cursor.lnum, col,
  3771:                      curwin->w_cursor.lnum + 1, nr_lines);
  3788:         curwin->w_cursor.lnum = lnum;
  3797:             curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  3799:             curwin->w_cursor.lnum = lnum + 1;
  3800:             curwin->w_cursor.col = 0;
  3804:             curwin->w_cursor.lnum = lnum;
  3805:             curwin->w_cursor.col = col;
  3811:         curwin->w_cursor.col = 0;
  3813:             ++curwin->w_cursor.lnum;
  3817:         curwin->w_cursor = new_cursor;
  3822:     curwin->w_set_curswant = TRUE;
  adjust_cursor_eol():
  3841:     if (curwin->w_cursor.col > 0
  3857:         getvcol(curwin, &curwin->w_cursor, &scol, NULL, &ecol);
  3857:         getvcol(curwin, &curwin->w_cursor, &scol, NULL, &ecol);
  3858:         curwin->w_cursor.coladd = ecol - scol + 1;
  do_do_join():
  4113:     if (u_save((linenr_T)(curwin->w_cursor.lnum - 1),
  4114:             (linenr_T)(curwin->w_cursor.lnum + count)) == FAIL)
  4126:         col = curwin->w_cursor.col;
  4131:     curwin->w_cursor.col = col;
  do_join():
  4162:     if (curwin->w_cursor.lnum == curbuf->b_ml.ml_line_count)
  4191:     next = next_start = ml_get((linenr_T)(curwin->w_cursor.lnum + 1));
  4236:     ml_replace(curwin->w_cursor.lnum, newp, FALSE);
  4240:     changed_lines(curwin->w_cursor.lnum, currsize,
  4241:                            curwin->w_cursor.lnum + 1, 0L);
  4252:     t = curwin->w_cursor.lnum;
  4255:     ++curwin->w_cursor.lnum;
  4257:     curwin->w_cursor.lnum = t;
  4262:     curwin->w_cursor.col = currsize;
  4265:     curwin->w_cursor.coladd = 0;
  4267:     curwin->w_set_curswant = TRUE;
  op_format():
  4362:     curwin->w_cursor = oap->cursor_start;
  4367:     curwin->w_cursor = oap->start;
  4390:     if (oap->end_adjusted && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
  4391:     ++curwin->w_cursor.lnum;
  4397:     curbuf->b_op_end = curwin->w_cursor;
  4401:     curwin->w_cursor = saved_cursor;
  format_lines():
  4541:     if (curwin->w_cursor.lnum > 1)
  4542:     is_not_par = fmt_check_par(curwin->w_cursor.lnum - 1
  4549:     next_is_not_par = fmt_check_par(curwin->w_cursor.lnum
  4556:     is_end_par = !ends_in_white(curwin->w_cursor.lnum - 1);
  4558:     curwin->w_cursor.lnum--;
  4566:         curwin->w_cursor.lnum++;
  4578:     if (count == 1 || curwin->w_cursor.lnum == curbuf->b_ml.ml_line_count)
  4588:         next_is_not_par = fmt_check_par(curwin->w_cursor.lnum + 1
  4595:                (get_number_indent(curwin->w_cursor.lnum + 1) > 0);
  4600:         is_end_par = !ends_in_white(curwin->w_cursor.lnum);
  4619:             && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count
  4627:             && !lineempty(curwin->w_cursor.lnum + 1))
  4628:             second_indent = get_indent_lnum(curwin->w_cursor.lnum + 1);
  4630:             second_indent = get_number_indent(curwin->w_cursor.lnum);
  4636:         if (curwin->w_cursor.lnum >= curbuf->b_ml.ml_line_count
  4638:             || !same_leader(curwin->w_cursor.lnum,
  4659:         while (curwin->w_cursor.col && vim_isspace(gchar_cursor()))
  4694:         curwin->w_cursor.lnum++;
  4695:         curwin->w_cursor.col = 0;
  4701:             mark_col_adjust(curwin->w_cursor.lnum, (colnr_T)0, 0L,
  4704:         curwin->w_cursor.lnum--;
  do_addsub():
  5068:     col = curwin->w_cursor.col;
  5089:     col = curwin->w_cursor.col;
  5153:     curwin->w_cursor.col = col;
  5216:     curwin->w_cursor.col = col;
  5290:     --curwin->w_cursor.col;
  5291:     curwin->w_set_curswant = TRUE;
  clip_get_selection():
  5605:     old_cursor = curwin->w_cursor;
  5606:     old_curswant = curwin->w_curswant;
  5607:     old_set_curswant = curwin->w_set_curswant;
  5625:     curwin->w_cursor = old_cursor;
  5627:     curwin->w_curswant = old_curswant;
  5628:     curwin->w_set_curswant = old_set_curswant;
  cursor_pos_info():
  6247:         if (lt(VIsual, curwin->w_cursor))
  6247:         if (lt(VIsual, curwin->w_cursor))
  6247:         if (lt(VIsual, curwin->w_cursor))
  6247:         if (lt(VIsual, curwin->w_cursor))
  6247:         if (lt(VIsual, curwin->w_cursor))
  6250:         max_pos = curwin->w_cursor;
  6254:         min_pos = curwin->w_cursor;
  6265:         getvcols(curwin, &min_pos, &max_pos,
  6267:         if (curwin->w_curswant == MAXCOL)
  6344:         if (lnum == curwin->w_cursor.lnum)
  6351:                   (long)(curwin->w_cursor.col + 1), eol_size);
  6366:         if (VIsual_mode == Ctrl_V && curwin->w_curswant < MAXCOL)
  6368:         getvcols(curwin, &min_pos, &max_pos, &min_pos.col,
  6396:         col_print(buf1, (int)curwin->w_cursor.col + 1,
  6397:             (int)curwin->w_virtcol + 1);
  6404:             (long)curwin->w_cursor.lnum,
  6411:             (long)curwin->w_cursor.lnum,
option.c (115 uses)
  set_init_1():
  3169:     check_win_options(curwin);
  set_option_default():
  3430:         win_comp_scroll(curwin);
  do_set():
  4205:                 last_set_msg(curwin->w_p_scriptID[
  insecure_flag():
  5261:         case PV_STL:    return &curwin->w_p_stl_flags;
  5265:         case PV_FDE:    return &curwin->w_p_fde_flags;
  5266:         case PV_FDT:    return &curwin->w_p_fdt_flags;
  did_set_string_option():
  6332:         if (curwin->w_status_height)
  6334:         curwin->w_redr_status = TRUE;
  6502:     else if (gvarp == &curwin->w_allbuf_opt.wo_fdm)
  6505:         || *curwin->w_p_fdm == NUL)
  6508:         foldUpdateAll(curwin);
  6512:     else if (varp == &curwin->w_p_fde)
  6514:     if (foldmethodIsExpr(curwin))
  6515:         foldUpdateAll(curwin);
  6519:     else if (gvarp == &curwin->w_allbuf_opt.wo_fmr)
  6526:     else if (foldmethodIsMarker(curwin))
  6527:         foldUpdateAll(curwin);
  6548:     else if (gvarp == &curwin->w_allbuf_opt.wo_fdi)
  6550:     if (foldmethodIsIndent(curwin))
  6551:         foldUpdateAll(curwin);
  6566:         coladvance(curwin->w_virtcol);
  6733:     if (curwin->w_curswant != MAXCOL)
  6734:     curwin->w_set_curswant = TRUE;  /* in case 'showbreak' changed */
  set_option_scriptID_idx():
  7062:         curwin->w_p_scriptID[indir & PV_MASK] = id;
  set_bool_option():
  7231:     else if ((int *)varp == &curwin->w_p_scb)
  7233:     if (curwin->w_p_scb)
  7240:     else if ((int *)varp == &curwin->w_p_pvw)
  7242:     if (curwin->w_p_pvw)
  7247:         if (win->w_p_pvw && win != curwin)
  7249:             curwin->w_p_pvw = FALSE;
  7330:     else if ((int *)varp == &curwin->w_p_wrap)
  7332:     if (curwin->w_p_wrap)
  7333:         curwin->w_leftcol = 0;
  7340:         win_equal(curwin, FALSE, 0);
  7377:     else if ((int *)varp == &curwin->w_p_diff)
  7380:     diff_buf_adjust(curwin);
  7382:     if (foldmethodIsDiff(curwin))
  7383:         foldUpdateAll(curwin);
  7400:     else if ((int *)varp == &curwin->w_p_spell)
  7402:     if (curwin->w_p_spell)
  7563:     if (curwin->w_curswant != MAXCOL)
  7564:     curwin->w_set_curswant = TRUE;  /* in case 'list' changed */
  set_num_option():
  7638:         if (pp == &p_wh && curwin->w_height < p_wh)
  7640:         if (pp == &p_hh && curbuf->b_help && curwin->w_height < p_hh)
  7676:     if (lastwin != firstwin && curwin->w_width < p_wiw)
  7725:     else if (pp == &curwin->w_p_fdl)
  7727:     if (curwin->w_p_fdl < 0)
  7728:         curwin->w_p_fdl = 0;
  7733:     else if (pp == &curwin->w_p_fml)
  7735:     foldUpdateAll(curwin);
  7739:     else if (pp == &curwin->w_p_fdn)
  7741:     if (foldmethodIsSyntax(curwin) || foldmethodIsIndent(curwin))
  7741:     if (foldmethodIsSyntax(curwin) || foldmethodIsIndent(curwin))
  7742:         foldUpdateAll(curwin);
  7746:     else if (pp == &curwin->w_p_fdc)
  7748:     if (curwin->w_p_fdc < 0)
  7751:         curwin->w_p_fdc = 0;
  7753:     else if (curwin->w_p_fdc > 12)
  7756:         curwin->w_p_fdc = 12;
  7763:     if (foldmethodIsIndent(curwin))
  7764:         foldUpdateAll(curwin);
  7876:     else if (pp == &curwin->w_p_nuw)
  7878:     if (curwin->w_p_nuw < 1)
  7881:         curwin->w_p_nuw = 1;
  7883:     if (curwin->w_p_nuw > 10)
  7886:         curwin->w_p_nuw = 10;
  7888:     curwin->w_nrwidth_line_count = 0;
  7974:     if ((curwin->w_p_scr <= 0
  7975:         || (curwin->w_p_scr > curwin->w_height
  7975:         || (curwin->w_p_scr > curwin->w_height
  7976:             && curwin->w_height > 0))
  7979:     if (pp == &(curwin->w_p_scr))
  7981:         if (curwin->w_p_scr != 0)
  7983:         win_comp_scroll(curwin);
  7987:     else if (curwin->w_p_scr <= 0)
  7988:         curwin->w_p_scr = 1;
  7990:         curwin->w_p_scr = curwin->w_height;
  7990:         curwin->w_p_scr = curwin->w_height;
  8042:     if (curwin->w_curswant != MAXCOL)
  8043:     curwin->w_set_curswant = TRUE;  /* in case 'tabstop' changed */
  makefoldset():
  8675:     if (put_setstring(fd, "setlocal", "fdm", &curwin->w_p_fdm, FALSE) == FAIL
  8677:         || put_setstring(fd, "setlocal", "fde", &curwin->w_p_fde, FALSE)
  8680:         || put_setstring(fd, "setlocal", "fmr", &curwin->w_p_fmr, FALSE)
  8682:         || put_setstring(fd, "setlocal", "fdi", &curwin->w_p_fdi, FALSE)
  8684:         || put_setnum(fd, "setlocal", "fdl", &curwin->w_p_fdl) == FAIL
  8685:         || put_setnum(fd, "setlocal", "fml", &curwin->w_p_fml) == FAIL
  8686:         || put_setnum(fd, "setlocal", "fdn", &curwin->w_p_fdn) == FAIL
  8687:         || put_setbool(fd, "setlocal", "fen", curwin->w_p_fen) == FAIL
  get_varp_scope():
  8952:         case PV_STL:  return (char_u *)&(curwin->w_p_stl);
  get_varp():
  9011:     case PV_STL:    return *curwin->w_p_stl != NUL
  9012:                     ? (char_u *)&(curwin->w_p_stl) : p->var;
  9018:     case PV_LIST:    return (char_u *)&(curwin->w_p_list);
  9020:     case PV_SPELL:    return (char_u *)&(curwin->w_p_spell);
  9023:     case PV_CUC:    return (char_u *)&(curwin->w_p_cuc);
  9024:     case PV_CUL:    return (char_u *)&(curwin->w_p_cul);
  9027:     case PV_DIFF:    return (char_u *)&(curwin->w_p_diff);
  9030:     case PV_FDC:    return (char_u *)&(curwin->w_p_fdc);
  9031:     case PV_FEN:    return (char_u *)&(curwin->w_p_fen);
  9032:     case PV_FDI:    return (char_u *)&(curwin->w_p_fdi);
  9033:     case PV_FDL:    return (char_u *)&(curwin->w_p_fdl);
  9034:     case PV_FDM:    return (char_u *)&(curwin->w_p_fdm);
  9035:     case PV_FML:    return (char_u *)&(curwin->w_p_fml);
  9036:     case PV_FDN:    return (char_u *)&(curwin->w_p_fdn);
  9038:     case PV_FDE:    return (char_u *)&(curwin->w_p_fde);
  9039:     case PV_FDT:    return (char_u *)&(curwin->w_p_fdt);
  9041:     case PV_FMR:    return (char_u *)&(curwin->w_p_fmr);
  9043:     case PV_NU:    return (char_u *)&(curwin->w_p_nu);
  9045:     case PV_NUW:    return (char_u *)&(curwin->w_p_nuw);
  9048:     case PV_WFH:    return (char_u *)&(curwin->w_p_wfh);
  9051:     case PV_WFW:    return (char_u *)&(curwin->w_p_wfw);
  9054:     case PV_PVW:    return (char_u *)&(curwin->w_p_pvw);
  9060:     case PV_SCROLL:    return (char_u *)&(curwin->w_p_scr);
  9061:     case PV_WRAP:    return (char_u *)&(curwin->w_p_wrap);
  9063:     case PV_LBR:    return (char_u *)&(curwin->w_p_lbr);
  9066:     case PV_SCBIND: return (char_u *)&(curwin->w_p_scb);
os_unix.c (2 uses)
  append_ga_line():
  3557:     ml_append(curwin->w_cursor.lnum++, gap->ga_data, 0, FALSE);
  mch_call_shell():
  4416:             write_no_eol_lnum = curwin->w_cursor.lnum;
popupmnu.c (12 uses)
  pum_display():
  76:     row = curwin->w_cline_row + W_WINROW(curwin);
  76:     row = curwin->w_cline_row + W_WINROW(curwin);
  77:     height = curwin->w_cline_height;
  176:     col = W_WINCOL(curwin) + curwin->w_wcol - curwin->w_leftcol;
  176:     col = W_WINCOL(curwin) + curwin->w_wcol - curwin->w_leftcol;
  176:     col = W_WINCOL(curwin) + curwin->w_wcol - curwin->w_leftcol;
  pum_set_selected():
  541:         win_T    *curwin_save = curwin;
  549:         if (curwin->w_p_pvw)
  606:             if (curwin->w_height < lnum)
  615:             curwin->w_cursor.lnum = 0;
  616:             curwin->w_cursor.col = 0;
  618:             if (curwin != curwin_save && win_valid(curwin_save))
quickfix.c (86 uses)
  qf_jump():
  1529:     if (qf_ptr->qf_type == 1 && (!curwin->w_buffer->b_help || cmdmod.tab != 0))
  1550:         if (cmdmod.split == 0 && curwin->w_width != Columns
  1551:                               && curwin->w_width < 80)
  1558:         if (curwin->w_height < p_hh)
  1564:         qf_free_all(curwin);
  1565:         curwin->w_llist = qi;
  1622:         ll_ref = curwin->w_llist_ref;
  1629:         curwin->w_p_scb = FALSE;
  1635:         qf_free_all(curwin);
  1636:         curwin->w_llist = ll_ref;
  1642:         if (curwin->w_llist_ref != NULL)
  1645:         ll_ref = curwin->w_llist_ref;
  1660:             win = curwin;
  1669:             } while (win != curwin);
  1689:         win = curwin;
  1706:             else if (curwin->w_prev != NULL)
  1707:             win = curwin->w_prev;
  1709:             win = curwin->w_next;
  1730:     old_lnum = curwin->w_cursor.lnum;
  1768:         curwin->w_cursor.lnum = i;
  1772:         curwin->w_cursor.col = qf_ptr->qf_col - 1;
  1783:             for (char_col = 0; char_col < curwin->w_cursor.col; ++char_col)
  1789:                 curwin->w_cursor.col -= 7 - (screen_col % 8);
  1806:         save_cursor = curwin->w_cursor;
  1807:         curwin->w_cursor.lnum = 0;
  1810:         curwin->w_cursor = save_cursor;
  1833:         if (curbuf == old_curbuf && curwin->w_cursor.lnum == old_lnum)
  1845:         win_close(curwin, TRUE);    /* Close opened window */
  qf_list():
  1898:     qi = GET_LOC_LIST(curwin);
  1898:     qi = GET_LOC_LIST(curwin);
  1898:     qi = GET_LOC_LIST(curwin);
  1898:     qi = GET_LOC_LIST(curwin);
  qf_age():
  2031:     qi = GET_LOC_LIST(curwin);
  2031:     qi = GET_LOC_LIST(curwin);
  2031:     qi = GET_LOC_LIST(curwin);
  2031:     qi = GET_LOC_LIST(curwin);
  ex_cwindow():
  2204:     qi = GET_LOC_LIST(curwin);
  2204:     qi = GET_LOC_LIST(curwin);
  2204:     qi = GET_LOC_LIST(curwin);
  2204:     qi = GET_LOC_LIST(curwin);
  ex_cclose():
  2241:     qi = GET_LOC_LIST(curwin);
  2241:     qi = GET_LOC_LIST(curwin);
  2241:     qi = GET_LOC_LIST(curwin);
  2241:     qi = GET_LOC_LIST(curwin);
  ex_copen():
  2268:     qi = GET_LOC_LIST(curwin);
  2268:     qi = GET_LOC_LIST(curwin);
  2268:     qi = GET_LOC_LIST(curwin);
  2268:     qi = GET_LOC_LIST(curwin);
  2300:     win = curwin;
  2308:     curwin->w_p_scb = FALSE;
  2312:     qf_free_all(curwin);
  2320:         curwin->w_llist_ref = win->w_llist;
  2344:         && curwin->w_width == Columns
  2348:     curwin->w_p_wfh = TRUE;        /* set 'winfixheight' */
  2358:     curwin->w_cursor.lnum = qi->qf_lists[qi->qf_curlist].qf_index;
  2359:     curwin->w_cursor.col = 0;
  qf_win_pos_update():
  2402:     win_T    *old_curwin = curwin;
  2404:     curwin = win;
  2408:         curwin->w_redraw_top = old_qf_index;
  2409:         curwin->w_redraw_bot = qf_index;
  2413:         curwin->w_redraw_top = qf_index;
  2414:         curwin->w_redraw_bot = old_qf_index;
  2416:     curwin->w_cursor.lnum = qf_index;
  2417:     curwin->w_cursor.col = 0;
  2420:     curwin->w_redr_status = TRUE;    /* update ruler */
  2421:     curwin = old_curwin;
  2422:     curbuf = curwin->w_buffer;
  ex_make():
  2737:     wp = curwin;
  ex_cc():
  2870:     qi = GET_LOC_LIST(curwin);
  2870:     qi = GET_LOC_LIST(curwin);
  2870:     qi = GET_LOC_LIST(curwin);
  2870:     qi = GET_LOC_LIST(curwin);
  ex_cnext():
  2907:     qi = GET_LOC_LIST(curwin);
  2907:     qi = GET_LOC_LIST(curwin);
  2907:     qi = GET_LOC_LIST(curwin);
  2907:     qi = GET_LOC_LIST(curwin);
  ex_cfile():
  2939:     wp = curwin;
  ex_vimgrep():
  3028:     qi = ll_get_or_alloc_list(curwin);
  3164:         while (vim_regexec_multi(&regmatch, curwin, buf, lnum,
  3308:     foldUpdateAll(curwin);
  ex_cbuffer():
  3673:     qi = ll_get_or_alloc_list(curwin);
  ex_cexpr():
  3724:     qi = ll_get_or_alloc_list(curwin);
  ex_helpgrep():
  3903:     if (!curwin->w_buffer->b_help || curwin->w_llist == qi)
  3903:     if (!curwin->w_buffer->b_help || curwin->w_llist == qi)
  3908:     else if (curwin->w_llist == NULL)
  3909:         curwin->w_llist = qi;
regexp.c (2 uses)
  regmatch():
  3927:         win_T        *wp = reg_win == NULL ? curwin : reg_win;
  4007:                 reg_win == NULL ? curwin : reg_win,
screen.c (114 uses)
  redraw_later():
  189:     redraw_win_later(curwin, type);
  redrawWinline():
  283:     if (curwin->w_redraw_top == 0 || curwin->w_redraw_top > lnum)
  283:     if (curwin->w_redraw_top == 0 || curwin->w_redraw_top > lnum)
  284:     curwin->w_redraw_top = lnum;
  285:     if (curwin->w_redraw_bot == 0 || curwin->w_redraw_bot < lnum)
  285:     if (curwin->w_redraw_bot == 0 || curwin->w_redraw_bot < lnum)
  286:     curwin->w_redraw_bot = lnum;
  293:     i = find_wl_entry(curwin, lnum);
  295:         curwin->w_lines[i].wl_valid = FALSE;
  update_screen():
  343:     if (curwin->w_lines_valid == 0 && type < NOT_VALID)
  351:         curwin->w_lines_valid = 0;    /* don't use w_lines[].wl_size now */
  424:     if (curwin->w_redr_type < NOT_VALID
  425:        && curwin->w_nrwidth != (curwin->w_p_nu ? number_width(curwin) : 0))
  425:        && curwin->w_nrwidth != (curwin->w_p_nu ? number_width(curwin) : 0))
  425:        && curwin->w_nrwidth != (curwin->w_p_nu ? number_width(curwin) : 0))
  426:     curwin->w_redr_type = NOT_VALID;
  434:     if (curwin->w_redr_type < type
  436:             && curwin->w_lines[0].wl_valid
  438:             && curwin->w_topfill == curwin->w_old_topfill
  438:             && curwin->w_topfill == curwin->w_old_topfill
  439:             && curwin->w_botfill == curwin->w_old_botfill
  439:             && curwin->w_botfill == curwin->w_old_botfill
  441:             && curwin->w_topline == curwin->w_lines[0].wl_lnum)
  441:             && curwin->w_topline == curwin->w_lines[0].wl_lnum)
  445:             && curwin->w_old_cursor_lnum == curwin->w_cursor.lnum
  445:             && curwin->w_old_cursor_lnum == curwin->w_cursor.lnum
  446:             && curwin->w_old_visual_mode == VIsual_mode
  447:             && (curwin->w_valid & VALID_VIRTCOL)
  448:             && curwin->w_old_curswant == curwin->w_curswant)
  448:             && curwin->w_old_curswant == curwin->w_curswant)
  451:     curwin->w_redr_type = type;
  win_update():
  1277:     if ((VIsual_active && buf == curwin->w_buffer)
  1293:         if (curwin->w_cursor.lnum < VIsual.lnum)
  1295:             from = curwin->w_cursor.lnum;
  1301:             to = curwin->w_cursor.lnum;
  1320:         if (curwin->w_cursor.lnum < wp->w_old_cursor_lnum)
  1322:             from = curwin->w_cursor.lnum;
  1328:             to = curwin->w_cursor.lnum;
  1357:         getvcols(wp, &VIsual, &curwin->w_cursor, &fromc, &toc);
  1359:         if (curwin->w_curswant == MAXCOL)
  1455:     if (VIsual_active && buf == curwin->w_buffer)
  1458:     wp->w_old_cursor_lnum = curwin->w_cursor.lnum;
  1461:     wp->w_old_curswant = curwin->w_curswant;
  1934:     if (wp == curwin && wp->w_botline != old_botline && !recursive)
  1937:         curwin->w_valid &= ~VALID_TOPLINE;
  1944:         win_update(curwin);
  win_draw_end():
  2039:     if (cmdwin_type != 0 && wp == curwin)
  fold_line():
  2123:     if (cmdwin_type != 0 && wp == curwin)
  2393:     if (VIsual_active && wp->w_buffer == curwin->w_buffer)
  2395:     if (ltoreq(curwin->w_cursor, VIsual))
  2395:     if (ltoreq(curwin->w_cursor, VIsual))
  2395:     if (ltoreq(curwin->w_cursor, VIsual))
  2395:     if (ltoreq(curwin->w_cursor, VIsual))
  2395:     if (ltoreq(curwin->w_cursor, VIsual))
  2395:     if (ltoreq(curwin->w_cursor, VIsual))
  2395:     if (ltoreq(curwin->w_cursor, VIsual))
  2395:     if (ltoreq(curwin->w_cursor, VIsual))
  2398:         top = &curwin->w_cursor;
  2405:         bot = &curwin->w_cursor;
  2454:     if (wp == curwin
  2455:         && lnum <= curwin->w_cursor.lnum
  2456:         && lnume >= curwin->w_cursor.lnum)
  2458:     curwin->w_cline_row = row;
  2459:     curwin->w_cline_height = 1;
  2460:     curwin->w_cline_folded = TRUE;
  2461:     curwin->w_valid |= (VALID_CHEIGHT|VALID_CROW);
  win_line():
  2774:     if (VIsual_active && wp->w_buffer == curwin->w_buffer)
  2777:     if (ltoreq(curwin->w_cursor, VIsual))
  2777:     if (ltoreq(curwin->w_cursor, VIsual))
  2777:     if (ltoreq(curwin->w_cursor, VIsual))
  2777:     if (ltoreq(curwin->w_cursor, VIsual))
  2777:     if (ltoreq(curwin->w_cursor, VIsual))
  2777:     if (ltoreq(curwin->w_cursor, VIsual))
  2777:     if (ltoreq(curwin->w_cursor, VIsual))
  2777:     if (ltoreq(curwin->w_cursor, VIsual))
  2779:         top = &curwin->w_cursor;
  2785:         bot = &curwin->w_cursor;
  2839:     if (!highlight_match && lnum == curwin->w_cursor.lnum && wp == curwin
  2839:     if (!highlight_match && lnum == curwin->w_cursor.lnum && wp == curwin
  2865:         && wp == curwin
  2866:         && lnum >= curwin->w_cursor.lnum
  2867:         && lnum <= curwin->w_cursor.lnum + search_match_lines)
  2869:     if (lnum == curwin->w_cursor.lnum)
  2870:         getvcol(curwin, &(curwin->w_cursor),
  2870:         getvcol(curwin, &(curwin->w_cursor),
  2874:     if (lnum == curwin->w_cursor.lnum + search_match_lines)
  2878:         getvcol(curwin, &pos, (colnr_T *)&tocol, NULL, NULL);
  3204:         if (cmdwin_type != 0 && wp == curwin)
  3387:     if (dollar_vcol != 0 && wp == curwin
  4505:         if (wp == curwin && lnum == curwin->w_cursor.lnum)
  4505:         if (wp == curwin && lnum == curwin->w_cursor.lnum)
  4507:         curwin->w_cline_row = startrow;
  4508:         curwin->w_cline_height = row - startrow;
  4510:         curwin->w_cline_folded = FALSE;
  4512:         curwin->w_valid |= (VALID_CHEIGHT|VALID_CROW);
  win_redr_status():
  5748:     fillchar = fillchar_status(&attr, wp == curwin);
  5852:         fillchar = fillchar_status(&attr, wp == curwin);
  get_keymap_str():
  5933:     win_T    *old_curwin = curwin;
  5937:     curwin = wp;
  5943:     curwin = old_curwin;
  win_redr_custom():
  6007:     fillchar = fillchar_status(&attr, wp == curwin);
  6068:     width = build_stl_str_hl(wp == NULL ? curwin : wp,
  6102:     else if (wp != NULL && wp != curwin && wp->w_status_height != 0)
  setcursor():
  8048:     windgoto(W_WINROW(curwin) + curwin->w_wrow,
  8048:     windgoto(W_WINROW(curwin) + curwin->w_wrow,
  8049:         W_WINCOL(curwin) + (
  8061:                                 curwin->w_wcol));
  draw_tabline():
  9147:         cwp = curwin;
  showruler():
  9338:     curwin->w_redr_status = TRUE;
  9344:     if ((*p_stl != NUL || *curwin->w_p_stl != NUL) && curwin->w_status_height)
  9344:     if ((*p_stl != NUL || *curwin->w_p_stl != NUL) && curwin->w_status_height)
  9346:     redraw_custum_statusline(curwin);
  9351:     win_redr_ruler(curwin, always);
  win_redr_ruler():
  9466:         fillchar = fillchar_status(&attr, wp == curwin);
search.c (227 uses)
  do_search():
  1051:     pos = curwin->w_cursor;    /* start searching at the cursor position */
  1293:     c = searchit(curwin, curbuf, &pos, dirc == '/' ? FORWARD : BACKWARD,
  1375:     curwin->w_cursor = pos;
  1376:     curwin->w_set_curswant = TRUE;
  searchc():
  1533:     col = curwin->w_cursor.col;
  1596:     curwin->w_cursor.col = col;
  findmatchlimit():
  1692:     pos = curwin->w_cursor;
  showmatch():
  2424:     else if (lpos->lnum >= curwin->w_topline)
  2426:     if (!curwin->w_p_wrap)
  2427:         getvcol(curwin, lpos, NULL, &vcol, NULL);
  2428:     if (curwin->w_p_wrap || (vcol >= curwin->w_leftcol
  2428:     if (curwin->w_p_wrap || (vcol >= curwin->w_leftcol
  2429:                    && vcol < curwin->w_leftcol + W_WIDTH(curwin)))
  2429:                    && vcol < curwin->w_leftcol + W_WIDTH(curwin)))
  2432:         save_cursor = curwin->w_cursor;
  2437:         if (dollar_vcol > 0 && dollar_vcol == curwin->w_virtcol)
  2439:         ++curwin->w_virtcol;    /* do display ')' just before "$" */
  2448:         curwin->w_cursor = mpos;    /* move to matching char */
  2475:         curwin->w_cursor = save_cursor;    /* restore cursor position */
  findsent():
  2505:     pos = curwin->w_cursor;
  2609:     curwin->w_cursor = pos;
  findpar():
  2640:     curr = curwin->w_cursor.lnum;
  2683:     curwin->w_cursor.lnum = curr;
  2686:     if ((curwin->w_cursor.col = (colnr_T)STRLEN(ml_get(curr))) != 0)
  2688:         --curwin->w_cursor.col;
  2693:     curwin->w_cursor.col = 0;
  fwd_word():
  2831:     curwin->w_cursor.coladd = 0;
  2839:     if (hasFolding(curwin->w_cursor.lnum, NULL, &curwin->w_cursor.lnum))
  2839:     if (hasFolding(curwin->w_cursor.lnum, NULL, &curwin->w_cursor.lnum))
  2848:     last_line = (curwin->w_cursor.lnum == curbuf->b_ml.ml_line_count);
  2874:         if (curwin->w_cursor.col == 0 && *ml_get_curline() == NUL)
  bck_word():
  2901:     curwin->w_cursor.coladd = 0;
  2909:     if (hasFolding(curwin->w_cursor.lnum, &curwin->w_cursor.lnum, NULL))
  2909:     if (hasFolding(curwin->w_cursor.lnum, &curwin->w_cursor.lnum, NULL))
  2910:         curwin->w_cursor.col = 0;
  2924:         if (curwin->w_cursor.col == 0
  2925:                       && lineempty(curwin->w_cursor.lnum))
  end_word():
  2970:     curwin->w_cursor.coladd = 0;
  2978:     if (hasFolding(curwin->w_cursor.lnum, NULL, &curwin->w_cursor.lnum))
  2978:     if (hasFolding(curwin->w_cursor.lnum, NULL, &curwin->w_cursor.lnum))
  3005:         if (empty && curwin->w_cursor.col == 0
  3006:                       && lineempty(curwin->w_cursor.lnum))
  bckend_word():
  3040:     curwin->w_cursor.coladd = 0;
  3066:         if (curwin->w_cursor.col == 0 && lineempty(curwin->w_cursor.lnum))
  3066:         if (curwin->w_cursor.col == 0 && lineempty(curwin->w_cursor.lnum))
  back_in_line():
  3102:     if (curwin->w_cursor.col == 0)        /* stop at start of line */
  findsent_forward():
  3142:         find_first_blank(&curwin->w_cursor);
  3144:         decl(&curwin->w_cursor);
  current_word():
  3170:     if (VIsual_active && *p_sel == 'e' && lt(VIsual, curwin->w_cursor))
  3170:     if (VIsual_active && *p_sel == 'e' && lt(VIsual, curwin->w_cursor))
  3170:     if (VIsual_active && *p_sel == 'e' && lt(VIsual, curwin->w_cursor))
  3170:     if (VIsual_active && *p_sel == 'e' && lt(VIsual, curwin->w_cursor))
  3170:     if (VIsual_active && *p_sel == 'e' && lt(VIsual, curwin->w_cursor))
  3177:     if (!VIsual_active || equalpos(curwin->w_cursor, VIsual))
  3177:     if (!VIsual_active || equalpos(curwin->w_cursor, VIsual))
  3177:     if (!VIsual_active || equalpos(curwin->w_cursor, VIsual))
  3184:     start_pos = curwin->w_cursor;
  3206:         if (curwin->w_cursor.col == 0)
  3207:         decl(&curwin->w_cursor);
  3238:     if (VIsual_active && lt(curwin->w_cursor, VIsual))
  3238:     if (VIsual_active && lt(curwin->w_cursor, VIsual))
  3238:     if (VIsual_active && lt(curwin->w_cursor, VIsual))
  3238:     if (VIsual_active && lt(curwin->w_cursor, VIsual))
  3238:     if (VIsual_active && lt(curwin->w_cursor, VIsual))
  3243:         if (decl(&curwin->w_cursor) == -1)
  3254:         (void)incl(&curwin->w_cursor);
  3263:         if (incl(&curwin->w_cursor) == -1)
  3287:          || (curwin->w_cursor.col == 0 && !inclusive)))
  3297:     pos = curwin->w_cursor;    /* save cursor position */
  3298:     curwin->w_cursor = start_pos;
  3302:         if (cls() == 0 && curwin->w_cursor.col > 0)
  3306:             VIsual = curwin->w_cursor;
  3309:             oap->start = curwin->w_cursor;
  3312:     curwin->w_cursor = pos;    /* put cursor back at end */
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  current_sent():
  3350:     start_pos = curwin->w_cursor;
  3372:         while (lt(pos, curwin->w_cursor))
  3372:         while (lt(pos, curwin->w_cursor))
  3372:         while (lt(pos, curwin->w_cursor))
  3372:         while (lt(pos, curwin->w_cursor))
  3372:         while (lt(pos, curwin->w_cursor))
  3385:         if (equalpos(curwin->w_cursor, start_pos))
  3385:         if (equalpos(curwin->w_cursor, start_pos))
  3385:         if (equalpos(curwin->w_cursor, start_pos))
  3396:             find_first_blank(&curwin->w_cursor);
  3414:         if (!equalpos(pos, curwin->w_cursor)) /* not just before a sentence */
  3414:         if (!equalpos(pos, curwin->w_cursor)) /* not just before a sentence */
  3414:         if (!equalpos(pos, curwin->w_cursor)) /* not just before a sentence */
  3417:         while (lt(pos, curwin->w_cursor))
  3417:         while (lt(pos, curwin->w_cursor))
  3417:         while (lt(pos, curwin->w_cursor))
  3417:         while (lt(pos, curwin->w_cursor))
  3417:         while (lt(pos, curwin->w_cursor))
  3430:             curwin->w_cursor = start_pos;
  3437:         ++curwin->w_cursor.col;
  3449:     if (equalpos(pos, curwin->w_cursor))
  3449:     if (equalpos(pos, curwin->w_cursor))
  3449:     if (equalpos(pos, curwin->w_cursor))
  3458:     start_pos = curwin->w_cursor;
  3471:     decl(&curwin->w_cursor);
  3482:         find_first_blank(&curwin->w_cursor);
  3483:         c = gchar_pos(&curwin->w_cursor);    /* vim_iswhite() is a macro */
  3485:         decl(&curwin->w_cursor);
  3495:     if (equalpos(start_pos, curwin->w_cursor))
  3495:     if (equalpos(start_pos, curwin->w_cursor))
  3495:     if (equalpos(start_pos, curwin->w_cursor))
  3498:         ++curwin->w_cursor.col;
  3507:     if (incl(&curwin->w_cursor) == -1)
  current_block():
  3537:     old_pos = curwin->w_cursor;
  3538:     old_end = curwin->w_cursor;        /* remember where we started */
  3545:     if (!VIsual_active || equalpos(VIsual, curwin->w_cursor))
  3545:     if (!VIsual_active || equalpos(VIsual, curwin->w_cursor))
  3545:     if (!VIsual_active || equalpos(VIsual, curwin->w_cursor))
  3555:         ++curwin->w_cursor.col;
  3558:     else if (lt(VIsual, curwin->w_cursor))
  3558:     else if (lt(VIsual, curwin->w_cursor))
  3558:     else if (lt(VIsual, curwin->w_cursor))
  3558:     else if (lt(VIsual, curwin->w_cursor))
  3558:     else if (lt(VIsual, curwin->w_cursor))
  3561:     curwin->w_cursor = VIsual;        /* cursor at low end of Visual */
  3578:     curwin->w_cursor = *pos;
  3589:     curwin->w_cursor = old_pos;
  3592:     curwin->w_cursor = *end_pos;
  3602:     sol = (curwin->w_cursor.col == 0);
  3603:     decl(&curwin->w_cursor);
  3608:         if (decl(&curwin->w_cursor) != 0)
  3616:     if (!lt(start_pos, old_start) && !lt(old_end, curwin->w_cursor)
  3616:     if (!lt(start_pos, old_start) && !lt(old_end, curwin->w_cursor)
  3616:     if (!lt(start_pos, old_start) && !lt(old_end, curwin->w_cursor)
  3616:     if (!lt(start_pos, old_start) && !lt(old_end, curwin->w_cursor)
  3616:     if (!lt(start_pos, old_start) && !lt(old_end, curwin->w_cursor)
  3619:         curwin->w_cursor = old_start;
  3620:         decl(&curwin->w_cursor);
  3623:         curwin->w_cursor = old_pos;
  3627:         curwin->w_cursor = *pos;
  3630:         curwin->w_cursor = old_pos;
  3633:         curwin->w_cursor = *end_pos;
  3644:         ++curwin->w_cursor.col;
  3646:         inc(&curwin->w_cursor);    /* include the line break */
  3659:         incl(&curwin->w_cursor);
  3660:     else if (ltoreq(start_pos, curwin->w_cursor))
  3660:     else if (ltoreq(start_pos, curwin->w_cursor))
  3660:     else if (ltoreq(start_pos, curwin->w_cursor))
  3660:     else if (ltoreq(start_pos, curwin->w_cursor))
  3660:     else if (ltoreq(start_pos, curwin->w_cursor))
  3660:     else if (ltoreq(start_pos, curwin->w_cursor))
  3660:     else if (ltoreq(start_pos, curwin->w_cursor))
  3660:     else if (ltoreq(start_pos, curwin->w_cursor))
  3666:         curwin->w_cursor = start_pos;
  in_html_tag():
  3695:     for (p = line; p < line + curwin->w_cursor.col; mb_ptr_adv(p))
  3711:     for (p = line + curwin->w_cursor.col; p > line; )
  3723:     pos.lnum = curwin->w_cursor.lnum;
  current_tagblock():
  3774:     old_pos = curwin->w_cursor;
  3775:     old_end = curwin->w_cursor;            /* remember where we started */
  3786:     if (!VIsual_active || equalpos(VIsual, curwin->w_cursor))
  3786:     if (!VIsual_active || equalpos(VIsual, curwin->w_cursor))
  3786:     if (!VIsual_active || equalpos(VIsual, curwin->w_cursor))
  3810:         old_end = curwin->w_cursor;
  3814:     else if (lt(VIsual, curwin->w_cursor))
  3814:     else if (lt(VIsual, curwin->w_cursor))
  3814:     else if (lt(VIsual, curwin->w_cursor))
  3814:     else if (lt(VIsual, curwin->w_cursor))
  3814:     else if (lt(VIsual, curwin->w_cursor))
  3817:     curwin->w_cursor = VIsual;        /* cursor at low end of Visual */
  3835:         curwin->w_cursor = old_pos;
  3839:     start_pos = curwin->w_cursor;
  3851:     curwin->w_cursor = old_pos;
  3860:     curwin->w_cursor = old_pos;
  3872:     if (r < 1 || lt(curwin->w_cursor, old_end))
  3872:     if (r < 1 || lt(curwin->w_cursor, old_end))
  3872:     if (r < 1 || lt(curwin->w_cursor, old_end))
  3872:     if (r < 1 || lt(curwin->w_cursor, old_end))
  3872:     if (r < 1 || lt(curwin->w_cursor, old_end))
  3878:     curwin->w_cursor = start_pos;
  3895:     end_pos = curwin->w_cursor;
  3900:     curwin->w_cursor = start_pos;
  3905:         start_pos = curwin->w_cursor;
  3908:     curwin->w_cursor = end_pos;
  3915:         curwin->w_cursor = old_start;
  3927:         curwin->w_cursor = start_pos;
  3929:         ++curwin->w_cursor.col;
  3944:         curwin->w_cursor = start_pos;
  current_par():
  3978:     start_lnum = curwin->w_cursor.lnum;
  4030:     curwin->w_cursor.lnum = start_lnum;
  4031:     curwin->w_cursor.col = 0;
  4111:     if (VIsual_mode == 'V' && start_lnum == curwin->w_cursor.lnum)
  4125:     curwin->w_cursor.lnum = end_lnum;
  4126:     curwin->w_cursor.col = 0;
  current_quote():
  4215:     int        col_start = curwin->w_cursor.col;
  4227:     vis_bef_curs = lt(VIsual, curwin->w_cursor);
  4227:     vis_bef_curs = lt(VIsual, curwin->w_cursor);
  4227:     vis_bef_curs = lt(VIsual, curwin->w_cursor);
  4227:     vis_bef_curs = lt(VIsual, curwin->w_cursor);
  4227:     vis_bef_curs = lt(VIsual, curwin->w_cursor);
  4230:     vis_empty = equalpos(VIsual, curwin->w_cursor);
  4230:     vis_empty = equalpos(VIsual, curwin->w_cursor);
  4230:     vis_empty = equalpos(VIsual, curwin->w_cursor);
  4241:             && line[curwin->w_cursor.col] != NUL
  4242:             && line[curwin->w_cursor.col + 1] == quotechar;
  4244:         col_end = curwin->w_cursor.col;
  4248:         inside_quotes = curwin->w_cursor.col > 0
  4249:             && line[curwin->w_cursor.col - 1] == quotechar
  4252:         i = curwin->w_cursor.col;
  4282:         col_start = curwin->w_cursor.col;
  4296:         col_end = curwin->w_cursor.col;
  4382:     curwin->w_cursor.col = col_start;
  4398:         VIsual = curwin->w_cursor;
  4405:     oap->start = curwin->w_cursor;
  4410:     curwin->w_cursor.col = col_end;
  4439:         VIsual = curwin->w_cursor;
  4441:         curwin->w_cursor.col = col_start;
  find_pattern_in_path():
  4891:         if (depth == -1 && lnum == curwin->w_cursor.lnum)
  4997:         if (depth == -1 && lnum == curwin->w_cursor.lnum
  5019:             curwin_save = curwin;
  5030:             curwin->w_p_scb = FALSE;
  5046:             curwin->w_cursor.lnum = lnum;
  5055:             curwin->w_cursor.lnum = files[depth].lnum;
  5060:             curwin->w_cursor.col = (colnr_T) (startp - line);
  5061:             curwin->w_set_curswant = TRUE;
  5066:                && curwin != curwin_save && win_valid(curwin_save))
spell.c (38 uses)
  spell_move_to():
  2095:     else if (curline && wp == curwin)
  spell_suggest():
  10031:     pos_T    prev_cursor = curwin->w_cursor;
  10044:     if (no_spell_checking(curwin))
  10052:     if (curwin->w_cursor.lnum != VIsual.lnum)
  10057:     badlen = (int)curwin->w_cursor.col - (int)VIsual.col;
  10061:         curwin->w_cursor.col = VIsual.col;
  10068:     if (spell_move_to(curwin, FORWARD, TRUE, TRUE, NULL) == 0
  10069:         || curwin->w_cursor.col > prev_cursor.col)
  10073:     curwin->w_cursor = prev_cursor;
  10075:     p = line + curwin->w_cursor.col;
  10088:     curwin->w_cursor.col = (colnr_T)(p - line);
  10094:     need_cap = check_need_cap(curwin->w_cursor.lnum, curwin->w_cursor.col);
  10094:     need_cap = check_need_cap(curwin->w_cursor.lnum, curwin->w_cursor.col);
  10104:     spell_find_suggest(line + curwin->w_cursor.col, badlen, &sug, limit,
  10239:         ml_replace(curwin->w_cursor.lnum, p, FALSE);
  10240:         curwin->w_cursor.col = c;
  10250:         changed_bytes(curwin->w_cursor.lnum, c);
  10254:     curwin->w_cursor = prev_cursor;
  ex_spellrepall():
  10337:     pos_T    pos = curwin->w_cursor;
  10360:     curwin->w_cursor.lnum = 0;
  10370:     if (addlen <= 0 || STRNCMP(line + curwin->w_cursor.col,
  10376:         mch_memmove(p, line, curwin->w_cursor.col);
  10377:         STRCPY(p + curwin->w_cursor.col, repl_to);
  10378:         STRCAT(p, line + curwin->w_cursor.col + STRLEN(repl_from));
  10379:         ml_replace(curwin->w_cursor.lnum, p, FALSE);
  10380:         changed_bytes(curwin->w_cursor.lnum, curwin->w_cursor.col);
  10380:         changed_bytes(curwin->w_cursor.lnum, curwin->w_cursor.col);
  10382:         if (curwin->w_cursor.lnum != prev_lnum)
  10385:         prev_lnum = curwin->w_cursor.lnum;
  10389:     curwin->w_cursor.col += (colnr_T)STRLEN(repl_to);
  10393:     curwin->w_cursor = pos;
  spell_find_suggest():
  10487:     su->su_badlen = spell_check(curwin, su->su_badptr, &attr, NULL, FALSE);
  check_suggestions():
  13765:     (void)spell_check(curwin, longword, &attr, NULL, FALSE);
  eval_soundfold():
  13921:     if (curwin->w_p_spell && *curbuf->b_p_spl != NUL)
  ex_spellinfo():
  15398:     if (no_spell_checking(curwin))
  ex_spelldump():
  15433:     if (no_spell_checking(curwin))
  spell_word_start():
  15892:     if (no_spell_checking(curwin))
  spell_expand_check_cap():
  15927:     spell_expand_need_cap = check_need_cap(curwin->w_cursor.lnum, col);
syntax.c (5 uses)
  syn_sync():
  736:     curwin_save = curwin;
  737:     curwin = wp;
  777:     curwin = curwin_save;
  get_syn_options():
  4394:                         && foldmethodIsSyntax(curwin))
  4396:         foldUpdateAll(curwin);
tag.c (33 uses)
  do_tag():
  138:     taggy_T    *tagstack = curwin->w_tagstack;
  139:     int        tagstackidx = curwin->w_tagstackidx;
  140:     int        tagstacklen = curwin->w_tagstacklen;
  274:             curwin->w_tagstacklen = tagstacklen - 1;
  277:         curwin->w_tagstacklen = tagstacklen;
  339:             curwin->w_cursor.lnum = saved_fmark.mark.lnum;
  344:             curwin->w_cursor.lnum = saved_fmark.mark.lnum;
  346:         curwin->w_cursor.col = saved_fmark.mark.col;
  347:         curwin->w_set_curswant = TRUE;
  464:         tagstack[tagstackidx].fmark.mark = curwin->w_cursor;
  471:         curwin->w_tagstackidx = tagstackidx;
  474:         curwin->w_tagstack[tagstackidx].cur_match = cur_match;
  475:         curwin->w_tagstack[tagstackidx].cur_fnum = cur_fnum;
  912:         set_errorlist(curwin, list, ' ');
  1056:         if (use_tagstack && tagstackidx > curwin->w_tagstacklen)
  1057:             tagstackidx = curwin->w_tagstackidx;
  1068:     if (use_tagstack && tagstackidx <= curwin->w_tagstacklen)
  1069:     curwin->w_tagstackidx = tagstackidx;
  do_tags():
  1114:     taggy_T    *tagstack = curwin->w_tagstack;
  1115:     int        tagstackidx = curwin->w_tagstackidx;
  1116:     int        tagstacklen = curwin->w_tagstacklen;
  jumpto_tag():
  3093:     curwin_save = curwin;    /* Save current window */
  3100:     if (!curwin->w_p_pvw)
  3120:     curwin->w_p_scb = FALSE;
  3141:     curwin->w_set_curswant = TRUE;
  3193:         save_lnum = curwin->w_cursor.lnum;
  3194:         curwin->w_cursor.lnum = 0;    /* start search before first line */
  3233:             curwin->w_cursor.lnum = save_lnum;
  3263:         curwin->w_cursor.lnum = 1;        /* start command in line 1 */
  3296:         set_topline(curwin, curwin->w_cursor.lnum);
  3296:         set_topline(curwin, curwin->w_cursor.lnum);
  3304:     if (g_do_tagpreview && curwin != curwin_save && win_valid(curwin_save))
  3321:         win_close(curwin, FALSE);
term.c (5 uses)
  set_shellsize():
  3144:         if (curwin->w_p_scb)
  check_termcode():
  4704:                 && ((orig_topline == curwin->w_topline
  4706:                     && orig_topfill == curwin->w_topfill
  4721:             orig_topline = curwin->w_topline;
  4723:             orig_topfill = curwin->w_topfill;
ui.c (73 uses)
  clip_update_selection():
  434:     if (lt(VIsual, curwin->w_cursor))
  434:     if (lt(VIsual, curwin->w_cursor))
  434:     if (lt(VIsual, curwin->w_cursor))
  434:     if (lt(VIsual, curwin->w_cursor))
  434:     if (lt(VIsual, curwin->w_cursor))
  437:         end = curwin->w_cursor;
  445:         start = curwin->w_cursor;
  jump_to_mouse():
  2442:     if (cmdwin_type != 0 && row < W_WINROW(curwin))
  2464:     old_curwin = curwin;
  2465:     old_cursor = curwin->w_cursor;
  2513:         && (wp->w_buffer != curwin->w_buffer
  2525:                   + (cmdwin_type == 0 && wp == curwin ? 0 : 1)
  2536:     if (cmdwin_type != 0 && wp != curwin)
  2542:                != curwin->w_prev->w_winrow + curwin->w_prev->w_height)
  2542:                != curwin->w_prev->w_winrow + curwin->w_prev->w_height)
  2569:     if (curwin != old_curwin)
  2570:         set_mouse_topline(curwin);
  2576:         if (curwin == old_curwin)
  2585:         if (curwin == old_curwin)
  2592:     curwin->w_cursor.lnum = curwin->w_topline;
  2592:     curwin->w_cursor.lnum = curwin->w_topline;
  2595:     gui_prev_topline = curwin->w_topline;
  2597:     gui_prev_topfill = curwin->w_topfill;
  2642:     if (cmdwin_type != 0 && row < W_WINROW(curwin))
  2646:     row -= W_WINROW(curwin);
  2648:     col -= W_WINCOL(curwin);
  2658:         for (first = TRUE; curwin->w_topline > 1; )
  2661:         if (curwin->w_topfill < diff_check(curwin, curwin->w_topline))
  2661:         if (curwin->w_topfill < diff_check(curwin, curwin->w_topline))
  2661:         if (curwin->w_topfill < diff_check(curwin, curwin->w_topline))
  2665:             count += plines(curwin->w_topline - 1);
  2670:         hasFolding(curwin->w_topline, &curwin->w_topline, NULL);
  2670:         hasFolding(curwin->w_topline, &curwin->w_topline, NULL);
  2673:         if (curwin->w_topfill < diff_check(curwin, curwin->w_topline))
  2673:         if (curwin->w_topfill < diff_check(curwin, curwin->w_topline))
  2673:         if (curwin->w_topfill < diff_check(curwin, curwin->w_topline))
  2674:             ++curwin->w_topfill;
  2678:             --curwin->w_topline;
  2680:             curwin->w_topfill = 0;
  2685:         check_topfill(curwin, FALSE);
  2687:         curwin->w_valid &=
  2692:     else if (row >= curwin->w_height)
  2695:         for (first = TRUE; curwin->w_topline < curbuf->b_ml.ml_line_count; )
  2698:         if (curwin->w_topfill > 0)
  2702:             count += plines(curwin->w_topline);
  2703:         if (!first && count > row - curwin->w_height + 1)
  2707:         if (hasFolding(curwin->w_topline, NULL, &curwin->w_topline)
  2707:         if (hasFolding(curwin->w_topline, NULL, &curwin->w_topline)
  2708:             && curwin->w_topline == curbuf->b_ml.ml_line_count)
  2712:         if (curwin->w_topfill > 0)
  2713:             --curwin->w_topfill;
  2717:             ++curwin->w_topline;
  2719:             curwin->w_topfill =
  2720:                    diff_check_fill(curwin, curwin->w_topline);
  2720:                    diff_check_fill(curwin, curwin->w_topline);
  2725:         check_topfill(curwin, FALSE);
  2728:         curwin->w_valid &=
  2730:         row = curwin->w_height - 1;
  2738:             && curwin->w_cursor.lnum
  2739:                        == curwin->w_buffer->b_ml.ml_line_count
  2740:             && curwin->w_cursor.lnum == curwin->w_topline)
  2740:             && curwin->w_cursor.lnum == curwin->w_topline)
  2741:         curwin->w_valid &= ~(VALID_TOPLINE);
  2751:         col >= curwin->w_p_fdc
  2760:     if (mouse_comp_pos(curwin, &row, &col, &curwin->w_cursor.lnum))
  2760:     if (mouse_comp_pos(curwin, &row, &col, &curwin->w_cursor.lnum))
  2779:     curwin->w_curswant = col;
  2780:     curwin->w_set_curswant = FALSE;    /* May still have been TRUE */
  2791:     if (curwin != old_curwin || curwin->w_cursor.lnum != old_cursor.lnum
  2791:     if (curwin != old_curwin || curwin->w_cursor.lnum != old_cursor.lnum
  2792:         || curwin->w_cursor.col != old_cursor.col)
  get_fpos_of_mouse():
  2972:     if (wp != curwin)
  2976:     if (mouse_comp_pos(curwin, &row, &col, &mpos->lnum))
undo.c (23 uses)
  u_save_cursor():
  218:     return (u_save((linenr_T)(curwin->w_cursor.lnum - 1),
  219:                       (linenr_T)(curwin->w_cursor.lnum + 1)));
  u_savecommon():
  471:     uhp->uh_cursor = curwin->w_cursor;    /* save cursor pos. for undo */
  473:     if (virtual_active() && curwin->w_cursor.coladd > 0)
  u_undoredo():
  1116:         curwin->w_cursor = curhead->uh_cursor;
  1117:         newlnum = curwin->w_cursor.lnum - 1;
  1130:             curwin->w_cursor.lnum = newlnum + 1;
  1135:             curwin->w_cursor.lnum = newlnum + 1;
  1265:     if (curhead->uh_cursor.lnum + 1 == curwin->w_cursor.lnum
  1266:                          && curwin->w_cursor.lnum > 1)
  1267:     --curwin->w_cursor.lnum;
  1268:     if (curhead->uh_cursor.lnum == curwin->w_cursor.lnum)
  1270:     curwin->w_cursor.col = curhead->uh_cursor.col;
  1275:         curwin->w_cursor.coladd = 0;
  1278:     else if (curwin->w_cursor.lnum <= curbuf->b_ml.ml_line_count)
  1286:     curwin->w_cursor.col = 0;
  1288:     curwin->w_cursor.coladd = 0;
  u_saveline():
  1780:     if (curwin->w_cursor.lnum == lnum)
  1781:     curbuf->b_u_line_colnr = curwin->w_cursor.col;
  u_undoline():
  1840:     if (curwin->w_cursor.lnum == curbuf->b_u_line_lnum)
  1841:     curbuf->b_u_line_colnr = curwin->w_cursor.col;
  1842:     curwin->w_cursor.col = t;
  1843:     curwin->w_cursor.lnum = curbuf->b_u_line_lnum;
window.c (124 uses)
  do_window():
  272:                 wp = curwin->w_prev;
  278:                 wp = curwin->w_next;
  347:             wp = curwin;
  353:             if (curwin == wp)
  354:                 win_close(curwin, FALSE);
  434:         win_setheight(curwin->w_height + (int)Prenum1);
  442:         win_setheight(curwin->w_height - (int)Prenum1);
  460:         win_setwidth(curwin->w_width + (int)Prenum1);
  468:         win_setwidth(curwin->w_width - (int)Prenum1);
  524:             curwin->w_p_scb = FALSE;
  529:                 curwin->w_cursor.lnum = lnum;
  555:         curwin->w_set_curswant = TRUE;
  569:                 (long)curwin->w_cursor.lnum,
  570:                 (curwin->w_llist_ref == NULL) ? "cc" : "ll");
  win_split_ins():
  713:     oldwin = curwin;
  907:     win_init(wp, curwin);
  986:     wp->w_p_scr = curwin->w_p_scr;
  make_windows():
  1267:     maxcount = (curwin->w_width + curwin->w_vsep_width
  1267:     maxcount = (curwin->w_width + curwin->w_vsep_width
  1274:     maxcount = (curwin->w_height + curwin->w_status_height
  1274:     maxcount = (curwin->w_height + curwin->w_status_height
  1302:         if (win_split(curwin->w_width - (curwin->w_width - todo)
  1302:         if (win_split(curwin->w_width - (curwin->w_width - todo)
  1309:         if (win_split(curwin->w_height - (curwin->w_height - todo
  1309:         if (win_split(curwin->w_height - (curwin->w_height - todo
  win_exchange():
  1351:     frp = curwin->w_frame->fr_parent->fr_child;
  1355:     else if (curwin->w_frame->fr_next != NULL)    /* Swap with next */
  1356:     frp = curwin->w_frame->fr_next;
  1358:     frp = curwin->w_frame->fr_prev;
  1362:     if (frp == NULL || frp->fr_win == NULL || frp->fr_win == curwin)
  1374:     wp2 = curwin->w_prev;
  1375:     frp2 = curwin->w_frame->fr_prev;
  1376:     if (wp->w_prev != curwin)
  1378:     win_remove(curwin, NULL);
  1379:     frame_remove(curwin->w_frame);
  1380:     win_append(wp->w_prev, curwin);
  1381:     frame_insert(frp, curwin->w_frame);
  1393:     temp = curwin->w_status_height;
  1394:     curwin->w_status_height = wp->w_status_height;
  1397:     temp = curwin->w_vsep_width;
  1398:     curwin->w_vsep_width = wp->w_vsep_width;
  1403:     if (curwin->w_frame->fr_parent != wp->w_frame->fr_parent)
  1405:     temp = curwin->w_height;
  1406:     curwin->w_height = wp->w_height;
  1408:     temp = curwin->w_width;
  1409:     curwin->w_width = wp->w_width;
  1414:     frame_fix_height(curwin);
  1416:     frame_fix_width(curwin);
  win_rotate():
  1453:     for (frp = curwin->w_frame->fr_parent->fr_child; frp != NULL;
  1467:         frp = curwin->w_frame->fr_parent->fr_child;
  1483:         for (frp = curwin->w_frame; frp->fr_next != NULL;
  win_totop():
  1526:     int        height = curwin->w_height;
  1535:     (void)winframe_remove(curwin, &dir, NULL);
  1536:     win_remove(curwin, NULL);
  1541:     (void)win_split_ins(size, flags, curwin, dir);
  1546:         win_equal(curwin, TRUE, 'v');
  win_equal():
  1645:     win_equal_rec(next_curwin == NULL ? curwin : next_curwin, current,
  close_windows():
  2000:     if (wp->w_buffer == buf && (!keep_curwin || wp != curwin))
  win_close():
  2102:     if (win == curwin)
  2154:     if (win == curwin)
  2156:     curwin = wp;
  2170:         if (wp == curwin)
  2174:             curwin = wp;
  2180:     curbuf = curwin->w_buffer;
  2188:     win_equal(curwin, TRUE,
  frame_minheight():
  2982:         if (p_wmh == 0 && topfrp->fr_win == curwin && next_curwin == NULL)
  frame_minwidth():
  3034:         if (p_wmw == 0 && topfrp->fr_win == curwin && next_curwin == NULL)
  close_others():
  3093:     if (wp != curwin)        /* don't close current window */
  curwin_init():
  3140:     redraw_win_later(curwin, NOT_VALID);
  3141:     curwin->w_lines_valid = 0;
  3142:     curwin->w_cursor.lnum = 1;
  3143:     curwin->w_curswant = curwin->w_cursor.col = 0;
  3143:     curwin->w_curswant = curwin->w_cursor.col = 0;
  3145:     curwin->w_cursor.coladd = 0;
  3147:     curwin->w_pcmark.lnum = 1;    /* pcmark not cleared but set to line 1 */
  3148:     curwin->w_pcmark.col = 0;
  3149:     curwin->w_prev_pcmark.lnum = 0;
  3150:     curwin->w_prev_pcmark.col = 0;
  3151:     curwin->w_topline = 1;
  3153:     curwin->w_topfill = 0;
  3155:     curwin->w_botline = 2;
  win_alloc_firstwin():
  3196:     curwin = win_alloc(NULL);
  3202:     if (curwin == NULL || curbuf == NULL)
  3204:     curwin->w_buffer = curbuf;
  3207:     curwin->w_alist = &global_alist;
  3215:     win_init(curwin, oldwin);
  3219:     curwin->w_p_scb = FALSE;
  3232:     topframe->fr_win = curwin;
  3233:     curwin->w_frame = topframe;
  win_new_tabpage():
  3350:     win_comp_scroll(curwin);
  leave_tabpage():
  3515:     tp->tp_curwin = curwin;
  win_goto():
  3780:     wp->w_cursor = curwin->w_cursor;
  win_goto_ver():
  3823:     foundfr = curwin->w_frame;
  3860:                      <= curwin->w_wincol + curwin->w_wcol)
  3860:                      <= curwin->w_wincol + curwin->w_wcol)
  win_goto_hor():
  3886:     foundfr = curwin->w_frame;
  3923:                      <= curwin->w_winrow + curwin->w_wrow)
  3923:                      <= curwin->w_winrow + curwin->w_wrow)
  win_enter_ext():
  3964:     if (wp == curwin && !curwin_invalid)    /* nothing to do */
  3999:     prevwin = curwin;    /* remember for CTRL-W p */
  4000:     curwin->w_redr_status = TRUE;
  4002:     curwin = wp;
  4007:     curwin->w_cursor.coladd = 0;
  4011:     if (curwin->w_localdir != NULL)
  4023:     mch_chdir((char *)curwin->w_localdir);
  4045:     curwin->w_redr_status = TRUE;
  4051:     if (curwin->w_height < p_wh && !curwin->w_p_wfh)
  4051:     if (curwin->w_height < p_wh && !curwin->w_p_wfh)
  4053:     else if (curwin->w_height == 0)
  4058:     if (curwin->w_width < p_wiw && !curwin->w_p_wfw)
  4058:     if (curwin->w_width < p_wiw && !curwin->w_p_wfw)
  buf_jump_open_tab():
  4124:         if (curwin != wp)
  win_setheight():
  4619:     win_setheight_win(height, curwin);
  win_setheight_win():
  4633:     if (win == curwin)
  win_setwidth():
  4869:     win_setwidth_win(width, curwin);
  win_setwidth_win():
  4879:     if (wp == curwin)
  win_new_height():
  5343:         && (!wp->w_p_scb || wp == curwin)
  5438:     if (wp == curwin)
  win_new_width():
  5467:     if (wp == curwin)
  file_name_at_cursor():
  5733:               curwin->w_cursor.col, options, count, curbuf->b_ffname,
  only_one_window():
  6048:          ) || wp == curwin)
  check_lnums():
  6072:     if ((do_curwin || wp != curwin) && wp->w_buffer == curbuf)
  make_snapshot_rec():
  6127:     if (fr->fr_layout == FR_LEAF && fr->fr_win == curwin)
  6128:     (*frp)->fr_win = curwin;
curbuf (2290 uses in 41 translation units) defined in translation unit main.c, declared in ./globals.h:559
buffer.c (152 uses)
  open_buffer():
  81:     if (readonlymode && curbuf->b_ffname != NULL
  82:                     && (curbuf->b_flags & BF_NEVERLOADED))
  83:     curbuf->b_p_ro = TRUE;
  85:     if (ml_open(curbuf) == FAIL)
  91:     close_buffer(NULL, curbuf, 0);
  92:     for (curbuf = firstbuf; curbuf != NULL; curbuf = curbuf->b_next)
  92:     for (curbuf = firstbuf; curbuf != NULL; curbuf = curbuf->b_next)
  92:     for (curbuf = firstbuf; curbuf != NULL; curbuf = curbuf->b_next)
  92:     for (curbuf = firstbuf; curbuf != NULL; curbuf = curbuf->b_next)
  93:         if (curbuf->b_ml.ml_mfp != NULL)
  99:     if (curbuf == NULL)
  105:     enter_buffer(curbuf);
  112:     old_curbuf = curbuf;
  119:     if (curbuf->b_ffname != NULL
  130:     retval = readfile(curbuf->b_ffname, curbuf->b_fname,
  130:     retval = readfile(curbuf->b_ffname, curbuf->b_fname,
  136:     if (curbuf->b_help)
  141:     int        save_bin = curbuf->b_p_bin;
  150:     curbuf->b_p_bin = TRUE;
  153:     curbuf->b_p_bin = save_bin;
  156:         line_count = curbuf->b_ml.ml_line_count;
  168:         while (curbuf->b_ml.ml_line_count > line_count)
  177:         if (!readonlymode && !bufempty())
  180:         unchanged(curbuf, FALSE);
  184:                             curbuf, &retval);
  193:     if (curbuf->b_flags & BF_NEVERLOADED)
  194:     (void)buf_init_chartab(curbuf, FALSE);
  214:     unchanged(curbuf, FALSE);
  215:     save_file_ff(curbuf);        /* keep this fileformat */
  223:     curbuf->b_flags |= BF_READERR;
  241:     apply_autocmds_retval(EVENT_BUFENTER, NULL, NULL, FALSE, curbuf, &retval);
  262:         curbuf->b_flags &= ~(BF_CHECK_RO | BF_NEVERLOADED);
  266:         apply_autocmds_retval(EVENT_BUFWINENTER, NULL, NULL, FALSE, curbuf,
  close_buffer():
  409:     is_curbuf = (buf == curbuf);
  436:     if (buf == curbuf && !is_curbuf)
  buf_freeall():
  526:     int        is_curbuf = (buf == curbuf);
  555:     if (buf == curbuf && !is_curbuf)
  goto_buffer():
  688:     buf_T    *old_curbuf = curbuf;
  handle_swap_exists():
  748:     close_buffer(curwin, curbuf, DOBUF_UNLOAD);
  749:     if (!buf_valid(old_curbuf) || old_curbuf == curbuf)
  do_bufdel():
  841:         if (bnr == curbuf->b_fnum)
  do_buffer():
  952:     default:        buf = curbuf;   break;
  964:         while (buf != curbuf && !bufIsChanged(buf));
  1079:     if (bp == NULL && buf == curbuf)
  1100:         if (buf != curbuf && buf_valid(buf) && buf->b_nwindows == 0)
  1111:     while (buf == curbuf
  1119:     if (buf != curbuf)
  1124:         if (buf != curbuf && buf_valid(buf) && buf->b_nwindows <= 0)
  1162:             if (buf == curbuf || !buf->b_p_bl)
  1188:         buf = curbuf->b_next;
  1195:             buf = curbuf->b_prev;
  1200:         if (buf->b_help == curbuf->b_help && buf->b_p_bl)
  1218:         if (buf->b_p_bl && buf != curbuf)
  1223:         if (curbuf->b_next != NULL)
  1224:         buf = curbuf->b_next;
  1226:         buf = curbuf->b_prev;
  1250:     if (buf == curbuf)
  1256:     if (action == DOBUF_GOTO && !can_abandon(curbuf, forceit))
  1261:         dialog_changed(curbuf, FALSE);
  1268:     if (bufIsChanged(curbuf))
  set_curbuf():
  1314:     curwin->w_alt_fnum = curbuf->b_fnum; /* remember alternate file */
  1323:     prevbuf = curbuf;
  1326:     apply_autocmds(EVENT_BUFLEAVE, NULL, NULL, FALSE, curbuf);
  1344:         if (prevbuf == curbuf)
  enter_buffer():
  1384:     curbuf = buf;
  1385:     ++curbuf->b_nwindows;
  1389:     diff_buf_add(curbuf);
  1401:     if (curbuf->b_ml.ml_mfp == NULL)    /* need to load the file */
  1407:     if (*curbuf->b_p_ft == NUL)
  1417:     (void)buf_check_timestamp(curbuf, FALSE); /* check if file changed */
  1423:     apply_autocmds(EVENT_BUFENTER, NULL, NULL, FALSE, curbuf);
  1424:     apply_autocmds(EVENT_BUFWINENTER, NULL, NULL, FALSE, curbuf);
  1458:     if (!curbuf->b_help && curwin->w_p_spell && *curbuf->b_p_spl != NUL)
  1458:     if (!curbuf->b_help && curwin->w_p_spell && *curbuf->b_p_spl != NUL)
  1459:     did_set_spelllang(curbuf);
  buflist_new():
  1504:     fname_expand(curbuf, &ffname, &sfname);    /* will allocate ffname */
  1550:         && curbuf != NULL
  1551:         && curbuf->b_ffname == NULL
  1552:         && curbuf->b_nwindows <= 1
  1553:         && (curbuf->b_ml.ml_mfp == NULL || bufempty()))
  1553:         && (curbuf->b_ml.ml_mfp == NULL || bufempty()))
  1555:     buf = curbuf;
  1559:     if (curbuf->b_p_bl)
  1560:         apply_autocmds(EVENT_BUFDELETE, NULL, NULL, FALSE, curbuf);
  1561:     if (buf == curbuf)
  1562:         apply_autocmds(EVENT_BUFWIPEOUT, NULL, NULL, FALSE, curbuf);
  1570:     if (buf == curbuf)
  1579:     if (buf != curbuf || curbuf == NULL)
  1579:     if (buf != curbuf || curbuf == NULL)
  1605:     if (buf != curbuf)
  1610:     if (buf == curbuf)
  1614:     if (buf != curbuf)     /* autocommands deleted the buffer! */
  buflist_getfile():
  1851:     if (buf == curbuf)
  1884:     if (wp == NULL && vim_strchr(p_swb, 'l') != NULL && !bufempty())
  buflist_getfpos():
  1925:     fpos = buflist_findfpos(curbuf);
  buflist_findpat():
  2040:         match = curbuf->b_fnum;
  buflist_list():
  2509:         buf == curbuf ? '%' :
  2525:         buf == curbuf ? curwin->w_cursor.lnum
  buflist_altfpos():
  2792:     buflist_setfpos(curbuf, curwin, curwin->w_cursor.lnum,
  otherfile():
  2804:     return otherfile_buf(curbuf, ffname
  fileinfo():
  2914:     sprintf((char *)buffer, "buf %d: ", curbuf->b_fnum);
  2921:     if (buf_spname(curbuf) != NULL)
  2922:     STRCPY(p, buf_spname(curbuf));
  2925:     if (!fullname && curbuf->b_fname != NULL)
  2926:         name = curbuf->b_fname;
  2928:         name = curbuf->b_ffname;
  2929:     home_replace(shorthelp ? curbuf : NULL, name, p,
  2938:         (curbuf->b_flags & BF_NOTEDITED)
  2940:             && !bt_dontwrite(curbuf)
  2943:         (curbuf->b_flags & BF_NEW)
  2945:             && !bt_dontwrite(curbuf)
  2948:         (curbuf->b_flags & BF_READERR) ? _("[Read errors]") : "",
  2949:         curbuf->b_p_ro ? (shortmess(SHM_RO) ? "[RO]"
  2951:         (curbufIsChanged() || (curbuf->b_flags & BF_WRITE_MASK)
  2952:                               || curbuf->b_p_ro) ?
  2958:                    ((long)curbuf->b_ml.ml_line_count / 100L));
  2961:                         (long)curbuf->b_ml.ml_line_count);
  2963:     if (curbuf->b_ml.ml_flags & ML_EMPTY)
  2971:     if (curbuf->b_ml.ml_line_count == 1)
  2977:                      (long)curbuf->b_ml.ml_line_count, n);
  2985:         (long)curbuf->b_ml.ml_line_count,
  maketitle():
  3101:         if (curbuf->b_fname == NULL)
  3105:         p = transstr(gettail(curbuf->b_fname));
  3110:         switch (bufIsChanged(curbuf)
  3111:             + (curbuf->b_p_ro * 2)
  3112:             + (!curbuf->b_p_ma * 4))
  3123:         if (curbuf->b_fname != NULL)
  3129:         home_replace(curbuf, curbuf->b_ffname,
  3129:         home_replace(curbuf, curbuf->b_ffname,
  3204:         if (buf_spname(curbuf) != NULL)
  3205:         i_name = (char_u *)buf_spname(curbuf);
  3207:         i_name = gettail(curbuf->b_ffname);
  build_stl_str_hl():
  3633:         sprintf((char *)tmp, "%d", curbuf->b_fnum);
  3636:         o_curbuf = curbuf;
  3639:         curbuf = wp->w_buffer;
  3644:         curbuf = o_curbuf;
  do_arg_all():
  4432:     if (keep_tabs && bufempty() && curbuf->b_nwindows == 1
  4432:     if (keep_tabs && bufempty() && curbuf->b_nwindows == 1
  4433:                 && curbuf->b_ffname == NULL && !curbuf->b_changed)
  4433:                 && curbuf->b_ffname == NULL && !curbuf->b_changed)
  do_modelines():
  4770:     if (!curbuf->b_p_ml || (nmlines = (int)p_mls) == 0)
  4779:     for (lnum = 1; lnum <= curbuf->b_ml.ml_line_count && lnum <= nmlines;
  4784:     for (lnum = curbuf->b_ml.ml_line_count; lnum > 0 && lnum > nmlines
  4785:                && lnum > curbuf->b_ml.ml_line_count - nmlines; --lnum)
  set_buflisted():
  5437:     if (on != curbuf->b_p_bl)
  5439:     curbuf->b_p_bl = on;
  5442:         apply_autocmds(EVENT_BUFADD, NULL, NULL, FALSE, curbuf);
  5444:         apply_autocmds(EVENT_BUFDELETE, NULL, NULL, FALSE, curbuf);
  buf_contents_changed():
  5478:     if (ml_open(curbuf) == OK
  5484:     if (buf->b_ml.ml_line_count == curbuf->b_ml.ml_line_count)
  5487:         for (lnum = 1; lnum <= curbuf->b_ml.ml_line_count; ++lnum)
  5500:     if (curbuf != newbuf)    /* safety check */
charset.c (6 uses)
  init_chartab():
  59:     return buf_init_chartab(curbuf, TRUE);
  transchar_nonprint():
  589:     else if (c == CAR && get_fileformat(curbuf) == EOL_MAC)
  chartabsize():
  816:     RET_WIN_BUF_CHARTABSIZE(curwin, curbuf, p, col)
  vim_iswordc():
  892:     return (c > 0 && c < 0x100 && GET_CHARTAB(curbuf, c) != 0);
  vim_iswordp():
  906:     return GET_CHARTAB(curbuf, *p) != 0;
  lbr_chartabsize():
  1000:     RET_WIN_BUF_CHARTABSIZE(curwin, curbuf, s, col)
diff.c (23 uses)
  diff_mark_adjust():
  212:     idx = diff_buf_idx_tp(curbuf, tp);
  ex_diffpatch():
  899:     if (buf_write(curbuf, tmp_orig, NULL,
  900:         (linenr_T)1, curbuf->b_ml.ml_line_count,
  983:     if (curbuf->b_fname != NULL)
  985:     newname = vim_strnsave(curbuf->b_fname,
  986:                       (int)(STRLEN(curbuf->b_fname) + 4));
  diff_win_options():
  1102:     curbuf = curwin->w_buffer;
  1106:     curbuf = curwin->w_buffer;
  ex_diffoff():
  1149:         curbuf = curwin->w_buffer;
  1153:         curbuf = curwin->w_buffer;
  ex_diffgetput():
  2057:     idx_cur = diff_buf_idx(curbuf);
  2068:         if (curtab->tp_diffbuf[idx_other] != curbuf
  2087:         if (curtab->tp_diffbuf[i] != curbuf
  2133:         && eap->line1 == curbuf->b_ml.ml_line_count
  2159:     if (!curbuf->b_changed)
  2162:     if (diff_buf_idx(curbuf) != idx_to)
  2233:         buf_empty = curbuf->b_ml.ml_line_count == 1;
  2251:             if (buf_empty && curbuf->b_ml.ml_line_count == 2)
  diff_move_to():
  2397:     idx = diff_buf_idx(curbuf);
  2429:     if (lnum > curbuf->b_ml.ml_line_count)
  2430:     lnum = curbuf->b_ml.ml_line_count;
  diff_lnum_win():
  2458:     idx = diff_buf_idx(curbuf);
  2473:                     - (curbuf->b_ml.ml_line_count - lnum);
edit.c (98 uses)
  edit():
  370:     apply_autocmds(EVENT_INSERTENTER, NULL, NULL, FALSE, curbuf);
  433:     orig_line_count = curbuf->b_ml.ml_line_count;
  454:     if (curbuf->b_p_iminsert == B_IMODE_LMAP)
  457:     im_set_active(curbuf->b_p_iminsert == B_IMODE_IM);
  642:     if (curbuf->b_mod_set
  654:         if ((int)curwin->w_wcol < (int)mincol - curbuf->b_p_ts
  930:                                    FALSE, curbuf);
  1118:         apply_autocmds(EVENT_CURSORHOLDI, NULL, NULL, FALSE, curbuf);
  1251:         if (bt_quickfix(curbuf) && c == CAR)
  1335:         if (*curbuf->b_p_cpt == NUL
  ins_redraw():
  1466:         if (syntax_present(curbuf) && must_redraw)
  1469:         apply_autocmds(EVENT_CURSORMOVEDI, NULL, NULL, FALSE, curbuf);
  has_compl_option():
  1984:     if (dict_opt ? (*curbuf->b_p_dict == NUL && *p_dict == NUL
  1989:          : (*curbuf->b_p_tsr == NUL && *p_tsr == NUL))
  ins_compl_add_infercase():
  2126:     if (p_ic && curbuf->b_p_inf && len > 0)
  ins_compl_dictionaries():
  2845:     if (curbuf->b_p_inf)
  2912:         spell_dump_compl(curbuf, ptr, regmatch.rm_ic, &dir, 0);
  ins_compl_next_buf():
  3686:     if (buf == curbuf)    /* first call for this flag/expansion */
  3700:     while ((buf = (buf->b_next != NULL ? buf->b_next : firstbuf)) != curbuf
  expand_by_function():
  3727:     funcname = (type == CTRL_X_FUNCTION) ? curbuf->b_p_cfu : curbuf->b_p_ofu;
  3727:     funcname = (type == CTRL_X_FUNCTION) ? curbuf->b_p_cfu : curbuf->b_p_ofu;
  ins_compl_get_exp():
  3851:     ins_buf = curbuf;
  3853:                         ? (char_u *)"." : curbuf->b_p_cpt;
  3873:         if (*e_cpt == '.' && !curbuf->b_scanned)
  3875:         ins_buf = curbuf;
  3884:          && (ins_buf = ins_compl_next_buf(ins_buf, *e_cpt)) != curbuf)
  3975:                  ? (*curbuf->b_p_tsr == NUL
  3977:                  : curbuf->b_p_tsr)
  3978:                  : (*curbuf->b_p_dict == NUL
  3980:                  : curbuf->b_p_dict)),
  3997:             TAG_MANY, curbuf->b_ffname) == OK && num_matches > 0)
  4057:         if (ins_buf != curbuf)
  4091:             if (ins_buf == curbuf)
  4097:         if (    (compl_cont_status & CONT_ADDING) && ins_buf == curbuf
  4178:                  ins_buf == curbuf ? NULL : ins_buf->b_sfname,
  ins_complete():
  4891:                       ? curbuf->b_p_cfu : curbuf->b_p_ofu;
  4891:                       ? curbuf->b_p_cfu : curbuf->b_p_ofu;
  4957:         char_u *old = curbuf->b_p_com;
  4959:         curbuf->b_p_com = (char_u *)"";
  4965:         curbuf->b_p_com = old;
  insertchar():
  5494:     if (*curbuf->b_p_fex != NUL && (flags & INSCHAR_NO_FEX) == 0)
  internal_format():
  5708:     if (!curbuf->b_p_ai)
  auto_format():
  6064:     if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  6067:     curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  comp_textwidth():
  6147:     textwidth = curbuf->b_p_tw;
  6148:     if (textwidth == 0 && curbuf->b_p_wm)
  6152:     textwidth = W_WIDTH(curwin) - curbuf->b_p_wm;
  stop_arrow():
  6274:         orig_line_count = curbuf->b_ml.ml_line_count;
  stop_insert():
  6421:     curbuf->b_op_start = Insstart;
  6422:     curbuf->b_op_end = *end_insert_pos;
  cursor_down():
  6747:     if (lnum >= curbuf->b_ml.ml_line_count
  6748:         || (lnum + n > curbuf->b_ml.ml_line_count
  6751:     if (lnum + n >= curbuf->b_ml.ml_line_count)
  6752:         lnum = curbuf->b_ml.ml_line_count;
  6766:         if (lnum >= curbuf->b_ml.ml_line_count)
  6769:         if (lnum > curbuf->b_ml.ml_line_count)
  6770:         lnum = curbuf->b_ml.ml_line_count;
  cindent_on():
  7216:     return (!p_paste && (curbuf->b_p_cin
  7218:             || *curbuf->b_p_inde != NUL
  fix_indent():
  7247:     if (curbuf->b_p_lisp && curbuf->b_p_ai)
  7247:     if (curbuf->b_p_lisp && curbuf->b_p_ai)
  in_cinkeys():
  7290:     if (*curbuf->b_p_inde != NUL)
  7291:     look = curbuf->b_p_indk;    /* 'indentexpr' set: use 'indentkeys' */
  7294:     look = curbuf->b_p_cink;    /* 'indentexpr' empty: use 'cinkeys' */
  ins_ctrl_hat():
  7791:         curbuf->b_p_iminsert = B_IMODE_NONE;
  7796:         curbuf->b_p_iminsert = B_IMODE_LMAP;
  7809:         curbuf->b_p_iminsert = B_IMODE_NONE;
  7814:         curbuf->b_p_iminsert = B_IMODE_IM;
  ins_esc():
  7912:     curbuf->b_last_insert = curwin->w_cursor;
  7959:     im_save_status(&curbuf->b_p_iminsert);
  ins_insert():
  8114:     apply_autocmds(EVENT_INSERTCHANGE, NULL, NULL, FALSE, curbuf);
  ins_bs():
  8275:     if (       bufempty()
  8380:             char_u  *ptr = ml_get_buf(curbuf, curwin->w_cursor.lnum,
  8446:         && (curbuf->b_p_ai
  8468:             || (curbuf->b_p_sts != 0
  8482:         ts = curbuf->b_p_sw;
  8484:         ts = curbuf->b_p_sts;
  ins_mouse():
  8665:         curbuf = curwin->w_buffer;
  8673:         curbuf = curwin->w_buffer;
  ins_mousescroll():
  8712:     curbuf = curwin->w_buffer;
  8740:     curbuf = curwin->w_buffer;
  ins_end():
  8901:     curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  ins_right():
  8962:         && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
  ins_s_right():
  8981:     if (curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count
  ins_tab():
  9151:     if (!curbuf->b_p_et
  9152:         && !(p_sta && ind && curbuf->b_p_ts != curbuf->b_p_sw)
  9152:         && !(p_sta && ind && curbuf->b_p_ts != curbuf->b_p_sw)
  9153:         && curbuf->b_p_sts == 0)
  9168:     temp = (int)curbuf->b_p_sw;
  9169:     else if (curbuf->b_p_sts > 0) /* use 'softtabstop' when set */
  9170:     temp = (int)curbuf->b_p_sts;
  9172:     temp = (int)curbuf->b_p_ts;
  9198:     if (!curbuf->b_p_et && (curbuf->b_p_sts || (p_sta && ind)))
  9198:     if (!curbuf->b_p_et && (curbuf->b_p_sts || (p_sta && ind)))
  ins_copychar():
  9521:     if (lnum < 1 || lnum > curbuf->b_ml.ml_line_count)
  ins_ctrl_ey():
  9582:         tw_save = curbuf->b_p_tw;
  9583:         curbuf->b_p_tw = -1;
  9585:         curbuf->b_p_tw = tw_save;
eval.c (62 uses)
  list_buf_vars():
  1981:     list_hashtable_vars(&curbuf->b_vars.dv_hashtab, (char_u *)"b:",
  1984:     sprintf((char *)numbuf, "%ld", (long)curbuf->b_changedtick);
  get_user_var_name():
  3698:     ht = &curbuf->b_vars.dv_hashtab;
  f_append():
  7754:         && lnum <= curbuf->b_ml.ml_line_count
  f_browse():
  7871:                  title, defname, NULL, initdir, NULL, curbuf);
  f_browsedir():
  7899:                     title, NULL, NULL, initdir, NULL, curbuf);
  get_buf_tv():
  7998:     return curbuf;
  f_byte2line():
  8124:     rettv->vval.v_number = ml_find_line_or_offset(curbuf,
  f_changenr():
  8239:     rettv->vval.v_number = curbuf->b_u_seq_cur;
  f_cindent():
  8272:     if (lnum >= 1 && lnum <= curbuf->b_ml.ml_line_count)
  f_col():
  8307:     int        fnum = curbuf->b_fnum;
  8310:     if (fp != NULL && fnum == curbuf->b_fnum)
  8315:         if (fp->lnum <= curbuf->b_ml.ml_line_count)
  f_diff_hlID():
  8747:         || changedtick != curbuf->b_changedtick
  8748:         || fnum != curbuf->b_fnum)
  8769:     changedtick = curbuf->b_changedtick;
  8770:     fnum = curbuf->b_fnum;
  findfilendir():
  9221:     char_u    *path = *curbuf->b_p_path == NUL ? p_path : curbuf->b_p_path;
  9221:     char_u    *path = *curbuf->b_p_path == NUL ? p_path : curbuf->b_p_path;
  9263:                     curbuf->b_ffname,
  9265:                         ? (char_u *)"" : curbuf->b_p_sua);
  foldclosed_both():
  9531:     if (lnum >= 1 && lnum <= curbuf->b_ml.ml_line_count)
  f_foldlevel():
  9580:     if (lnum >= 1 && lnum <= curbuf->b_ml.ml_line_count)
  f_foldtext():
  9609:                          <= curbuf->b_ml.ml_line_count
  f_getbufvar():
  9907:         save_curbuf = curbuf;
  9908:         curbuf = buf;
  9913:         curbuf = save_curbuf;
  f_getline():
  10357:     get_buffer_lines(curbuf, lnum, end, retlist, rettv);
  getwinvar():
  10679:     curbuf = win->w_buffer;
  10698:     curbuf = curwin->w_buffer;
  f_has():
  11246:         n = syntax_present(curbuf);
  f_indent():
  11534:     if (lnum >= 1 && lnum <= curbuf->b_ml.ml_line_count)
  f_line2byte():
  12247:     if (lnum < 1 || lnum > curbuf->b_ml.ml_line_count + 1)
  12250:     rettv->vval.v_number = ml_find_line_or_offset(curbuf, lnum, NULL);
  f_lispindent():
  12270:     if (lnum >= 1 && lnum <= curbuf->b_ml.ml_line_count)
  f_nextnonblank():
  12899:     if (lnum < 0 || lnum > curbuf->b_ml.ml_line_count)
  f_prevnonblank():
  12967:     if (lnum < 1 || lnum > curbuf->b_ml.ml_line_count)
  search_cmn():
  14110:     subpatnum = searchit(curwin, curbuf, &pos, dir, pat, 1L,
  do_searchpair():
  14365:     n = searchit(curwin, curbuf, &pos, dir, pat, 1L,
  f_setline():
  14627:     linenr_T    lcount = curbuf->b_ml.ml_line_count;
  14651:     if (line == NULL || lnum < 1 || lnum > curbuf->b_ml.ml_line_count + 1)
  14653:     if (lnum <= curbuf->b_ml.ml_line_count)
  f_setpos():
  14824:         if (fnum == curbuf->b_fnum)
  setwinvar():
  14992:     curbuf = curwin->w_buffer;
  15027:         curbuf = curwin->w_buffer;
  f_spellbadword():
  15275:     else if (curwin->w_p_spell && *curbuf->b_p_spl != NUL)
  f_spellsuggest():
  15329:     if (curwin->w_p_spell && *curbuf->b_p_spl != NUL)
  f_synID():
  15775:     if (!transerr && lnum >= 1 && lnum <= curbuf->b_ml.ml_line_count
  f_synstack():
  15922:     if (lnum >= 1 && lnum <= curbuf->b_ml.ml_line_count
  f_virtcol():
  16520:     int        fnum = curbuf->b_fnum;
  16523:     if (fp != NULL && fp->lnum <= curbuf->b_ml.ml_line_count
  16524:                             && fnum == curbuf->b_fnum)
  f_visualmode():
  16546:     str[0] = curbuf->b_visual_mode_eval;
  16555:     curbuf->b_visual_mode_eval = NUL;
  f_winrestview():
  16711:     if (curwin->w_topline > curbuf->b_ml.ml_line_count)
  16712:         curwin->w_topline = curbuf->b_ml.ml_line_count;
  var2fpos():
  16876:     if (error || pos.lnum <= 0 || pos.lnum > curbuf->b_ml.ml_line_count)
  16952:         pos.lnum = curbuf->b_ml.ml_line_count;
  list2fpos():
  16997:         n = curbuf->b_fnum;        /* current buffer */
  get_var_tv():
  17530:     atv.vval.v_number = curbuf->b_changedtick;
  find_var_in_ht():
  17952:         case 'b': return &curbuf->b_bufvar;
  find_var_ht():
  18017:     return &curbuf->b_vars.dv_hashtab;
ex_cmds.c (185 uses)
  ex_align():
  177:         width = curbuf->b_p_tw;
  178:     if (width == 0 && curbuf->b_p_wm > 0)
  179:         width = W_WIDTH(curwin) - curbuf->b_p_wm;
  ex_retab():
  599:     new_ts = curbuf->b_p_ts;
  630:             if (!curbuf->b_p_et)
  641:             if (curbuf->b_p_et || got_tab ||
  697:     if (curbuf->b_p_ts != new_ts)
  704:     curbuf->b_p_ts = new_ts;
  do_move():
  769:     last_line = curbuf->b_ml.ml_line_count;
  774:     curbuf->b_op_start.lnum = dest - num_lines + 1;
  775:     curbuf->b_op_end.lnum = dest;
  780:     curbuf->b_op_start.lnum = dest + 1;
  781:     curbuf->b_op_end.lnum = dest + num_lines;
  783:     curbuf->b_op_start.col = curbuf->b_op_end.col = 0;
  783:     curbuf->b_op_start.col = curbuf->b_op_end.col = 0;
  ex_copy():
  833:     curbuf->b_op_start.lnum = n + 1;
  834:     curbuf->b_op_end.lnum = n + count;
  835:     curbuf->b_op_start.col = curbuf->b_op_end.col = 0;
  835:     curbuf->b_op_start.col = curbuf->b_op_end.col = 0;
  do_bang():
  1033:     apply_autocmds(EVENT_SHELLFILTERPOST, NULL, NULL, FALSE, curbuf);
  do_filter():
  1069:     buf_T    *old_curbuf = curbuf;
  1118:     curbuf->b_op_start.lnum = line1;
  1119:     curbuf->b_op_end.lnum = line2;
  1126:     curbuf->b_op_start.lnum = line1;
  1127:     curbuf->b_op_end.lnum = line2;
  1144:     if (itmp != NULL && buf_write(curbuf, itmp, NULL, line1, line2, eap,
  1156:     if (curbuf != old_curbuf)
  1190:     read_linecount = curbuf->b_ml.ml_line_count;
  1234:         if (curbuf != old_curbuf)
  1239:     read_linecount = curbuf->b_ml.ml_line_count - read_linecount;
  1243:         curbuf->b_op_start.lnum = line2 + 1;
  1244:         curbuf->b_op_end.lnum = curwin->w_cursor.lnum;
  1271:         curbuf->b_op_start.lnum -= linecount;    /* adjust '[ */
  1272:         curbuf->b_op_end.lnum -= linecount;        /* adjust '] */
  1276:         foldUpdate(curwin, curbuf->b_op_start.lnum, curbuf->b_op_end.lnum);
  1276:         foldUpdate(curwin, curbuf->b_op_start.lnum, curbuf->b_op_end.lnum);
  1284:         linecount = curbuf->b_op_end.lnum - curbuf->b_op_start.lnum + 1;
  1284:         linecount = curbuf->b_op_end.lnum - curbuf->b_op_start.lnum + 1;
  1285:         curwin->w_cursor.lnum = curbuf->b_op_end.lnum;
  1317:     if (curbuf != old_curbuf)
  do_shell():
  1509:     apply_autocmds(EVENT_SHELLCMDPOST, NULL, NULL, FALSE, curbuf);
  ex_file():
  2441:     buf = curbuf;
  2442:     apply_autocmds(EVENT_BUFFILEPRE, NULL, NULL, FALSE, curbuf);
  2444:     if (buf != curbuf)
  2458:     fname = curbuf->b_ffname;
  2459:     sfname = curbuf->b_sfname;
  2460:     xfname = curbuf->b_fname;
  2461:     curbuf->b_ffname = NULL;
  2462:     curbuf->b_sfname = NULL;
  2463:     if (setfname(curbuf, eap->arg, NULL, TRUE) == FAIL)
  2465:         curbuf->b_ffname = fname;
  2466:         curbuf->b_sfname = sfname;
  2469:     curbuf->b_flags |= BF_NOTEDITED;
  2479:     apply_autocmds(EVENT_BUFFILEPOST, NULL, NULL, FALSE, curbuf);
  do_write():
  2542:                             NULL, NULL, NULL, curbuf);
  2596:         bt_dontwrite_msg(curbuf) ||
  2598:         check_fname() == FAIL || check_readonly(&eap->forceit, curbuf)))
  2603:     ffname = curbuf->b_ffname;
  2604:     fname = curbuf->b_fname;
  2609:             || eap->line2 != curbuf->b_ml.ml_line_count)
  2631:     if (check_overwrite(eap, curbuf, fname, ffname, other) == OK)
  2636:         buf_T    *was_curbuf = curbuf;
  2638:         apply_autocmds(EVENT_BUFFILEPRE, NULL, NULL, FALSE, curbuf);
  2641:         if (curbuf != was_curbuf || aborting())
  2657:         alt_buf->b_fname = curbuf->b_fname;
  2658:         curbuf->b_fname = fname;
  2660:         alt_buf->b_ffname = curbuf->b_ffname;
  2661:         curbuf->b_ffname = fname;
  2663:         alt_buf->b_sfname = curbuf->b_sfname;
  2664:         curbuf->b_sfname = fname;
  2665:         buf_name_changed(curbuf);
  2667:         apply_autocmds(EVENT_BUFFILEPOST, NULL, NULL, FALSE, curbuf);
  2675:         if (curbuf != was_curbuf || aborting())
  2686:         if (*curbuf->b_p_ft == NUL)
  2696:     retval = buf_write(curbuf, ffname, fname, eap->line1, eap->line2,
  2703:         curbuf->b_p_ro = FALSE;
  check_overwrite():
  2796:         swapname = makeswapname(fname, ffname, curbuf, dir);
  ex_wnext():
  2845:     eap->line2 = curbuf->b_ml.ml_line_count;
  getfile():
  3015:     fname_expand(curbuf, &ffname, &sfname);
  3020:     other = (fnum != curbuf->b_fnum);
  3024:     if (other && !forceit && curbuf->b_nwindows == 1 && !P_HID(curbuf)
  3024:     if (other && !forceit && curbuf->b_nwindows == 1 && !P_HID(curbuf)
  3025:            && curbufIsChanged() && autowrite(curbuf, forceit) == FAIL)
  3029:         dialog_changed(curbuf, FALSE);
  3053:         (P_HID(curbuf) ? ECMD_HIDE : 0) + (forceit ? ECMD_FORCEIT : 0)) == OK)
  do_ecmd():
  3108:     buf_T    *old_curbuf = curbuf;
  3134:     if (fnum == curbuf->b_fnum)    /* file is already being edited */
  3157:                             NULL, NULL, NULL, curbuf);
  3183:     else if (*ffname == NUL && curbuf->b_ffname == NULL)
  3189:         ffname = curbuf->b_ffname;
  3190:         sfname = curbuf->b_fname;
  3210:         || (curbuf->b_nwindows == 1
  3212:     && check_changed(curbuf, p_awa, !other_file,
  3265:         curwin->w_alt_fnum = curbuf->b_fnum;
  3306:             || curbuf != old_curbuf
  3331:     if (buf != curbuf)
  3347:         apply_autocmds(EVENT_BUFLEAVE, NULL, NULL, FALSE, curbuf);
  3360:         if (buf == curbuf)        /* already in new buffer */
  3364:         if (curbuf == old_curbuf)
  3370:         close_buffer(curwin, curbuf,
  3387:         if (buf == curbuf)        /* already in new buffer */
  3393:             curbuf = buf;
  3394:             ++curbuf->b_nwindows;
  3404:         get_winopts(curbuf);
  3416:         ++curbuf->b_nwindows;
  3436:     curbuf->b_help = TRUE;
  3455:     if (STRCMP(curbuf->b_p_isk, p) != 0)
  3459:         check_buf_options(curbuf);
  3460:         (void)buf_init_chartab(curbuf, FALSE);
  3463:     curbuf->b_p_ts = 8;        /* 'tabstop' is 8 */
  3466:     curbuf->b_p_ma = FALSE;        /* not modifiable */
  3467:     curbuf->b_p_bin = FALSE;    /* reset 'bin' before reading file */
  3489:     buf = curbuf;
  3496:     buf = curbuf;
  3500:     if (!curbuf->b_help)
  3507:     if (buf != curbuf)
  3536:     buf = curbuf;
  3542:     buf_freeall(curbuf, FALSE, FALSE);   /* free all things for buffer */
  3556:     if (buf != curbuf)
  3563:     buf_clear_file(curbuf);
  3564:     curbuf->b_op_start.lnum = 0;    /* clear '[ and '] marks */
  3565:     curbuf->b_op_end.lnum = 0;
  3607:         if (win->w_buffer == curbuf)
  3629:         curbuf->b_flags |= BF_CHECK_RO; /* set/reset 'ro' flag */
  3655:         apply_autocmds_retval(EVENT_BUFENTER, NULL, NULL, FALSE, curbuf,
  3657:         apply_autocmds_retval(EVENT_BUFWINENTER, NULL, NULL, FALSE, curbuf,
  3689:     diff_buf_add(curbuf);
  3690:     diff_invalidate(curbuf);
  3697:     if (did_get_winopts && curwin->w_p_spell && *curbuf->b_p_spl != NUL)
  3698:     did_set_spelllang(curbuf);
  3729:         curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  ex_append():
  3847:     int        empty = (curbuf->b_ml.ml_flags & ML_EMPTY);
  3851:     curbuf->b_p_ai = !curbuf->b_p_ai;
  3851:     curbuf->b_p_ai = !curbuf->b_p_ai;
  3854:     if (eap->cmdidx != CMD_change && curbuf->b_p_ai && lnum > 0)
  3865:     if (curbuf->b_p_iminsert == B_IMODE_LMAP)
  3872:     if (curbuf->b_p_ai)
  3950:     curbuf->b_p_ai = !curbuf->b_p_ai;
  3950:     curbuf->b_p_ai = !curbuf->b_p_ai;
  3956:     curbuf->b_op_start.lnum = (eap->line2 < curbuf->b_ml.ml_line_count) ?
  3956:     curbuf->b_op_start.lnum = (eap->line2 < curbuf->b_ml.ml_line_count) ?
  3957:     eap->line2 + 1 : curbuf->b_ml.ml_line_count;
  3959:     --curbuf->b_op_start.lnum;
  3960:     curbuf->b_op_end.lnum = (eap->line2 < lnum)
  3961:                          ? lnum : curbuf->b_op_start.lnum;
  3962:     curbuf->b_op_start.col = curbuf->b_op_end.col = 0;
  3962:     curbuf->b_op_start.col = curbuf->b_op_end.col = 0;
  ex_change():
  3985:     if (eap->forceit ? !curbuf->b_p_ai : curbuf->b_p_ai)
  3985:     if (eap->forceit ? !curbuf->b_p_ai : curbuf->b_p_ai)
  3990:     if (curbuf->b_ml.ml_flags & ML_EMPTY)        /* nothing to delete */
  ex_z():
  4094:     if (end > curbuf->b_ml.ml_line_count)
  4095:     end = curbuf->b_ml.ml_line_count;
  4097:     if (curs > curbuf->b_ml.ml_line_count)
  4098:     curs = curbuf->b_ml.ml_line_count;
  do_sub():
  4208:     linenr_T    old_line_count = curbuf->b_ml.ml_line_count;
  4396:     if (eap->line2 > curbuf->b_ml.ml_line_count)
  4397:         eap->line2 = curbuf->b_ml.ml_line_count;
  4417:     if (!do_count && !curbuf->b_p_ma)
  4457:     nmatch = vim_regexec_multi(&regmatch, curwin, curbuf, lnum,
  4786:         if (nmatch > curbuf->b_ml.ml_line_count - sub_firstlnum + 1)
  4788:             nmatch = curbuf->b_ml.ml_line_count - sub_firstlnum + 1;
  4969:                             curbuf, sub_firstlnum,
  5034:             nmatch = vim_regexec_multi(&regmatch, curwin, curbuf,
  5068:     i = curbuf->b_ml.ml_line_count - old_line_count;
  5082:     curbuf->b_op_start.lnum = eap->line1;
  5083:     curbuf->b_op_end.lnum = line2;
  5084:     curbuf->b_op_start.col = curbuf->b_op_end.col = 0;
  5084:     curbuf->b_op_start.col = curbuf->b_op_end.col = 0;
  ex_global():
  5265:     match = vim_regexec_multi(&regmatch, curwin, curbuf, lnum,
  global_exe():
  5316:     old_lcount = curbuf->b_ml.ml_line_count;
  5346:     msgmore(curbuf->b_ml.ml_line_count - old_lcount);
  ex_help():
  5605:         alt_fnum = curbuf->b_fnum;
  5610:         empty_fnum = curbuf->b_fnum;
  5623:     if (empty_fnum != 0 && curbuf->b_fnum != empty_fnum)
  fix_help_buffer():
  5922:     if (!syntax_present(curbuf))
  5925:     for (lnum = 1; lnum <= curbuf->b_ml.ml_line_count; ++lnum)
  5927:         line = ml_get_buf(curbuf, lnum, FALSE);
  5935:             line = ml_get_buf(curbuf, lnum, TRUE);
  5945:             line = ml_get_buf(curbuf, lnum, TRUE);
  5952:             line = ml_get_buf(curbuf, lnum, TRUE);
  5963:     if (fnamecmp(gettail(curbuf->b_fname), "help.txt") == 0)
  5965:     for (lnum = 1; lnum < curbuf->b_ml.ml_line_count; ++lnum)
  5967:         line = ml_get_buf(curbuf, lnum, FALSE);
  ex_drop():
  7130:     if (!P_HID(curbuf))
  7135:         split = check_changed(curbuf, TRUE, FALSE, FALSE, FALSE);
ex_cmds2.c (22 uses)
  dbg_parsearg():
  463:     if (curbuf->b_ffname == NULL)
  505:     bp->dbg_name = vim_strsave(curbuf->b_ffname);
  check_changed_any():
  1535:         buf = curbuf;
  1582:     if (buf != curbuf)
  1597:     if (buf != curbuf)
  check_fname():
  1610:     if (curbuf->b_ffname == NULL)
  buf_write_all():
  1630:     buf_T    *old_curbuf = curbuf;
  1637:     if (curbuf != old_curbuf)
  do_argfile():
  2116:         if (P_HID(curbuf))
  2122:         if ((!P_HID(curbuf) || !other)
  2123:           && check_changed(curbuf, TRUE, !other, eap->forceit, FALSE))
  ex_next():
  2162:     if (       P_HID(curbuf)
  2164:         || !check_changed(curbuf, TRUE, FALSE, eap->forceit, FALSE))
  ex_listdo():
  2306:         || P_HID(curbuf)
  2307:         || !check_changed(curbuf, TRUE, FALSE, eap->forceit, FALSE))
  2370:         for (buf = curbuf->b_next; buf != NULL; buf = buf->b_next)
  2403:         if (curbuf->b_fnum != next_fnum)
  2424:     apply_autocmds(EVENT_SYNTAX, curbuf->b_p_syn,
  2425:                            curbuf->b_fname, TRUE, curbuf);
  2425:                            curbuf->b_fname, TRUE, curbuf);
  do_source():
  2891:                                    FALSE, curbuf))
  2902:     apply_autocmds(EVENT_SOURCEPRE, fname_exp, fname_exp, FALSE, curbuf);
ex_docmd.c (70 uses)
  do_exmode():
  644:     changedtick = curbuf->b_changedtick;
  660:             || changedtick != curbuf->b_changedtick) && !ex_no_reprint)
  662:         if (curbuf->b_ml.ml_flags & ML_EMPTY)
  681:         if (curbuf->b_ml.ml_flags & ML_EMPTY)
  do_one_cmd():
  1737:             && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
  1976:         ea.line2 = curbuf->b_ml.ml_line_count;
  2063:         if (ea.line2 > curbuf->b_ml.ml_line_count)
  2070:             ea.line2 = curbuf->b_ml.ml_line_count;
  2173:     if (!curbuf->b_p_ma && (ea.argt & MODIFY))
  2391:     ea.line2 = curbuf->b_ml.ml_line_count;
  2448:         if (ea.line2 > curbuf->b_ml.ml_line_count)
  2449:         ea.line2 = curbuf->b_ml.ml_line_count;
  find_ucmd():
  2879:     gap = &curbuf->b_ucmds;
  get_address():
  3874:             lnum = curbuf->b_ml.ml_line_count;
  3982:                 if (searchit(curwin, curbuf, &pos,
  invalid_range():
  4088:         && eap->line2 > curbuf->b_ml.ml_line_count
  replace_makeprg():
  4167:         if (*curbuf->b_p_gp == NUL)
  4170:         program = curbuf->b_p_gp;
  4174:         if (*curbuf->b_p_mp == NUL)
  4177:         program = curbuf->b_p_mp;
  check_more():
  5011:         if ((p_confirm || cmdmod.confirm) && curbuf->b_fname != NULL)
  uc_add_command():
  5096:     gap = &curbuf->b_ucmds;
  uc_list():
  5221:     gap = &curbuf->b_ucmds;
  ex_comclear():
  5553:     uc_clear(&curbuf->b_ucmds);
  ex_delcommand():
  5587:     gap = &curbuf->b_ucmds;
  do_ucmd():
  5930:     cmd = USER_CMD_GA(&curbuf->b_ucmds, eap->useridx);
  get_user_commands():
  6016:     if (idx < curbuf->b_ucmds.ga_len)
  6017:     return USER_CMD_GA(&curbuf->b_ucmds, idx)->uc_name;
  6018:     idx -= curbuf->b_ucmds.ga_len;
  ex_quit():
  6217:     if ((!P_HID(curbuf)
  6218:         && check_changed(curbuf, p_awa, FALSE, eap->forceit, FALSE))
  ex_print():
  6653:     if (curbuf->b_ml.ml_flags & ML_EMPTY)
  handle_drop():
  6741:     if (!P_HID(curbuf) && !split)
  6744:     split = check_changed(curbuf, TRUE, FALSE, FALSE, FALSE);
  ex_preserve():
  6996:     curbuf->b_flags |= BF_PRESERVED;
  6997:     ml_preserve(curbuf, TRUE);
  ex_recover():
  7009:     if (!check_changed(curbuf, p_awa, TRUE, eap->forceit, FALSE)
  7011:                  || setfname(curbuf, eap->arg, NULL, TRUE) == OK))
  ex_splitview():
  7067:     if (bt_quickfix(curbuf))
  7082:                       FNAME_MESS, TRUE, curbuf->b_ffname);
  7112:                       eap->arg, NULL, NULL, NULL, curbuf);
  7137:             && old_curwin->w_buffer != curbuf
  7139:         old_curwin->w_alt_fnum = curbuf->b_fnum;
  ex_find():
  7340:                               TRUE, curbuf->b_ffname);
  7350:                              FALSE, curbuf->b_ffname);
  do_exedit():
  7520:             (P_HID(curbuf) ? ECMD_HIDE : 0)
  7531:         need_hide = (curbufIsChanged() && curbuf->b_nwindows <= 1);
  7532:         if (!need_hide || P_HID(curbuf))
  7544:             win_close(curwin, !need_hide && !P_HID(curbuf));
  7556:     else if (readonlymode && curbuf->b_nwindows == 1)
  7562:         curbuf->b_p_ro = TRUE;
  7589:         && old_curwin->w_buffer != curbuf
  7591:     old_curwin->w_alt_fnum = curbuf->b_fnum;
  ex_swapname():
  7632:     if (curbuf->b_ml.ml_mfp == NULL || curbuf->b_ml.ml_mfp->mf_fname == NULL)
  7632:     if (curbuf->b_ml.ml_mfp == NULL || curbuf->b_ml.ml_mfp->mf_fname == NULL)
  7635:     msg(curbuf->b_ml.ml_mfp->mf_fname);
  ex_read():
  7724:     int        empty = (curbuf->b_ml.ml_flags & ML_EMPTY);
  7740:                             NULL, NULL, NULL, curbuf);
  7756:         i = readfile(curbuf->b_ffname, curbuf->b_fname,
  7756:         i = readfile(curbuf->b_ffname, curbuf->b_fname,
  7781:             lnum = curbuf->b_ml.ml_line_count;
  ex_copymove():
  8215:     if (n == MAXLNUM || n < 0 || n > curbuf->b_ml.ml_line_count)
  ex_join():
  8274:     if (eap->line2 == curbuf->b_ml.ml_line_count)
  ex_redir():
  8436:             fname, NULL, NULL, BROWSE_FILTER_ALL_FILES, curbuf);
  eval_vars():
  9458:         if (curbuf->b_fname == NULL)
  9470:             result = curbuf->b_fname;
  put_view():
  10307:     curbuf = curwin->w_buffer;
  10318:     curbuf = curwin->w_buffer;
  get_view_file():
  10564:     if (curbuf->b_ffname == NULL)
  10569:     sname = home_replace_save(NULL, curbuf->b_ffname);
ex_getln.c (18 uses)
  getcmdline():
  288:     if (curbuf->b_p_imsearch == B_IMODE_USE_INSERT)
  289:         b_im_ptr = &curbuf->b_p_iminsert;
  291:         b_im_ptr = &curbuf->b_p_imsearch;
  1041:             if (b_im_ptr == &curbuf->b_p_iminsert)
  1783:         if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  1785:             curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  getexmodeline():
  2221:         indent += curbuf->b_p_sw - indent % curbuf->b_p_sw;
  2221:         indent += curbuf->b_p_sw - indent % curbuf->b_p_sw;
  2273:             indent -= indent % curbuf->b_p_sw;
  ex_window():
  5955:     buf_T        *old_curbuf = curbuf;
  6007:     (void)setfname(curbuf, (char_u *)"command-line", NULL, TRUE);
  6010:     curbuf->b_p_ma = TRUE;
  6040:     curbuf->b_p_tw = 0;
  6064:     ml_replace(curbuf->b_ml.ml_line_count, ccline.cmdbuff, TRUE);
  6065:     curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  6088:     apply_autocmds(EVENT_CMDWINENTER, typestr, typestr, FALSE, curbuf);
  6106:     apply_autocmds(EVENT_CMDWINLEAVE, typestr, typestr, FALSE, curbuf);
  6178:     bp = curbuf;
fileio.c (173 uses)
  readfile():
  310:     if (curbuf->b_ffname == NULL
  348:     pos = curbuf->b_op_start;
  351:     curbuf->b_op_start.lnum = ((from == 0) ? 1 : from);
  352:     curbuf->b_op_start.col = 0;
  357:                               FALSE, curbuf, eap))
  372:     curbuf->b_op_start = pos;
  376:     if ((shortmess(SHM_OVER) || curbuf->b_help) && p_verbose == 0)
  392:         filemess(curbuf, fname, (char_u *)_("Illegal file name"), 0);
  421:         filemess(curbuf, fname, (char_u *)_("is a directory"), 0);
  423:         filemess(curbuf, fname, (char_u *)_("is not a file"), 0);
  449:         set_fileformat(get_fileformat_force(curbuf, eap), OPT_LOCAL);
  457:     int    oldval = curbuf->b_p_bin;
  459:     curbuf->b_p_bin = (eap->force_bin == FORCE_BIN);
  460:     set_options_bin(oldval, curbuf->b_p_bin, OPT_LOCAL);
  469:     check_readonly = (newfile && (curbuf->b_flags & BF_CHECK_RO));
  471:     curbuf->b_p_ro = FALSE;
  480:         buf_store_time(curbuf, &st, fname);
  481:         curbuf->b_mtime_read = curbuf->b_mtime;
  481:         curbuf->b_mtime_read = curbuf->b_mtime;
  505:         (void)GetFSSpecFromPath(curbuf->b_ffname, &curbuf->b_FSSpec);
  505:         (void)GetFSSpecFromPath(curbuf->b_ffname, &curbuf->b_FSSpec);
  515:         curbuf->b_mtime = 0;
  516:         curbuf->b_mtime_read = 0;
  517:         curbuf->b_orig_size = 0;
  518:         curbuf->b_orig_mode = 0;
  523:     curbuf->b_flags &= ~(BF_NEW | BF_NEW_W);
  588:             curbuf->b_flags |= BF_NEW;
  594:             if (!bt_dontwrite(curbuf))
  598:             filemess(curbuf, sfname, (char_u *)_("[New File]"), 0);
  600:             filemess(curbuf, sfname,
  620:                               FALSE, curbuf, eap);
  623:             save_file_ff(curbuf);
  633:             filemess(curbuf, sfname, (char_u *)(
  638:             curbuf->b_p_ro = TRUE;    /* must use "w!" now */
  649:     if ((check_readonly && file_readonly) || curbuf->b_help)
  650:     curbuf->b_p_ro = TRUE;
  658:         curbuf->b_p_eol = TRUE;
  659:         curbuf->b_start_eol = TRUE;
  662:     curbuf->b_p_bomb = FALSE;
  663:     curbuf->b_start_bomb = FALSE;
  671:     if (!bt_dontwrite(curbuf))
  677:     if (swap_mode > 0 && curbuf->b_ml.ml_mfp->mf_fname != NULL)
  678:         (void)mch_setperm(curbuf->b_ml.ml_mfp->mf_fname, (long)swap_mode);
  697:     curbuf->b_op_start.lnum = ((from == 0) ? 1 : from);
  698:     curbuf->b_op_start.col = 0;
  705:     buf_T    *old_curbuf = curbuf;
  722:                               FALSE, curbuf, eap);
  725:                               FALSE, curbuf, eap);
  728:                               FALSE, curbuf, eap);
  740:         curbuf->b_p_ro = TRUE;    /* must use "w!" now */
  748:     if (!read_stdin && (curbuf != old_curbuf
  757:         curbuf->b_p_ro = TRUE;    /* must use "w!" now */
  764:     wasempty = (curbuf->b_ml.ml_flags & ML_EMPTY);
  789:         filemess(curbuf, sfname, (char_u *)"", 0);
  798:     linecnt = curbuf->b_ml.ml_line_count;
  806:         curbuf->b_bad_char = eap->bad_char;
  809:     curbuf->b_bad_char = 0;
  820:     else if (curbuf->b_p_bin)
  825:     else if (curbuf->b_help)
  871:     fenc = curbuf->b_p_fenc;    /* use format from buffer */
  923:         curbuf->b_p_bomb = FALSE;
  924:         curbuf->b_start_bomb = FALSE;
  939:         fileformat = get_fileformat_force(curbuf, eap);
  940:     else if (curbuf->b_p_bin)
  943:         fileformat = get_fileformat(curbuf);/* use format from buffer */
  1267:                     if (!curbuf->b_p_eol)
  1304:                 conv_error = curbuf->b_ml.ml_line_count
  1309:                 illegal_byte = curbuf->b_ml.ml_line_count
  1377:             || (!curbuf->b_p_bomb
  1385:         if (size < 2 || curbuf->b_p_bin)
  1398:             curbuf->b_p_bomb = TRUE;
  1399:             curbuf->b_start_bomb = TRUE;
  1898:         else if (enc_utf8 && !curbuf->b_p_bin)
  2168:         && !(!curbuf->b_p_bin
  2175:         curbuf->b_p_eol = FALSE;
  2185:     save_file_ff(curbuf);        /* remember the current file format */
  2188:     if (cryptkey != curbuf->b_p_key)
  2237:     if (newfile && wasempty && !(curbuf->b_ml.ml_flags & ML_EMPTY))
  2242:         ml_delete(curbuf->b_ml.ml_line_count, FALSE);
  2248:     linecnt = curbuf->b_ml.ml_line_count - linecnt;
  2257:         diff_invalidate(curbuf);
  2286:         filemess(curbuf, sfname, (char_u *)_(e_interr), 0);
  2288:             curbuf->b_p_ro = TRUE;    /* must use "w!" now */
  2299:         msg_add_fname(curbuf, sfname);   /* fname in IObuff with quotes */
  2333:         if (curbuf->b_p_ro)
  2436:         curbuf->b_p_ro = TRUE;
  2454:     curbuf->b_op_start.lnum = from + 1;
  2455:     curbuf->b_op_start.col = 0;
  2456:     curbuf->b_op_end.lnum = from + linecnt;
  2457:     curbuf->b_op_end.col = 0;
  2500:         save_file_ff(curbuf);
  2510:                               FALSE, curbuf, eap);
  2513:                               FALSE, curbuf, eap);
  readfile_linenr():
  2566:     lnum = curbuf->b_ml.ml_line_count - linecnt + 1;
  check_marks_read():
  2716:     if (!curbuf->b_marks_read && get_viminfo_parameter('\'') > 0
  2717:                           && curbuf->b_ffname != NULL)
  2722:     curbuf->b_marks_read = TRUE;
  check_for_cryptkey():
  2746:         if (*curbuf->b_p_key)
  2747:         cryptkey = curbuf->b_p_key;
  2756:             if (cryptkey != curbuf->b_p_key)
  2776:     else if (newfile && *curbuf->b_p_key && !starting)
  buf_write():
  2971:         && buf == curbuf
  2981:     buf = curbuf;        /* just in case autocmds made "buf" invalid */
  3046:                      sfname, sfname, FALSE, curbuf, eap)))
  3049:         if (overwriting && bt_nofile(curbuf))
  3054:                       sfname, sfname, FALSE, curbuf, eap);
  3060:                         NULL, sfname, FALSE, curbuf, eap);
  3065:                      sfname, sfname, FALSE, curbuf, eap)))
  3068:         if (overwriting && bt_nofile(curbuf))
  3073:                       sfname, sfname, FALSE, curbuf, eap);
  3079:                      sfname, sfname, FALSE, curbuf, eap)))
  3082:         if (overwriting && bt_nofile(curbuf))
  3087:                       sfname, sfname, FALSE, curbuf, eap);
  4749:                               FALSE, curbuf, eap);
  4752:                               FALSE, curbuf, eap);
  4755:                               FALSE, curbuf, eap);
  4758:                               FALSE, curbuf, eap);
  set_rw_fname():
  4790:     if (curbuf->b_p_bl)
  4791:     apply_autocmds(EVENT_BUFDELETE, NULL, NULL, FALSE, curbuf);
  4792:     apply_autocmds(EVENT_BUFWIPEOUT, NULL, NULL, FALSE, curbuf);
  4799:     if (setfname(curbuf, fname, sfname, FALSE) == OK)
  4800:     curbuf->b_flags |= BF_NOTEDITED;
  4804:     apply_autocmds(EVENT_BUFNEW, NULL, NULL, FALSE, curbuf);
  4805:     if (curbuf->b_p_bl)
  4806:     apply_autocmds(EVENT_BUFADD, NULL, NULL, FALSE, curbuf);
  4813:     if (*curbuf->b_p_ft == NUL)
  modname():
  5796:             (curbuf->b_p_sn || curbuf->b_shortname),
  5796:             (curbuf->b_p_sn || curbuf->b_shortname),
  move_lines():
  6304:     buf_T    *tbuf = curbuf;
  6310:     curbuf = tobuf;
  6326:     curbuf = frombuf;
  6327:     for (lnum = curbuf->b_ml.ml_line_count; lnum > 0; --lnum)
  6337:     curbuf = tbuf;
  buf_reload():
  6646:     if (bufempty())
  6652:         if (savebuf != NULL && buf == curbuf)
  6655:         curbuf = savebuf;
  6657:         saved = ml_open(curbuf);
  6658:         curbuf = buf;
  6661:         if (savebuf == NULL || saved == FAIL || buf != curbuf
  6672:         curbuf->b_flags |= BF_CHECK_RO;    /* check for RO again */
  6684:         if (savebuf != NULL && buf_valid(savebuf) && buf == curbuf)
  6688:             while (!bufempty())
  6694:         else if (buf == curbuf)
  6709:     diff_invalidate(curbuf);
  6714:     if (old_topline > curbuf->b_ml.ml_line_count)
  6715:         curwin->w_topline = curbuf->b_ml.ml_line_count;
  6738:     if (orig_mode == curbuf->b_orig_mode)
  6739:         curbuf->b_p_ro |= old_ro;
  do_autocmd_event():
  7991:         buflocal_nr = curbuf->b_fnum;
  do_doautocmd():
  8196:                       fname, NULL, TRUE, group, curbuf, NULL))
  ex_doautoall():
  8229:     if (curbuf->b_ml.ml_mfp != NULL)
  aucmd_prepbuf():
  8270:     if (buf == curbuf)        /* be quick when buf is curbuf */
  8299:     aco->save_buf = curbuf;
  8300:     --curbuf->b_nwindows;
  8316:     curbuf = buf;
  aucmd_restbuf():
  8341:         --curbuf->b_nwindows;
  8342:         curbuf = aco->save_buf;
  8343:         curwin->w_buffer = curbuf;
  8344:         ++curbuf->b_nwindows;
  8348:         curbuf = curwin->w_buffer;
  8356:         --curbuf->b_nwindows;
  8357:         curbuf = aco->save_buf;
  8358:         curwin->w_buffer = curbuf;
  8359:         ++curbuf->b_nwindows;
  8363:         if (aco->save_topline <= curbuf->b_ml.ml_line_count)
  8372:         curwin->w_topline = curbuf->b_ml.ml_line_count;
  apply_autocmds_group():
  8599:     save_changed = curbuf->b_changed;
  8600:     old_curbuf = curbuf;
  8833:     if (curbuf == old_curbuf
  8841:     if (curbuf->b_changed != save_changed)
  8844:     curbuf->b_changed = save_changed;
  unblock_autocmds():
  8888:     apply_autocmds(EVENT_TERMRESPONSE, NULL, NULL, FALSE, curbuf);
  au_exists():
  9257:     buflocal_buf = curbuf;
fold.c (10 uses)
  foldCreateMarkers():
  1777:     if (!curbuf->b_p_ma)
  foldAddMarker():
  1802:     char_u    *cms = curbuf->b_p_cms;
  1806:     char_u    *p = (char_u *)strstr((char *)curbuf->b_p_cms, "%s");
  foldDelMarker():
  1869:     char_u    *cms = curbuf->b_p_cms;
  get_foldtext():
  1945:     curbuf = wp->w_buffer;
  1953:     curbuf = curwin->w_buffer;
  foldtext_cleanup():
  2015:     cms_start = skipwhite(curbuf->b_p_cms);
  foldlevelExpr():
  3028:     curbuf = flp->wp->w_buffer;
  3100:     if (lnum == curbuf->b_ml.ml_line_count)
  3105:     curbuf = curwin->w_buffer;
getchar.c (14 uses)
  vgetorpeek():
  2064:             mp = curbuf->b_maphash[MAP_HASH(local_State, c1)];
  do_map():
  3131:         map_table = curbuf->b_maphash;
  3132:         abbr_table = &curbuf->b_first_abbr;
  3321:     if (map_table == curbuf->b_maphash && haskey && hasarg && maptype != 1)
  3358:     if (map_table != curbuf->b_maphash && !hasarg && maptype != 1)
  3367:         mp = curbuf->b_first_abbr;
  3370:         mp = curbuf->b_maphash[hash];
  map_clear():
  3709:     map_clear_int(curbuf, mode,
  map_to_exists_mode():
  3956:             mp = curbuf->b_first_abbr;
  3963:         mp = curbuf->b_maphash[hash];
  ExpandMappings():
  4134:         mp = curbuf->b_maphash[hash];
  check_abbr():
  4307:     mp = curbuf->b_first_abbr;
  check_map():
  4940:             mp = curbuf->b_first_abbr;
  4947:         mp = curbuf->b_maphash[hash];
gui.c (9 uses)
  gui_start():
  193:                            NULL, NULL, FALSE, curbuf);
  get_tabline_label():
  3457:     curbuf = curwin->w_buffer;
  3470:     curbuf = curwin->w_buffer;
  3483:     get_trans_bufname(tp == curtab ? curbuf : tp->tp_curwin->w_buffer);
  gui_do_scroll():
  4169:     curbuf = wp->w_buffer;
  4202:     curbuf = save_wp->w_buffer;
  gui_update_horiz_scrollbar():
  4293:     if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  4319:         && curwin->w_botline <= curbuf->b_ml.ml_line_count + 1)
  gui_update_screen():
  4863:     apply_autocmds(EVENT_CURSORMOVED, NULL, NULL, FALSE, curbuf);
gui_mac.c (3 uses)
  HandleODocAE():
  1103:     if (curbuf->b_fnum != fnum)
  1131:         else if (lnum > curbuf->b_ml.ml_line_count)
  1132:         lnum = curbuf->b_ml.ml_line_count;
hardcopy.c (8 uses)
  ex_hardcopy():
  601:             curbuf->b_fname == NULL
  602:                 ? (char_u *)buf_spname(curbuf)
  603:                 : curbuf->b_sfname == NULL
  604:                 ? curbuf->b_fname
  605:                 : curbuf->b_sfname,
  620:     if (!syntax_present(curbuf))
  hardcopy_line():
  904:         tab_spaces = (int)(curbuf->b_p_ts - (print_pos % curbuf->b_p_ts));
  904:         tab_spaces = (int)(curbuf->b_p_ts - (print_pos % curbuf->b_p_ts));
if_python.c (25 uses)
  BufferMark():
  1621:     curbuf_save = curbuf;
  1622:     curbuf = ((BufferObject *)(self))->buf;
  1624:     curbuf = curbuf_save;
  CurrentGetattr():
  2265:     return (PyObject *)BufferNew(curbuf);
  2269:     return GetBufferLine(curbuf, (PyInt)curwin->w_cursor.lnum);
  2271:     return RangeNew(curbuf, RangeStart, RangeEnd);
  CurrentSetattr():
  2287:     if (SetBufferLine(curbuf, (PyInt)curwin->w_cursor.lnum, value, NULL) == FAIL)
  SetBufferLine():
  2479:     buf_T *savebuf = curbuf;
  2482:     curbuf = buf;
  2495:     curbuf = savebuf;
  2508:     buf_T *savebuf = curbuf;
  2515:     curbuf = buf;
  2530:     curbuf = savebuf;
  SetBufferLineList():
  2572:     buf_T    *savebuf = curbuf;
  2575:     curbuf = buf;
  2595:     curbuf = savebuf;
  2640:     savebuf = curbuf;
  2643:     curbuf = buf;
  2723:     curbuf = savebuf;
  InsertBufferLines():
  2762:     savebuf = curbuf;
  2765:     curbuf = buf;
  2775:     curbuf = savebuf;
  2814:     savebuf = curbuf;
  2817:     curbuf = buf;
  2847:     curbuf = savebuf;
main.c (19 uses)
  main():
  809:     curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  812:     apply_autocmds(EVENT_BUFENTER, NULL, NULL, FALSE, curbuf);
  893:     apply_autocmds(EVENT_VIMENTER, NULL, NULL, FALSE, curbuf);
  main_loop():
  1064:         apply_autocmds(EVENT_CURSORMOVED, NULL, NULL, FALSE, curbuf);
  getout():
  1277:     apply_autocmds(EVENT_VIMLEAVEPRE, NULL, NULL, FALSE, curbuf);
  1287:     apply_autocmds(EVENT_VIMLEAVE, NULL, NULL, FALSE, curbuf);
  parse_command_name():
  1467:     curbuf->b_p_ro = TRUE;
  command_line_scan():
  1749:         set_options_bin(curbuf->b_p_bin, 1, 0);
  1750:         curbuf->b_p_bin = 1;        /* binary file I/O */
  1889:         curbuf->b_p_ro = TRUE;
  create_windows():
  2403:     if (curbuf->b_ml.ml_mfp == NULL) /* failed */
  2446:         curbuf = curwin->w_buffer;
  2447:         if (curbuf->b_ml.ml_mfp == NULL)
  2473:             setfname(curbuf, NULL, NULL, FALSE);
  2498:     curbuf = curwin->w_buffer;
  edit_buffers():
  2567:     if (curbuf == firstwin->w_buffer || curbuf->b_ffname == NULL)
  2567:     if (curbuf == firstwin->w_buffer || curbuf->b_ffname == NULL)
  2572:         old_curbuf = curbuf;
  2576:         if (curbuf == old_curbuf)
mark.c (110 uses)
  setmark():
  49:     return setmark_pos(c, &curwin->w_cursor, curbuf->b_fnum);
  setmark_pos():
  84:     curbuf->b_last_cursor = *pos;
  92:     curbuf->b_op_start = *pos;
  97:     curbuf->b_op_end = *pos;
  109:     curbuf->b_namedm[i] = *pos;
  setpcmark():
  177:     fm->fmark.fnum = curbuf->b_fnum;
  movemark():
  240:     if (jmp->fmark.fnum != curbuf->b_fnum)
  movechangelist():
  270:     if (curbuf->b_changelistlen == 0)        /* nothing to jump to */
  280:     else if (n + count >= curbuf->b_changelistlen)
  282:     if (n == curbuf->b_changelistlen - 1)
  284:     n = curbuf->b_changelistlen - 1;
  289:     return curbuf->b_changelist + n;
  getmark_fnum():
  341:     posp = &(curbuf->b_last_cursor);
  343:     posp = &(curbuf->b_last_insert);
  345:     posp = &(curbuf->b_last_change);
  347:     posp = &(curbuf->b_op_start);
  349:     posp = &(curbuf->b_op_end);
  385:     startp = &curbuf->b_visual.vi_start;
  386:     endp = &curbuf->b_visual.vi_end;
  394:     if (curbuf->b_visual.vi_mode == 'V')
  410:     posp = &(curbuf->b_namedm[c - 'a']);
  425:     else if (namedfm[c].fmark.fnum != curbuf->b_fnum)
  getnextmark():
  479:     if (curbuf->b_namedm[i].lnum > 0)
  483:         if ((result == NULL || lt(curbuf->b_namedm[i], *result))
  483:         if ((result == NULL || lt(curbuf->b_namedm[i], *result))
  483:         if ((result == NULL || lt(curbuf->b_namedm[i], *result))
  483:         if ((result == NULL || lt(curbuf->b_namedm[i], *result))
  483:         if ((result == NULL || lt(curbuf->b_namedm[i], *result))
  484:             && lt(pos, curbuf->b_namedm[i]))
  484:             && lt(pos, curbuf->b_namedm[i]))
  484:             && lt(pos, curbuf->b_namedm[i]))
  484:             && lt(pos, curbuf->b_namedm[i]))
  484:             && lt(pos, curbuf->b_namedm[i]))
  485:             result = &curbuf->b_namedm[i];
  489:         if ((result == NULL || lt(*result, curbuf->b_namedm[i]))
  489:         if ((result == NULL || lt(*result, curbuf->b_namedm[i]))
  489:         if ((result == NULL || lt(*result, curbuf->b_namedm[i]))
  489:         if ((result == NULL || lt(*result, curbuf->b_namedm[i]))
  489:         if ((result == NULL || lt(*result, curbuf->b_namedm[i]))
  490:             && lt(curbuf->b_namedm[i], pos))
  490:             && lt(curbuf->b_namedm[i], pos))
  490:             && lt(curbuf->b_namedm[i], pos))
  490:             && lt(curbuf->b_namedm[i], pos))
  490:             && lt(curbuf->b_namedm[i], pos))
  491:             result = &curbuf->b_namedm[i];
  check_mark():
  613:     if (pos->lnum > curbuf->b_ml.ml_line_count)
  fm_getname():
  665:     if (fmark->fnum == curbuf->b_fnum)            /* current buffer */
  mark_line():
  682:     if (mp->lnum == 0 || mp->lnum > curbuf->b_ml.ml_line_count)
  do_marks():
  715:     show_one_mark(i + 'a', arg, &curbuf->b_namedm[i], NULL, TRUE);
  726:             namedfm[i].fmark.fnum == curbuf->b_fnum);
  731:     show_one_mark('"', arg, &curbuf->b_last_cursor, NULL, TRUE);
  732:     show_one_mark('[', arg, &curbuf->b_op_start, NULL, TRUE);
  733:     show_one_mark(']', arg, &curbuf->b_op_end, NULL, TRUE);
  734:     show_one_mark('^', arg, &curbuf->b_last_insert, NULL, TRUE);
  735:     show_one_mark('.', arg, &curbuf->b_last_change, NULL, TRUE);
  737:     show_one_mark('<', arg, &curbuf->b_visual.vi_start, NULL, TRUE);
  738:     show_one_mark('>', arg, &curbuf->b_visual.vi_end, NULL, TRUE);
  ex_delmarks():
  814:     clrallmarks(curbuf);
  850:             curbuf->b_namedm[i - 'a'].lnum = 0;
  866:             case '"': curbuf->b_last_cursor.lnum = 0; break;
  867:             case '^': curbuf->b_last_insert.lnum = 0; break;
  868:             case '.': curbuf->b_last_change.lnum = 0; break;
  869:             case '[': curbuf->b_op_start.lnum    = 0; break;
  870:             case ']': curbuf->b_op_end.lnum      = 0; break;
  872:             case '<': curbuf->b_visual.vi_start.lnum = 0; break;
  873:             case '>': curbuf->b_visual.vi_end.lnum   = 0; break;
  ex_jumps():
  919:                 curwin->w_jumplist[i].fmark.fnum == curbuf->b_fnum
  ex_changes():
  944:     for (i = 0; i < curbuf->b_changelistlen && !got_int; ++i)
  946:     if (curbuf->b_changelist[i].lnum != 0)
  955:             (long)curbuf->b_changelist[i].lnum,
  956:             curbuf->b_changelist[i].col);
  958:         name = mark_line(&curbuf->b_changelist[i], 17);
  967:     if (curwin->w_changelistidx == curbuf->b_changelistlen)
  mark_adjust():
  1020:     int        fnum = curbuf->b_fnum;
  1032:         one_adjust(&(curbuf->b_namedm[i].lnum));
  1043:     one_adjust(&(curbuf->b_last_insert.lnum));
  1046:     one_adjust(&(curbuf->b_last_change.lnum));
  1050:     for (i = 0; i < curbuf->b_changelistlen; ++i)
  1051:         one_adjust_nodel(&(curbuf->b_changelist[i].lnum));
  1056:     one_adjust_nodel(&(curbuf->b_visual.vi_start.lnum));
  1057:     one_adjust_nodel(&(curbuf->b_visual.vi_end.lnum));
  1097:     if (win->w_buffer == curbuf)
  mark_col_adjust():
  1197:     int        fnum = curbuf->b_fnum;
  1207:     col_adjust(&(curbuf->b_namedm[i]));
  1218:     col_adjust(&(curbuf->b_last_insert));
  1221:     col_adjust(&(curbuf->b_last_change));
  1225:     for (i = 0; i < curbuf->b_changelistlen; ++i)
  1226:     col_adjust(&(curbuf->b_changelist[i]));
  1231:     col_adjust(&(curbuf->b_visual.vi_start));
  1232:     col_adjust(&(curbuf->b_visual.vi_end));
  1256:     if (win->w_buffer == curbuf)
  write_viminfo_filemarks():
  1441:     if (curbuf->b_ffname != NULL && !removable(curbuf->b_ffname))
  1441:     if (curbuf->b_ffname != NULL && !removable(curbuf->b_ffname))
  1443:     name = buflist_nr2name(curbuf->b_fnum, TRUE, FALSE);
  1447:                 ? namedfm[i].fmark.fnum == curbuf->b_fnum
  1457:     namedfm[NMARKS].fmark.fnum = curbuf->b_fnum;
  copy_viminfo_marks():
  1688:         if (curbuf->b_ffname != NULL)
  1691:             home_replace(NULL, curbuf->b_ffname, name_buf, LSIZE, TRUE);
  1732:             case '"': curbuf->b_last_cursor = pos; break;
  1733:             case '^': curbuf->b_last_insert = pos; break;
  1734:             case '.': curbuf->b_last_change = pos; break;
  1739:                   if (curbuf->b_changelistlen == JUMPLISTSIZE)
  1741:                       mch_memmove(curbuf->b_changelist,
  1741:                       mch_memmove(curbuf->b_changelist,
  1745:                       ++curbuf->b_changelistlen;
  1746:                   curbuf->b_changelist[
  1747:                        curbuf->b_changelistlen - 1] = pos;
  1751:                       curbuf->b_namedm[i] = pos;
  1765:         if (wp->w_buffer == curbuf)
  1766:             wp->w_changelistidx = curbuf->b_changelistlen;
mbyte.c (11 uses)
  mb_init():
  766:     apply_autocmds(EVENT_ENCODINGCHANGED, NULL, (char_u *)"", FALSE, curbuf);
  bomb_size():
  789:     if (curbuf->b_p_bomb && !curbuf->b_p_bin)
  789:     if (curbuf->b_p_bomb && !curbuf->b_p_bin)
  791:     if (*curbuf->b_p_fenc == NUL)
  801:     else if (STRCMP(curbuf->b_p_fenc, "utf-8") == 0)
  803:     else if (STRNCMP(curbuf->b_p_fenc, "ucs-2", 5) == 0
  804:         || STRNCMP(curbuf->b_p_fenc, "utf-16", 6) == 0)
  806:     else if (STRNCMP(curbuf->b_p_fenc, "ucs-4", 5) == 0)
  utf_find_illegal():
  2639:     if (enc_utf8 && (enc_canon_props(curbuf->b_p_fenc) & ENC_8BIT))
  2644:     convert_setup(&vimconv, p_enc, curbuf->b_p_fenc);
  2687:     if (curwin->w_cursor.lnum == curbuf->b_ml.ml_line_count)
memline.c (75 uses)
  check_need_swap():
  607:     if (curbuf->b_may_swap && (!curbuf->b_p_ro || !newfile))
  607:     if (curbuf->b_may_swap && (!curbuf->b_p_ro || !newfile))
  608:     ml_open_file(curbuf);
  set_b0_fname():
  784:     add_b0_fenc(b0p, curbuf);
  ml_recover():
  868:     called_from_main = (curbuf->b_ml.ml_mfp == NULL);
  874:     fname = curbuf->b_fname;
  919:     if (called_from_main && ml_open(curbuf) == FAIL)
  1059:     if (setfname(curbuf, NameBuff, NULL, TRUE) == FAIL)
  1066:     if (buf_spname(curbuf) != NULL)
  1067:     STRCPY(NameBuff, buf_spname(curbuf));
  1069:     home_replace(NULL, curbuf->b_ffname, NameBuff, MAXPATHL, TRUE);
  1077:     if (curbuf->b_ffname != NULL
  1078:         && mch_stat((char *)curbuf->b_ffname, &org_stat) != -1
  1104:     while (!(curbuf->b_ml.ml_flags & ML_EMPTY))
  1111:     if (curbuf->b_ffname != NULL)
  1113:     (void)readfile(curbuf->b_ffname, NULL, (linenr_T)0,
  1115:     while (!(curbuf->b_ml.ml_flags & ML_EMPTY))
  1127:     unchanged(curbuf, TRUE);
  1139:     if (curbuf->b_ffname == NULL)
  1200:                 if (readfile(curbuf->b_ffname, NULL, lnum,
  1320:     ml_delete(curbuf->b_ml.ml_line_count, FALSE);
  1321:     curbuf->b_flags |= BF_RECOVERED;
  1359:     ml_close(curbuf, TRUE);
  1363:     apply_autocmds(EVENT_BUFREADPOST, NULL, curbuf->b_fname, FALSE, curbuf);
  1363:     apply_autocmds(EVENT_BUFREADPOST, NULL, curbuf->b_fname, FALSE, curbuf);
  1364:     apply_autocmds(EVENT_BUFWINENTER, NULL, curbuf->b_fname, FALSE, curbuf);
  1364:     apply_autocmds(EVENT_BUFWINENTER, NULL, curbuf->b_fname, FALSE, curbuf);
  recover_names():
  1554:     if (curbuf->b_ml.ml_mfp != NULL
  1555:                    && (p = curbuf->b_ml.ml_mfp->mf_fname) != NULL)
  recov_file_names():
  1797:     int        shortname = curbuf->b_shortname;
  1799:     curbuf->b_shortname = FALSE;
  1849:     curbuf->b_shortname = TRUE;
  1877:     curbuf->b_shortname = shortname;
  ml_get():
  2034:     return ml_get_buf(curbuf, lnum, FALSE);
  ml_get_pos():
  2044:     return (ml_get_buf(curbuf, pos->lnum, FALSE) + pos->col);
  ml_get_curline():
  2053:     return ml_get_buf(curbuf, curwin->w_cursor.lnum, FALSE);
  ml_get_cursor():
  2062:     return (ml_get_buf(curbuf, curwin->w_cursor.lnum, FALSE) +
  ml_line_alloced():
  2151:     return (curbuf->b_ml.ml_flags & ML_LINE_DIRTY);
  ml_append():
  2174:     if (curbuf->b_ml.ml_mfp == NULL && open_buffer(FALSE, NULL) == FAIL)
  2177:     if (curbuf->b_ml.ml_line_lnum != 0)
  2178:     ml_flush_line(curbuf);
  2179:     return ml_append_int(curbuf, lnum, line, len, newfile, FALSE);
  ml_replace():
  2723:     if (curbuf->b_ml.ml_mfp == NULL && open_buffer(FALSE, NULL) == FAIL)
  2735:     if (curbuf->b_ml.ml_line_lnum != lnum)        /* other line buffered */
  2736:     ml_flush_line(curbuf);                /* flush it */
  2737:     else if (curbuf->b_ml.ml_flags & ML_LINE_DIRTY) /* same line allocated */
  2738:     vim_free(curbuf->b_ml.ml_line_ptr);        /* free it */
  2739:     curbuf->b_ml.ml_line_ptr = line;
  2740:     curbuf->b_ml.ml_line_lnum = lnum;
  2741:     curbuf->b_ml.ml_flags = (curbuf->b_ml.ml_flags | ML_LINE_DIRTY) & ~ML_EMPTY;
  2741:     curbuf->b_ml.ml_flags = (curbuf->b_ml.ml_flags | ML_LINE_DIRTY) & ~ML_EMPTY;
  ml_delete():
  2759:     ml_flush_line(curbuf);
  2760:     return ml_delete_int(curbuf, lnum, message);
  ml_setmarked():
  2932:     if (lnum < 1 || lnum > curbuf->b_ml.ml_line_count
  2933:                            || curbuf->b_ml.ml_mfp == NULL)
  2944:     if ((hp = ml_find_line(curbuf, lnum, ML_FIND)) == NULL)
  2948:     dp->db_index[lnum - curbuf->b_ml.ml_locked_low] |= DB_MARKED;
  2949:     curbuf->b_ml.ml_flags |= ML_LOCKED_DIRTY;
  ml_firstmarked():
  2963:     if (curbuf->b_ml.ml_mfp == NULL)
  2970:     for (lnum = lowest_marked; lnum <= curbuf->b_ml.ml_line_count; )
  2977:     if ((hp = ml_find_line(curbuf, lnum, ML_FIND)) == NULL)
  2982:     for (i = lnum - curbuf->b_ml.ml_locked_low;
  2983:                 lnum <= curbuf->b_ml.ml_locked_high; ++i, ++lnum)
  2987:         curbuf->b_ml.ml_flags |= ML_LOCKED_DIRTY;
  ml_clearmarked():
  3027:     if (curbuf->b_ml.ml_mfp == NULL)        /* nothing to do */
  3033:     for (lnum = lowest_marked; lnum <= curbuf->b_ml.ml_line_count; )
  3040:     if ((hp = ml_find_line(curbuf, lnum, ML_FIND)) == NULL)
  3045:     for (i = lnum - curbuf->b_ml.ml_locked_low;
  3046:                 lnum <= curbuf->b_ml.ml_locked_high; ++i, ++lnum)
  3050:         curbuf->b_ml.ml_flags |= ML_LOCKED_DIRTY;
  findswapname():
  4099:         if (differ == FALSE && !(curbuf->b_flags & BF_RECOVERED)
  ml_find_line_or_offset():
  4719:     ml_flush_line(curbuf);
  goto_byte():
  4833:     ml_flush_line(curbuf);    /* cached line may be dirty */
  4837:     lnum = ml_find_line_or_offset(curbuf, (linenr_T)0, &boff);
  4840:     curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
menu.c (7 uses)
  gui_show_popupmenu():
  1953:     apply_autocmds(EVENT_MENUPOPUP, ename, NULL, FALSE, curbuf);
  ex_emenu():
  2203:     if ((curbuf->b_visual.vi_start.lnum == eap->line1)
  2204:         && (curbuf->b_visual.vi_end.lnum) == eap->line2)
  2207:         VIsual_mode = curbuf->b_visual.vi_mode;
  2208:         tpos = curbuf->b_visual.vi_end;
  2209:         curwin->w_cursor = curbuf->b_visual.vi_start;
  2210:         curwin->w_curswant = curbuf->b_visual.vi_curswant;
message.c (4 uses)
  msg_prt_line():
  1611:         n_extra = curbuf->b_p_ts - col % curbuf->b_p_ts - 1;
  1611:         n_extra = curbuf->b_p_ts - col % curbuf->b_p_ts - 1;
  do_browse():
  3724:         dflt = gettail(curbuf->b_ffname);
  3725:         tofree = vim_strsave(curbuf->b_ffname);
misc1.c (112 uses)
  get_indent():
  31:     return get_indent_str(ml_get_curline(), (int)curbuf->b_p_ts);
  get_indent_lnum():
  41:     return get_indent_str(ml_get(lnum), (int)curbuf->b_p_ts);
  set_indent():
  124:     if (!curbuf->b_p_et || (!(flags & SIN_INSERT) && curbuf->b_p_pi))
  124:     if (!curbuf->b_p_et || (!(flags & SIN_INSERT) && curbuf->b_p_pi))
  128:     if (!(flags & SIN_INSERT) && curbuf->b_p_pi)
  137:             tab_pad = (int)curbuf->b_p_ts
  138:                        - (ind_done % (int)curbuf->b_p_ts);
  157:         if (curbuf->b_p_et)
  161:         tab_pad = (int)curbuf->b_p_ts - (ind_done % (int)curbuf->b_p_ts);
  161:         tab_pad = (int)curbuf->b_p_ts - (ind_done % (int)curbuf->b_p_ts);
  172:     while (todo >= (int)curbuf->b_p_ts)
  178:         todo -= (int)curbuf->b_p_ts;
  243:     if (!curbuf->b_p_et)
  247:     if (!(flags & SIN_INSERT) && curbuf->b_p_pi)
  256:             tab_pad = (int)curbuf->b_p_ts
  257:                        - (ind_done % (int)curbuf->b_p_ts);
  273:         tab_pad = (int)curbuf->b_p_ts - (ind_done % (int)curbuf->b_p_ts);
  273:         tab_pad = (int)curbuf->b_p_ts - (ind_done % (int)curbuf->b_p_ts);
  283:     while (todo >= (int)curbuf->b_p_ts)
  286:         todo -= (int)curbuf->b_p_ts;
  copy_indent():
  349:         tab_pad = (int)curbuf->b_p_ts
  350:                        - (ind_done % (int)curbuf->b_p_ts);
  369:     tab_pad = (int)curbuf->b_p_ts - (ind_done % (int)curbuf->b_p_ts);
  369:     tab_pad = (int)curbuf->b_p_ts - (ind_done % (int)curbuf->b_p_ts);
  379:     while (todo >= (int)curbuf->b_p_ts)
  381:         todo -= (int)curbuf->b_p_ts;
  get_number_indent():
  432:     if (lnum > curbuf->b_ml.ml_line_count)
  435:     regmatch.regprog = vim_regcomp(curbuf->b_p_flp, RE_MAGIC);
  440:     if (vim_regexec_multi(&regmatch, curwin, curbuf, lnum,
  cin_is_cinword():
  475:     cinw_len = (int)STRLEN(curbuf->b_p_cinw) + 1;
  480:     for (cinw = curbuf->b_p_cinw; *cinw; )
  open_line():
  545:     int        do_si = (!p_paste && curbuf->b_p_si
  547:                     && !curbuf->b_p_cin
  557:     int        saved_pi = curbuf->b_p_pi; /* copy of preserveindent setting */
  647:     if (curbuf->b_p_ai
  656:     newindent = get_indent_str(saved_line, (int)curbuf->b_p_ts);
  808:              curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
  970:         while (p > curbuf->b_p_com && *p != ',')
  972:         for (lead_repl = p; lead_repl > curbuf->b_p_com
  1172:             if (curbuf->b_p_ai
  1177:             newindent = get_indent_str(leader, (int)curbuf->b_p_ts);
  1247:             (curbuf->b_p_ai
  1280:     if (curbuf->b_p_ai || (flags & OPENLINE_DELSPACES))
  1366:         newindent -= newindent % (int)curbuf->b_p_sw;
  1367:         newindent += (int)curbuf->b_p_sw;
  1371:     if (curbuf->b_p_ci)
  1380:         curbuf->b_p_pi = TRUE;
  1477:         && curbuf->b_p_lisp
  1478:         && curbuf->b_p_ai)
  1490:         && (curbuf->b_p_cin
  1492:             || *curbuf->b_p_inde != NUL
  1538:     curbuf->b_p_pi = saved_pi;
  get_leader_len():
  1580:     for (list = curbuf->b_p_com; *list; )
  del_lines():
  2363:     if (curbuf->b_ml.ml_flags & ML_EMPTY)        /* nothing to delete */
  2370:     if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  pchar_cursor():
  2411:     *(ml_get_buf(curbuf, curwin->w_cursor.lnum, TRUE)
  changed():
  2486:     if (!curbuf->b_changed)
  2496:     if (curbuf->b_may_swap
  2498:         && !bt_dontwrite(curbuf)
  2502:         ml_open_file(curbuf);
  2516:     curbuf->b_changed = TRUE;
  2517:     ml_setflags(curbuf);
  2519:     check_status(curbuf);
  2526:     ++curbuf->b_changedtick;
  changed_bytes():
  2544:     changedOneline(curbuf, lnum);
  changed_lines():
  2657:     changed_lines_buf(curbuf, lnum, lnume, xtra);
  changed_common():
  2737:     curbuf->b_last_change.lnum = lnum;
  2738:     curbuf->b_last_change.col = col;
  2743:     if (curbuf->b_new_change || curbuf->b_changelistlen == 0)
  2743:     if (curbuf->b_new_change || curbuf->b_changelistlen == 0)
  2745:         if (curbuf->b_changelistlen == 0)
  2752:         p = &curbuf->b_changelist[curbuf->b_changelistlen - 1];
  2752:         p = &curbuf->b_changelist[curbuf->b_changelistlen - 1];
  2768:         curbuf->b_new_change = FALSE;
  2770:         if (curbuf->b_changelistlen == JUMPLISTSIZE)
  2773:             curbuf->b_changelistlen = JUMPLISTSIZE - 1;
  2774:             mch_memmove(curbuf->b_changelist, curbuf->b_changelist + 1,
  2774:             mch_memmove(curbuf->b_changelist, curbuf->b_changelist + 1,
  2780:             if (wp->w_buffer == curbuf && wp->w_changelistidx > 0)
  2788:             if (wp->w_buffer == curbuf
  2789:                 && wp->w_changelistidx == curbuf->b_changelistlen)
  2792:         ++curbuf->b_changelistlen;
  2795:     curbuf->b_changelist[curbuf->b_changelistlen - 1] =
  2795:     curbuf->b_changelist[curbuf->b_changelistlen - 1] =
  2796:                             curbuf->b_last_change;
  2799:     curwin->w_changelistidx = curbuf->b_changelistlen;
  2805:     if (wp->w_buffer == curbuf)
  change_warning():
  2962:     if (curbuf->b_did_warn == FALSE
  2967:         && curbuf->b_p_ro)
  2971:     apply_autocmds(EVENT_FILECHANGEDRO, NULL, NULL, FALSE, curbuf);
  2973:     if (!curbuf->b_p_ro)
  2993:     curbuf->b_did_warn = TRUE;
  do_c_expr_indent():
  4818:     if (*curbuf->b_p_inde != NUL)
  cin_isfuncdecl():
  5462:         if (lnum >= curbuf->b_ml.ml_line_count)
  get_c_indent():
  5982:     int ind_level = curbuf->b_p_sw;
  6023:     int ind_case = curbuf->b_p_sw;
  6028:     int ind_case_code = curbuf->b_p_sw;
  6039:     int ind_scopedecl = curbuf->b_p_sw;
  6044:     int ind_scopedecl_code = curbuf->b_p_sw;
  6049:     int ind_param = curbuf->b_p_sw;
  6054:     int ind_func_type = curbuf->b_p_sw;
  6060:     int ind_cpp_baseclass = curbuf->b_p_sw;
  6066:     int ind_continuation = curbuf->b_p_sw;
  6071:     int ind_unclosed = curbuf->b_p_sw * 2;
  6077:     int ind_unclosed2 = curbuf->b_p_sw;
  6187:     for (options = curbuf->b_p_cino; *options; )
  6209:         n = curbuf->b_p_sw;    /* just "s" is one 'shiftwidth' */
  6212:         n *= curbuf->b_p_sw;
  6214:             n += (curbuf->b_p_sw * fraction + divider / 2) / divider;
  6335:     p = curbuf->b_p_com;
  7716:     else if (cur_curpos.lnum < curbuf->b_ml.ml_line_count
  get_expr_indent():
  8059:     indent = eval_to_number(curbuf->b_p_inde);
misc2.c (14 uses)
  inc():
  387:     if (lp->lnum != curbuf->b_ml.ml_line_count)     /* there is a next line */
  check_cursor_lnum():
  480:     if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  485:     if (!hasFolding(curbuf->b_ml.ml_line_count,
  488:         curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  set_fileformat():
  2915:     curbuf->b_p_tx = TRUE;
  2919:     curbuf->b_p_tx = FALSE;
  2923:     curbuf->b_p_tx = FALSE;
  2932:     check_status(curbuf);
  get_crypt_key():
  3698:         p1 = curbuf->b_p_key;
  vim_findfile():
  4609:             suf = curbuf->b_p_sua;
  find_file_in_path():
  5296:         *curbuf->b_p_path == NUL ? p_path : curbuf->b_p_path,
  5296:         *curbuf->b_p_path == NUL ? p_path : curbuf->b_p_path,
  5297:         FINDFILE_BOTH, rel_fname, curbuf->b_p_sua);
  vim_chdir():
  5567:                         FNAME_MESS, curbuf->b_ffname);
move.c (32 uses)
  update_topline():
  181:     if (bufempty())        /* special case - file is empty */
  237:             if (lnum >= curbuf->b_ml.ml_line_count || n >= halfheight)
  281:     if (curwin->w_botline <= curbuf->b_ml.ml_line_count)
  scrollup():
  1372:         if (lnum >= curbuf->b_ml.ml_line_count)
  1391:     if (curwin->w_topline > curbuf->b_ml.ml_line_count)
  1392:     curwin->w_topline = curbuf->b_ml.ml_line_count;
  1393:     if (curwin->w_botline > curbuf->b_ml.ml_line_count + 1)
  1394:     curwin->w_botline = curbuf->b_ml.ml_line_count + 1;
  scrollup_clamp():
  1549:     if (curwin->w_topline == curbuf->b_ml.ml_line_count
  botline_forw():
  1664:     if (lp->lnum > curbuf->b_ml.ml_line_count)
  scroll_cursor_top():
  1792:     if (extra + i <= off && bot < curbuf->b_ml.ml_line_count)
  scroll_cursor_bot():
  2001:             || boff.lnum + 1 > curbuf->b_ml.ml_line_count)
  2032:     if (boff.lnum < curbuf->b_ml.ml_line_count)
  scroll_cursor_halfway():
  2147:         if (boff.lnum < curbuf->b_ml.ml_line_count)
  cursor_correct():
  2226:     if (curwin->w_botline == curbuf->b_ml.ml_line_count + 1
  2307:     if (cln > botline && curwin->w_botline <= curbuf->b_ml.ml_line_count)
  onepage():
  2334:     if (curbuf->b_ml.ml_line_count == 1)    /* nothing to do */
  2350:         ? ((curwin->w_topline >= curbuf->b_ml.ml_line_count - p_so)
  2351:             && curwin->w_botline > curbuf->b_ml.ml_line_count)
  2376:         if (curwin->w_topline > curbuf->b_ml.ml_line_count)
  2377:             curwin->w_topline = curbuf->b_ml.ml_line_count;
  2380:         else if (curwin->w_botline > curbuf->b_ml.ml_line_count)
  2383:         curwin->w_topline = curbuf->b_ml.ml_line_count;
  2429:         if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  2430:             curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  2444:         if (loff.lnum >= curbuf->b_ml.ml_line_count)
  2446:         loff.lnum = curbuf->b_ml.ml_line_count;
  2547:                   && old_topline < curbuf->b_ml.ml_line_count)
  halfpage():
  2660:     while (n > 0 && curwin->w_botline <= curbuf->b_ml.ml_line_count)
  2690:         if (curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
  2723:         } while (curwin->w_botline <= curbuf->b_ml.ml_line_count);
  2737:             && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
normal.c (115 uses)
  normal_cmd():
  953:         if (lang && curbuf->b_p_iminsert == B_IMODE_LMAP)
  967:         if (lang && curbuf->b_p_iminsert == B_IMODE_IM)
  983:         if (curbuf->b_p_iminsert != B_IMODE_LMAP)
  984:             im_save_status(&curbuf->b_p_iminsert);
  do_pending_operator():
  1472:         if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  1473:         curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  1498:         curbuf->b_visual.vi_start = VIsual;
  1499:         curbuf->b_visual.vi_end = curwin->w_cursor;
  1500:         curbuf->b_visual.vi_mode = VIsual_mode;
  1501:         curbuf->b_visual.vi_curswant = curwin->w_curswant;
  1503:         curbuf->b_visual_mode_eval = VIsual_mode;
  1719:                 && oap->end.lnum < curbuf->b_ml.ml_line_count)
  1799:     if (oap->is_VIsual && (oap->empty || !curbuf->b_p_ma
  1859:                            curbuf->b_ml.ml_line_count)
  1936:         if (curbuf->b_p_lisp)
  1945:             *curbuf->b_p_inde != NUL ? get_expr_indent :
  1969:         if (*curbuf->b_p_fex != NUL)
  op_colon():
  2110:         else if (oap->end.lnum == curbuf->b_ml.ml_line_count)
  op_function():
  2163:     curbuf->b_op_start = oap->start;
  2164:     curbuf->b_op_end = oap->end;
  2167:         decl(&curbuf->b_op_end);
  do_mouse():
  2879:         && bt_quickfix(curbuf))
  2895:     else if ((mod_mask & MOD_MASK_CTRL) || (curbuf->b_help
  end_visual_mode():
  3211:     curbuf->b_visual.vi_mode = VIsual_mode;
  3212:     curbuf->b_visual.vi_start = VIsual;
  3213:     curbuf->b_visual.vi_end = curwin->w_cursor;
  3214:     curbuf->b_visual.vi_curswant = curwin->w_curswant;
  3216:     curbuf->b_visual_mode_eval = VIsual_mode;
  check_scrollbind():
  3948:     buf_T    *old_curbuf = curbuf;
  3974:     curbuf = curwin->w_buffer;
  3993:             if (topline > curbuf->b_ml.ml_line_count)
  3994:             topline = curbuf->b_ml.ml_line_count;
  4031:     curbuf = old_curbuf;
  find_decl():
  4197:     t = searchit(curwin, curbuf, &curwin->w_cursor, FORWARD,
  nv_screengo():
  4377:         if (curwin->w_cursor.lnum == curbuf->b_ml.ml_line_count)
  nv_mousescroll():
  4440:     curbuf = curwin->w_buffer;
  4459:     curbuf = curwin->w_buffer;
  nv_zet():
  4640:     if (cap->count0 > curbuf->b_ml.ml_line_count)
  4641:         curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  4655:             if (curwin->w_botline > curbuf->b_ml.ml_line_count)
  4656:             curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  4818:             deleteFold((linenr_T)1, curbuf->b_ml.ml_line_count,
  nv_colon():
  5194:         && (cap->oap->start.lnum > curbuf->b_ml.ml_line_count
  nv_clear():
  5258:     syn_stack_free_all(curbuf);
  nv_ident():
  5406:     kp = (*curbuf->b_p_kp == NUL ? p_kp : curbuf->b_p_kp);
  5406:     kp = (*curbuf->b_p_kp == NUL ? p_kp : curbuf->b_p_kp);
  5468:         if (curbuf->b_help)
  nv_scroll():
  5645:         for (n = 0; curwin->w_topline + n < curbuf->b_ml.ml_line_count; ++n)
  5686:     if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  5687:         curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  nv_right():
  5748:             && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
  nv_down():
  5921:     if (bt_quickfix(curbuf) && cap->cmdchar == CAR)
  nv_gotofile():
  5975:     if (curbufIsChanged() && curbuf->b_nwindows <= 1 && !P_HID(curbuf))
  5975:     if (curbufIsChanged() && curbuf->b_nwindows <= 1 && !P_HID(curbuf))
  5976:         autowrite(curbuf, FALSE);
  5979:                            P_HID(curbuf) ? ECMD_HIDE : 0);
  nv_percent():
  6514:         if (curbuf->b_ml.ml_line_count > 1000000)
  6515:         curwin->w_cursor.lnum = (curbuf->b_ml.ml_line_count + 99L)
  6518:         curwin->w_cursor.lnum = (curbuf->b_ml.ml_line_count *
  6520:         if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  6521:         curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  nv_replace():
  6736:     if (had_ctrl_v != Ctrl_V && cap->nchar == '\t' && (curbuf->b_p_et || p_sta))
  6775:     curbuf->b_op_start = curwin->w_cursor;
  6813:         ptr = ml_get_buf(curbuf, curwin->w_cursor.lnum, TRUE);
  6842:     curbuf->b_op_end = curwin->w_cursor;
  nv_Replace():
  6922:     if (!curbuf->b_p_ma)
  nv_vreplace():
  6954:     if (!curbuf->b_p_ma)
  n_swapchar():
  7013:             && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
  7061:     curbuf->b_op_start = startpos;
  7062:     curbuf->b_op_end = curwin->w_cursor;
  7063:     if (curbuf->b_op_end.col > 0)
  7064:         --curbuf->b_op_end.col;
  nv_pcmark():
  7278:         if (curbuf->b_changelistlen == 0)
  nv_visual():
  7390:         if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  7391:             curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  nv_g_cmd():
  7578:     if (       curbuf->b_visual.vi_start.lnum == 0
  7579:         || curbuf->b_visual.vi_start.lnum > curbuf->b_ml.ml_line_count
  7579:         || curbuf->b_visual.vi_start.lnum > curbuf->b_ml.ml_line_count
  7580:         || curbuf->b_visual.vi_end.lnum == 0)
  7588:         VIsual_mode = curbuf->b_visual.vi_mode;
  7589:         curbuf->b_visual.vi_mode = i;
  7591:         curbuf->b_visual_mode_eval = i;
  7594:         curwin->w_curswant = curbuf->b_visual.vi_curswant;
  7595:         curbuf->b_visual.vi_curswant = i;
  7597:         tpos = curbuf->b_visual.vi_end;
  7598:         curbuf->b_visual.vi_end = curwin->w_cursor;
  7599:         curwin->w_cursor = curbuf->b_visual.vi_start;
  7600:         curbuf->b_visual.vi_start = VIsual;
  7604:         VIsual_mode = curbuf->b_visual.vi_mode;
  7605:         curwin->w_curswant = curbuf->b_visual.vi_curswant;
  7606:         tpos = curbuf->b_visual.vi_end;
  7607:         curwin->w_cursor = curbuf->b_visual.vi_start;
  7884:     if (curbuf->b_last_insert.lnum != 0)
  7886:         curwin->w_cursor = curbuf->b_last_insert;
  nv_goto():
  8569:     lnum = curbuf->b_ml.ml_line_count;
  8580:     else if (lnum > curbuf->b_ml.ml_line_count)
  8581:     lnum = curbuf->b_ml.ml_line_count;
  nv_edit():
  8720:     else if (!curbuf->b_p_ma && !p_im)
  nv_object():
  8836:     mps_save = curbuf->b_p_mps;
  8837:     curbuf->b_p_mps = (char_u *)"(:),{:},[:],<:>";
  8890:     curbuf->b_p_mps = mps_save;
  nv_halfpage():
  8966:         && curwin->w_cursor.lnum == curbuf->b_ml.ml_line_count))
  nv_join():
  8989:                            curbuf->b_ml.ml_line_count)
  nv_put():
  9069:         empty = (curbuf->b_ml.ml_flags & ML_EMPTY);
  9093:             && curwin->w_cursor.col < curbuf->b_op_start.col)
  9095:             && curwin->w_cursor.lnum < curbuf->b_op_start.lnum))
  9112:         curbuf->b_visual.vi_start = curbuf->b_op_start;
  9112:         curbuf->b_visual.vi_start = curbuf->b_op_start;
  9113:         curbuf->b_visual.vi_end = curbuf->b_op_end;
  9113:         curbuf->b_visual.vi_end = curbuf->b_op_end;
  9118:     if (empty && *ml_get(curbuf->b_ml.ml_line_count) == NUL)
  9120:         ml_delete(curbuf->b_ml.ml_line_count, TRUE);
  9124:         if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  9126:         curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  nv_cursorhold():
  9199:     apply_autocmds(EVENT_CURSORHOLD, NULL, NULL, FALSE, curbuf);
ops.c (106 uses)
  op_shift():
  312:     curbuf->b_op_start = oap->start;
  313:     curbuf->b_op_end.lnum = oap->end.lnum;
  314:     curbuf->b_op_end.col = (colnr_T)STRLEN(ml_get(oap->end.lnum));
  315:     if (curbuf->b_op_end.col > 0)
  316:     --curbuf->b_op_end.col;
  shift_line():
  332:     int        p_sw = (int)curbuf->b_p_sw;
  shift_block():
  388:     int            p_sw = (int)curbuf->b_p_sw;
  389:     int            p_ts = (int)curbuf->b_p_ts;
  438:     if (!curbuf->b_p_et)
  478:         if (!curbuf->b_p_et)
  510:     if (j / p_ts && !curbuf->b_p_et)
  block_insert():
  627:         curbuf->b_op_end.lnum = oap->end.lnum;
  628:         curbuf->b_op_end.col = offset;
  op_reindent():
  655:     if (!curbuf->b_p_ma)
  725:     curbuf->b_op_start = oap->start;
  726:     curbuf->b_op_end = oap->end;
  get_spec_reg():
  1443:         *argp = curbuf->b_fname;
  op_delete():
  1583:     linenr_T        old_lcount = curbuf->b_ml.ml_line_count;
  1586:     if (curbuf->b_ml.ml_flags & ML_EMPTY)        /* nothing to do */
  1593:     if (!curbuf->b_p_ma)
  1792:         if (curbuf->b_p_ai)            /* don't delete indent */
  1927:     msgmore(curbuf->b_ml.ml_line_count - old_lcount);
  1935:     curbuf->b_op_end.lnum = oap->end.lnum;
  1936:     curbuf->b_op_end.col = oap->start.col;
  1940:     curbuf->b_op_end = oap->start;
  1941:     curbuf->b_op_start = oap->start;
  op_replace():
  1982:     if ((curbuf->b_ml.ml_flags & ML_EMPTY ) || oap->empty)
  2144:             pchar(curwin->w_cursor, c);
  2163:             pchar(curwin->w_cursor, c);
  2181:     curbuf->b_op_start = oap->start;
  2182:     curbuf->b_op_end = oap->end;
  op_tilde():
  2298:     curbuf->b_op_start = oap->start;
  2299:     curbuf->b_op_end = oap->end;
  swapchar():
  2408:         pchar(*pos, nc);
  op_change():
  2584:     if (!p_paste && curbuf->b_p_si
  2586:         && !curbuf->b_p_cin
  2595:     if (curbuf->b_ml.ml_flags & ML_EMPTY)
  op_yank():
  3066:     curbuf->b_op_start = oap->start;
  3067:     curbuf->b_op_end = oap->end;
  3074:     curbuf->b_op_start.col = 0;
  3075:     curbuf->b_op_end.col = MAXCOL;
  do_put():
  3229:     curbuf->b_op_start = curwin->w_cursor;    /* default for '[ mark */
  3230:     curbuf->b_op_end = curwin->w_cursor;    /* default for '] mark */
  3341:         curwin->w_cursor = curbuf->b_visual.vi_end;
  3344:     curbuf->b_op_start = curwin->w_cursor;    /* default for '[ mark */
  3345:     curbuf->b_op_end = curwin->w_cursor;    /* default for '] mark */
  3363:     if (lnum > curbuf->b_ml.ml_line_count)
  3364:         lnum = curbuf->b_ml.ml_line_count + 1;
  3390:     curbuf->b_op_start = curwin->w_cursor;    /* for mark_adjust() */
  3406:             ? (int)curwin->w_cursor.coladd < curbuf->b_p_ts - 1
  3485:         if (curwin->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  3487:         if (ml_append(curbuf->b_ml.ml_line_count, (char_u *)"",
  3577:     curbuf->b_op_start = curwin->w_cursor;
  3578:     curbuf->b_op_start.lnum = lnum;
  3581:     curbuf->b_op_end.lnum = curwin->w_cursor.lnum - 1;
  3582:     curbuf->b_op_end.col = bd.textcol + totlen - 1;
  3584:     curbuf->b_op_end.coladd = 0;
  3590:         curwin->w_cursor = curbuf->b_op_end;
  3623:             curbuf->b_op_end.col += bytelen;
  3633:             ++curbuf->b_op_end.col;
  3637:         curbuf->b_op_start = curwin->w_cursor;
  3670:         curbuf->b_op_end = curwin->w_cursor;
  3761:         curbuf->b_op_start.col = 0;
  3763:             curbuf->b_op_start.lnum++;
  3765:         mark_adjust(curbuf->b_op_start.lnum + (y_type == MCHAR),
  3773:         changed_lines(curbuf->b_op_start.lnum, 0,
  3774:                        curbuf->b_op_start.lnum, nr_lines);
  3777:         curbuf->b_op_end.lnum = lnum;
  3781:         curbuf->b_op_end.col = col - 1;
  3783:         curbuf->b_op_end.col = 0;
  3796:             if (lnum >= curbuf->b_ml.ml_line_count)
  3797:             curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  preprocs_left():
  3874:     (curbuf->b_p_si && !curbuf->b_p_cin) ||
  3874:     (curbuf->b_p_si && !curbuf->b_p_cin) ||
  3880:     (curbuf->b_p_cin && in_cinkeys('#', ' ', TRUE))
  ex_display():
  4026:     if (curbuf->b_fname != NULL
  4030:     dis_msg(curbuf->b_fname, FALSE);
  do_join():
  4162:     if (curwin->w_cursor.lnum == curbuf->b_ml.ml_line_count)
  op_format():
  4358:     long    old_line_count = curbuf->b_ml.ml_line_count;
  4376:     curbuf->b_op_start = oap->start;
  4390:     if (oap->end_adjusted && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count)
  4393:     old_line_count = curbuf->b_ml.ml_line_count - old_line_count;
  4397:     curbuf->b_op_end = curwin->w_cursor;
  fex_format():
  4481:     r = eval_to_number(curbuf->b_p_fex);
  format_lines():
  4578:     if (count == 1 || curwin->w_cursor.lnum == curbuf->b_ml.ml_line_count)
  4619:             && curwin->w_cursor.lnum < curbuf->b_ml.ml_line_count
  4636:         if (curwin->w_cursor.lnum >= curbuf->b_ml.ml_line_count
  do_addsub():
  5058:     dohex = (vim_strchr(curbuf->b_p_nf, 'x') != NULL);    /* "heX" */
  5059:     dooct = (vim_strchr(curbuf->b_p_nf, 'o') != NULL);    /* "Octal" */
  5060:     doalp = (vim_strchr(curbuf->b_p_nf, 'p') != NULL);    /* "alPha" */
  clip_get_selection():
  5608:     old_op_start = curbuf->b_op_start;
  5609:     old_op_end = curbuf->b_op_end;
  5629:     curbuf->b_op_start = old_op_start;
  5630:     curbuf->b_op_end = old_op_end;
  cursor_pos_info():
  6233:     if (curbuf->b_ml.ml_flags & ML_EMPTY)
  6239:     if (get_fileformat(curbuf) == EOL_DOS)
  6281:     for (lnum = 1; lnum <= curbuf->b_ml.ml_line_count; ++lnum)
  6333:             if (lnum == curbuf->b_ml.ml_line_count
  6334:                 && !curbuf->b_p_eol
  6335:                 && curbuf->b_p_bin
  6360:     if (!curbuf->b_p_eol && curbuf->b_p_bin)
  6360:     if (!curbuf->b_p_eol && curbuf->b_p_bin)
  6380:             (long)curbuf->b_ml.ml_line_count,
  6386:             (long)curbuf->b_ml.ml_line_count,
  6405:             (long)curbuf->b_ml.ml_line_count,
  6412:             (long)curbuf->b_ml.ml_line_count,
option.c (213 uses)
  set_init_1():
  3166:     curbuf->b_p_initialized = TRUE;
  3167:     curbuf->b_p_ar = -1;    /* no local 'autoread' value */
  3168:     check_buf_options(curbuf);
  3221:     save_file_ff(curbuf);    /* Buffer is unchanged */
  do_set():
  4208:                 last_set_msg(curbuf->b_p_scriptID[
  4254:             if ((int *)varp == &curbuf->b_p_ar
  set_options_bin():
  4884:         curbuf->b_p_tw_nobin = curbuf->b_p_tw;
  4884:         curbuf->b_p_tw_nobin = curbuf->b_p_tw;
  4885:         curbuf->b_p_wm_nobin = curbuf->b_p_wm;
  4885:         curbuf->b_p_wm_nobin = curbuf->b_p_wm;
  4886:         curbuf->b_p_ml_nobin = curbuf->b_p_ml;
  4886:         curbuf->b_p_ml_nobin = curbuf->b_p_ml;
  4887:         curbuf->b_p_et_nobin = curbuf->b_p_et;
  4887:         curbuf->b_p_et_nobin = curbuf->b_p_et;
  4900:         curbuf->b_p_tw = 0;    /* no automatic line wrap */
  4901:         curbuf->b_p_wm = 0;    /* no automatic line wrap */
  4902:         curbuf->b_p_ml = 0;    /* no modelines */
  4903:         curbuf->b_p_et = 0;    /* no expandtab */
  4918:         curbuf->b_p_tw = curbuf->b_p_tw_nobin;
  4918:         curbuf->b_p_tw = curbuf->b_p_tw_nobin;
  4919:         curbuf->b_p_wm = curbuf->b_p_wm_nobin;
  4919:         curbuf->b_p_wm = curbuf->b_p_wm_nobin;
  4920:         curbuf->b_p_ml = curbuf->b_p_ml_nobin;
  4920:         curbuf->b_p_ml = curbuf->b_p_ml_nobin;
  4921:         curbuf->b_p_et = curbuf->b_p_et_nobin;
  4921:         curbuf->b_p_et = curbuf->b_p_et_nobin;
  didset_options():
  5050:     (void)compile_cap_prog(curbuf);
  insecure_flag():
  5272:         case PV_INDE:    return &curbuf->b_p_inde_flags;
  5274:         case PV_FEX:    return &curbuf->b_p_fex_flags;
  5276:         case PV_INEX:    return &curbuf->b_p_inex_flags;
  did_set_string_option():
  5496:         || varp == &(curbuf->b_p_isk)
  5676:         if (!curbuf->b_p_ma && opt_flags != OPT_GLOBAL)
  5689:         ml_setflags(curbuf);
  5802:     if (!curbuf->b_p_ma && !(opt_flags & OPT_GLOBAL))
  5809:         if (get_fileformat(curbuf) == EOL_DOS)
  5810:         curbuf->b_p_tx = TRUE;
  5812:         curbuf->b_p_tx = FALSE;
  5817:         ml_setflags(curbuf);
  6272:     else if (varp == &(curbuf->b_p_spl) || varp == &(curbuf->b_p_spf))
  6272:     else if (varp == &(curbuf->b_p_spl) || varp == &(curbuf->b_p_spf))
  6277:     if (varp == &(curbuf->b_p_spf))
  6279:         l = (int)STRLEN(curbuf->b_p_spf);
  6280:         if (l > 0 && (l < 4 || STRCMP(curbuf->b_p_spf + l - 4,
  6288:         if (wp->w_buffer == curbuf && wp->w_p_spell)
  6290:             errmsg = did_set_spelllang(curbuf);
  6298:     else if (varp == &(curbuf->b_p_spc))
  6300:     errmsg = compile_cap_prog(curbuf);
  6320:     if (check_opt_strings(curbuf->b_p_bh, p_bufhidden_values, FALSE) != OK)
  6327:     if (check_opt_strings(curbuf->b_p_bt, p_buftype_values, FALSE) != OK)
  6338:         curbuf->b_help = (curbuf->b_p_bt[0] == 'h');
  6338:         curbuf->b_help = (curbuf->b_p_bt[0] == 'h');
  6606:     else if (varp == &(curbuf->b_p_fo))
  6686:     if (varp == &(curbuf->b_p_syn))
  6688:         apply_autocmds(EVENT_SYNTAX, curbuf->b_p_syn,
  6689:                            curbuf->b_fname, TRUE, curbuf);
  6689:                            curbuf->b_fname, TRUE, curbuf);
  6692:     else if (varp == &(curbuf->b_p_ft))
  6696:         apply_autocmds(EVENT_FILETYPE, curbuf->b_p_ft,
  6697:                            curbuf->b_fname, TRUE, curbuf);
  6697:                            curbuf->b_fname, TRUE, curbuf);
  6701:     if (varp == &(curbuf->b_p_spl))
  6711:         for (p = curbuf->b_p_spl; *p != NUL; ++p)
  6715:                  (int)(p - curbuf->b_p_spl), curbuf->b_p_spl);
  6715:                  (int)(p - curbuf->b_p_spl), curbuf->b_p_spl);
  set_option_scriptID_idx():
  7060:         curbuf->b_p_scriptID[indir & PV_MASK] = id;
  set_bool_option():
  7112:     else if ((int *)varp == &curbuf->b_p_ro)
  7115:     if (!curbuf->b_p_ro && (opt_flags & OPT_LOCAL) == 0)
  7119:     if (curbuf->b_p_ro)
  7120:         curbuf->b_did_warn = FALSE;
  7129:     else if ((int *)varp == &curbuf->b_p_ma)
  7132:     else if ((int *)varp == &curbuf->b_p_eol)
  7136:     else if ((int *)varp == &curbuf->b_p_bomb)
  7142:     else if ((int *)varp == &curbuf->b_p_bin)
  7144:     set_options_bin(old_value, curbuf->b_p_bin, opt_flags);
  7152:     else if ((int *)varp == &curbuf->b_p_bl && old_value != curbuf->b_p_bl)
  7152:     else if ((int *)varp == &curbuf->b_p_bl && old_value != curbuf->b_p_bl)
  7154:     apply_autocmds(curbuf->b_p_bl ? EVENT_BUFADD : EVENT_BUFDELETE,
  7155:                             NULL, NULL, TRUE, curbuf);
  7160:     else if ((int *)varp == &curbuf->b_p_swf)
  7162:     if (curbuf->b_p_swf && p_uc)
  7163:         ml_open_file(curbuf);        /* create the swap file */
  7167:         mf_close_file(curbuf, TRUE);    /* remove the swap file */
  7257:     else if ((int *)varp == &curbuf->b_p_tx)
  7259:     set_fileformat(curbuf->b_p_tx ? EOL_DOS : EOL_UNIX, opt_flags);
  7273:     else if (varp == (char_u *)&(curbuf->b_p_lisp))
  7275:     (void)buf_init_chartab(curbuf, FALSE);        /* ignore errors */
  7292:     else if ((int *)varp == &curbuf->b_changed)
  7295:         save_file_ff(curbuf);    /* Buffer is unchanged */
  7404:         char_u    *errmsg = did_set_spelllang(curbuf);
  set_num_option():
  7607:     if (curbuf->b_p_sw <= 0)
  7610:     curbuf->b_p_sw = curbuf->b_p_ts;
  7610:     curbuf->b_p_sw = curbuf->b_p_ts;
  7640:         if (pp == &p_hh && curbuf->b_help && curwin->w_height < p_hh)
  7761:     else if (pp == &curbuf->b_p_sw || pp == &curbuf->b_p_ts)
  7761:     else if (pp == &curbuf->b_p_sw || pp == &curbuf->b_p_ts)
  7780:     else if (pp == &curbuf->b_p_iminsert)
  7782:     if (curbuf->b_p_iminsert < 0 || curbuf->b_p_iminsert > B_IMODE_LAST)
  7782:     if (curbuf->b_p_iminsert < 0 || curbuf->b_p_iminsert > B_IMODE_LAST)
  7785:         curbuf->b_p_iminsert = B_IMODE_NONE;
  7787:     p_iminsert = curbuf->b_p_iminsert;
  7804:     else if (pp == &curbuf->b_p_imsearch)
  7806:     if (curbuf->b_p_imsearch < -1 || curbuf->b_p_imsearch > B_IMODE_LAST)
  7806:     if (curbuf->b_p_imsearch < -1 || curbuf->b_p_imsearch > B_IMODE_LAST)
  7809:         curbuf->b_p_imsearch = B_IMODE_NONE;
  7811:     p_imsearch = curbuf->b_p_imsearch;
  7954:     if (curbuf->b_p_sts < 0)
  7957:     curbuf->b_p_sts = 0;
  7959:     if (curbuf->b_p_ts <= 0)
  7962:     curbuf->b_p_ts = 8;
  7964:     if (curbuf->b_p_tw < 0)
  7967:     curbuf->b_p_tw = 0;
  get_option_value():
  8180:         if ((char_u **)varp == &curbuf->b_p_key)
  8197:     if ((int *)varp == &curbuf->b_changed)
  showoneopt():
  8499:     if ((p->flags & P_BOOL) && ((int *)varp == &curbuf->b_changed
  get_varp_scope():
  8931:         case PV_EFM:  return (char_u *)&(curbuf->b_p_efm);
  8932:         case PV_GP:   return (char_u *)&(curbuf->b_p_gp);
  8933:         case PV_MP:   return (char_u *)&(curbuf->b_p_mp);
  8935:         case PV_EP:   return (char_u *)&(curbuf->b_p_ep);
  8936:         case PV_KP:   return (char_u *)&(curbuf->b_p_kp);
  8937:         case PV_PATH: return (char_u *)&(curbuf->b_p_path);
  8938:         case PV_AR:   return (char_u *)&(curbuf->b_p_ar);
  8939:         case PV_TAGS: return (char_u *)&(curbuf->b_p_tags);
  8941:         case PV_DEF:  return (char_u *)&(curbuf->b_p_def);
  8942:         case PV_INC:  return (char_u *)&(curbuf->b_p_inc);
  8945:         case PV_DICT: return (char_u *)&(curbuf->b_p_dict);
  8946:         case PV_TSR:  return (char_u *)&(curbuf->b_p_tsr);
  get_varp():
  8976:     case PV_EP:    return *curbuf->b_p_ep != NUL
  8977:                     ? (char_u *)&curbuf->b_p_ep : p->var;
  8978:     case PV_KP:    return *curbuf->b_p_kp != NUL
  8979:                     ? (char_u *)&curbuf->b_p_kp : p->var;
  8980:     case PV_PATH:    return *curbuf->b_p_path != NUL
  8981:                     ? (char_u *)&(curbuf->b_p_path) : p->var;
  8982:     case PV_AR:    return curbuf->b_p_ar >= 0
  8983:                     ? (char_u *)&(curbuf->b_p_ar) : p->var;
  8984:     case PV_TAGS:    return *curbuf->b_p_tags != NUL
  8985:                     ? (char_u *)&(curbuf->b_p_tags) : p->var;
  8987:     case PV_DEF:    return *curbuf->b_p_def != NUL
  8988:                     ? (char_u *)&(curbuf->b_p_def) : p->var;
  8989:     case PV_INC:    return *curbuf->b_p_inc != NUL
  8990:                     ? (char_u *)&(curbuf->b_p_inc) : p->var;
  8993:     case PV_DICT:    return *curbuf->b_p_dict != NUL
  8994:                     ? (char_u *)&(curbuf->b_p_dict) : p->var;
  8995:     case PV_TSR:    return *curbuf->b_p_tsr != NUL
  8996:                     ? (char_u *)&(curbuf->b_p_tsr) : p->var;
  8999:     case PV_EFM:    return *curbuf->b_p_efm != NUL
  9000:                     ? (char_u *)&(curbuf->b_p_efm) : p->var;
  9001:     case PV_GP:    return *curbuf->b_p_gp != NUL
  9002:                     ? (char_u *)&(curbuf->b_p_gp) : p->var;
  9003:     case PV_MP:    return *curbuf->b_p_mp != NUL
  9004:                     ? (char_u *)&(curbuf->b_p_mp) : p->var;
  9069:     case PV_AI:    return (char_u *)&(curbuf->b_p_ai);
  9070:     case PV_BIN:    return (char_u *)&(curbuf->b_p_bin);
  9072:     case PV_BOMB:    return (char_u *)&(curbuf->b_p_bomb);
  9075:     case PV_BH:    return (char_u *)&(curbuf->b_p_bh);
  9076:     case PV_BT:    return (char_u *)&(curbuf->b_p_bt);
  9078:     case PV_BL:    return (char_u *)&(curbuf->b_p_bl);
  9079:     case PV_CI:    return (char_u *)&(curbuf->b_p_ci);
  9081:     case PV_CIN:    return (char_u *)&(curbuf->b_p_cin);
  9082:     case PV_CINK:    return (char_u *)&(curbuf->b_p_cink);
  9083:     case PV_CINO:    return (char_u *)&(curbuf->b_p_cino);
  9086:     case PV_CINW:    return (char_u *)&(curbuf->b_p_cinw);
  9089:     case PV_COM:    return (char_u *)&(curbuf->b_p_com);
  9092:     case PV_CMS:    return (char_u *)&(curbuf->b_p_cms);
  9095:     case PV_CPT:    return (char_u *)&(curbuf->b_p_cpt);
  9098:     case PV_CFU:    return (char_u *)&(curbuf->b_p_cfu);
  9099:     case PV_OFU:    return (char_u *)&(curbuf->b_p_ofu);
  9101:     case PV_EOL:    return (char_u *)&(curbuf->b_p_eol);
  9102:     case PV_ET:    return (char_u *)&(curbuf->b_p_et);
  9104:     case PV_FENC:    return (char_u *)&(curbuf->b_p_fenc);
  9106:     case PV_FF:    return (char_u *)&(curbuf->b_p_ff);
  9108:     case PV_FT:    return (char_u *)&(curbuf->b_p_ft);
  9110:     case PV_FO:    return (char_u *)&(curbuf->b_p_fo);
  9111:     case PV_FLP:    return (char_u *)&(curbuf->b_p_flp);
  9112:     case PV_IMI:    return (char_u *)&(curbuf->b_p_iminsert);
  9113:     case PV_IMS:    return (char_u *)&(curbuf->b_p_imsearch);
  9114:     case PV_INF:    return (char_u *)&(curbuf->b_p_inf);
  9115:     case PV_ISK:    return (char_u *)&(curbuf->b_p_isk);
  9118:     case PV_INEX:    return (char_u *)&(curbuf->b_p_inex);
  9122:     case PV_INDE:    return (char_u *)&(curbuf->b_p_inde);
  9123:     case PV_INDK:    return (char_u *)&(curbuf->b_p_indk);
  9126:     case PV_FEX:    return (char_u *)&(curbuf->b_p_fex);
  9129:     case PV_KEY:    return (char_u *)&(curbuf->b_p_key);
  9132:     case PV_LISP:    return (char_u *)&(curbuf->b_p_lisp);
  9134:     case PV_ML:    return (char_u *)&(curbuf->b_p_ml);
  9135:     case PV_MPS:    return (char_u *)&(curbuf->b_p_mps);
  9136:     case PV_MA:    return (char_u *)&(curbuf->b_p_ma);
  9137:     case PV_MOD:    return (char_u *)&(curbuf->b_changed);
  9138:     case PV_NF:    return (char_u *)&(curbuf->b_p_nf);
  9142:     case PV_PI:    return (char_u *)&(curbuf->b_p_pi);
  9144:     case PV_QE:    return (char_u *)&(curbuf->b_p_qe);
  9146:     case PV_RO:    return (char_u *)&(curbuf->b_p_ro);
  9148:     case PV_SI:    return (char_u *)&(curbuf->b_p_si);
  9151:     case PV_SN:    return (char_u *)&(curbuf->b_p_sn);
  9153:     case PV_STS:    return (char_u *)&(curbuf->b_p_sts);
  9155:     case PV_SUA:    return (char_u *)&(curbuf->b_p_sua);
  9157:     case PV_SWF:    return (char_u *)&(curbuf->b_p_swf);
  9159:     case PV_SMC:    return (char_u *)&(curbuf->b_p_smc);
  9160:     case PV_SYN:    return (char_u *)&(curbuf->b_p_syn);
  9163:     case PV_SPC:    return (char_u *)&(curbuf->b_p_spc);
  9164:     case PV_SPF:    return (char_u *)&(curbuf->b_p_spf);
  9165:     case PV_SPL:    return (char_u *)&(curbuf->b_p_spl);
  9167:     case PV_SW:    return (char_u *)&(curbuf->b_p_sw);
  9168:     case PV_TS:    return (char_u *)&(curbuf->b_p_ts);
  9169:     case PV_TW:    return (char_u *)&(curbuf->b_p_tw);
  9170:     case PV_TX:    return (char_u *)&(curbuf->b_p_tx);
  9171:     case PV_WM:    return (char_u *)&(curbuf->b_p_wm);
  9178:     return (char_u *)&(curbuf->b_p_wm);
  get_equalprg():
  9187:     if (*curbuf->b_p_ep == NUL)
  9189:     return curbuf->b_p_ep;
  reset_modifiable():
  9586:     curbuf->b_p_ma = FALSE;
  set_iminsert_global():
  9599:     p_iminsert = curbuf->b_p_iminsert;
  set_imsearch_global():
  9608:     p_imsearch = curbuf->b_p_imsearch;
  has_format_option():
  10236:     return (vim_strchr(curbuf->b_p_fo, x) != NULL);
os_unix.c (7 uses)
  append_ga_line():
  3553:         && !curbuf->b_p_bin
  mch_call_shell():
  4077:             linenr_T    lnum = curbuf->b_op_start.lnum;
  4103:                 if (lnum != curbuf->b_op_end.lnum
  4104:                     || !curbuf->b_p_bin
  4107:                             curbuf->b_ml.ml_line_count
  4108:                             || curbuf->b_p_eol)))
  4111:                 if (lnum > curbuf->b_op_end.lnum)
popupmnu.c (7 uses)
  pum_set_selected():
  551:         if (curbuf->b_fname == NULL
  552:             && curbuf->b_p_bt[0] == 'n' && curbuf->b_p_bt[2] == 'f'
  552:             && curbuf->b_p_bt[0] == 'n' && curbuf->b_p_bt[2] == 'f'
  553:             && curbuf->b_p_bh[0] == 'w')
  556:             while (!bufempty())
  613:             curbuf->b_changed = 0;
  614:             curbuf->b_p_ma = FALSE;
quickfix.c (38 uses)
  qf_init():
  169:     return qf_init_ext(qi, efile, curbuf, NULL, errorformat, newlist,
  qf_jump():
  1578:     if (bt_quickfix(curbuf) && !opened_window)
  1620:     if (((firstwin == lastwin) && bt_quickfix(curbuf)) || !usable_win)
  1729:     old_curbuf = curbuf;
  1738:         if (!can_abandon(curbuf, forceit))
  1755:     if (curbuf == old_curbuf)
  1766:         if (i > curbuf->b_ml.ml_line_count)
  1767:             i = curbuf->b_ml.ml_line_count;
  1833:         if (curbuf == old_curbuf && curwin->w_cursor.lnum == old_lnum)
  qf_mark_adjust():
  2128:         if (qfp->qf_fnum == curbuf->b_fnum)
  qf_win_pos_update():
  2405:     curbuf = win->w_buffer;
  2422:     curbuf = curwin->w_buffer;
  qf_fill_buffer():
  2526:     while ((curbuf->b_ml.ml_flags & ML_EMPTY) == 0)
  2595:     curbuf->b_p_ma = FALSE;
  2599:                                    FALSE, curbuf);
  2601:                                    FALSE, curbuf);
  grep_internal():
  2687:         && STRCMP("internal",
  2687:         && STRCMP("internal",
  ex_make():
  2720:                            curbuf->b_fname, TRUE, curbuf);
  2720:                            curbuf->b_fname, TRUE, curbuf);
  2784:                            curbuf->b_fname, TRUE, curbuf);
  2784:                            curbuf->b_fname, TRUE, curbuf);
  ex_vimgrep():
  3017:                            curbuf->b_fname, TRUE, curbuf);
  3017:                            curbuf->b_fname, TRUE, curbuf);
  3274:                            curbuf->b_fname, TRUE, curbuf);
  3274:                            curbuf->b_fname, TRUE, curbuf);
  3282:         buf = curbuf;
  3284:         if (buf != curbuf)
  3290:         if (curbuf == first_match_buf && target_dir != NULL)
  load_dummy_buffer():
  3399:     (void)setfname(curbuf, fname, NULL, FALSE);
  3401:     if (ml_open(curbuf) == OK)
  3408:     curbuf->b_flags &= ~BF_DUMMY;
  3414:         && !(curbuf->b_flags & BF_NEW))
  3417:         if (curbuf != newbuf)
  3422:         newbuf = curbuf;
  wipe_dummy_buffer():
  3447:     if (curbuf != buf)        /* safety check */
  unload_dummy_buffer():
  3475:     if (curbuf != buf)        /* safety check */
  ex_cbuffer():
  3679:     buf = curbuf;
regexp.c (21 uses)
  vim_regexec_multi():
  3338:     buf_T    *save_curbuf = curbuf;
  3354:     curbuf = buf;
  3356:     curbuf = save_curbuf;
  regmatch():
  3920:         if (reg_buf != curbuf || VIsual.lnum == 0)
  3946:             if (lt(curbuf->b_visual.vi_start, curbuf->b_visual.vi_end))
  3946:             if (lt(curbuf->b_visual.vi_start, curbuf->b_visual.vi_end))
  3946:             if (lt(curbuf->b_visual.vi_start, curbuf->b_visual.vi_end))
  3946:             if (lt(curbuf->b_visual.vi_start, curbuf->b_visual.vi_end))
  3946:             if (lt(curbuf->b_visual.vi_start, curbuf->b_visual.vi_end))
  3946:             if (lt(curbuf->b_visual.vi_start, curbuf->b_visual.vi_end))
  3946:             if (lt(curbuf->b_visual.vi_start, curbuf->b_visual.vi_end))
  3946:             if (lt(curbuf->b_visual.vi_start, curbuf->b_visual.vi_end))
  3946:             if (lt(curbuf->b_visual.vi_start, curbuf->b_visual.vi_end))
  3946:             if (lt(curbuf->b_visual.vi_start, curbuf->b_visual.vi_end))
  3948:             top = curbuf->b_visual.vi_start;
  3949:             bot = curbuf->b_visual.vi_end;
  3953:             top = curbuf->b_visual.vi_end;
  3954:             bot = curbuf->b_visual.vi_start;
  3956:             mode = curbuf->b_visual.vi_mode;
  vim_regsub_multi():
  6865:     reg_buf = curbuf;        /* always works on the current buffer! */
  6867:     reg_maxline = curbuf->b_ml.ml_line_count - lnum;
screen.c (11 uses)
  redraw_curbuf_later():
  248:     redraw_buf_later(curbuf, type);
  update_screen():
  558:     if (!did_intro && bufempty()
  559:         && curbuf->b_fname == NULL
  win_update():
  1942:         i = curbuf->b_mod_set;
  1943:         curbuf->b_mod_set = FALSE;
  1946:         curbuf->b_mod_set = i;
  status_redraw_curbuf():
  5355:     if (wp->w_status_height != 0 && wp->w_buffer == curbuf)
  get_keymap_str():
  5932:     buf_T    *old_curbuf = curbuf;
  5936:     curbuf = wp->w_buffer;
  5942:     curbuf = old_curbuf;
  screenalloc():
  7599:     apply_autocmds(EVENT_VIMRESIZED, NULL, NULL, FALSE, curbuf);
search.c (42 uses)
  ignorecase():
  361:                 && !(ctrl_x_mode && curbuf->b_p_inf)
  do_search():
  1282:             pos.lnum = curbuf->b_ml.ml_line_count + 1;
  1293:     c = searchit(curwin, curbuf, &pos, dirc == '/' ? FORWARD : BACKWARD,
  1322:         else if (c > curbuf->b_ml.ml_line_count)
  1323:             pos.lnum = curbuf->b_ml.ml_line_count;
  findmatchlimit():
  1689:     int        lisp = curbuf->b_p_lisp; /* engage Lisp-specific hacks ;) */
  1723:     for (ptr = curbuf->b_p_mps; *ptr; ptr += 2)
  1826:             for (ptr = curbuf->b_p_mps; *ptr; ++ptr)
  1895:             if (pos.lnum == curbuf->b_ml.ml_line_count)
  2027:         if (pos.lnum == curbuf->b_ml.ml_line_count  /* end of file */
  2275:         if (curbuf->b_p_lisp
  check_linecomment():
  2334:     if (curbuf->b_p_lisp)
  showmatch():
  2405:     for (p = curbuf->b_p_mps; *p != NUL; p += 2)
  findsent():
  2532:         if (pos.lnum == curbuf->b_ml.ml_line_count)
  findpar():
  2671:         if ((curr += dir) < 1 || curr > curbuf->b_ml.ml_line_count)
  2684:     if (curr == curbuf->b_ml.ml_line_count && what != '}')
  fwd_word():
  2848:     last_line = (curwin->w_cursor.lnum == curbuf->b_ml.ml_line_count);
  current_par():
  3994:                (dir == BACKWARD ? 1 : curbuf->b_ml.ml_line_count))
  4013:                         ? 1 : curbuf->b_ml.ml_line_count))
  4025:                         ? 1 : curbuf->b_ml.ml_line_count))
  4059:     while (end_lnum <= curbuf->b_ml.ml_line_count && linewhite(end_lnum))
  4068:     if (end_lnum == curbuf->b_ml.ml_line_count)
  4080:         while (end_lnum < curbuf->b_ml.ml_line_count
  4093:         while (end_lnum < curbuf->b_ml.ml_line_count
  current_quote():
  4277:                                   curbuf->b_p_qe);
  4291:                                   curbuf->b_p_qe);
  4333:                                   curbuf->b_p_qe);
  4346:     col_start = find_prev_quote(line, col_start, quotechar, curbuf->b_p_qe);
  4357:                                   curbuf->b_p_qe);
  find_pattern_in_path():
  4505:     char_u    *curr_fname = curbuf->b_fname;
  4566:     inc_opt = (*curbuf->b_p_inc == NUL) ? p_inc : curbuf->b_p_inc;
  4566:     inc_opt = (*curbuf->b_p_inc == NUL) ? p_inc : curbuf->b_p_inc;
  4574:     if (type == FIND_DEFINE && (*curbuf->b_p_def != NUL || *p_def != NUL))
  4576:     def_regmatch.regprog = vim_regcomp(*curbuf->b_p_def == NUL
  4577:                ? p_def : curbuf->b_p_def, p_magic ? RE_MAGIC : 0);
  4590:     if (end_lnum > curbuf->b_ml.ml_line_count)
  4591:     end_lnum = curbuf->b_ml.ml_line_count;
  4601:         char_u *p_fname = (curr_fname == curbuf->b_fname)
  4602:                           ? curbuf->b_ffname : curr_fname;
  4958:             curr_fname == curbuf->b_fname ? NULL : curr_fname,
  5113:         curr_fname = (depth == -1) ? curbuf->b_fname
  show_pat_in_path():
  5236:         if (++*lnum > curbuf->b_ml.ml_line_count)
spell.c (62 uses)
  spell_load_lang():
  2355:                           curbuf->b_fname, FALSE, curbuf))
  2355:                           curbuf->b_fname, FALSE, curbuf))
  spell_reload_one():
  4694:     did_set_spelllang(curbuf);
  spell_add_word():
  9313:     if (*curbuf->b_p_spf == NUL)
  9319:     if (*curbuf->b_p_spf == NUL)
  9325:     for (spf = curbuf->b_p_spf, i = 1; *spf != NUL; ++i)
  init_spellfile():
  9451:     char_u    *lstart = curbuf->b_p_spl;
  9453:     if (*curbuf->b_p_spl != NUL && curbuf->b_langp.ga_len > 0)
  9453:     if (*curbuf->b_p_spl != NUL && curbuf->b_langp.ga_len > 0)
  9457:     for (lend = curbuf->b_p_spl; *lend != NUL
  9473:         vim_strncpy(buf, curbuf->b_p_spl, lstart - curbuf->b_p_spl - 1);
  9473:         vim_strncpy(buf, curbuf->b_p_spl, lstart - curbuf->b_p_spl - 1);
  9482:             vim_strncpy(buf, curbuf->b_p_spl, lend - curbuf->b_p_spl);
  9482:             vim_strncpy(buf, curbuf->b_p_spl, lend - curbuf->b_p_spl);
  9496:         fname = LANGP_ENTRY(curbuf->b_langp, 0)->lp_slang->sl_fname;
  check_need_cap():
  10275:     if (curbuf->b_cap_prog == NULL)
  10306:     regmatch.regprog = curbuf->b_cap_prog;
  spell_find_suggest():
  10506:     for (i = 0; i < curbuf->b_langp.ga_len; ++i)
  10508:     lp = LANGP_ENTRY(curbuf->b_langp, i);
  suggest_load_files():
  10791:     for (lpi = 0; lpi < curbuf->b_langp.ga_len; ++lpi)
  10793:     lp = LANGP_ENTRY(curbuf->b_langp, lpi);
  suggest_try_change():
  11144:     for (lpi = 0; lpi < curbuf->b_langp.ga_len; ++lpi)
  11146:     lp = LANGP_ENTRY(curbuf->b_langp, lpi);
  suggest_trie_walk():
  11374:                    : !spell_iswordp(fword + sp->ts_fidx, curbuf)));
  11583:             if (!spell_iswordp(p, curbuf))
  11587:             if (spell_iswordp(p, curbuf))
  12191:         if (!soundfold && !spell_iswordp(p, curbuf))
  12204:         else if (!soundfold && !spell_iswordp(p + n, curbuf))
  12214:         else if (!soundfold && !spell_iswordp(p + 1, curbuf))
  12296:         if (!soundfold && !spell_iswordp(p + n + fl, curbuf))
  12306:         if (!soundfold && !spell_iswordp(p + 2, curbuf))
  12379:         if (!soundfold && !spell_iswordp(p, curbuf))
  score_comp_sal():
  12855:     for (lpi = 0; lpi < curbuf->b_langp.ga_len; ++lpi)
  12857:     lp = LANGP_ENTRY(curbuf->b_langp, lpi);
  score_combine():
  12911:     for (lpi = 0; lpi < curbuf->b_langp.ga_len; ++lpi)
  12913:     lp = LANGP_ENTRY(curbuf->b_langp, lpi);
  suggest_try_soundalike_prep():
  13086:     for (lpi = 0; lpi < curbuf->b_langp.ga_len; ++lpi)
  13088:     lp = LANGP_ENTRY(curbuf->b_langp, lpi);
  suggest_try_soundalike():
  13111:     for (lpi = 0; lpi < curbuf->b_langp.ga_len; ++lpi)
  13113:     lp = LANGP_ENTRY(curbuf->b_langp, lpi);
  suggest_try_soundalike_finish():
  13142:     for (lpi = 0; lpi < curbuf->b_langp.ga_len; ++lpi)
  13144:     lp = LANGP_ENTRY(curbuf->b_langp, lpi);
  eval_soundfold():
  13921:     if (curwin->w_p_spell && *curbuf->b_p_spl != NUL)
  13923:     for (lpi = 0; lpi < curbuf->b_langp.ga_len; ++lpi)
  13925:         lp = LANGP_ENTRY(curbuf->b_langp, lpi);
  spell_soundfold_sal():
  14176:                       || spell_iswordp(word + i - 1, curbuf)))
  14178:                 || (!spell_iswordp(word + i + k0, curbuf))))
  14180:                 && spell_iswordp(word + i - 1, curbuf)
  14181:                 && (!spell_iswordp(word + i + k0, curbuf))))
  14244:                                      curbuf)))
  spell_soundfold_wsal():
  14470:                     || spell_iswordp_w(word + i - 1, curbuf)))
  14472:                 || (!spell_iswordp_w(word + i + k0, curbuf))))
  14474:                 && spell_iswordp_w(word + i - 1, curbuf)
  14475:                 && (!spell_iswordp_w(word + i + k0, curbuf))))
  14542:                                      curbuf)))
  ex_spellinfo():
  15402:     for (lpi = 0; lpi < curbuf->b_langp.ga_len && !got_int; ++lpi)
  15404:     lp = LANGP_ENTRY(curbuf->b_langp, lpi);
  ex_spelldump():
  15431:     buf_T    *buf = curbuf;
  15438:     if (!bufempty() || !buf_valid(buf))
  15444:     if (curbuf->b_ml.ml_line_count > 1)
  15445:     ml_delete(curbuf->b_ml.ml_line_count, FALSE);
  spell_word_start():
  15909:     if (!spell_iswordp(p, curbuf))
syntax.c (152 uses)
  syn_sync():
  738:     curbuf_save = curbuf;
  739:     curbuf = syn_buf;
  778:     curbuf = curbuf_save;
  syn_cmd_case():
  3214:     curbuf->b_syn_ic = FALSE;
  3216:     curbuf->b_syn_ic = TRUE;
  syn_cmd_spell():
  3239:     curbuf->b_syn_spell = SYNSPL_TOP;
  3241:     curbuf->b_syn_spell = SYNSPL_NOTOP;
  3243:     curbuf->b_syn_spell = SYNSPL_DEFAULT;
  syntax_sync_clear():
  3305:     for (i = curbuf->b_syn_patterns.ga_len; --i >= 0; )
  3306:     if (SYN_ITEMS(curbuf)[i].sp_syncing)
  3307:         syn_remove_pattern(curbuf, i);
  3309:     curbuf->b_syn_sync_flags = 0;
  3310:     curbuf->b_syn_sync_minlines = 0;
  3311:     curbuf->b_syn_sync_maxlines = 0;
  3312:     curbuf->b_syn_sync_linebreaks = 0;
  3314:     vim_free(curbuf->b_syn_linecont_prog);
  3315:     curbuf->b_syn_linecont_prog = NULL;
  3316:     vim_free(curbuf->b_syn_linecont_pat);
  3317:     curbuf->b_syn_linecont_pat = NULL;
  3319:     syn_stack_free_all(curbuf);        /* Need to recompute all syntax. */
  syn_cmd_clear():
  3398:     if (curbuf->b_syn_topgrp != 0)
  3410:         syntax_clear(curbuf);
  3439:             vim_free(SYN_CLSTR(curbuf)[scl_id].scl_list);
  3440:             SYN_CLSTR(curbuf)[scl_id].scl_list = NULL;
  3458:     syn_stack_free_all(curbuf);        /* Need to recompute all syntax. */
  syn_clear_one():
  3475:     (void)syn_clear_keyword(id, &curbuf->b_keywtab);
  3476:     (void)syn_clear_keyword(id, &curbuf->b_keywtab_ic);
  3480:     for (idx = curbuf->b_syn_patterns.ga_len; --idx >= 0; )
  3482:     spp = &(SYN_ITEMS(curbuf)[idx]);
  3485:     syn_remove_pattern(curbuf, idx);
  syn_cmd_list():
  3589:     if (!syntax_present(curbuf))
  3597:     if (curbuf->b_syn_sync_flags & SF_CCOMMENT)
  3604:     else if (!(curbuf->b_syn_sync_flags & SF_MATCH))
  3606:         if (curbuf->b_syn_sync_minlines == 0)
  3611:         msg_outnum(curbuf->b_syn_sync_minlines);
  3618:     if (curbuf->b_syn_sync_minlines > 0
  3619:         || curbuf->b_syn_sync_maxlines > 0
  3620:         || curbuf->b_syn_sync_linebreaks > 0)
  3636:     for (id = 0; id < curbuf->b_syn_clusters.ga_len && !got_int; ++id)
  syn_lines_msg():
  3672:     if (curbuf->b_syn_sync_maxlines > 0 || curbuf->b_syn_sync_minlines > 0)
  3672:     if (curbuf->b_syn_sync_maxlines > 0 || curbuf->b_syn_sync_minlines > 0)
  3675:     if (curbuf->b_syn_sync_minlines > 0)
  3678:         msg_outnum(curbuf->b_syn_sync_minlines);
  3679:         if (curbuf->b_syn_sync_maxlines)
  3682:     if (curbuf->b_syn_sync_maxlines > 0)
  3685:         msg_outnum(curbuf->b_syn_sync_maxlines);
  syn_match_msg():
  3694:     if (curbuf->b_syn_sync_linebreaks > 0)
  3697:     msg_outnum(curbuf->b_syn_sync_linebreaks);
  syn_list_one():
  3750:     did_header = syn_list_keywords(id, &curbuf->b_keywtab, FALSE, attr);
  3751:     did_header = syn_list_keywords(id, &curbuf->b_keywtab_ic,
  3756:     for (idx = 0; idx < curbuf->b_syn_patterns.ga_len && !got_int; ++idx)
  3758:     spp = &(SYN_ITEMS(curbuf)[idx]);
  3772:         while (SYN_ITEMS(curbuf)[idx].sp_type == SPTYPE_START)
  3773:         put_pattern("start", '=', &SYN_ITEMS(curbuf)[idx++], attr);
  3774:         if (SYN_ITEMS(curbuf)[idx].sp_type == SPTYPE_SKIP)
  3775:         put_pattern("skip", '=', &SYN_ITEMS(curbuf)[idx++], attr);
  3776:         while (idx < curbuf->b_syn_patterns.ga_len
  3777:                   && SYN_ITEMS(curbuf)[idx].sp_type == SPTYPE_END)
  3778:         put_pattern("end", '=', &SYN_ITEMS(curbuf)[idx++], attr);
  3804:         msg_outtrans(HL_TABLE()[SYN_ITEMS(curbuf)
  syn_list_cluster():
  3849:     msg_outtrans(SYN_CLSTR(curbuf)[id].scl_name);
  3857:     if (SYN_CLSTR(curbuf)[id].scl_list != NULL)
  3859:     put_id_list((char_u *)"cluster", SYN_CLSTR(curbuf)[id].scl_list,
  put_id_list():
  3901:         msg_outtrans(SYN_CLSTR(curbuf)[scl_id].scl_name);
  add_keyword():
  4181:     if (curbuf->b_syn_ic)
  4195:     curbuf->b_syn_containedin = TRUE;
  4198:     if (curbuf->b_syn_ic)
  4199:     ht = &curbuf->b_keywtab_ic;
  4201:     ht = &curbuf->b_keywtab;
  get_syn_options():
  4374:             for (i = curbuf->b_syn_patterns.ga_len; --i >= 0; )
  4375:             if (SYN_ITEMS(curbuf)[i].sp_syn.id == syn_id
  4376:                   && SYN_ITEMS(curbuf)[i].sp_type == SPTYPE_START)
  syn_incl_toplevel():
  4414:     if ((*flagsp & HL_CONTAINED) || curbuf->b_syn_topgrp == 0)
  4417:     if (curbuf->b_syn_topgrp >= SYNID_CLUSTER)
  4421:     int        tlg_id = curbuf->b_syn_topgrp - SYNID_CLUSTER;
  4427:         syn_combine_list(&SYN_CLSTR(curbuf)[tlg_id].scl_list, &grp_list,
  syn_cmd_include():
  4495:     prev_toplvl_grp = curbuf->b_syn_topgrp;
  4496:     curbuf->b_syn_topgrp = sgl_id;
  4500:     curbuf->b_syn_topgrp = prev_toplvl_grp;
  syn_cmd_keyword():
  4623:     syn_stack_free_all(curbuf);        /* Need to recompute all syntax. */
  syn_cmd_match():
  4676:     else if (ga_grow(&curbuf->b_syn_patterns, 1) != FAIL
  4684:         idx = curbuf->b_syn_patterns.ga_len;
  4685:         SYN_ITEMS(curbuf)[idx] = item;
  4686:         SYN_ITEMS(curbuf)[idx].sp_syncing = syncing;
  4687:         SYN_ITEMS(curbuf)[idx].sp_type = SPTYPE_MATCH;
  4688:         SYN_ITEMS(curbuf)[idx].sp_syn.id = syn_id;
  4689:         SYN_ITEMS(curbuf)[idx].sp_syn.inc_tag = current_syn_inc_tag;
  4690:         SYN_ITEMS(curbuf)[idx].sp_flags = syn_opt_arg.flags;
  4691:         SYN_ITEMS(curbuf)[idx].sp_sync_idx = sync_idx;
  4692:         SYN_ITEMS(curbuf)[idx].sp_cont_list = syn_opt_arg.cont_list;
  4693:         SYN_ITEMS(curbuf)[idx].sp_syn.cont_in_list =
  4696:         curbuf->b_syn_containedin = TRUE;
  4697:         SYN_ITEMS(curbuf)[idx].sp_next_list = syn_opt_arg.next_list;
  4698:         ++curbuf->b_syn_patterns.ga_len;
  4702:         curbuf->b_syn_sync_flags |= SF_MATCH;
  4705:         ++curbuf->b_syn_folditems;
  4709:         syn_stack_free_all(curbuf);    /* Need to recompute all syntax. */
  syn_cmd_region():
  4912:     else if (ga_grow(&(curbuf->b_syn_patterns), pat_count) != FAIL
  4920:         idx = curbuf->b_syn_patterns.ga_len;
  4925:             SYN_ITEMS(curbuf)[idx] = *(ppp->pp_synp);
  4926:             SYN_ITEMS(curbuf)[idx].sp_syncing = syncing;
  4927:             SYN_ITEMS(curbuf)[idx].sp_type =
  4930:             SYN_ITEMS(curbuf)[idx].sp_flags |= syn_opt_arg.flags;
  4931:             SYN_ITEMS(curbuf)[idx].sp_syn.id = syn_id;
  4932:             SYN_ITEMS(curbuf)[idx].sp_syn.inc_tag = current_syn_inc_tag;
  4933:             SYN_ITEMS(curbuf)[idx].sp_syn_match_id =
  4937:             SYN_ITEMS(curbuf)[idx].sp_cont_list =
  4939:             SYN_ITEMS(curbuf)[idx].sp_syn.cont_in_list =
  4942:                 curbuf->b_syn_containedin = TRUE;
  4943:             SYN_ITEMS(curbuf)[idx].sp_next_list =
  4946:             ++curbuf->b_syn_patterns.ga_len;
  4950:             ++curbuf->b_syn_folditems;
  4956:         syn_stack_free_all(curbuf);    /* Need to recompute all syntax. */
  syn_scl_name2id():
  5148:     for (i = curbuf->b_syn_clusters.ga_len; --i >= 0; )
  5149:     if (SYN_CLSTR(curbuf)[i].scl_name_u != NULL
  5150:         && STRCMP(name_u, SYN_CLSTR(curbuf)[i].scl_name_u) == 0)
  syn_add_cluster():
  5216:     if (curbuf->b_syn_clusters.ga_data == NULL)
  5218:     curbuf->b_syn_clusters.ga_itemsize = sizeof(syn_cluster_T);
  5219:     curbuf->b_syn_clusters.ga_growsize = 10;
  5225:     if (ga_grow(&curbuf->b_syn_clusters, 1) == FAIL)
  5230:     len = curbuf->b_syn_clusters.ga_len;
  5232:     vim_memset(&(SYN_CLSTR(curbuf)[len]), 0, sizeof(syn_cluster_T));
  5233:     SYN_CLSTR(curbuf)[len].scl_name = name;
  5234:     SYN_CLSTR(curbuf)[len].scl_name_u = vim_strsave_up(name);
  5235:     SYN_CLSTR(curbuf)[len].scl_list = NULL;
  5236:     ++curbuf->b_syn_clusters.ga_len;
  5239:     curbuf->b_spell_cluster_id = len + SYNID_CLUSTER;
  5241:     curbuf->b_nospell_cluster_id = len + SYNID_CLUSTER;
  syn_cmd_cluster():
  5305:         syn_combine_list(&SYN_CLSTR(curbuf)[scl_id].scl_list,
  5313:         syn_stack_free_all(curbuf);    /* Need to recompute all syntax. */
  init_syn_patterns():
  5329:     curbuf->b_syn_patterns.ga_itemsize = sizeof(synpat_T);
  5330:     curbuf->b_syn_patterns.ga_growsize = 10;
  get_syn_pattern():
  5370:     ci->sp_ic = curbuf->b_syn_ic;
  syn_cmd_sync():
  5469:         curbuf->b_syn_sync_flags |= SF_CCOMMENT;
  5474:             curbuf->b_syn_sync_id = syn_check_group(next_arg,
  5479:         curbuf->b_syn_sync_id = syn_name2id((char_u *)"Comment");
  5501:             curbuf->b_syn_sync_linebreaks = n;
  5503:             curbuf->b_syn_sync_maxlines = n;
  5505:             curbuf->b_syn_sync_minlines = n;
  5512:         curbuf->b_syn_sync_minlines = MAXLNUM;
  5513:         curbuf->b_syn_sync_maxlines = 0;
  5518:         if (curbuf->b_syn_linecont_pat != NULL)
  5534:         if ((curbuf->b_syn_linecont_pat = vim_strnsave(next_arg + 1,
  5540:         curbuf->b_syn_linecont_ic = curbuf->b_syn_ic;
  5540:         curbuf->b_syn_linecont_ic = curbuf->b_syn_ic;
  5545:         curbuf->b_syn_linecont_prog =
  5546:                 vim_regcomp(curbuf->b_syn_linecont_pat, RE_MAGIC);
  5549:         if (curbuf->b_syn_linecont_prog == NULL)
  5551:             vim_free(curbuf->b_syn_linecont_pat);
  5552:             curbuf->b_syn_linecont_pat = NULL;
  5582:     syn_stack_free_all(curbuf);    /* Need to recompute all syntax. */
  load_colors():
  6493:     apply_autocmds(EVENT_COLORSCHEME, NULL, NULL, FALSE, curbuf);
tag.c (26 uses)
  do_tag():
  142:     int        cur_fnum = curbuf->b_fnum;
  168:     char_u    *buf_ffname = curbuf->b_ffname;        /* name to use for
  325:         if (saved_fmark.fnum != curbuf->b_fnum)
  441:             cur_fnum = curbuf->b_fnum;
  465:         tagstack[tagstackidx].fmark.fnum = curbuf->b_fnum;
  483:     if (cur_fnum != curbuf->b_fnum)
  do_tags():
  1136:         msg_outtrans_attr(name, tagstack[i].fmark.fnum == curbuf->b_fnum
  find_tags():
  1383:     help_save = curbuf->b_help;
  1417:     curbuf->b_help = TRUE;            /* will be restored later */
  1421:     if (curbuf->b_help)
  1491:         if (curbuf->b_help)
  1511:             && curbuf->b_fname != NULL
  1512:             && (i = (int)STRLEN(curbuf->b_fname)) > 4
  1513:             && curbuf->b_fname[i - 1] == 'x'
  1514:             && curbuf->b_fname[i - 4] == '.'
  1515:             && STRNICMP(curbuf->b_fname + i - 3, help_lang, 2) == 0)
  2517:     curbuf->b_help = help_save;
  get_tagfname():
  2570:     if (curbuf->b_help)
  2618:     tnp->tn_tags = vim_strsave((*curbuf->b_p_tags != NUL)
  2619:                          ? curbuf->b_p_tags : p_tags);
  2674:             tnp->tn_search_ctx, TRUE, curbuf->b_ffname);
  jumpto_tag():
  3134:         keep_help_flag = curbuf->b_help;
  3295:         if (curbuf->b_help)
  expand_tag_fname():
  3370:     if ((p_tr || curbuf->b_help)
  expand_tags():
  3723:         TAG_MANY, curbuf->b_ffname);
  3727:         TAG_MANY, curbuf->b_ffname);
term.c (10 uses)
  set_termname():
  2039:         old_curbuf = curbuf;
  2040:         for (curbuf = firstbuf; curbuf != NULL; curbuf = curbuf->b_next)
  2040:         for (curbuf = firstbuf; curbuf != NULL; curbuf = curbuf->b_next)
  2040:         for (curbuf = firstbuf; curbuf != NULL; curbuf = curbuf->b_next)
  2040:         for (curbuf = firstbuf; curbuf != NULL; curbuf = curbuf->b_next)
  2042:         if (curbuf->b_ml.ml_mfp != NULL)
  2044:                                       curbuf);
  2047:         curbuf = old_curbuf;
  mouse_has():
  3392:         case MOUSE_HELP: if (c != MOUSE_RETURN && curbuf->b_help)
  check_termcode():
  4104:                            NULL, NULL, FALSE, curbuf);
ui.c (3 uses)
  jump_to_mouse():
  2695:         for (first = TRUE; curwin->w_topline < curbuf->b_ml.ml_line_count; )
  2708:             && curwin->w_topline == curbuf->b_ml.ml_line_count)
  ui_focus_change():
  3046:                 : EVENT_FOCUSLOST, NULL, NULL, FALSE, curbuf);
undo.c (171 uses)
  u_save():
  234:     if (top > curbuf->b_ml.ml_line_count ||
  235:                 top >= bot || bot > curbuf->b_ml.ml_line_count + 1)
  u_savedel():
  286:             nlines == curbuf->b_ml.ml_line_count ? 2 : lnum));
  undo_allowed():
  297:     if (!curbuf->b_p_ma)
  u_savecommon():
  379:     if (curbuf->b_u_synced)
  383:     curbuf->b_new_change = TRUE;
  406:     old_curhead = curbuf->b_u_curhead;
  409:         curbuf->b_u_newhead = old_curhead->uh_next;
  410:         curbuf->b_u_curhead = NULL;
  416:     while (curbuf->b_u_numhead > p_ul && curbuf->b_u_oldhead != NULL)
  416:     while (curbuf->b_u_numhead > p_ul && curbuf->b_u_oldhead != NULL)
  418:         u_header_T        *uhfree = curbuf->b_u_oldhead;
  422:         u_freebranch(curbuf, uhfree, &old_curhead);
  425:         u_freeheader(curbuf, uhfree, &old_curhead);
  431:         u_freebranch(curbuf, uhfree, &old_curhead);
  441:         u_freebranch(curbuf, old_curhead, NULL);
  442:         curbuf->b_u_synced = FALSE;
  447:     uhp->uh_next = curbuf->b_u_newhead;
  455:         if (curbuf->b_u_oldhead == old_curhead)
  456:         curbuf->b_u_oldhead = uhp;
  460:     if (curbuf->b_u_newhead != NULL)
  461:         curbuf->b_u_newhead->uh_prev = uhp;
  463:     uhp->uh_seq = ++curbuf->b_u_seq_last;
  464:     curbuf->b_u_seq_cur = uhp->uh_seq;
  466:     curbuf->b_u_seq_time = uhp->uh_time + 1;
  480:     uhp->uh_flags = (curbuf->b_changed ? UH_CHANGED : 0) +
  481:                ((curbuf->b_ml.ml_flags & ML_EMPTY) ? UH_EMPTYBUF : 0);
  484:     mch_memmove(uhp->uh_namedm, curbuf->b_namedm, sizeof(pos_T) * NMARKS);
  486:     uhp->uh_visual = curbuf->b_visual;
  489:     curbuf->b_u_newhead = uhp;
  490:     if (curbuf->b_u_oldhead == NULL)
  491:         curbuf->b_u_oldhead = uhp;
  492:     ++curbuf->b_u_numhead;
  519:         if ((curbuf->b_u_newhead->uh_getbot_entry != uep
  522:                     ? curbuf->b_ml.ml_line_count + 1
  524:                 : uep->ue_lcount != curbuf->b_ml.ml_line_count)
  539:             curbuf->b_u_synced = FALSE;
  548:             uep->ue_next = curbuf->b_u_newhead->uh_entry;
  549:             curbuf->b_u_newhead->uh_entry = uep;
  555:             else if (bot > curbuf->b_ml.ml_line_count)
  559:             uep->ue_lcount = curbuf->b_ml.ml_line_count;
  560:             curbuf->b_u_newhead->uh_getbot_entry = uep;
  600:     else if (bot > curbuf->b_ml.ml_line_count)
  604:     uep->ue_lcount = curbuf->b_ml.ml_line_count;
  605:     curbuf->b_u_newhead->uh_getbot_entry = uep;
  633:     uep->ue_next = curbuf->b_u_newhead->uh_entry;
  634:     curbuf->b_u_newhead->uh_entry = uep;
  635:     curbuf->b_u_synced = FALSE;
  u_undo():
  668:     if (curbuf->b_u_synced == FALSE)
  u_doit():
  708:     if (curbuf->b_ml.ml_flags & ML_EMPTY)
  714:         if (curbuf->b_u_curhead == NULL)        /* first undo */
  715:         curbuf->b_u_curhead = curbuf->b_u_newhead;
  715:         curbuf->b_u_curhead = curbuf->b_u_newhead;
  718:         curbuf->b_u_curhead = curbuf->b_u_curhead->uh_next;
  718:         curbuf->b_u_curhead = curbuf->b_u_curhead->uh_next;
  720:         if (curbuf->b_u_numhead == 0 || curbuf->b_u_curhead == NULL)
  720:         if (curbuf->b_u_numhead == 0 || curbuf->b_u_curhead == NULL)
  723:         curbuf->b_u_curhead = curbuf->b_u_oldhead;
  723:         curbuf->b_u_curhead = curbuf->b_u_oldhead;
  737:         if (curbuf->b_u_curhead == NULL || p_ul <= 0)
  752:         if (curbuf->b_u_curhead->uh_prev == NULL)
  753:         curbuf->b_u_newhead = curbuf->b_u_curhead;
  753:         curbuf->b_u_newhead = curbuf->b_u_curhead;
  754:         curbuf->b_u_curhead = curbuf->b_u_curhead->uh_prev;
  754:         curbuf->b_u_curhead = curbuf->b_u_curhead->uh_prev;
  undo_time():
  791:     if (curbuf->b_u_synced == FALSE)
  796:     if (curbuf->b_ml.ml_flags & ML_EMPTY)
  811:         target = (long)(curbuf->b_u_seq_time - starttime) + step;
  813:         target = curbuf->b_u_seq_cur + step;
  825:         closest = curbuf->b_u_seq_last + 2;
  831:     closest_seq = curbuf->b_u_seq_cur;
  850:     if (curbuf->b_u_curhead == NULL)    /* at leaf of the tree */
  851:         uhp = curbuf->b_u_newhead;
  853:         uhp = curbuf->b_u_curhead;
  866:         if ((step < 0 ? uhp->uh_seq <= curbuf->b_u_seq_cur
  867:                   : uhp->uh_seq > curbuf->b_u_seq_cur)
  909:         if (uhp == curbuf->b_u_curhead)
  957:         uhp = curbuf->b_u_curhead;
  959:         uhp = curbuf->b_u_newhead;
  965:         curbuf->b_u_curhead = uhp;
  973:     uhp = curbuf->b_u_curhead;
  1003:         curbuf->b_u_curhead = uhp;
  1012:         curbuf->b_u_seq_cur = target - 1;
  1021:         curbuf->b_u_newhead = uhp;
  1022:         curbuf->b_u_curhead = uhp->uh_prev;
  u_undoredo():
  1069:     u_header_T    *curhead = curbuf->b_u_curhead;
  1075:     new_flags = (curbuf->b_changed ? UH_CHANGED : 0) +
  1076:            ((curbuf->b_ml.ml_flags & ML_EMPTY) ? UH_EMPTYBUF : 0);
  1082:     mch_memmove(namedm, curbuf->b_namedm, sizeof(pos_T) * NMARKS);
  1084:     visualinfo = curbuf->b_visual;
  1086:     curbuf->b_op_start.lnum = curbuf->b_ml.ml_line_count;
  1086:     curbuf->b_op_start.lnum = curbuf->b_ml.ml_line_count;
  1087:     curbuf->b_op_start.col = 0;
  1088:     curbuf->b_op_end.lnum = 0;
  1089:     curbuf->b_op_end.col = 0;
  1096:         bot = curbuf->b_ml.ml_line_count + 1;
  1097:     if (top > curbuf->b_ml.ml_line_count || top >= bot
  1098:                       || bot > curbuf->b_ml.ml_line_count + 1)
  1169:         if (curbuf->b_ml.ml_line_count == 1)
  1200:         if (curbuf->b_op_start.lnum > top + oldsize)
  1201:         curbuf->b_op_start.lnum += newsize - oldsize;
  1202:         if (curbuf->b_op_end.lnum > top + oldsize)
  1203:         curbuf->b_op_end.lnum += newsize - oldsize;
  1209:     if (top + 1 < curbuf->b_op_start.lnum)
  1210:         curbuf->b_op_start.lnum = top + 1;
  1211:     if (newsize == 0 && top + 1 > curbuf->b_op_end.lnum)
  1212:         curbuf->b_op_end.lnum = top + 1;
  1213:     else if (top + newsize > curbuf->b_op_end.lnum)
  1214:         curbuf->b_op_end.lnum = top + newsize;
  1232:     if ((old_flags & UH_EMPTYBUF) && bufempty())
  1233:     curbuf->b_ml.ml_flags |= ML_EMPTY;
  1241:     unchanged(curbuf, FALSE);
  1249:         curbuf->b_namedm[i] = curhead->uh_namedm[i];
  1255:     curbuf->b_visual = curhead->uh_visual;
  1278:     else if (curwin->w_cursor.lnum <= curbuf->b_ml.ml_line_count)
  1296:     curbuf->b_u_seq_cur = curhead->uh_seq;
  1300:     --curbuf->b_u_seq_cur;
  1304:     curbuf->b_u_seq_time = curhead->uh_time;
  u_undo_end():
  1333:     if (curbuf->b_ml.ml_flags & ML_EMPTY)
  1354:     if (curbuf->b_u_curhead != NULL)
  1357:     if (absolute && curbuf->b_u_curhead->uh_next != NULL)
  1359:         uhp = curbuf->b_u_curhead->uh_next;
  1363:         uhp = curbuf->b_u_curhead;
  1365:         uhp = curbuf->b_u_curhead->uh_next;
  1368:     uhp = curbuf->b_u_newhead;
  u_sync():
  1391:     if (curbuf->b_u_synced || (!force && no_u_sync > 0))
  1398:     curbuf->b_u_synced = TRUE;  /* no entries, nothing to do */
  1402:     curbuf->b_u_curhead = NULL;
  ex_undolist():
  1430:     uhp = curbuf->b_u_oldhead;
  ex_undojoin():
  1537:     if (curbuf->b_u_newhead == NULL)
  1539:     if (curbuf->b_u_curhead != NULL)
  1544:     if (!curbuf->b_u_synced)
  1551:     curbuf->b_u_curhead = curbuf->b_u_newhead;
  1551:     curbuf->b_u_curhead = curbuf->b_u_newhead;
  1552:     curbuf->b_u_synced = FALSE;  /* no entries, nothing to do */
  u_get_headentry():
  1589:     if (curbuf->b_u_newhead == NULL || curbuf->b_u_newhead->uh_entry == NULL)
  1589:     if (curbuf->b_u_newhead == NULL || curbuf->b_u_newhead->uh_entry == NULL)
  1594:     return curbuf->b_u_newhead->uh_entry;
  u_getbot():
  1611:     uep = curbuf->b_u_newhead->uh_getbot_entry;
  1619:     extra = curbuf->b_ml.ml_line_count - uep->ue_lcount;
  1621:     if (uep->ue_bot < 1 || uep->ue_bot > curbuf->b_ml.ml_line_count)
  1630:     curbuf->b_u_newhead->uh_getbot_entry = NULL;
  1633:     curbuf->b_u_synced = TRUE;
  u_saveline():
  1774:     if (lnum == curbuf->b_u_line_lnum)        /* line is already saved */
  1776:     if (lnum < 1 || lnum > curbuf->b_ml.ml_line_count) /* should never happen */
  1779:     curbuf->b_u_line_lnum = lnum;
  1781:     curbuf->b_u_line_colnr = curwin->w_cursor.col;
  1783:     curbuf->b_u_line_colnr = 0;
  1784:     if ((curbuf->b_u_line_ptr = u_save_line(lnum)) == NULL)
  u_clearline():
  1795:     if (curbuf->b_u_line_ptr != NULL)
  1797:     U_FREE_LINE(curbuf->b_u_line_ptr);
  1798:     curbuf->b_u_line_ptr = NULL;
  1799:     curbuf->b_u_line_lnum = 0;
  u_undoline():
  1817:     if (curbuf->b_u_line_ptr == NULL
  1818:             || curbuf->b_u_line_lnum > curbuf->b_ml.ml_line_count)
  1818:             || curbuf->b_u_line_lnum > curbuf->b_ml.ml_line_count)
  1825:     if (u_savecommon(curbuf->b_u_line_lnum - 1,
  1826:                 curbuf->b_u_line_lnum + 1, (linenr_T)0) == FAIL)
  1828:     oldp = u_save_line(curbuf->b_u_line_lnum);
  1834:     ml_replace(curbuf->b_u_line_lnum, curbuf->b_u_line_ptr, TRUE);
  1834:     ml_replace(curbuf->b_u_line_lnum, curbuf->b_u_line_ptr, TRUE);
  1835:     changed_bytes(curbuf->b_u_line_lnum, 0);
  1836:     U_FREE_LINE(curbuf->b_u_line_ptr);
  1837:     curbuf->b_u_line_ptr = oldp;
  1839:     t = curbuf->b_u_line_colnr;
  1840:     if (curwin->w_cursor.lnum == curbuf->b_u_line_lnum)
  1841:     curbuf->b_u_line_colnr = curwin->w_cursor.col;
  1843:     curwin->w_cursor.lnum = curbuf->b_u_line_lnum;
  curbufIsChanged():
  2287:     !bt_dontwrite(curbuf) &&
  2289:     (curbuf->b_changed || file_ff_differs(curbuf));
  2289:     (curbuf->b_changed || file_ff_differs(curbuf));
window.c (44 uses)
  do_window():
  142:         if (bt_quickfix(curbuf))
  566:         if (bt_quickfix(curbuf))
  win_close():
  2113:     if (wp->w_buffer != curbuf)
  2116:         apply_autocmds(EVENT_BUFLEAVE, NULL, NULL, FALSE, curbuf);
  2120:     apply_autocmds(EVENT_WINLEAVE, NULL, NULL, FALSE, curbuf);
  2180:     curbuf = curwin->w_buffer;
  2203:         apply_autocmds(EVENT_BUFENTER, NULL, NULL, FALSE, curbuf);
  win_alloc_firstwin():
  3201:     curbuf = buflist_new(NULL, NULL, 1L, BLN_LISTED);
  3202:     if (curwin == NULL || curbuf == NULL)
  3204:     curwin->w_buffer = curbuf;
  3205:     curbuf->b_nwindows = 1;    /* there is one window */
  win_new_tabpage():
  3318:     if (leave_tabpage(curbuf) == FAIL)
  3368:     apply_autocmds(EVENT_TABENTER, NULL, NULL, FALSE, curbuf);
  3369:     apply_autocmds(EVENT_WINENTER, NULL, NULL, FALSE, curbuf);
  3375:     enter_tabpage(curtab, curbuf);
  leave_tabpage():
  3497:     if (new_curbuf != curbuf)
  3499:     apply_autocmds(EVENT_BUFLEAVE, NULL, NULL, FALSE, curbuf);
  3503:     apply_autocmds(EVENT_WINLEAVE, NULL, NULL, FALSE, curbuf);
  3506:     apply_autocmds(EVENT_TABLEAVE, NULL, NULL, FALSE, curbuf);
  enter_tabpage():
  3551:     apply_autocmds(EVENT_TABENTER, NULL, NULL, FALSE, curbuf);
  3553:     if (old_curbuf != curbuf)
  3554:     apply_autocmds(EVENT_BUFENTER, NULL, NULL, FALSE, curbuf);
  goto_tabpage_tp():
  3683:         enter_tabpage(tp, curbuf);
  3685:         enter_tabpage(curtab, curbuf);
  win_goto():
  3777:     if (wp->w_buffer != curbuf)
  win_enter_ext():
  3973:     if (wp->w_buffer != curbuf)
  3975:         apply_autocmds(EVENT_BUFLEAVE, NULL, NULL, FALSE, curbuf);
  3980:     apply_autocmds(EVENT_WINLEAVE, NULL, NULL, FALSE, curbuf);
  3992:     if (undo_sync && curbuf != wp->w_buffer)
  3995:     if (wp->w_buffer != curbuf)
  4003:     curbuf = wp->w_buffer;
  4037:     apply_autocmds(EVENT_WINENTER, NULL, NULL, FALSE, curbuf);
  4039:     apply_autocmds(EVENT_BUFENTER, NULL, NULL, FALSE, curbuf);
  grab_file_name():
  5705:              FNAME_MESS|FNAME_EXP|FNAME_REL, count, curbuf->b_ffname);
  file_name_at_cursor():
  5733:               curwin->w_cursor.col, options, count, curbuf->b_ffname,
  eval_includeexpr():
  5837:     res = eval_to_string_safe(curbuf->b_p_inex, NULL,
  find_file_name_in_path():
  5861:     if ((options & FNAME_INCL) && *curbuf->b_p_inex != NUL)
  5883:         && !(options & FNAME_INCL) && *curbuf->b_p_inex != NUL)
  only_one_window():
  6044:     if (!((wp->w_buffer->b_help && !curbuf->b_help)
  check_lnums():
  6072:     if ((do_curwin || wp != curwin) && wp->w_buffer == curbuf)
  6078:         if (wp->w_cursor.lnum > curbuf->b_ml.ml_line_count)
  6079:         wp->w_cursor.lnum = curbuf->b_ml.ml_line_count;
  6080:         if (wp->w_topline > curbuf->b_ml.ml_line_count)
  6081:         wp->w_topline = curbuf->b_ml.ml_line_count;
gui (945 uses in 25 translation units) defined in translation unit gui.c, declared in gui.c:14
edit.c (8 uses)
  pum_wanted():
  2627:         && !gui.in_use
  ins_compl_new_leader():
  3229:     if (gui.in_use)
  ins_compl_next():
  4444:     if (gui.in_use)
  get_literal():
  5268:     if (gui.in_use)
  5371:     if (gui.in_use)
  ins_ctrl_hat():
  7824:     if (gui.in_use)
  ins_mouse():
  8648:     if (!gui.in_use)
  ins_mousescroll():
  8703:     if (gui.in_use && mouse_row >= 0 && mouse_col >= 0)
eval.c (10 uses)
  f_foreground():
  9702:     if (gui.in_use)
  f_getfontname():
  10142:     if (gui.in_use)
  10151:         font = gui.norm_font;
  f_getwinposx():
  10571:     if (gui.in_use)
  f_getwinposy():
  10592:     if (gui.in_use)
  f_has():
  11234:         n = (gui.in_use || gui.starting);
  11234:         n = (gui.in_use || gui.starting);
  11241:         n = gui.in_use;    /* gui_mch_browse() works when GUI is running */
  f_inputdialog():
  11704:     if (gui.in_use && vim_strchr(p_go, GO_CONDIALOG) == NULL)
  f_synIDattr():
  15816:     if (gui.in_use)
ex_cmds.c (1 use)
  do_ecmd():
  3145:         !gui.in_use &&
ex_docmd.c (5 uses)
  ex_splitview():
  7100:         !gui.in_use &&
  ex_winpos():
  8074:     if (gui.in_use && gui_mch_get_winpos(&x, &y) != FAIL)
  8098:     if (gui.in_use)
  8100:     else if (gui.starting)
  makeopens():
  9863:     if (gui.in_use && (ssop_flags & SSOP_WINPOS))
ex_getln.c (2 uses)
  getcmdline():
  1242:         if (!gui.in_use)
  1279:         if (!gui.in_use)
fileio.c (3 uses)
  readfile():
  781:         if (gui.in_use && !gui.dying && !gui.starting)
  781:         if (gui.in_use && !gui.dying && !gui.starting)
  781:         if (gui.in_use && !gui.dying && !gui.starting)
getchar.c (5 uses)
  vgetorpeek():
  2516:             if (gui.in_use)
  2804:     if (gui.in_use && shape_changed)
  inchar():
  2852:     if (gui.in_use)
  fix_input_buffer():
  2979:     if (gui.in_use && p[0] == CSI && i >= 2)
  2985:     else if (!gui.in_use && p[0] == CSI)
gui.c (457 uses)
  gui_start():
  82:     gui.starting = TRUE;
  92:     gui.starting = recursive - 1;
  94:     if (!gui.in_use)            /* failed to start GUI */
  192:     apply_autocmds(gui.in_use ? EVENT_GUIENTER : EVENT_GUIFAILED,
  gui_prepare():
  207:     gui.in_use = FALSE;            /* No GUI yet (maybe later) */
  208:     gui.starting = FALSE;        /* No GUI yet (maybe later) */
  gui_init_check():
  230:     gui.shell_created = FALSE;
  231:     gui.dying = FALSE;
  232:     gui.in_focus = TRUE;        /* so the guicursor setting works */
  233:     gui.dragged_sb = SBAR_NONE;
  234:     gui.dragged_wp = NULL;
  235:     gui.pointer_hidden = FALSE;
  236:     gui.col = 0;
  237:     gui.row = 0;
  238:     gui.num_cols = Columns;
  239:     gui.num_rows = Rows;
  241:     gui.cursor_is_valid = FALSE;
  242:     gui.scroll_region_top = 0;
  243:     gui.scroll_region_bot = Rows - 1;
  244:     gui.scroll_region_left = 0;
  245:     gui.scroll_region_right = Columns - 1;
  246:     gui.highlight_mask = HL_NORMAL;
  247:     gui.char_width = 1;
  248:     gui.char_height = 1;
  249:     gui.char_ascent = 0;
  250:     gui.border_width = 0;
  252:     gui.norm_font = NOFONT;
  254:     gui.bold_font = NOFONT;
  255:     gui.ital_font = NOFONT;
  256:     gui.boldital_font = NOFONT;
  267:     gui.menu_font = NOFONT;
  270:     gui.menu_is_active = TRUE;        /* default: include menu */
  272:     gui.menu_height = MENU_DEFAULT_HEIGHT;
  273:     gui.menu_width = 0;
  286:     gui.scrollbar_width = gui.scrollbar_height = SB_DEFAULT_WIDTH;
  286:     gui.scrollbar_width = gui.scrollbar_height = SB_DEFAULT_WIDTH;
  287:     gui.prev_wrap = -1;
  gui_init():
  450:     if (gui.in_use)
  456:     gui.in_use = TRUE;        /* Must be set after menus have been set up */
  471:     if (gui.border_width < 0)
  472:     gui.border_width = 0;
  495:     gui.num_cols = Columns;
  496:     gui.num_rows = Rows;
  505:     gui_create_scrollbar(&gui.bottom_sbar, SBAR_BOTTOM, NULL);
  522:     gui.shell_created = TRUE;
  620:     gui.in_use = FALSE;
  gui_exit():
  634:     gui.in_use = FALSE;
  gui_init_font():
  692:     if (!gui.in_use)
  733:         && (font_list_empty || gui.norm_font == NOFONT))
  752:         gui_mch_set_font(gui.norm_font);
  set_guifontwide():
  804:             gui_mch_free_font(gui.wide_font);
  805:             gui.wide_font = font;
  gui_get_wide_font():
  828:     if (!gui.in_use)        /* Can't allocate font yet, assume it's OK. */
  845:     gui_mch_free_font(gui.wide_font);
  856:     gui.wide_font = font;
  gui_set_cursor():
  866:     gui.row = row;
  867:     gui.col = col;
  gui_check_pos():
  876:     if (gui.row >= screen_Rows)
  877:     gui.row = screen_Rows - 1;
  878:     if (gui.col >= screen_Columns)
  879:     gui.col = screen_Columns - 1;
  880:     if (gui.cursor_row >= screen_Rows || gui.cursor_col >= screen_Columns)
  880:     if (gui.cursor_row >= screen_Rows || gui.cursor_col >= screen_Columns)
  881:     gui.cursor_is_valid = FALSE;
  gui_update_cursor():
  910:     if (!gui.cursor_is_valid || force
  911:             || gui.row != gui.cursor_row || gui.col != gui.cursor_col)
  911:             || gui.row != gui.cursor_row || gui.col != gui.cursor_col)
  911:             || gui.row != gui.cursor_row || gui.col != gui.cursor_col)
  911:             || gui.row != gui.cursor_row || gui.col != gui.cursor_col)
  914:     if (gui.row < 0)
  917:     if (gui.row != gui.cursor_row || gui.col != gui.cursor_col)
  917:     if (gui.row != gui.cursor_row || gui.col != gui.cursor_col)
  917:     if (gui.row != gui.cursor_row || gui.col != gui.cursor_col)
  917:     if (gui.row != gui.cursor_row || gui.col != gui.cursor_col)
  918:         im_set_position(gui.row, gui.col);
  918:         im_set_position(gui.row, gui.col);
  920:     gui.cursor_row = gui.row;
  920:     gui.cursor_row = gui.row;
  921:     gui.cursor_col = gui.col;
  921:     gui.cursor_col = gui.col;
  929:         clip_may_clear_selection(gui.row, gui.row);
  929:         clip_may_clear_selection(gui.row, gui.row);
  932:     if (gui.row >= screen_Rows || gui.col >= screen_Columns)
  932:     if (gui.row >= screen_Rows || gui.col >= screen_Columns)
  935:     gui.cursor_is_valid = TRUE;
  981:     attr = ScreenAttrs[LineOffset[gui.row] + gui.col];
  981:     attr = ScreenAttrs[LineOffset[gui.row] + gui.col];
  995:         cfg = (attr & HL_INVERSE) ? gui.back_pixel : gui.norm_pixel;
  995:         cfg = (attr & HL_INVERSE) ? gui.back_pixel : gui.norm_pixel;
  997:         cbg = (attr & HL_INVERSE) ? gui.norm_pixel : gui.back_pixel;
  997:         cbg = (attr & HL_INVERSE) ? gui.norm_pixel : gui.back_pixel;
  1034:     if (!gui.in_focus)
  1040:     old_hl_mask = gui.highlight_mask;
  1051:         gui.highlight_mask = (cattr | attr);
  1058:         (void)gui_screenchar(LineOffset[gui.row] + gui.col,
  1058:         (void)gui_screenchar(LineOffset[gui.row] + gui.col,
  1072:         cur_height = gui.char_height;
  1073:         cur_width = (gui.char_width * shape_table[idx].percentage
  1078:         cur_height = (gui.char_height * shape_table[idx].percentage
  1080:         cur_width = gui.char_width;
  1083:         if (has_mbyte && (*mb_off2cells)(LineOffset[gui.row] + gui.col,
  1083:         if (has_mbyte && (*mb_off2cells)(LineOffset[gui.row] + gui.col,
  1084:                     LineOffset[gui.row] + screen_Columns) > 1)
  1088:             cur_width += gui.char_width;
  1109:         gui.highlight_mask = ScreenAttrs[LineOffset[gui.row] + gui.col];
  1109:         gui.highlight_mask = ScreenAttrs[LineOffset[gui.row] + gui.col];
  1109:         gui.highlight_mask = ScreenAttrs[LineOffset[gui.row] + gui.col];
  1110:         (void)gui_screenchar(LineOffset[gui.row] + gui.col,
  1110:         (void)gui_screenchar(LineOffset[gui.row] + gui.col,
  1115:     gui.highlight_mask = old_hl_mask;
  gui_position_menu():
  1124:     if (gui.menu_is_active && gui.in_use)
  1124:     if (gui.menu_is_active && gui.in_use)
  1125:     gui_mch_set_menu_pos(0, 0, gui.menu_width, gui.menu_height);
  1125:     gui_mch_set_menu_pos(0, 0, gui.menu_width, gui.menu_height);
  gui_position_components():
  1148:     if (gui.which_scrollbars[SBAR_LEFT])
  1149:     text_area_x += gui.scrollbar_width;
  1153:     gui.menu_width = total_width;
  1154:     if (gui.menu_is_active)
  1155:     text_area_y += gui.menu_height;
  1165:     text_area_y += gui.tabline_height;
  1179:     text_area_width = gui.num_cols * gui.char_width + gui.border_offset * 2;
  1179:     text_area_width = gui.num_cols * gui.char_width + gui.border_offset * 2;
  1179:     text_area_width = gui.num_cols * gui.char_width + gui.border_offset * 2;
  1180:     text_area_height = gui.num_rows * gui.char_height + gui.border_offset * 2;
  1180:     text_area_height = gui.num_rows * gui.char_height + gui.border_offset * 2;
  1180:     text_area_height = gui.num_rows * gui.char_height + gui.border_offset * 2;
  1193:     if (gui.which_scrollbars[SBAR_BOTTOM])
  1194:     gui_mch_set_scrollbar_pos(&gui.bottom_sbar,
  1198:                   gui.scrollbar_height);
  1199:     gui.left_sbar_x = 0;
  1200:     gui.right_sbar_x = text_area_x + text_area_width;
  gui_get_base_width():
  1213:     base_width = 2 * gui.border_offset;
  1214:     if (gui.which_scrollbars[SBAR_LEFT])
  1215:     base_width += gui.scrollbar_width;
  1216:     if (gui.which_scrollbars[SBAR_RIGHT])
  1217:     base_width += gui.scrollbar_width;
  gui_get_base_height():
  1229:     base_height = 2 * gui.border_offset;
  1230:     if (gui.which_scrollbars[SBAR_BOTTOM])
  1231:     base_height += gui.scrollbar_height;
  1238:     if (gui.menu_is_active)
  1239:     base_height += gui.menu_height;
  gui_resize_shell():
  1276:     if (!gui.shell_created)        /* ignore when still initializing */
  1296:     gui.num_cols = (pixel_width - gui_get_base_width()) / gui.char_width;
  1296:     gui.num_cols = (pixel_width - gui_get_base_width()) / gui.char_width;
  1297:     gui.num_rows = (pixel_height - gui_get_base_height()) / gui.char_height;
  1297:     gui.num_rows = (pixel_height - gui_get_base_height()) / gui.char_height;
  1307:     gui.row = gui.num_rows;
  1307:     gui.row = gui.num_rows;
  1311:     if (gui.num_rows != screen_Rows || gui.num_cols != screen_Columns
  1311:     if (gui.num_rows != screen_Rows || gui.num_cols != screen_Columns
  1312:         || gui.num_rows != Rows || gui.num_cols != Columns)
  1312:         || gui.num_rows != Rows || gui.num_cols != Columns)
  gui_get_shellsize():
  1360:     Rows = gui.num_rows;
  1361:     Columns = gui.num_cols;
  gui_set_shellsize():
  1386:     if (!gui.shell_created)
  1411:     width = Columns * gui.char_width + base_width;
  1412:     height = Rows * gui.char_height + base_height;
  1420:         Columns = (screen_w - base_width) / gui.char_width;
  1423:         width = Columns * gui.char_width + base_width;
  1427:         Rows = (screen_h - base_height) / gui.char_height;
  1429:         height = Rows * gui.char_height + base_height;
  1432:     gui.num_cols = Columns;
  1433:     gui.num_rows = Rows;
  1435:     min_width = base_width + MIN_COLUMNS * gui.char_width;
  1436:     min_height = base_height + MIN_LINES * gui.char_height;
  1438:     min_height += tabline_height() * gui.char_height;
  gui_reset_scroll_region():
  1473:     gui.scroll_region_top = 0;
  1474:     gui.scroll_region_bot = gui.num_rows - 1;
  1474:     gui.scroll_region_bot = gui.num_rows - 1;
  1475:     gui.scroll_region_left = 0;
  1476:     gui.scroll_region_right = gui.num_cols - 1;
  1476:     gui.scroll_region_right = gui.num_cols - 1;
  gui_start_highlight():
  1484:     gui.highlight_mask = mask;
  1486:     gui.highlight_mask |= mask;
  gui_stop_highlight():
  1494:     gui.highlight_mask = HL_NORMAL;
  1496:     gui.highlight_mask &= ~mask;
  gui_clear_block():
  1516:     if (       gui.cursor_row >= row1 && gui.cursor_row <= row2
  1516:     if (       gui.cursor_row >= row1 && gui.cursor_row <= row2
  1517:         && gui.cursor_col >= col1 && gui.cursor_col <= col2)
  1517:         && gui.cursor_col >= col1 && gui.cursor_col <= col2)
  1518:     gui.cursor_is_valid = FALSE;
  gui_write():
  1597:             gui.cursor_is_valid = FALSE;
  1609:             gui.scroll_region_top = arg1;
  1610:             gui.scroll_region_bot = arg2;
  1614:             gui.scroll_region_top = arg2;
  1615:             gui.scroll_region_bot = arg1;
  1622:             gui.scroll_region_left = arg1;
  1623:             gui.scroll_region_right = arg2;
  1627:             gui.scroll_region_left = arg2;
  1628:             gui.scroll_region_right = arg1;
  1633:             gui_delete_lines(gui.row, 1);
  1636:             gui_delete_lines(gui.row, arg1);
  1639:             gui_insert_lines(gui.row, 1);
  1642:             gui_insert_lines(gui.row, arg1);
  1645:             gui_clear_block(gui.row, gui.col, gui.row,
  1645:             gui_clear_block(gui.row, gui.col, gui.row,
  1645:             gui_clear_block(gui.row, gui.col, gui.row,
  1680:         gui.col = 0;
  1681:         if (gui.row < gui.scroll_region_bot)
  1681:         if (gui.row < gui.scroll_region_bot)
  1682:             gui.row++;
  1684:             gui_delete_lines(gui.scroll_region_top, 1);
  1688:         gui.col = 0;
  1692:         if (gui.col)
  1693:             --gui.col;
  1697:         ++gui.col;
  1741:     gui.dragged_sb = SBAR_NONE;
  gui_dont_update_cursor():
  1772:     if (gui.in_use)
  gui_outstr():
  1814:         if (gui.col + cells > Columns)
  1823:         if (gui.col + len > Columns)
  1824:         this_len = Columns - gui.col;
  1834:     if (len > 0 && gui.col < Columns)
  1839:     if (gui.col >= Columns)
  1841:         gui.col = 0;
  1842:         gui.row++;
  gui_outstr_nowrap():
  1997:     int        col = gui.col;
  2031:     if (gui.highlight_mask > HL_ALL)
  2033:     aep = syn_gui_attr2entry(gui.highlight_mask);
  2040:     highlight_mask = gui.highlight_mask;
  2060:         if ((hl_mask_todo & HL_ITALIC) && gui.boldital_font != NOFONT)
  2062:         font = gui.boldital_font;
  2065:         else if (gui.bold_font != NOFONT)
  2067:         font = gui.bold_font;
  2071:         font = gui.norm_font;
  2073:     else if ((hl_mask_todo & HL_ITALIC) && gui.ital_font != NOFONT)
  2075:         font = gui.ital_font;
  2079:         font = gui.norm_font;
  2092:     bg_color = gui.back_pixel;
  2093:     if ((flags & GUI_MON_IS_CURSOR) && gui.in_focus)
  2104:         fg_color = gui.norm_pixel;
  2107:         bg_color = gui.back_pixel;
  2114:     fg_color = gui.norm_pixel;
  2140:     clip_may_clear_selection(gui.row, gui.row);
  2140:     clip_may_clear_selection(gui.row, gui.row);
  2216:             && gui.wide_font != NOFONT)
  2247:             gui_mch_draw_string(gui.row, scol, s + start, thislen,
  2255:             gui_mch_set_font(gui.wide_font);
  2256:             gui_mch_draw_string(gui.row, scol - cn,
  2279:         gui_mch_draw_string(gui.row, scol, s + i, cl,
  2294:     gui_mch_draw_string(gui.row, col, s, len, draw_flags);
  2312:     gui.col = col + len;
  2316:     clip_may_redraw_selection(gui.row, col, len);
  2321:     if (gui.cursor_row == gui.row
  2321:     if (gui.cursor_row == gui.row
  2322:         && gui.cursor_col >= col
  2323:         && gui.cursor_col < col + len)
  2324:         gui.cursor_is_valid = FALSE;
  gui_undraw_cursor():
  2347:     if (gui.cursor_is_valid)
  2358:     if (gui_redraw_block(gui.cursor_row, gui.cursor_col,
  2358:     if (gui_redraw_block(gui.cursor_row, gui.cursor_col,
  2359:                   gui.cursor_row, gui.cursor_col, GUI_MON_NOCLEAR)
  2359:                   gui.cursor_row, gui.cursor_col, GUI_MON_NOCLEAR)
  2360:         && gui.cursor_col > 0)
  2361:         (void)gui_redraw_block(gui.cursor_row, gui.cursor_col - 1,
  2361:         (void)gui_redraw_block(gui.cursor_row, gui.cursor_col - 1,
  2362:              gui.cursor_row, gui.cursor_col - 1, GUI_MON_NOCLEAR);
  2362:              gui.cursor_row, gui.cursor_col - 1, GUI_MON_NOCLEAR);
  2371:     gui.cursor_is_valid = FALSE;
  gui_redraw():
  2384:     row1 = Y_2_ROW(y);
  2384:     row1 = Y_2_ROW(y);
  2385:     col1 = X_2_COL(x);
  2385:     col1 = X_2_COL(x);
  2386:     row2 = Y_2_ROW(y + h - 1);
  2386:     row2 = Y_2_ROW(y + h - 1);
  2387:     col2 = X_2_COL(x + w - 1);
  2387:     col2 = X_2_COL(x + w - 1);
  2398:     if (gui.row == gui.cursor_row)
  2398:     if (gui.row == gui.cursor_row)
  gui_redraw_block():
  2439:     old_row = gui.row;
  2440:     old_col = gui.col;
  2441:     old_hl_mask = gui.highlight_mask;
  2447:     for (gui.row = row1; gui.row <= row2; gui.row++)
  2447:     for (gui.row = row1; gui.row <= row2; gui.row++)
  2447:     for (gui.row = row1; gui.row <= row2; gui.row++)
  2454:     off = LineOffset[gui.row];
  2473:     gui.col = col1;
  2474:     off = LineOffset[gui.row] + gui.col;
  2474:     off = LineOffset[gui.row] + gui.col;
  2491:         gui.highlight_mask = first_attr;
  2498:         if (gui.col < Columns && ScreenLines[off + 1] == 0)
  2553:         gui.col -= back;
  2565:     gui.row = old_row;
  2566:     gui.col = old_col;
  2567:     gui.highlight_mask = (int)old_hl_mask;
  gui_delete_lines():
  2580:     if (row + count > gui.scroll_region_bot)
  2582:     gui_clear_block(row, gui.scroll_region_left,
  2583:                   gui.scroll_region_bot, gui.scroll_region_right);
  2583:                   gui.scroll_region_bot, gui.scroll_region_right);
  2590:     if (gui.cursor_row >= row
  2591:         && gui.cursor_col >= gui.scroll_region_left
  2591:         && gui.cursor_col >= gui.scroll_region_left
  2592:         && gui.cursor_col <= gui.scroll_region_right)
  2592:         && gui.cursor_col <= gui.scroll_region_right)
  2594:         if (gui.cursor_row < row + count)
  2595:         gui.cursor_is_valid = FALSE;
  2596:         else if (gui.cursor_row <= gui.scroll_region_bot)
  2596:         else if (gui.cursor_row <= gui.scroll_region_bot)
  2597:         gui.cursor_row -= count;
  gui_insert_lines():
  2610:     if (row + count > gui.scroll_region_bot)
  2612:     gui_clear_block(row, gui.scroll_region_left,
  2613:                   gui.scroll_region_bot, gui.scroll_region_right);
  2613:                   gui.scroll_region_bot, gui.scroll_region_right);
  2618:     if (gui.cursor_row >= gui.row
  2618:     if (gui.cursor_row >= gui.row
  2619:         && gui.cursor_col >= gui.scroll_region_left
  2619:         && gui.cursor_col >= gui.scroll_region_left
  2620:         && gui.cursor_col <= gui.scroll_region_right)
  2620:         && gui.cursor_col <= gui.scroll_region_right)
  2622:         if (gui.cursor_row <= gui.scroll_region_bot - count)
  2622:         if (gui.cursor_row <= gui.scroll_region_bot - count)
  2623:         gui.cursor_row += count;
  2624:         else if (gui.cursor_row <= gui.scroll_region_bot)
  2624:         else if (gui.cursor_row <= gui.scroll_region_bot)
  2625:         gui.cursor_is_valid = FALSE;
  gui_send_mouse_event():
  2819:     clip_process_selection(button, X_2_COL(x), Y_2_ROW(y), repeated_click);
  2819:     clip_process_selection(button, X_2_COL(x), Y_2_ROW(y), repeated_click);
  2819:     clip_process_selection(button, X_2_COL(x), Y_2_ROW(y), repeated_click);
  2819:     clip_process_selection(button, X_2_COL(x), Y_2_ROW(y), repeated_click);
  2843:                 if (Y_2_ROW(y) >= msg_row)
  2843:                 if (Y_2_ROW(y) >= msg_row)
  2855:         if (Y_2_ROW(y) < cmdline_row && button != MOUSE_MIDDLE)
  2855:         if (Y_2_ROW(y) < cmdline_row && button != MOUSE_MIDDLE)
  2872:         && Y_2_ROW(y) >= topframe->fr_height
  2872:         && Y_2_ROW(y) >= topframe->fr_height
  2943:         clip_process_selection(button, X_2_COL(x), Y_2_ROW(y),
  2943:         clip_process_selection(button, X_2_COL(x), Y_2_ROW(y),
  2943:         clip_process_selection(button, X_2_COL(x), Y_2_ROW(y),
  2943:         clip_process_selection(button, X_2_COL(x), Y_2_ROW(y),
  2958:         clip_start_selection(X_2_COL(x), Y_2_ROW(y), repeated_click);
  2958:         clip_start_selection(X_2_COL(x), Y_2_ROW(y), repeated_click);
  2958:         clip_start_selection(X_2_COL(x), Y_2_ROW(y), repeated_click);
  2958:         clip_start_selection(X_2_COL(x), Y_2_ROW(y), repeated_click);
  gui_xy2colrow():
  3075:     int        col = check_col(X_2_COL(x));
  3075:     int        col = check_col(X_2_COL(x));
  3076:     int        row = check_row(Y_2_ROW(y));
  3076:     int        row = check_row(Y_2_ROW(y));
  gui_init_which_components():
  3151:     if (oldval != NULL && gui.in_use)
  3166:     gui.menu_is_active = FALSE;
  3170:     gui.which_scrollbars[i] = FALSE;
  3175:         gui.which_scrollbars[SBAR_LEFT] = TRUE;
  3178:         gui.which_scrollbars[SBAR_RIGHT] = TRUE;
  3183:             gui.which_scrollbars[SBAR_LEFT] = TRUE;
  3187:             gui.which_scrollbars[SBAR_RIGHT] = TRUE;
  3191:         gui.which_scrollbars[SBAR_BOTTOM] = TRUE;
  3195:         gui.menu_is_active = TRUE;
  3221:     if (gui.in_use)
  3251:         if (gui.which_scrollbars[i] != prev_which_scrollbars[i]
  3253:             || gui.which_scrollbars[i]
  3259:             gui_mch_enable_scrollbar(&gui.bottom_sbar,
  3260:                              gui.which_scrollbars[i]);
  3265:             gui_do_scrollbar(wp, i, gui.which_scrollbars[i]);
  3268:         if (gui.which_scrollbars[i] != prev_which_scrollbars[i])
  3274:             if (gui.which_scrollbars[i])
  3279:         curtab->tp_prev_which_scrollbars[i] = gui.which_scrollbars[i];
  3281:         prev_which_scrollbars[i] = gui.which_scrollbars[i];
  3285:     if (gui.menu_is_active != prev_menu_is_active)
  3290:         gui_mch_enable_menu(gui.menu_is_active);
  3292:         prev_menu_is_active = gui.menu_is_active;
  3294:         if (gui.menu_is_active)
  gui_use_tabline():
  3369:     return gui.in_use && vim_strchr(p_go, GO_TABLINE) != NULL;
  gui_update_tabline():
  3396:     if (!gui.starting && starting == 0)
  gui_remove_scrollbars():
  3583:         gui_mch_enable_scrollbar(&gui.bottom_sbar, FALSE);
  gui_find_scrollbar():
  3631:     if (gui.bottom_sbar.ident == ident)
  3632:     return &gui.bottom_sbar;
  gui_drag_scrollbar():
  3696:         gui.dragged_sb = SBAR_BOTTOM;
  3698:         gui.dragged_sb = SBAR_LEFT;
  3700:         gui.dragged_sb = SBAR_RIGHT;
  3701:     gui.dragged_wp = sb->wp;
  3705:     gui.dragged_sb = SBAR_NONE;
  3796:     if (gui.which_scrollbars[SBAR_RIGHT] && gui.which_scrollbars[SBAR_LEFT])
  3796:     if (gui.which_scrollbars[SBAR_RIGHT] && gui.which_scrollbars[SBAR_LEFT])
  gui_update_scrollbars():
  3894:     if (!gui.which_scrollbars[SBAR_LEFT] && !gui.which_scrollbars[SBAR_RIGHT])
  3894:     if (!gui.which_scrollbars[SBAR_LEFT] && !gui.which_scrollbars[SBAR_RIGHT])
  3903:     if (!force && (gui.dragged_sb == SBAR_LEFT || gui.dragged_sb == SBAR_RIGHT)
  3903:     if (!force && (gui.dragged_sb == SBAR_LEFT || gui.dragged_sb == SBAR_RIGHT)
  3904:         && gui.which_scrollbars[SBAR_LEFT]
  3905:         && gui.which_scrollbars[SBAR_RIGHT])
  3911:     which_sb = SBAR_LEFT + SBAR_RIGHT - gui.dragged_sb;
  3912:     if (gui.dragged_wp != NULL)
  3914:             &gui.dragged_wp->w_scrollbars[which_sb],
  3915:             gui.dragged_wp->w_scrollbars[0].value,
  3916:             gui.dragged_wp->w_scrollbars[0].size,
  3917:             gui.dragged_wp->w_scrollbars[0].max);
  3928:     if (!force && (gui.dragged_sb == SBAR_LEFT
  3929:                          || gui.dragged_sb == SBAR_RIGHT)
  3930:         && gui.dragged_wp == wp)
  3972:         if (gui.which_scrollbars[SBAR_LEFT])
  3974:         if (gui.which_scrollbars[SBAR_RIGHT])
  4001:         h = (sb->height + sb->status_height) * gui.char_height;
  4002:         y = sb->top * gui.char_height + gui.border_offset;
  4002:         y = sb->top * gui.char_height + gui.border_offset;
  4004:         if (gui.menu_is_active)
  4005:         y += gui.menu_height;
  4029:         h += gui.border_offset;
  4030:         y -= gui.border_offset;
  4032:         if (gui.which_scrollbars[SBAR_LEFT])
  4035:                       gui.left_sbar_x, y,
  4036:                       gui.scrollbar_width, h);
  4039:         if (gui.which_scrollbars[SBAR_RIGHT])
  4042:                       gui.right_sbar_x, y,
  4043:                       gui.scrollbar_width, h);
  4069:         if (gui.which_scrollbars[SBAR_LEFT]
  4070:             && (gui.dragged_sb != SBAR_LEFT || gui.dragged_wp != wp))
  4070:             && (gui.dragged_sb != SBAR_LEFT || gui.dragged_wp != wp))
  4073:         if (gui.which_scrollbars[SBAR_RIGHT]
  4074:             && (gui.dragged_sb != SBAR_RIGHT || gui.dragged_wp != wp))
  4074:             && (gui.dragged_sb != SBAR_RIGHT || gui.dragged_wp != wp))
  gui_do_scrollbar():
  4103:     if (gui.which_scrollbars[SBAR_RIGHT] != gui.which_scrollbars[SBAR_LEFT])
  4103:     if (gui.which_scrollbars[SBAR_RIGHT] != gui.which_scrollbars[SBAR_LEFT])
  gui_do_scroll():
  4171:     scrolldown(-nlines, gui.dragged_wp == NULL);
  4173:     scrollup(nlines, gui.dragged_wp == NULL);
  4177:     if (gui.dragged_sb == SBAR_NONE)
  4178:     gui.dragged_wp = NULL;
  gui_update_horiz_scrollbar():
  4280:     if (!gui.which_scrollbars[SBAR_BOTTOM])
  4283:     if (!force && gui.dragged_sb == SBAR_BOTTOM)
  4286:     if (!force && curwin->w_p_wrap && gui.prev_wrap)
  4295:     gui.bottom_sbar.value = -1;
  4381:     if (!force && value == gui.bottom_sbar.value && size == gui.bottom_sbar.size
  4381:     if (!force && value == gui.bottom_sbar.value && size == gui.bottom_sbar.size
  4382:                         && max == gui.bottom_sbar.max)
  4385:     gui.bottom_sbar.value = value;
  4386:     gui.bottom_sbar.size = size;
  4387:     gui.bottom_sbar.max = max;
  4388:     gui.prev_wrap = curwin->w_p_wrap;
  4390:     gui_mch_set_scrollbar_thumb(&gui.bottom_sbar, value, size, max);
  gui_check_colors():
  4432:     if (gui.norm_pixel == gui.back_pixel || gui.norm_pixel == INVALCOLOR)
  4432:     if (gui.norm_pixel == gui.back_pixel || gui.norm_pixel == INVALCOLOR)
  4432:     if (gui.norm_pixel == gui.back_pixel || gui.norm_pixel == INVALCOLOR)
  4435:     if (gui.norm_pixel == gui.back_pixel || gui.norm_pixel == INVALCOLOR)
  4435:     if (gui.norm_pixel == gui.back_pixel || gui.norm_pixel == INVALCOLOR)
  4435:     if (gui.norm_pixel == gui.back_pixel || gui.norm_pixel == INVALCOLOR)
  gui_set_fg_color():
  4444:     gui.norm_pixel = gui_get_color(name);
  gui_set_bg_color():
  4452:     gui.back_pixel = gui_get_color(name);
  gui_focus_change():
  4524:     gui.in_focus = in_focus;
  gui_mouse_moved():
  4559:     if (!gui.in_use || gui.starting)
  4559:     if (!gui.in_use || gui.starting)
  4574:         && gui.in_focus)        /* gvim in focus */
  4577:     if (x < 0 || x > Columns * gui.char_width)
  4587:     if (Y_2_ROW(y) < tabline_height())
  4587:     if (Y_2_ROW(y) < tabline_height())
  gui_mouse_correct():
  4637:     if (!(gui.in_use && p_mousef))
  4642:     if (x < 0 || x > Columns * gui.char_width)
  4646:         && Y_2_ROW(y) >= tabline_height()
  4646:         && Y_2_ROW(y) >= tabline_height()
  4653:     gui_mch_setmouse((int)W_ENDCOL(curwin) * gui.char_width - 3,
  4654:         (W_WINROW(curwin) + curwin->w_wrow) * gui.char_height
  4655:                              + (gui.char_height) / 2);
  xy2win():
  4673:     row = Y_2_ROW(y);
  4673:     row = Y_2_ROW(y);
  4674:     col = X_2_COL(x);
  4674:     col = X_2_COL(x);
  ex_gui():
  4724:     gui.dofork = (arg[1] == 'b');
  4727:     if (!gui.in_use)
  gui_wingoto_xy():
  5097:     int        row = Y_2_ROW(y);
  5097:     int        row = Y_2_ROW(y);
  5098:     int        col = X_2_COL(x);
  5098:     int        col = X_2_COL(x);
gui_mac.c (283 uses)
  gui_mac_doInContentClick():
  1754:         SetRect(&dragRect, FILL_X(X_2_COL(thePoint.h)),
  1754:         SetRect(&dragRect, FILL_X(X_2_COL(thePoint.h)),
  1754:         SetRect(&dragRect, FILL_X(X_2_COL(thePoint.h)),
  1754:         SetRect(&dragRect, FILL_X(X_2_COL(thePoint.h)),
  1755:                 FILL_Y(Y_2_ROW(thePoint.v)),
  1755:                 FILL_Y(Y_2_ROW(thePoint.v)),
  1755:                 FILL_Y(Y_2_ROW(thePoint.v)),
  1755:                 FILL_Y(Y_2_ROW(thePoint.v)),
  1756:                 FILL_X(X_2_COL(thePoint.h)+1),
  1756:                 FILL_X(X_2_COL(thePoint.h)+1),
  1756:                 FILL_X(X_2_COL(thePoint.h)+1),
  1756:                 FILL_X(X_2_COL(thePoint.h)+1),
  1757:                 FILL_Y(Y_2_ROW(thePoint.v)+1));
  1757:                 FILL_Y(Y_2_ROW(thePoint.v)+1));
  1757:                 FILL_Y(Y_2_ROW(thePoint.v)+1));
  1757:                 FILL_Y(Y_2_ROW(thePoint.v)+1));
  gui_mac_doInGrowClick():
  1804:     gui_mch_set_bg_color(gui.back_pixel);
  gui_mac_doInZoomClick():
  1819:     p.h = Columns * gui.char_width + 2 * gui.border_offset;
  1819:     p.h = Columns * gui.char_width + 2 * gui.border_offset;
  1820:     if (gui.which_scrollbars[SBAR_LEFT])
  1821:     p.h += gui.scrollbar_width;
  1822:     if (gui.which_scrollbars[SBAR_RIGHT])
  1823:     p.h += gui.scrollbar_width;
  1836:     p.v = r.bottom - r.top - 2 * gui.border_offset;
  1837:     if (gui.which_scrollbars[SBAR_BOTTOM])
  1838:     p.v -= gui.scrollbar_height;
  1839:     p.v -= p.v % gui.char_height;
  1840:     p.v += 2 * gui.border_width;
  1841:     if (gui.which_scrollbars[SBAR_BOTTOM]);
  1842:     p.v += gui.scrollbar_height;
  1848:     gui_mch_set_bg_color(gui.back_pixel);
  gui_mac_doUpdateEvent():
  1919:       gui_mch_set_bg_color(gui.back_pixel);
  1920:       if (updateRectPtr->left < FILL_X(0))
  1920:       if (updateRectPtr->left < FILL_X(0))
  1922:         SetRect(&rc, 0, 0, FILL_X(0), FILL_Y(Rows));
  1922:         SetRect(&rc, 0, 0, FILL_X(0), FILL_Y(Rows));
  1922:         SetRect(&rc, 0, 0, FILL_X(0), FILL_Y(Rows));
  1922:         SetRect(&rc, 0, 0, FILL_X(0), FILL_Y(Rows));
  1925:       if (updateRectPtr->top < FILL_Y(0))
  1925:       if (updateRectPtr->top < FILL_Y(0))
  1927:         SetRect(&rc, 0, 0, FILL_X(Columns), FILL_Y(0));
  1927:         SetRect(&rc, 0, 0, FILL_X(Columns), FILL_Y(0));
  1927:         SetRect(&rc, 0, 0, FILL_X(Columns), FILL_Y(0));
  1927:         SetRect(&rc, 0, 0, FILL_X(Columns), FILL_Y(0));
  1930:       if (updateRectPtr->right > FILL_X(Columns))
  1930:       if (updateRectPtr->right > FILL_X(Columns))
  1932:         SetRect(&rc, FILL_X(Columns), 0,
  1932:         SetRect(&rc, FILL_X(Columns), 0,
  1933:                FILL_X(Columns) + gui.border_offset, FILL_Y(Rows));
  1933:                FILL_X(Columns) + gui.border_offset, FILL_Y(Rows));
  1933:                FILL_X(Columns) + gui.border_offset, FILL_Y(Rows));
  1933:                FILL_X(Columns) + gui.border_offset, FILL_Y(Rows));
  1933:                FILL_X(Columns) + gui.border_offset, FILL_Y(Rows));
  1936:       if (updateRectPtr->bottom > FILL_Y(Rows))
  1936:       if (updateRectPtr->bottom > FILL_Y(Rows))
  1938:         SetRect(&rc, 0, FILL_Y(Rows), FILL_X(Columns) + gui.border_offset,
  1938:         SetRect(&rc, 0, FILL_Y(Rows), FILL_X(Columns) + gui.border_offset,
  1938:         SetRect(&rc, 0, FILL_Y(Rows), FILL_X(Columns) + gui.border_offset,
  1938:         SetRect(&rc, 0, FILL_Y(Rows), FILL_X(Columns) + gui.border_offset,
  1938:         SetRect(&rc, 0, FILL_Y(Rows), FILL_X(Columns) + gui.border_offset,
  1939:                         FILL_Y(Rows) + gui.border_offset);
  1939:                         FILL_Y(Rows) + gui.border_offset);
  1939:                         FILL_Y(Rows) + gui.border_offset);
  gui_mac_doActivateEvent():
  1974:     if (whichWindow == gui.VimWindow)
  1977:     GetRootControl(gui.VimWindow, &rootControl);
  gui_mac_doMouseMovedEvent():
  2506:     SetRect(&dragRect, FILL_X(X_2_COL(thePoint.h)),
  2506:     SetRect(&dragRect, FILL_X(X_2_COL(thePoint.h)),
  2506:     SetRect(&dragRect, FILL_X(X_2_COL(thePoint.h)),
  2506:     SetRect(&dragRect, FILL_X(X_2_COL(thePoint.h)),
  2507:             FILL_Y(Y_2_ROW(thePoint.v)),
  2507:             FILL_Y(Y_2_ROW(thePoint.v)),
  2507:             FILL_Y(Y_2_ROW(thePoint.v)),
  2507:             FILL_Y(Y_2_ROW(thePoint.v)),
  2508:             FILL_X(X_2_COL(thePoint.h)+1),
  2508:             FILL_X(X_2_COL(thePoint.h)+1),
  2508:             FILL_X(X_2_COL(thePoint.h)+1),
  2508:             FILL_X(X_2_COL(thePoint.h)+1),
  2509:             FILL_Y(Y_2_ROW(thePoint.v)+1));
  2509:             FILL_Y(Y_2_ROW(thePoint.v)+1));
  2509:             FILL_Y(Y_2_ROW(thePoint.v)+1));
  2509:             FILL_Y(Y_2_ROW(thePoint.v)+1));
  gui_mac_mouse_wheel():
  2587:     if (noErr == GetWindowBounds(gui.VimWindow, kWindowContentRgn, &bounds))
  gui_mch_init():
  3076:     gui.VimWindow = NewCWindow(nil, &windRect, "\pgVim on Macintosh", true,
  3079:     CreateRootControl(gui.VimWindow, &rootControl);
  3081:         gui.VimWindow, NULL);
  3082:     SetPortWindowPort(gui.VimWindow);
  3084:     gui.char_width = 7;
  3085:     gui.char_height = 11;
  3086:     gui.char_ascent = 6;
  3087:     gui.num_rows = 24;
  3088:     gui.num_cols = 80;
  3089:     gui.in_focus = TRUE; /* For the moment -> syn. of front application */
  3107:     gui.norm_pixel = 0x00000000;
  3108:     gui.back_pixel = 0x00FFFFFF;
  3119:     gui.def_norm_pixel = gui.norm_pixel;
  3119:     gui.def_norm_pixel = gui.norm_pixel;
  3120:     gui.def_back_pixel = gui.back_pixel;
  3120:     gui.def_back_pixel = gui.back_pixel;
  3130:     gui.menu_height = 0;
  3132:     gui.scrollbar_height = gui.scrollbar_width = 15; /* cheat 1 overlap */
  3132:     gui.scrollbar_height = gui.scrollbar_width = 15; /* cheat 1 overlap */
  3133:     gui.border_offset = gui.border_width = 2;
  3133:     gui.border_offset = gui.border_width = 2;
  3184:     if (noErr != InstallWindowEventHandler(gui.VimWindow,
  gui_mch_open():
  3229:     ShowWindow(gui.VimWindow);
  gui_mch_get_winpos():
  3299:     status = GetWindowBounds(gui.VimWindow, kWindowStructureRgn, &bounds);
  gui_mch_set_winpos():
  3319:     MoveWindowStructure(gui.VimWindow, x, y);
  gui_mch_set_shellsize():
  3335:     if (gui.which_scrollbars[SBAR_LEFT])
  3337:     VimPort = GetWindowPort(gui.VimWindow);
  3339:     VimBound.left = -gui.scrollbar_width; /* + 1;*/
  3345:     VimPort = GetWindowPort(gui.VimWindow);
  3351:     SizeWindow(gui.VimWindow, width, height, TRUE);
  gui_mac_select_font():
  3387:     curr_font.instance.fontFamily = gui.norm_font & 0xFFFF;
  3388:     curr_font.size = (gui.norm_font >> 16);
  gui_mch_init_font():
  3508:     gui.norm_font = font;
  3517:     gui.char_ascent = font_info.ascent;
  3518:     gui.char_width  = CharWidth('_');
  3519:     gui.char_height = font_info.ascent + font_info.descent + p_linespace;
  gui_mch_adjust_charheight():
  3538:     gui.char_height = font_info.ascent + font_info.descent + p_linespace;
  3539:     gui.char_ascent = font_info.ascent + p_linespace / 2;
  gui_mac_set_font_attributes():
  3590:     fontWidth = Long2Fix(gui.char_width);
  3627:         fontWidth = Long2Fix(gui.char_width * 2);
  gui_mch_set_font():
  3676:     if (gui.wide_font)
  3682:             (gui.wide_font & 0xFFFF),
  draw_undercurl():
  3932:     int            y = FILL_Y(row + 1) - 1;
  3932:     int            y = FILL_Y(row + 1) - 1;
  3936:     offset = val[FILL_X(col) % 8];
  3936:     offset = val[FILL_X(col) % 8];
  3937:     MoveTo(FILL_X(col), y - offset);
  3937:     MoveTo(FILL_X(col), y - offset);
  3939:     for (x = FILL_X(col); x < FILL_X(col + cells); ++x)
  3939:     for (x = FILL_X(col); x < FILL_X(col + cells); ++x)
  3939:     for (x = FILL_X(col); x < FILL_X(col + cells); ++x)
  3939:     for (x = FILL_X(col); x < FILL_X(col + cells); ++x)
  draw_string_QD():
  3986:     rc.left = FILL_X(col);
  3986:     rc.left = FILL_X(col);
  3987:     rc.top = FILL_Y(row);
  3987:     rc.top = FILL_Y(row);
  3998:         rc.right = FILL_X(col + cell_len);
  3998:         rc.right = FILL_X(col + cell_len);
  4002:     rc.right = FILL_X(col + len) + (col + len == Columns);
  4002:     rc.right = FILL_X(col + len) + (col + len == Columns);
  4003:     rc.bottom = FILL_Y(row + 1);
  4003:     rc.bottom = FILL_Y(row + 1);
  4021:     MoveTo(TEXT_X(col), TEXT_Y(row));
  4021:     MoveTo(TEXT_X(col), TEXT_Y(row));
  4021:     MoveTo(TEXT_X(col), TEXT_Y(row));
  4021:     MoveTo(TEXT_X(col), TEXT_Y(row));
  4021:     MoveTo(TEXT_X(col), TEXT_Y(row));
  4037:     MoveTo(TEXT_X(col), TEXT_Y(row));
  4037:     MoveTo(TEXT_X(col), TEXT_Y(row));
  4037:     MoveTo(TEXT_X(col), TEXT_Y(row));
  4037:     MoveTo(TEXT_X(col), TEXT_Y(row));
  4037:     MoveTo(TEXT_X(col), TEXT_Y(row));
  4043:         MoveTo(TEXT_X(col) + 1, TEXT_Y(row));
  4043:         MoveTo(TEXT_X(col) + 1, TEXT_Y(row));
  4043:         MoveTo(TEXT_X(col) + 1, TEXT_Y(row));
  4043:         MoveTo(TEXT_X(col) + 1, TEXT_Y(row));
  4043:         MoveTo(TEXT_X(col) + 1, TEXT_Y(row));
  4049:         MoveTo(FILL_X(col), FILL_Y(row + 1) - 1);
  4049:         MoveTo(FILL_X(col), FILL_Y(row + 1) - 1);
  4049:         MoveTo(FILL_X(col), FILL_Y(row + 1) - 1);
  4049:         MoveTo(FILL_X(col), FILL_Y(row + 1) - 1);
  4050:         LineTo(FILL_X(col + len) - 1, FILL_Y(row + 1) - 1);
  4050:         LineTo(FILL_X(col + len) - 1, FILL_Y(row + 1) - 1);
  4050:         LineTo(FILL_X(col + len) - 1, FILL_Y(row + 1) - 1);
  4050:         LineTo(FILL_X(col + len) - 1, FILL_Y(row + 1) - 1);
  draw_string_ATSUI():
  4091:     rc.left = FILL_X(col);
  4091:     rc.left = FILL_X(col);
  4092:     rc.top = FILL_Y(row);
  4092:     rc.top = FILL_Y(row);
  4102:         rc.right = FILL_X(col + cell_len);
  4102:         rc.right = FILL_X(col + cell_len);
  4105:         rc.right = FILL_X(col + len) + (col + len == Columns);
  4105:         rc.right = FILL_X(col + len) + (col + len == Columns);
  4107:     rc.bottom = FILL_Y(row + 1);
  4107:     rc.bottom = FILL_Y(row + 1);
  4121:     MoveTo(TEXT_X(col), TEXT_Y(row));
  4121:     MoveTo(TEXT_X(col), TEXT_Y(row));
  4121:     MoveTo(TEXT_X(col), TEXT_Y(row));
  4121:     MoveTo(TEXT_X(col), TEXT_Y(row));
  4121:     MoveTo(TEXT_X(col), TEXT_Y(row));
  gui_mch_flash():
  4287:     rc.right = gui.num_cols * gui.char_width;
  4287:     rc.right = gui.num_cols * gui.char_width;
  4288:     rc.bottom = gui.num_rows * gui.char_height;
  4288:     rc.bottom = gui.num_rows * gui.char_height;
  gui_mch_invert_rectangle():
  4307:     rc.left = FILL_X(c);
  4307:     rc.left = FILL_X(c);
  4308:     rc.top = FILL_Y(r);
  4308:     rc.top = FILL_Y(r);
  4309:     rc.right = rc.left + nc * gui.char_width;
  4310:     rc.bottom = rc.top + nr * gui.char_height;
  gui_mch_draw_hollow_cursor():
  4348:     rc.left = FILL_X(gui.col);
  4348:     rc.left = FILL_X(gui.col);
  4348:     rc.left = FILL_X(gui.col);
  4349:     rc.top = FILL_Y(gui.row);
  4349:     rc.top = FILL_Y(gui.row);
  4349:     rc.top = FILL_Y(gui.row);
  4350:     rc.right = rc.left + gui.char_width;
  4352:     if (mb_lefthalve(gui.row, gui.col))
  4352:     if (mb_lefthalve(gui.row, gui.col))
  4353:     rc.right += gui.char_width;
  4355:     rc.bottom = rc.top + gui.char_height;
  gui_mch_draw_part_cursor():
  4376:     rc.left = FILL_X(gui.col);
  4376:     rc.left = FILL_X(gui.col);
  4376:     rc.left = FILL_X(gui.col);
  4377:     rc.top = FILL_Y(gui.row) + gui.char_height - h;
  4377:     rc.top = FILL_Y(gui.row) + gui.char_height - h;
  4377:     rc.top = FILL_Y(gui.row) + gui.char_height - h;
  4377:     rc.top = FILL_Y(gui.row) + gui.char_height - h;
  gui_mch_clear_block():
  4523:     rc.left = FILL_X(col1);
  4523:     rc.left = FILL_X(col1);
  4524:     rc.top = FILL_Y(row1);
  4524:     rc.top = FILL_Y(row1);
  4525:     rc.right = FILL_X(col2 + 1) + (col2 == Columns - 1);
  4525:     rc.right = FILL_X(col2 + 1) + (col2 == Columns - 1);
  4526:     rc.bottom = FILL_Y(row2 + 1);
  4526:     rc.bottom = FILL_Y(row2 + 1);
  4528:     gui_mch_set_bg_color(gui.back_pixel);
  gui_mch_clear_all():
  4542:     rc.right = Columns * gui.char_width + 2 * gui.border_width;
  4542:     rc.right = Columns * gui.char_width + 2 * gui.border_width;
  4543:     rc.bottom = Rows * gui.char_height + 2 * gui.border_width;
  4543:     rc.bottom = Rows * gui.char_height + 2 * gui.border_width;
  4545:     gui_mch_set_bg_color(gui.back_pixel);
  gui_mch_delete_lines():
  4562:     rc.left = FILL_X(gui.scroll_region_left);
  4562:     rc.left = FILL_X(gui.scroll_region_left);
  4562:     rc.left = FILL_X(gui.scroll_region_left);
  4563:     rc.right = FILL_X(gui.scroll_region_right + 1);
  4563:     rc.right = FILL_X(gui.scroll_region_right + 1);
  4563:     rc.right = FILL_X(gui.scroll_region_right + 1);
  4564:     rc.top = FILL_Y(row);
  4564:     rc.top = FILL_Y(row);
  4565:     rc.bottom = FILL_Y(gui.scroll_region_bot + 1);
  4565:     rc.bottom = FILL_Y(gui.scroll_region_bot + 1);
  4565:     rc.bottom = FILL_Y(gui.scroll_region_bot + 1);
  4567:     gui_mch_set_bg_color(gui.back_pixel);
  4568:     ScrollRect(&rc, 0, -num_lines * gui.char_height, (RgnHandle) nil);
  4570:     gui_clear_block(gui.scroll_region_bot - num_lines + 1,
  4571:                                gui.scroll_region_left,
  4572:     gui.scroll_region_bot, gui.scroll_region_right);
  4572:     gui.scroll_region_bot, gui.scroll_region_right);
  gui_mch_insert_lines():
  4584:     rc.left = FILL_X(gui.scroll_region_left);
  4584:     rc.left = FILL_X(gui.scroll_region_left);
  4584:     rc.left = FILL_X(gui.scroll_region_left);
  4585:     rc.right = FILL_X(gui.scroll_region_right + 1);
  4585:     rc.right = FILL_X(gui.scroll_region_right + 1);
  4585:     rc.right = FILL_X(gui.scroll_region_right + 1);
  4586:     rc.top = FILL_Y(row);
  4586:     rc.top = FILL_Y(row);
  4587:     rc.bottom = FILL_Y(gui.scroll_region_bot + 1);
  4587:     rc.bottom = FILL_Y(gui.scroll_region_bot + 1);
  4587:     rc.bottom = FILL_Y(gui.scroll_region_bot + 1);
  4589:     gui_mch_set_bg_color(gui.back_pixel);
  4591:     ScrollRect(&rc, 0, gui.char_height * num_lines, (RgnHandle) nil);
  4594:     if (gui.cursor_row >= gui.row
  4594:     if (gui.cursor_row >= gui.row
  4595:         && gui.cursor_col >= gui.scroll_region_left
  4595:         && gui.cursor_col >= gui.scroll_region_left
  4596:         && gui.cursor_col <= gui.scroll_region_right)
  4596:         && gui.cursor_col <= gui.scroll_region_right)
  4598:     if (gui.cursor_row <= gui.scroll_region_bot - num_lines)
  4598:     if (gui.cursor_row <= gui.scroll_region_bot - num_lines)
  4599:         gui.cursor_row += num_lines;
  4600:     else if (gui.cursor_row <= gui.scroll_region_bot)
  4600:     else if (gui.cursor_row <= gui.scroll_region_bot)
  4601:         gui.cursor_is_valid = FALSE;
  4604:     gui_clear_block(row, gui.scroll_region_left,
  4605:                 row + num_lines - 1, gui.scroll_region_right);
  gui_mch_set_text_area_pos():
  4781:     GetWindowBounds(gui.VimWindow, kWindowGlobalPortRgn, &VimBound);
  4783:     if (gui.which_scrollbars[SBAR_LEFT])
  4785:     VimBound.left = -gui.scrollbar_width + 1;
  4792:     SetWindowBounds(gui.VimWindow, kWindowGlobalPortRgn, &VimBound);
  4794:     ShowWindow(gui.VimWindow);
  gui_mch_set_scrollbar_pos():
  5198:     gui_mch_set_bg_color(gui.back_pixel);
  5209:     if (sb == &gui.bottom_sbar)
  5214:     if (gui.which_scrollbars[SBAR_LEFT])
  gui_mch_create_scrollbar():
  5236:     sb->id = NewControl(gui.VimWindow,
  gui_mch_destroy_scrollbar():
  5253:     gui_mch_set_bg_color(gui.back_pixel);
  gui_mch_settitle():
  6080:     SetWindowTitleWithCFString(gui.VimWindow, windowTitle);
  im_on_window_switch():
  6389:     if (! gui.in_use)
  im_set_active():
  6442:     if (! gui.in_use)
  im_get_status():
  6498:     if (! gui.in_use)
  initialise_tabline():
  6753:     SetDrawerParent(drawer, gui.VimWindow);
hardcopy.c (2 uses)
  prt_get_attr():
  288:     if (gui.in_use)
  ex_hardcopy():
  611:     if (gui.in_use)
main.c (17 uses)
  main():
  270:     gui.dofork = TRUE;            /* default is to use fork() */
  452:     if (gui.starting && (!isatty(2) || strcmp("/dev/console", ttyname(2)) == 0))
  625:     if (gui.starting)
  639:     if (!gui.in_use && params.evim_mode)
  696:     if (gui.in_use)
  775:             && !gui.in_use
  getout():
  1230:     if (!gui.in_use)
  1296:         || (gui.in_use && msg_didany && p_verbose > 0)
  1308:     if (!gui.in_use)
  parse_command_name():
  1450:     gui.starting = TRUE;
  command_line_scan():
  1681:             gui.dofork = FALSE;    /* don't fork() when starting GUI */
  1768:         gui.dofork = FALSE;    /* don't fork() when starting GUI */
  1821:         gui.starting = TRUE;    /* start GUI a bit later */
  1948:         gui.starting = FALSE;    /* don't start GUI */
  2117:             gui.starting = TRUE;    /* start GUI a bit later */
  check_tty():
  2293:         && !gui.starting
  main_start_gui():
  2849:     gui.starting = TRUE;    /* start GUI a bit later */
memline.c (2 uses)
  findswapname():
  4142:             if (gui.starting && !gui.in_use)
  4142:             if (gui.starting && !gui.in_use)
menu.c (5 uses)
  ex_menu():
  326:     old_menu_height = gui.menu_height;
  446:     if (gui.in_use
  447:         && (gui.menu_height != old_menu_height
  add_menu_path():
  655:         if (gui.in_use)  /* Otherwise it will be added when GUI starts */
  free_menu():
  1025:     if (gui.in_use)
message.c (7 uses)
  msg_scroll_up():
  2077:     if (gui.in_use)
  mch_errmsg():
  2702:         !(gui.in_use || gui.starting)
  2702:         !(gui.in_use || gui.starting)
  mch_msg():
  2770:         !(gui.in_use || gui.starting)
  2770:         !(gui.in_use || gui.starting)
  do_dialog():
  3289:     if (gui.in_use && vim_strchr(p_go, GO_CONDIALOG) == NULL)
  do_browse():
  3740:     if (gui.in_use)        /* when this changes, also adjust f_has()! */
misc1.c (4 uses)
  vim_beep():
  3351:         && !(gui.in_use && gui.starting)
  3351:         && !(gui.in_use && gui.starting)
  prepare_to_exit():
  8315:     if (gui.in_use)
  8317:     gui.dying = TRUE;
normal.c (3 uses)
  do_mouse():
  2270:     if (!gui.in_use)
  2546:         if (gui.in_use)
  nv_mousescroll():
  4431:     if (gui.in_use && mouse_row >= 0 && mouse_col >= 0)
option.c (12 uses)
  gui_bg_default():
  3851:     if (gui_get_lightness(gui.back_pixel) < 127)
  set_title_defaults():
  3895:     if (gui.starting || gui.in_use)
  3895:     if (gui.starting || gui.in_use)
  3907:     if (gui.starting || gui.in_use)
  3907:     if (gui.starting || gui.in_use)
  do_set():
  4391:                 if (gui.in_use)
  did_set_title():
  4846:         && !gui.starting
  did_set_string_option():
  5455:     if (gui.in_use)
  6036:     if (gui.in_use)
  set_num_option():
  7718:     if (gui.in_use && gui_mch_adjust_charheight() == OK)
  7843:         && !gui.starting
  7938:         && !gui.starting
os_unix.c (14 uses)
  set_signals():
  1206:     if (gui.in_use)
  mch_settitle():
  1958:     if (gui.in_use)
  1971:         && !gui.in_use
  1997:         && !gui.in_use
  mch_exit():
  2973:     if (!gui.in_use)
  3009:     if (gui.in_use)
  check_mouse_termcode():
  3317:         && !gui.in_use
  mch_call_shell():
  3770:         || (gui.in_use && show_shell_mess)
  3825:         || (gui.in_use && show_shell_mess)
  3887:             || gui.in_use
  3950:             if (gui.in_use)
  3974:             if (gui.in_use)
  4010:             || (gui.in_use && show_shell_mess)
  4160:                             || gui.in_use
screen.c (26 uses)
  redraw_later_clear():
  216:     if (gui.in_use)
  update_screen():
  517:         if (gui.in_use)
  570:     if (gui.in_use)
  update_prepare():
  595:     if (gui.in_use)
  update_finish():
  623:     if (gui.in_use)
  win_line():
  2841:         && !gui.in_use
  4751:              && !gui.in_use
  screen_line():
  5006:     if (redraw_next && gui.in_use)
  5033:             && !gui.in_use
  5129:             gui.in_use
  5161:         && !gui.in_use
  5225:         if (gui.in_use && (col > startCol || !redraw_this))
  screen_puts_len():
  6356:             gui.in_use
  screen_start_highlight():
  6702:     if (gui.in_use)
  screen_stop_highlight():
  6776:     if (gui.in_use)
  screen_fill():
  7115:         !gui.in_use &&
  7199:             gui.in_use
  screenalloc():
  7575:     else if (gui.in_use
  7576:         && !gui.starting
  screenclear2():
  7638:         || (gui.in_use && gui.starting)
  7638:         || (gui.in_use && gui.starting)
  7644:     if (!gui.in_use)
  can_clear():
  7767:         || gui.in_use
  screen_ins_lines():
  8546:     if (gui.in_use)
  screen_del_lines():
  8794:     if (gui.in_use)
  draw_tabline():
  9079:                         && !gui.in_use
search.c (1 use)
  showmatch():
  2456:         if (gui.in_use)
syntax.c (25 uses)
  do_highlight():
  6669:         if (gui.in_use)
  6718:         if (gui.in_use)
  6911:         if (!gui.shell_created)
  7127:             if (!gui.in_use && !gui.starting)
  7127:             if (!gui.in_use && !gui.starting)
  7144:             if (!gui.in_use && !gui.starting)
  7144:             if (!gui.in_use && !gui.starting)
  7172:         if (i != INVALCOLOR || STRCMP(arg, "NONE") == 0 || !gui.in_use)
  7204:         if (i != INVALCOLOR || STRCMP(arg, "NONE") == 0 || !gui.in_use)
  7236:         if (i != INVALCOLOR || STRCMP(arg, "NONE") == 0 || !gui.in_use)
  7366:         if (gui.in_use)
  set_normal_colors():
  7514:                  &gui.norm_pixel, &gui.back_pixel,
  7514:                  &gui.norm_pixel, &gui.back_pixel,
  set_group_colors():
  7573:         *fgp = gui.def_norm_pixel;
  7577:         *bgp = gui.def_back_pixel;
  color_name2handle():
  7675:     return gui.norm_pixel;
  7677:     return gui.back_pixel;
  hl_combine_attr():
  7996:     if (gui.in_use)
  syn_attr2attr():
  8122:     if (gui.in_use)
  highlight_color():
  8327:     if (gui.in_use && what[1] && what[2] == '#')
  syn_id2attr():
  8704:     if (gui.in_use)
  free_highlight_fonts():
  9166:     gui_mch_free_font(gui.norm_font);
  9171:     gui_mch_free_font(gui.bold_font);
  9172:     gui_mch_free_font(gui.ital_font);
  9173:     gui_mch_free_font(gui.boldital_font);
term.c (19 uses)
  set_termname():
  1847:         if (!gui.in_use)
  1878:     if (!gui.in_use)
  1892:     if (!gui.in_use)
  1922:     if (!gui.in_use)
  1938:         || gui.in_use
  add_termcap_entry():
  2259:     if (gui.in_use || gui.starting)
  2259:     if (gui.in_use || gui.starting)
  out_str():
  2652:     if (gui.in_use)
  settmode():
  3184:     if (gui.in_use)
  setmouse():
  3336:     if (gui.in_use)
  check_termcode():
  3933:     if (gui.in_use)
  4148:     if (gui.in_use
  4210:             if (gui.in_use)
  4238:             if (gui.in_use)
  4248:                 && (!gui.in_use
  4267:             && !gui.in_use
  4281:             && !gui.in_use
  4684:         if (!gui.in_use)
  gather_termleader():
  5209:     if (gui.in_use)
ui.c (23 uses)
  ui_write():
  27:     if (gui.in_use && !gui.dying && !gui.starting)
  27:     if (gui.in_use && !gui.dying && !gui.starting)
  27:     if (gui.in_use && !gui.dying && !gui.starting)
  ui_inchar():
  182:     if (gui.in_use)
  ui_char_avail():
  220:     if (gui.in_use)
  ui_delay():
  247:     if (gui.in_use && !ignoreinput)
  ui_suspend():
  263:     if (gui.in_use)
  ui_get_shellsize():
  301:     if (gui.in_use)
  ui_set_shellsize():
  329:     if (gui.in_use)
  ui_new_shellsize():
  352:     if (gui.in_use)
  ui_breakcheck():
  364:     if (gui.in_use)
  clip_isautosel():
  563:         gui.in_use ? (vim_strchr(p_go, GO_ASEL) != NULL) :
  clip_start_selection():
  677:     if (gui.in_use)
  clip_process_selection():
  734:         if (gui.in_use)
  748:             gui.in_use ? (vim_strchr(p_go, GO_ASELML) != NULL) :
  753:     if (gui.in_use)
  clip_invert_rectangle():
  1118:     if (gui.in_use)
  fill_input_buf():
  1720:     if (gui.in_use
  ui_cursor_shape():
  1900:     if (gui.in_use)
  ui_focus_change():
  3033:         gui.in_use
  3069:     if (gui.in_use)
  im_save_status():
  3104:         && (!gui.in_use || gui.in_focus)
  3104:         && (!gui.in_use || gui.in_focus)
version.c (1 use)
  intro_message():
  1782:         if (p_im && gui.in_use && gui_lines[i] != NULL)
window.c (10 uses)
  win_split_ins():
  728:     if (gui.in_use)
  1130:     if (gui.in_use)
  win_totop():
  1552:     if (gui.in_use)
  win_close():
  2134:     if (gui.in_use)
  2220:     if (gui.in_use && !win_hasvertsplit())
  win_new_tabpage():
  3358:     if (gui.in_use && starting == 0)
  leave_tabpage():
  3512:     if (gui.in_use)
  enter_tabpage():
  3583:     if (gui.in_use && starting == 0)
  win_alloc():
  4194:     if (gui.in_use)
  win_free():
  4287:     if (gui.in_use)
has_mbyte (476 uses in 36 translation units) defined in translation unit main.c, declared in ./globals.h:776
buffer.c (5 uses)
  maketitle():
  3215:         if (has_mbyte)
  build_stl_str_hl():
  3452:         if (has_mbyte)
  3858:             if (has_mbyte)
  3985:         if (has_mbyte)
  4013:         if (has_mbyte)
charset.c (17 uses)
  trans_characters():
  302:     if (has_mbyte && (trs_len = (*mb_ptr2len)(buf)) > 1)
  transstr():
  341:     if (has_mbyte)
  382:         if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  str_foldcase():
  448:     if (enc_utf8 || (has_mbyte && MB_BYTE2LEN(STR_CHAR(i)) > 1))
  vim_strnsize():
  777:     if (has_mbyte)
  win_linetabsize():
  858:     for (s = p; *s != NUL && (len == MAXCOL || s < p + len); mb_ptr_adv(s))
  vim_iswordp():
  903:     if (has_mbyte && MB_BYTE2LEN(*p) > 1)
  vim_iswordc_buf():
  916:     if (has_mbyte && MB_BYTE2LEN(*p) > 1)
  lbr_chartabsize_adv():
  1018:     mb_ptr_adv(*s);
  win_lbr_chartabsize():
  1104:         mb_ptr_adv(s);
  1122:     else if (has_mbyte && size == 2 && MB_BYTE2LEN(*s) > 1
  getvcol():
  1281:         if (has_mbyte)
  1309:         mb_ptr_adv(ptr);
  1330:         mb_ptr_adv(ptr);
  vim_isupper():
  1609:         if (has_mbyte)
  vim_toupper():
  1634:         if (has_mbyte)
  vim_tolower():
  1659:         if (has_mbyte)
diff.c (1 use)
  diff_find_change():
  1909:         if (has_mbyte)
digraph.c (4 uses)
  getexactdigraph():
  2193:     if (!has_mbyte && retval > 0xff)
  listdigraphs():
  2308:                       && (has_mbyte || tmp.result <= 255))
  printdigraph():
  2345:         || has_mbyte
  2365:     if (has_mbyte)
edit.c (38 uses)
  edit():
  511:         else if (has_mbyte)
  1382:             (has_mbyte && c >= 0x100) ? (c + ABBR_OFF) :
  display_dollar():
  1627:     if (has_mbyte)
  change_indent():
  1786:         if (has_mbyte && new_cursor_col >= 0)
  ins_compl_add_infercase():
  2132:     if (has_mbyte)
  2138:         mb_ptr_adv(p);
  2148:     if (has_mbyte)
  2154:         mb_ptr_adv(p);
  2169:         if (has_mbyte)
  2180:         if (has_mbyte)
  2208:             if (has_mbyte)
  2229:         if (has_mbyte)
  2250:         if (has_mbyte)
  ins_compl_longest_match():
  2439:         if (has_mbyte)
  2454:         if (has_mbyte)
  2456:         mb_ptr_adv(p);
  2457:         mb_ptr_adv(s);
  ins_compl_files():
  2997:                 if (has_mbyte)
  find_word_start():
  3047:     if (has_mbyte)
  find_word_end():
  3068:     if (has_mbyte)
  ins_compl_bs():
  3177:     mb_ptr_back(line, p);
  ins_compl_addleader():
  3277:     if (has_mbyte && (cc = (*mb_char2len)(c)) > 1)
  ins_compl_prep():
  3572:             for (p += temp; *p != NUL; mb_ptr_adv(p))
  ins_complete():
  4788:         if (has_mbyte)
  quote_meta():
  5217:     if (has_mbyte)
  insertchar():
  5584:         && (!has_mbyte || (*mb_char2len)(c) == 1)
  5616:         && (!has_mbyte || MB_BYTE2LEN_CHECK(c) == 1)
  5658:     if (has_mbyte && (cc = (*mb_char2len)(c)) > 1)
  internal_format():
  5779:     if (has_mbyte)
  5826:         if (has_mbyte)
  oneright():
  6584:     if (has_mbyte)
  oneleft():
  6626:             && !has_mbyte
  6666:     if (has_mbyte)
  mb_replace_pop_ins():
  7065:     if (has_mbyte && (n = MB_BYTE2LEN(cc)) > 1)
  replace_do_bs():
  7154:     if (has_mbyte)
  in_cinkeys():
  7458:             if (has_mbyte)
  ins_esc():
  7948:         if (has_mbyte)
  ins_right():
  8946:         if (has_mbyte)
eval.c (22 uses)
  set_context_for_expression():
  3057:         mb_ptr_back(arg, p);
  get_string_tv():
  5114:     for (p = *arg + 1; *p != NUL && *p != '"'; mb_ptr_adv(p))
  5220:         default:  MB_COPY_CHAR(p, name);
  5225:         MB_COPY_CHAR(p, name);
  get_lit_string_tv():
  5251:     for (p = *arg + 1; *p != NUL; mb_ptr_adv(p))
  5292:     MB_COPY_CHAR(p, str);
  string_quote():
  6959:     for (p = str; *p != NUL; mb_ptr_adv(p))
  6978:         MB_COPY_CHAR(p, r);
  f_char2nr():
  8251:     if (has_mbyte)
  f_cursor():
  8655:     if (has_mbyte)
  f_getchar():
  9993:     else if (has_mbyte)
  f_nr2char():
  12921:     if (has_mbyte)
  f_tolower():
  16331:         else if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  f_tr():
  16391:     if (!has_mbyte)
  16408:     if (has_mbyte)
  find_name_end():
  17174:             || br_nest != 0); mb_ptr_adv(p))
  17179:         for (p = p + 1; *p != NUL && *p != '\''; mb_ptr_adv(p))
  17187:         for (p = p + 1; *p != NUL && *p != '"'; mb_ptr_adv(p))
  ex_echo():
  18604:             if (has_mbyte)
  modify_fname():
  21370:     for (p = *fnamep; *p != NUL; mb_ptr_adv(p))
  21479:         mb_ptr_back(*fnamep, tail);
  21498:         mb_ptr_back(*fnamep, tail);
ex_cmds.c (5 uses)
  do_ascii():
  72:     if (!has_mbyte || (enc_dbcs != 0 && c < 0x100) || c < 0x80)
  107:     while (has_mbyte && (c >= 0x100 || (enc_utf8 && c >= 0x80)))
  ex_retab():
  684:         if (has_mbyte)
  do_sub():
  4284:         mb_ptr_adv(cmd);
  4927:             else if (has_mbyte)
ex_docmd.c (10 uses)
  set_one_cmd_context():
  3295:         mb_ptr_adv(p);
  3327:         if (has_mbyte)
  3355:             if (has_mbyte)
  3363:             if (has_mbyte)
  3368:             mb_ptr_adv(p);
  3376:         mb_ptr_adv(p);
  separate_nextcmd():
  4546:     for ( ; *p; mb_ptr_adv(p))
  skip_cmd_arg():
  4647:     mb_ptr_adv(p);
  ex_normal():
  8944:     if (has_mbyte)
  ses_put_fname():
  10501:         if (has_mbyte && (l = (*mb_ptr2len)(name)) > 1)
ex_getln.c (21 uses)
  getcmdline():
  566:             if (has_mbyte)
  594:             if (has_mbyte)
  911:         if (has_mbyte && c == K_DEL)
  922:             if (has_mbyte)
  1177:             if (has_mbyte)
  1188:         if (has_mbyte)
  1202:             if (has_mbyte)    /* move to first byte of char */
  1213:         if (has_mbyte)
  1314:             if (has_mbyte)
  1662:             (has_mbyte && c >= 0x100) ? (c + ABBR_OFF) :
  1675:         if (has_mbyte)
  set_cmdspos_cursor():
  2053:     if (has_mbyte)
  2064:     if (has_mbyte)
  draw_cmdline():
  2542:         if (has_mbyte)
  put_on_cmdline():
  2723:         if (has_mbyte)
  2829:         if (has_mbyte)
  2838:         if (has_mbyte)
  cmdline_paste():
  2984:         if (has_mbyte)
  cmdline_paste_str():
  3035:         if (has_mbyte)
  sm_gettail():
  3964:     mb_ptr_adv(p);
  ExpandRTDir():
  4869:         for (s = e - 4; s > all; mb_ptr_back(all, s))
fileio.c (1 use)
  buf_modname():
  5857:     for (ptr = retval + fnamelen; ptr > retval; mb_ptr_back(retval, ptr))
fold.c (4 uses)
  foldAdjustVisual():
  1096:     if (has_mbyte)
  get_foldtext():
  1965:         if (has_mbyte && (len = (*mb_ptr2len)(p)) > 1)
  foldtext_cleanup():
  2083:         mb_ptr_adv(s);
  foldlevelMarker():
  3204:         mb_ptr_adv(s);
getchar.c (12 uses)
  AppendToRedobuffLit():
  571:     if (has_mbyte)
  read_redo():
  721:     if (has_mbyte && (c != K_SPECIAL || p[1] == KS_SPECIAL))
  vgetc():
  1704:     if (has_mbyte && (n = MB_BYTE2LEN_CHECK(c)) > 1)
  vgetorpeek():
  2126:                 if (has_mbyte && MB_BYTE2LEN(c1)
  2552:                     if (has_mbyte)
  2583:             if (has_mbyte && col > 0 && curwin->w_wcol > 0)
  do_map():
  3268:         if (has_mbyte)
  check_abbr():
  4258:     if (has_mbyte)
  4359:             if (has_mbyte)
  4395:         if (has_mbyte)
  vim_strsave_escape_csi():
  4478:         d = add_char2buf(PTR2CHAR(s), d);
  4479:         mb_ptr_adv(s);
gui.c (3 uses)
  gui_update_cursor():
  1083:         if (has_mbyte && (*mb_off2cells)(LineOffset[gui.row] + gui.col,
  gui_outstr():
  1807:     if (has_mbyte)
  scroll_line_len():
  4262:         mb_ptr_adv(p);
gui_mac.c (4 uses)
  gui_mac_set_font_attributes():
  3623:     if (has_mbyte)
  draw_string_QD():
  3990:     if (has_mbyte)
  draw_string_ATSUI():
  4094:     if (has_mbyte)
  4134:     if (has_mbyte)
hardcopy.c (2 uses)
  hardcopy_line():
  870:     if (has_mbyte && (outputlen = (*mb_ptr2len)(line + col)) < 1)
  930:         if (has_mbyte)
mark.c (1 use)
  mark_line():
  689:     for (p = s; *p != NUL; mb_ptr_adv(p))
mbyte.c (3 uses)
  mb_init():
  592:     has_mbyte = (enc_dbcs != 0 || enc_utf8);
  mb_prevptr():
  2805:     mb_ptr_back(line, p);
  mb_fix_col():
  2937:     if (has_mbyte && ScreenLines != NULL && col > 0
memline.c (2 uses)
  make_percent_swname():
  1639:         for (d = s; *d != NUL; mb_ptr_adv(d))
  goto_byte():
  4857:     if (has_mbyte)
menu.c (2 uses)
  ex_menu():
  156:         mb_ptr_adv(arg);
  menu_name_skip():
  1441:     for (p = name; *p && *p != '.'; mb_ptr_adv(p))
message.c (18 uses)
  trunc_string():
  268:     if (has_mbyte)
  msg_may_trunc():
  730:     if (has_mbyte)
  msg_outtrans_one():
  1290:     if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  msg_outtrans_len_attr():
  1339:     else if (has_mbyte)
  1343:     if (has_mbyte && mb_l > 1)
  str2special():
  1475:     if (has_mbyte)
  1510:     if (has_mbyte && MB_BYTE2LEN(*str) > (*mb_ptr2len)(str))
  msg_prt_line():
  1594:     else if (has_mbyte && (l = (*mb_ptr2len)(s)) > 1)
  msg_puts_display():
  1869:                || (has_mbyte && (*mb_ptr2cells)(s) > 1
  1902:         if (has_mbyte)
  1959:             || (has_mbyte && (*mb_ptr2cells)(s) > 1
  2004:         if (has_mbyte)
  do_dialog():
  3342:             if (has_mbyte)
  copy_char():
  3391:     if (has_mbyte)
  msg_show_console_dialog():
  3437:     int        lenhotkey = HOTK_LEN;    /* count first button */
  3469:             if (has_mbyte)
  3485:             lenhotkey += HOTK_LEN;  /* each button needs a hotkey */
  3525:         mb_ptr_adv(r);
misc1.c (14 uses)
  open_line():
  598:         if (has_mbyte)
  1060:                 mb_ptr_back(leader, p);
  plines_win_col():
  1794:     mb_ptr_adv(s);
  ins_bytes_len():
  1883:     if (has_mbyte)
  ins_char_bytes():
  2032:         if (has_mbyte)
  del_char():
  2151:     if (has_mbyte)
  del_bytes():
  2266:         if (has_mbyte)
  gchar_pos():
  2387:     if (has_mbyte)
  gchar_cursor():
  2397:     if (has_mbyte)
  get_keystroke():
  3148:     if (has_mbyte)
  gettail():
  4406:     mb_ptr_adv(p2);
  getnextcomp():
  4442:     mb_ptr_adv(fname);
  shorten_dir():
  4560:         if (has_mbyte)
  unix_expandpath():
  8964:     if (has_mbyte)
misc2.c (16 uses)
  coladvance2():
  214:         mb_ptr_adv(ptr);
  340:     if (has_mbyte)
  inc():
  373:     if (has_mbyte)
  dec():
  438:     if (has_mbyte)
  452:     if (has_mbyte)
  check_cursor_col():
  528:         if (has_mbyte)
  vim_strsave_escaped_ext():
  1228:     if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  1246:         if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  vim_strsave_shellescape():
  1281:     for (p = string; *p != NUL; mb_ptr_adv(p))
  1334:         MB_COPY_CHAR(p, d);
  strup_save():
  1453:         else if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  vim_strchr():
  1771:     if (has_mbyte)
  vim_strrchr():
  1829:     mb_ptr_adv(p);
  get_special_key_name():
  2483:         if (has_mbyte && (*mb_char2len)(c) > 1)
  trans_special():
  2542:     else if (has_mbyte && !keycode)
  after_pathsep():
  3073:                  && (!has_mbyte || (*mb_head_off)(b, p - 1) == 0);
normal.c (16 uses)
  normal_cmd():
  1286:     if (has_mbyte)
  do_pending_operator():
  1765:     if (has_mbyte && oap->inclusive)
  get_mouse_class():
  3143:     if (has_mbyte && MB_BYTE2LEN(p[0]) > 1)
  find_ident_at_pos():
  3371:     if (has_mbyte)
  3405:     if (has_mbyte)
  3467:         has_mbyte ? this_class != 2 :
  3492:     if (has_mbyte)
  nv_ident():
  5498:     if (has_mbyte)
  5518:         has_mbyte ? vim_iswordp(mb_prevptr(ml_get_curline(), ptr)) :
  get_visual_text():
  5571:     if (has_mbyte)
  nv_right():
  5793:         if (has_mbyte)
  nv_replace():
  6722:         || (has_mbyte && mb_charlen(ptr) < cap->count1)
  6777:     if (has_mbyte)
  6839:     if (has_mbyte)
  adjust_cursor():
  8454:     if (has_mbyte)
  adjust_for_sel():
  8492:     if (has_mbyte)
ops.c (15 uses)
  shift_block():
  425:         if (has_mbyte)
  stuffescaped():
  1411:         if (has_mbyte)
  op_delete():
  1604:     if (has_mbyte)
  op_replace():
  1986:     if (has_mbyte)
  2070:         if (has_mbyte)
  swapchars():
  2329:     if (has_mbyte)
  do_put():
  3439:         if (has_mbyte)
  3514:         if (has_mbyte)
  3614:         if (has_mbyte)
  dis_msg():
  4091:     if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  do_join():
  4171:     if (has_mbyte)
  4174:         mb_ptr_back(curr, next);
  4178:         mb_ptr_back(curr, next);
  fex_format():
  4466:     if (has_mbyte)
  block_prep():
  4906:     mb_ptr_adv(pstart);
option.c (2 uses)
  do_set():
  4515:                 if (has_mbyte
  did_set_string_option():
  6027:         mb_ptr_adv(s);
os_unix.c (5 uses)
  mch_call_shell():
  4221:                 if (has_mbyte)
  4237:                 else if (has_mbyte)
  4327:             else if (has_mbyte)
  mch_has_exp_wildcard():
  5669:     for ( ; *p; mb_ptr_adv(p))
  mch_has_wildcard():
  5700:     for ( ; *p; mb_ptr_adv(p))
popupmnu.c (1 use)
  pum_redraw():
  314:         for ( ; ; mb_ptr_adv(p))
regexp.c (74 uses)
  get_equi_class():
  715:     if (has_mbyte)
  721:         if (has_mbyte)
  get_coll_element():
  834:     if (has_mbyte)
  840:         if (has_mbyte)
  skip_anyof():
  878:     if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  886:             mb_ptr_adv(p);
  skip_regexp():
  931:     for (; p[0] != NUL; mb_ptr_adv(p))
  vim_regcomp():
  1066:         if (has_mbyte)
  1080:         if (has_mbyte)
  regatom():
  2060:                 if (has_mbyte)
  2074:                 if (has_mbyte && ((*mb_char2len)(startc) > 1
  2260:             if (has_mbyte)
  2330:         if (has_mbyte)
  use_multibytecode():
  2375:     return has_mbyte && (*mb_char2len)(c) > 1
  peekchr():
  2730:             if (has_mbyte)
  2741:         if (has_mbyte)
  skipchr():
  2767:     else if (has_mbyte)
  vim_regexec_both():
  3443:     if (has_mbyte)
  3456:         && !has_mbyte
  3471:         mb_ptr_adv(s);
  3479:         mb_ptr_adv(s);
  3494:     if (has_mbyte)
  3525:                 && !has_mbyte
  3559:         if (has_mbyte)
  regmatch():
  3845:         ADVANCE_REGINPUT();
  3852:       if (has_mbyte)
  4016:         else if (has_mbyte)
  4040:         else if (has_mbyte)
  4064:         ADVANCE_REGINPUT();
  4071:         ADVANCE_REGINPUT();
  4078:         ADVANCE_REGINPUT();
  4085:         ADVANCE_REGINPUT();
  4092:         ADVANCE_REGINPUT();
  4099:         ADVANCE_REGINPUT();
  4106:         ADVANCE_REGINPUT();
  4113:         ADVANCE_REGINPUT();
  4120:         ADVANCE_REGINPUT();
  4127:         ADVANCE_REGINPUT();
  4134:         ADVANCE_REGINPUT();
  4141:         ADVANCE_REGINPUT();
  4148:         ADVANCE_REGINPUT();
  4155:         ADVANCE_REGINPUT();
  4162:         ADVANCE_REGINPUT();
  4169:         ADVANCE_REGINPUT();
  4176:         ADVANCE_REGINPUT();
  4183:         ADVANCE_REGINPUT();
  4190:         ADVANCE_REGINPUT();
  4197:         ADVANCE_REGINPUT();
  4204:         ADVANCE_REGINPUT();
  4211:         ADVANCE_REGINPUT();
  4218:         ADVANCE_REGINPUT();
  4225:         ADVANCE_REGINPUT();
  4232:         ADVANCE_REGINPUT();
  4239:         ADVANCE_REGINPUT();
  4246:         ADVANCE_REGINPUT();
  4305:         ADVANCE_REGINPUT();
  4310:         if (has_mbyte)
  4924:         ADVANCE_REGINPUT();
  5253:                 mb_ptr_back(regline, reginput);
  regrepeat():
  5400:         mb_ptr_adv(scan);
  5423:         mb_ptr_adv(scan);
  5453:         mb_ptr_adv(scan);
  5483:         mb_ptr_adv(scan);
  5523:         mb_ptr_adv(scan);
  5553:         else if (has_mbyte && (l = (*mb_ptr2len)(scan)) > 1)
  5720:         else if (has_mbyte && (len = (*mb_ptr2len)(scan)) > 1)
  5744:         ADVANCE_REGINPUT();
  cstrchr():
  6645:     if (has_mbyte)
  regtilde():
  6794:         if (has_mbyte)
  vim_regsub_both():
  6949:         for (s = eval_result; *s != NUL; mb_ptr_adv(s))
  7048:         else if (has_mbyte)
  7060:         if (has_mbyte)
  7146:                 if (has_mbyte)
  7159:                 if (has_mbyte)
screen.c (26 uses)
  fold_line():
  2236:     if (has_mbyte)
  win_line():
  3000:         mb_ptr_adv(ptr);
  3150:             if (has_mbyte && line[shl->endcol] != NUL)
  3412:             || (has_mbyte && vcol + 1 == fromcol && n_extra == 0
  3481:                     if (has_mbyte)
  3595:         if (has_mbyte)
  3662:         if (has_mbyte)
  3944:             if (has_mbyte)
  4024:                 has_mbyte ? mb_l :
  4613:         if (has_mbyte && (*mb_char2cells)(mb_c) > 1)
  4754:              && !(has_mbyte
  4777:             if (has_mbyte && MB_BYTE2LEN(ScreenLines[LineOffset[
  screen_line():
  4991:     if (has_mbyte && (col + 1 < endcol))
  5096:         if (has_mbyte && col + char_cells == endcol
  status_match_len():
  5454:     mb_ptr_adv(s);
  win_redr_status_matches():
  5519:     if (has_mbyte)
  5617:         if (has_mbyte && (l = (*mb_ptr2len)(s)) > 1)
  win_redr_status():
  5800:         if (has_mbyte)
  screen_puts_len():
  6276:     if (has_mbyte)
  6391:         else if (has_mbyte
  6451:     if (has_mbyte)
  next_search_hl():
  6640:         if (has_mbyte)
  draw_tabline():
  9191:         if (has_mbyte)
  9195:             mb_ptr_adv(p);
  win_redr_ruler():
  9531:         if (has_mbyte)
  9542:     if (has_mbyte)
search.c (18 uses)
  ignorecase():
  371:         if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  searchit():
  548:     else if (has_mbyte && pos->lnum >= 1 && pos->lnum <= buf->b_ml.ml_line_count
  680:                     if (has_mbyte)
  694:                     if (has_mbyte)
  789:                     if (has_mbyte)
  806:                     if (has_mbyte)
  863:                 if (has_mbyte
  searchc():
  1539:     if (has_mbyte)
  1585:     if (has_mbyte)
  check_prevcol():
  1634:     if (col > 0 && has_mbyte)
  findmatchlimit():
  1847:             if (has_mbyte)
  2011:         if (has_mbyte)
  2052:         if (has_mbyte)
  in_html_tag():
  3695:     for (p = line; p < line + curwin->w_cursor.col; mb_ptr_adv(p))
  3715:         mb_ptr_back(line, p);
  3726:     mb_ptr_adv(p);
  current_tagblock():
  3846:     for (cp = p; *cp != NUL && *cp != '>' && !vim_iswhite(*cp); mb_ptr_adv(cp))
  find_next_quote():
  4159:     if (has_mbyte)
spell.c (100 uses)
  spell_check():
  1062:         mb_ptr_adv(mi.mi_fend);
  1068:         c = PTR2CHAR(ptr);
  1086:     mb_ptr_adv(mi.mi_fend);
  1163:         if (has_mbyte)
  1171:         mb_ptr_adv(mi.mi_end);
  1187:             mb_ptr_adv(p);
  1188:             mb_ptr_adv(fp);
  find_word():
  1410:     if (mode != FIND_KEEPWORD && has_mbyte)
  1418:         for (s = ptr; s < ptr + wlen; mb_ptr_adv(s))
  1419:             mb_ptr_adv(p);
  1498:         if (has_mbyte
  1533:             if (has_mbyte && STRNCMP(ptr, mip->mi_word,
  1538:             for (s = ptr; s < ptr + mip->mi_compoff; mb_ptr_adv(s))
  1539:                 mb_ptr_adv(p);
  1555:             mb_ptr_back(mip->mi_word, p);
  1610:         if (has_mbyte && mode == FIND_KEEPWORD)
  1619:             for (s = ptr; s < ptr + wlen; mb_ptr_adv(s))
  1620:                 mb_ptr_adv(p);
  find_prefix():
  1910:         if (has_mbyte)
  fold_more():
  1974:     mb_ptr_adv(mip->mi_fend);
  1979:     mb_ptr_adv(mip->mi_fend);
  read_sal_section():
  3223:     if (has_mbyte)
  3265:     if (has_mbyte)
  set_sofo():
  3756:     if (has_mbyte)
  3774:         mb_cptr_adv(s);
  set_sal_first():
  3850:     if (has_mbyte)
  3862:         if (has_mbyte)
  use_midword():
  4429:     if (has_mbyte)
  captype():
  4501:     for (p = word; !spell_iswordp_nmw(p); mb_ptr_adv(p))
  4505:     if (has_mbyte)
  4516:     for ( ; end == NULL ? *p != NUL : p < end; mb_ptr_adv(p))
  4519:         c = PTR2CHAR(p);
  badword_captype():
  4561:     for (p = word; p < end; mb_ptr_adv(p))
  4563:         c = PTR2CHAR(p);
  spell_read_aff():
  5657:                 c = PTR2CHAR(aff_entry->ae_chop);
  5661:                     || PTR2CHAR(aff_entry->ae_cond) == c))
  5665:                 mb_ptr_back(aff_entry->ae_add, p);
  5666:                 if (PTR2CHAR(p) == c_up)
  5679:                     if (has_mbyte)
  5797:             for (p = items[1]; *p != NUL; mb_ptr_adv(p))
  5800:             for (p = items[2]; *p != NUL; mb_ptr_adv(p))
  spell_read_dic():
  6515:     for (p = w; *p != NUL; mb_ptr_adv(p))
  store_aff_word():
  6839:                 if (has_mbyte)
  6843:                     mb_ptr_adv(p);
  6859:                 i = (int)MB_CHARLEN(ae->ae_chop);
  6861:                     mb_ptr_back(newword, p);
  write_vim_spell():
  7985:         if (has_mbyte)
  spell_iswordp():
  9766:     if (has_mbyte)
  spell_iswordp_nmw():
  9812:     if (has_mbyte)
  spell_casefold():
  9928:     if (has_mbyte)
  spell_suggest():
  10078:         mb_ptr_back(line, p);
  10081:         mb_ptr_adv(p);
  check_need_cap():
  10311:         mb_ptr_back(line, p);
  spell_find_suggest():
  10525:     c = PTR2CHAR(su->su_badptr);
  onecap_copy():
  11013:     if (has_mbyte)
  11023:     if (has_mbyte)
  allcap_copy():
  11051:     if (has_mbyte)
  11072:     if (has_mbyte)
  suggest_trie_walk():
  11322:             if (has_mbyte)
  11457:             if (has_mbyte
  11480:             mb_ptr_back(preword, p);
  11582:             mb_ptr_back(fword, p);
  11586:             mb_ptr_back(preword, p);
  11631:             && (!has_mbyte || sp->ts_tcharlen == 0)
  11666:             && (!has_mbyte
  11772:                 if (has_mbyte)
  11802:             if (has_mbyte)
  11912:             if (has_mbyte)
  11986:                     mb_ptr_back(tword, p);
  12018:         if (has_mbyte && sp->ts_tcharlen > 0)
  12056:         if (has_mbyte)
  12145:         if (has_mbyte)
  12198:         if (has_mbyte)
  12245:         if (has_mbyte)
  12269:         if (has_mbyte)
  12290:         if (has_mbyte)
  12334:         if (has_mbyte)
  12358:         if (has_mbyte)
  12402:         if (has_mbyte)
  12430:         if (has_mbyte)
  12463:         if (has_mbyte)
  12491:         if (has_mbyte)
  nofold_len():
  12666:     for (p = fword; p < fword + flen; mb_ptr_adv(p))
  12668:     for (p = word; i > 0; mb_ptr_adv(p))
  find_keepcap_word():
  12755:         if (has_mbyte)
  add_sound_suggest():
  13332:         gc = PTR2CHAR(p);
  13335:             bc = PTR2CHAR(su->su_badword);
  add_suggestion():
  13636:     mb_ptr_back(goodword, pgood);
  13637:     mb_ptr_back(su->su_badptr, pbad);
  13639:     if (has_mbyte)
  spell_soundfold():
  13976:     if (has_mbyte)
  spell_soundfold_sofo():
  13999:     if (has_mbyte)
  spell_edit_score():
  14903:     if (has_mbyte)
  14938:         if (has_mbyte)
  14970:             if (has_mbyte)
  spell_edit_score_limit():
  15038:     if (has_mbyte)
  dump_prefixes():
  15774:     c = PTR2CHAR(word);
  spell_to_word_end():
  15872:     mb_ptr_adv(p);
  spell_word_start():
  15899:     mb_ptr_back(line, p);
  15908:     mb_ptr_back(line, p);
syntax.c (3 uses)
  syn_current_attr():
  1901:                   - (has_mbyte
  check_keyword_id():
  3138:     if (has_mbyte)
  syn_cmd_keyword():
  4594:             if (has_mbyte)
tag.c (3 uses)
  simplify_filename():
  3468:             mb_ptr_adv(tail);
  3480:         mb_ptr_adv(tail);
  3507:             mb_ptr_back(start, p);
ui.c (4 uses)
  clip_update_selection():
  439:         if (has_mbyte)
  clip_process_selection():
  832:             if (has_mbyte && mb_lefthalve(row, col))
  842:         if (has_mbyte
  vcol2col():
  3006:     mb_ptr_adv(ptr);
version.c (1 use)
  do_intro_line():
  1885:         if (has_mbyte)
window.c (3 uses)
  file_name_in_line():
  5758:     mb_ptr_adv(ptr);
  5773:     if (has_mbyte && (len = (*mb_head_off)(line, ptr - 1)) > 0)
  5792:     if (has_mbyte)
IObuff (414 uses in 28 translation units) defined in translation unit main.c, declared in ./globals.h:931
buffer.c (9 uses)
  do_bufdel():
  879:         STRCPY(IObuff, _("E515: No buffers were unloaded"));
  881:         STRCPY(IObuff, _("E516: No buffers were deleted"));
  883:         STRCPY(IObuff, _("E517: No buffers were wiped out"));
  884:         errormsg = IObuff;
  buflist_list():
  2506:     len = vim_snprintf((char *)IObuff, IOSIZE - 20, "%3d%c%c%c%c%c \"%s\"",
  2519:     i = 40 - vim_strsize(IObuff);
  2522:         IObuff[len++] = ' ';
  2524:     vim_snprintf((char *)IObuff + len, IOSIZE - len, _("line %ld"),
  2527:     msg_outtrans(IObuff);
edit.c (25 uses)
  ins_compl_add_infercase():
  2246:         p = IObuff;
  2248:         while (i < actual_len && (p - IObuff + 6) < IOSIZE)
  2260:     return ins_compl_add(IObuff, len, icase, fname, NULL, dir,
  ins_compl_files():
  2953:         vim_snprintf((char *)IObuff, IOSIZE,
  2955:         msg_trunc_attr(IObuff, TRUE, hl_attr(HLF_R));
  ins_compl_get_exp():
  3904:         vim_snprintf((char *)IObuff, IOSIZE, _("Scanning: %s"),
  3910:         msg_trunc_attr(IObuff, TRUE, hl_attr(HLF_R));
  3939:             sprintf((char*)IObuff, _("Scanning tags."));
  3940:             msg_trunc_attr(IObuff, TRUE, hl_attr(HLF_R));
  3946:         (void)copy_option_part(&e_cpt, IObuff, IOSIZE, ",");
  4141:                 STRNCPY(IObuff, ptr, len);
  4150:                 if (*ptr != ')' && IObuff[len - 1] != TAB)
  4152:                     if (IObuff[len - 1] != ' ')
  4153:                     IObuff[len++] = ' ';
  4156:                     && (IObuff[len - 2] == '.'
  4159:                         && (IObuff[len - 2] == '?'
  4160:                          || IObuff[len - 2] == '!'))))
  4161:                     IObuff[len++] = ' ';
  4166:                 STRNCPY(IObuff + len, ptr, tmp_ptr - ptr);
  4170:                 IObuff[len] = NUL;
  4171:                 ptr = IObuff;
  ins_compl_next():
  4468:     STRCPY(IObuff, "match in file ");
  4473:         STRCAT(IObuff, "<");
  4474:     STRCAT(IObuff, compl_shown_match->cp_fname + i);
  4475:     msg(IObuff);
eval.c (16 uses)
  get_function_name():
  7312:     STRCPY(IObuff, functions[intidx].f_name);
  7313:     STRCAT(IObuff, "(");
  7315:         STRCAT(IObuff, ")");
  7316:     return IObuff;
  f_inputdialog():
  11713:         vim_strncpy(IObuff, defstr, IOSIZE - 1);
  11715:         IObuff[0] = NUL;
  11718:                 (char_u *)_("&OK\n&Cancel"), 1, IObuff) == 1)
  11719:         rettv->vval.v_string = vim_strsave(IObuff);
  get_user_func_name():
  20035:     cat_func_name(IObuff, fp);
  20038:         STRCAT(IObuff, "(");
  20040:         STRCAT(IObuff, ")");
  20042:     return IObuff;
  get_return_cmd():
  20702:     STRCPY(IObuff, ":return ");
  20703:     STRNCPY(IObuff + 8, s, IOSIZE - 8);
  20705:     STRCPY(IObuff + IOSIZE - 4, "...");
  20707:     return vim_strsave(IObuff);
ex_cmds.c (33 uses)
  do_ascii():
  71:     IObuff[0] = NUL;
  94:     vim_snprintf((char *)IObuff, IOSIZE,
  109:     len = (int)STRLEN(IObuff);
  112:         IObuff[len++] = ' ';
  113:     IObuff[len++] = '<';
  119:         IObuff[len++] = ' '; /* draw composing char on top of a space */
  120:     len += (*mb_char2bytes)(c, IObuff + len);
  121:     vim_snprintf((char *)IObuff + len, IOSIZE - len,
  133:     msg(IObuff);
  viminfo_error():
  1659:     vim_snprintf((char *)IObuff, IOSIZE, _("%sviminfo: %s in line: "),
  1661:     STRNCAT(IObuff, line, IOSIZE - STRLEN(IObuff) - 1);
  1661:     STRNCAT(IObuff, line, IOSIZE - STRLEN(IObuff) - 1);
  1662:     if (IObuff[STRLEN(IObuff) - 1] == '\n')
  1662:     if (IObuff[STRLEN(IObuff) - 1] == '\n')
  1663:     IObuff[STRLEN(IObuff) - 1] = NUL;
  1663:     IObuff[STRLEN(IObuff) - 1] = NUL;
  1664:     emsg(IObuff);
  find_help_tags():
  5760:     d = IObuff;            /* assume IObuff is long enough! */
  5808:         if (d - IObuff > IOSIZE - 10)    /* getting too long!? */
  5836:         if (d > IObuff && d[-1] != '_')
  5894:     if (find_tags(IObuff, num_matches, matches, flags, (int)MAXCOL, NULL) == OK
  fix_help_buffer():
  6002:                     vim_fgets(IObuff, IOSIZE, fd);
  6003:                     if (IObuff[0] == '*'
  6004:                         && (s = vim_strchr(IObuff + 1, '*'))
  6012:                     IObuff[0] = '|';
  6046:                         cp = IObuff;
  6051:                         cp = string_convert(&vc, IObuff,
  6054:                         cp = IObuff;
  6059:                     if (cp != IObuff)
  helptags_one():
  6329:     while (!vim_fgets(IObuff, IOSIZE, fd) && !got_int)
  6336:         for (s = IObuff; *s != NUL; ++s)
  6364:         p1 = vim_strchr(IObuff, '*');    /* find first '*' */
  6380:                 && (p1 == IObuff || p1[-1] == ' ' || p1[-1] == '\t')
ex_docmd.c (38 uses)
  do_cmdline():
  1361:             vim_snprintf((char *)IObuff, IOSIZE,
  1364:             p = vim_strsave(IObuff);
  do_one_cmd():
  2108:         STRCPY(IObuff, _("E492: Not an editor command"));
  2111:         STRCAT(IObuff, ": ");
  2112:         STRNCAT(IObuff, *cmdlinep, 40);
  2114:         errormsg = IObuff;
  2659:         if (errormsg != IObuff)
  2661:         STRCPY(IObuff, errormsg);
  2662:         errormsg = IObuff;
  2665:         STRNCAT(errormsg, *cmdlinep, IOSIZE - STRLEN(IObuff) - 1);
  uc_list():
  5260:         case 0:            IObuff[len++] = '0'; break;
  5261:         case (EXTRA):        IObuff[len++] = '*'; break;
  5262:         case (EXTRA|NOSPC):        IObuff[len++] = '?'; break;
  5263:         case (EXTRA|NEEDARG):    IObuff[len++] = '+'; break;
  5264:         case (EXTRA|NOSPC|NEEDARG): IObuff[len++] = '1'; break;
  5268:         IObuff[len++] = ' ';
  5277:             sprintf((char *)IObuff + len, "%ldc", cmd->uc_def);
  5278:             len += (int)STRLEN(IObuff + len);
  5281:             IObuff[len++] = '%';
  5285:             sprintf((char *)IObuff + len, "%ld", cmd->uc_def);
  5286:             len += (int)STRLEN(IObuff + len);
  5289:             IObuff[len++] = '.';
  5293:         IObuff[len++] = ' ';
  5300:             STRCPY(IObuff + len, command_complete[j].name);
  5301:             len += (int)STRLEN(IObuff + len);
  5306:         IObuff[len++] = ' ';
  5309:         IObuff[len] = '\0';
  5310:         msg_outtrans(IObuff);
  uc_fun_cmd():
  5341:     IObuff[i] = fcmd[i] - 0x40;
  5342:     IObuff[i] = 0;
  5343:     return IObuff;
  ex_tabs():
  7240:     vim_snprintf((char *)IObuff, IOSIZE, _("Tab page %d"), tabcount++);
  7241:     msg_outtrans_attr(IObuff, hl_attr(HLF_T));
  7257:         STRCPY(IObuff, buf_spname(wp->w_buffer));
  7260:                             IObuff, IOSIZE, TRUE);
  7261:         msg_outtrans(IObuff);
  ex_winpos():
  8079:         sprintf((char *)IObuff, _("Window position: X %d, Y %d"), x, y);
  8080:         msg(IObuff);
ex_eval.c (11 uses)
  discard_exception():
  577:     saved_IObuff = vim_strsave(IObuff);
  597:     STRCPY(IObuff, saved_IObuff);
  catch_exception():
  633:         vim_snprintf((char *)IObuff, IOSIZE, _("%s, line %ld"),
  636:         vim_snprintf((char *)IObuff, IOSIZE, "%s", excp->throw_name);
  637:     set_vim_var_string(VV_THROWPOINT, IObuff, -1);
  finish_exception():
  684:         vim_snprintf((char *)IObuff, IOSIZE,
  688:         vim_snprintf((char *)IObuff, IOSIZE, "%s",
  690:         set_vim_var_string(VV_THROWPOINT, IObuff, -1);
  report_pending():
  768:         vim_snprintf((char *)IObuff, IOSIZE,
  770:         mesg = vim_strnsave(IObuff, (int)STRLEN(IObuff) + 4);
  770:         mesg = vim_strnsave(IObuff, (int)STRLEN(IObuff) + 4);
ex_getln.c (13 uses)
  getcmdline():
  1677:         j = (*mb_char2bytes)(c, IObuff);
  1678:         IObuff[j] = NUL;    /* exclude composing chars */
  1679:         put_on_cmdline(IObuff, j, TRUE);
  1684:         IObuff[0] = c;
  1685:         put_on_cmdline(IObuff, 1, TRUE);
  ex_history():
  5650:     STRCPY(IObuff, "\n      #  ");
  5651:     STRCAT(STRCAT(IObuff, history_names[histype1]), " history");
  5652:     MSG_PUTS_TITLE(IObuff);
  5670:             sprintf((char *)IObuff, "%c%6d  ", i == idx ? '>' : ' ',
  5673:             trunc_string(hist[i].hisstr, IObuff + STRLEN(IObuff),
  5673:             trunc_string(hist[i].hisstr, IObuff + STRLEN(IObuff),
  5676:             STRCAT(IObuff, hist[i].hisstr);
  5677:             msg_outtrans(IObuff);
fileio.c (51 uses)
  filemess():
  166:     if (STRLEN(IObuff) > IOSIZE - 80)
  167:     IObuff[IOSIZE - 80] = NUL;
  168:     STRCAT(IObuff, s);
  183:     msg_outtrans_attr(msg_may_trunc(FALSE, IObuff), attr);
  readfile():
  2306:         STRCAT(IObuff, _("[fifo/socket]"));
  2335:         STRCAT(IObuff, shortmess(SHM_RO) ? _("[RO]") : _("[readonly]"));
  2345:         STRCAT(IObuff, _("[CR missing]"));
  2350:         STRCAT(IObuff, _("[NL found]"));
  2355:         STRCAT(IObuff, _("[long lines split]"));
  2361:         STRCAT(IObuff, _("[NOT converted]"));
  2366:         STRCAT(IObuff, _("[converted]"));
  2373:         STRCAT(IObuff, _("[crypted]"));
  2380:         sprintf((char *)IObuff + STRLEN(IObuff),
  2380:         sprintf((char *)IObuff + STRLEN(IObuff),
  2386:         sprintf((char *)IObuff + STRLEN(IObuff),
  2386:         sprintf((char *)IObuff + STRLEN(IObuff),
  2394:         STRCAT(IObuff, _("[READ ERRORS]"));
  2416:         p = msg_trunc_attr(IObuff, FALSE, 0);
  buf_write():
  3443:         STRCPY(IObuff, fname);
  3446:             sprintf((char *)gettail(IObuff), "%d", i);
  3447:             if (mch_lstat((char *)IObuff, &st) < 0)
  3450:         fd = mch_open((char *)IObuff,
  3460:             if (mch_stat((char *)IObuff, &st) < 0
  3469:             mch_remove(IObuff);
  3783:         (void)copy_option_part(&dirp, IObuff, IOSIZE, ",");
  3784:         rootname = get_file_in_dir(fname, IObuff);
  4512:         STRCAT(IObuff, _(" CONVERSION ERROR"));
  4517:         STRCAT(IObuff, _("[NOT converted]"));
  4522:         STRCAT(IObuff, _("[converted]"));
  4528:         STRCAT(IObuff, _("[Device]"));
  4533:         STRCAT(IObuff, shortmess(SHM_NEW) ? _("[New]") : _("[New File]"));
  4547:         STRCAT(IObuff, _("[crypted]"));
  4555:         STRCAT(IObuff, shortmess(SHM_WRI) ? _(" [a]") : _(" appended"));
  4557:         STRCAT(IObuff, shortmess(SHM_WRI) ? _(" [w]") : _(" written"));
  4560:     set_keep_msg(msg_trunc_attr(IObuff, FALSE, 0), 0);
  4699:     if (STRLEN(IObuff) + STRLEN(errmsg) + numlen >= IOSIZE)
  4700:         IObuff[IOSIZE - STRLEN(errmsg) - numlen - 1] = NUL;
  4705:         mch_memmove(IObuff + numlen, IObuff, STRLEN(IObuff) + 1);
  4705:         mch_memmove(IObuff + numlen, IObuff, STRLEN(IObuff) + 1);
  4705:         mch_memmove(IObuff + numlen, IObuff, STRLEN(IObuff) + 1);
  4706:         mch_memmove(IObuff, errnum, (size_t)numlen);
  4708:     STRCAT(IObuff, errmsg);
  4709:     emsg(IObuff);
  msg_add_fname():
  4834:     home_replace(buf, fname, IObuff + 1, IOSIZE - 4, TRUE);
  4835:     IObuff[0] = '"';
  4836:     STRCAT(IObuff, "\" ");
  msg_add_fileformat():
  4850:     STRCAT(IObuff, shortmess(SHM_TEXT) ? _("[dos]") : _("[dos format]"));
  4857:     STRCAT(IObuff, shortmess(SHM_TEXT) ? _("[mac]") : _("[mac format]"));
  msg_add_lines():
  4882:     p = IObuff + STRLEN(IObuff);
  4882:     p = IObuff + STRLEN(IObuff);
  msg_add_eol():
  4908:     STRCAT(IObuff, shortmess(SHM_LAST) ? _("[noeol]") : _("[Incomplete last line]"));
hardcopy.c (9 uses)
  ex_hardcopy():
  737:             sprintf((char *)IObuff, _("Printing page %d (%d%%)"),
  744:             if (!mch_print_begin_page(IObuff))
  748:             sprintf((char *)IObuff + STRLEN(IObuff),
  748:             sprintf((char *)IObuff + STRLEN(IObuff),
  752:             prt_message(IObuff);
  807:     vim_snprintf((char *)IObuff, IOSIZE, _("Printed: %s"),
  809:     prt_message(IObuff);
  815:     sprintf((char *)IObuff, "%s", _("Printing aborted"));
  816:     prt_message(IObuff);
main.c (3 uses)
  main():
  246:     if ((IObuff = alloc(IOSIZE)) == NULL
  862:     vim_snprintf((char *)IObuff, IOSIZE, "ta %s", params.tagname);
  863:     do_cmdline_cmd(IObuff);
mark.c (10 uses)
  fname2fnum():
  532:     mch_dirname(IObuff, IOSIZE);
  533:     p = shorten_fname(NameBuff, IObuff);
  show_one_mark():
  780:         sprintf((char *)IObuff, " %c %6ld %4d ", c, p->lnum, p->col);
  781:         msg_outtrans(IObuff);
  ex_jumps():
  911:         sprintf((char *)IObuff, "%c %2d %5ld %4d ",
  917:         msg_outtrans(IObuff);
  ex_changes():
  951:         sprintf((char *)IObuff, "%c %3d %5ld %4d ",
  957:         msg_outtrans(IObuff);
  write_viminfo_marks():
  1594:         home_replace(NULL, buf->b_ffname, IObuff, IOSIZE, TRUE);
  1596:         viminfo_writestring(fp_out, IObuff);
mbyte.c (4 uses)
  show_utf8():
  2389:         STRCPY(IObuff + rlen, "+ ");
  2394:     sprintf((char *)IObuff + rlen, "%02x ", line[i]);
  2396:     rlen += (int)STRLEN(IObuff + rlen);
  2401:     msg(IObuff);
memline.c (2 uses)
  ml_get_buf():
  2094:     STRCPY(IObuff, "???");
  2095:     return IObuff;
message.c (4 uses)
  smsg():
  390:     vim_vsnprintf((char *)IObuff, IOSIZE, (char *)s, arglist, NULL);
  392:     return msg(IObuff);
  smsg_attr():
  404:     vim_vsnprintf((char *)IObuff, IOSIZE, (char *)s, arglist, NULL);
  406:     return msg_attr(IObuff, attr);
misc1.c (3 uses)
  init_homedir():
  3504:         if (!mch_chdir((char *)var) && mch_dirname(IObuff, IOSIZE) == OK)
  3505:         var = IObuff;
  preserve_exit():
  8353:     out_str(IObuff);
misc2.c (4 uses)
  emsg3():
  5964:     vim_snprintf((char *)IObuff, IOSIZE, (char *)s, a1, a2);
  5968:     return emsg(IObuff);
  emsgn():
  5982:     vim_snprintf((char *)IObuff, IOSIZE, (char *)s, n);
  5983:     return emsg(IObuff);
normal.c (6 uses)
  handle_tabmenu():
  5100:         vim_snprintf((char *)IObuff, IOSIZE, "tabclose %d",
  5102:         do_cmdline_cmd(IObuff);
  5107:         vim_snprintf((char *)IObuff, IOSIZE, "%dtabnew",
  5109:         do_cmdline_cmd(IObuff);
  5113:         vim_snprintf((char *)IObuff, IOSIZE, "browse %dtabnew",
  5115:         do_cmdline_cmd(IObuff);
ops.c (14 uses)
  op_shift():
  293:         sprintf((char *)IObuff, _("1 line %sed 1 time"), s);
  295:         sprintf((char *)IObuff, _("1 line %sed %d times"), s, amount);
  300:         sprintf((char *)IObuff, _("%ld lines %sed 1 time"),
  303:         sprintf((char *)IObuff, _("%ld lines %sed %d times"),
  306:     msg(IObuff);
  write_viminfo_registers():
  5467:         sprintf((char *)IObuff, _("E574: Unknown register type %d"),
  5469:         emsg(IObuff);
  cursor_pos_info():
  6378:         sprintf((char *)IObuff, _("Selected %s%ld of %ld Lines; %ld of %ld Words; %ld of %ld Bytes"),
  6384:         sprintf((char *)IObuff, _("Selected %s%ld of %ld Lines; %ld of %ld Words; %ld of %ld Chars; %ld of %ld Bytes"),
  6402:         sprintf((char *)IObuff, _("Col %s of %s; Line %ld of %ld; Word %ld of %ld; Byte %ld of %ld"),
  6409:         sprintf((char *)IObuff, _("Col %s of %s; Line %ld of %ld; Word %ld of %ld; Char %ld of %ld; Byte %ld of %ld"),
  6421:         sprintf((char *)IObuff + STRLEN(IObuff), _("(+%ld for BOM)"),
  6421:         sprintf((char *)IObuff + STRLEN(IObuff), _("(+%ld for BOM)"),
  6427:     msg(IObuff);
option.c (10 uses)
  do_set():
  4717:         vim_strncpy(IObuff, (char_u *)_(errmsg), IOSIZE - 1);
  4718:         i = (int)STRLEN(IObuff) + 2;
  4722:         STRCAT(IObuff, ": ");
  4723:         mch_memmove(IObuff + i, startarg, (arg - startarg));
  4724:         IObuff[i + (arg - startarg)] = NUL;
  4727:         trans_characters(IObuff, IOSIZE);
  4730:         emsg(IObuff);    /* show error highlighted */
  set_bool_option():
  7180:         STRCPY(IObuff, p_shm);
  7181:         STRCAT(IObuff, "s");
  7182:         set_string_option_direct((char_u *)"shm", -1, IObuff, OPT_FREE, 0);
os_unix.c (1 use)
  deathtrap():
  1044:     sprintf((char *)IObuff, _("Vim: Caught deadly signal %s\n"),
quickfix.c (53 uses)
  qf_init_ext():
  520:             vim_strncpy(IObuff, p_str, CMDBUFFSIZE - 2);
  522:             vim_strncpy(IObuff, p_str, len);
  539:             vim_strncpy(IObuff, p_li->li_tv.vval.v_string, len);
  549:         vim_strncpy(IObuff, ml_get_buf(buf, buflnum++, FALSE),
  553:     else if (fgets((char *)IObuff, CMDBUFFSIZE - 2, fd) == NULL)
  556:     IObuff[CMDBUFFSIZE - 2] = NUL;  /* for very long lines */
  557:     if ((efmp = vim_strrchr(IObuff, '\n')) != NULL)
  596:         if (vim_regexec(&regmatch, IObuff, (colnr_T)0))
  651:             STRCPY(errmsg, IObuff);
  718:         STRCPY(errmsg, IObuff);    /* copy whole line to error message */
  777:             STRCPY(IObuff, skipwhite(tail));
  qf_jump():
  1821:         sprintf((char *)IObuff, _("(%d of %d)%s%s: "), qf_index,
  1826:         len = (int)STRLEN(IObuff);
  1827:         qf_fmt_text(skipwhite(qf_ptr->qf_text), IObuff + len, IOSIZE - len);
  1837:         msg_attr_keep(IObuff, 0, TRUE);
  qf_list():
  1947:         sprintf((char *)IObuff, "%2d", i);
  1949:         vim_snprintf((char *)IObuff, IOSIZE, "%2d %s",
  1951:         msg_outtrans_attr(IObuff, i == qi->qf_lists[qi->qf_curlist].qf_index
  1954:         IObuff[0] = NUL;
  1956:         sprintf((char *)IObuff, ":%ld", qfp->qf_lnum);
  1958:         sprintf((char *)IObuff, ":%ld col %d",
  1960:         sprintf((char *)IObuff + STRLEN(IObuff), "%s:",
  1960:         sprintf((char *)IObuff + STRLEN(IObuff), "%s:",
  1962:         msg_puts_attr(IObuff, hl_attr(HLF_N));
  1965:         qf_fmt_text(qfp->qf_pattern, IObuff, IOSIZE);
  1966:         STRCAT(IObuff, ":");
  1967:         msg_puts(IObuff);
  1976:                                   IObuff, IOSIZE);
  1977:         msg_prt_line(IObuff, FALSE);
  qf_fill_buffer():
  2541:             STRCPY(IObuff, gettail(errbuf->b_fname));
  2543:             STRCPY(IObuff, errbuf->b_fname);
  2544:         len = (int)STRLEN(IObuff);
  2548:         IObuff[len++] = '|';
  2552:         sprintf((char *)IObuff + len, "%ld", qfp->qf_lnum);
  2553:         len += (int)STRLEN(IObuff + len);
  2557:             sprintf((char *)IObuff + len, " col %d", qfp->qf_col);
  2558:             len += (int)STRLEN(IObuff + len);
  2561:         sprintf((char *)IObuff + len, "%s",
  2563:         len += (int)STRLEN(IObuff + len);
  2567:         qf_fmt_text(qfp->qf_pattern, IObuff + len, IOSIZE - len);
  2568:         len += (int)STRLEN(IObuff + len);
  2570:         IObuff[len++] = '|';
  2571:         IObuff[len++] = ' ';
  2577:                           IObuff + len, IOSIZE - len);
  2579:         if (ml_append(lnum, IObuff, (colnr_T)STRLEN(IObuff) + 1, FALSE)
  2579:         if (ml_append(lnum, IObuff, (colnr_T)STRLEN(IObuff) + 1, FALSE)
  ex_helpgrep():
  3841:             while (!vim_fgets(IObuff, IOSIZE, fd) && !got_int)
  3843:                 if (vim_regexec(&regmatch, IObuff, (colnr_T)0))
  3845:                 int    l = (int)STRLEN(IObuff);
  3848:                 while (l > 0 && IObuff[l - 1] <= ' ')
  3849:                      IObuff[--l] = NUL;
  3855:                         IObuff,
  3857:                         (int)(regmatch.startp[0] - IObuff)
regexp.c (7 uses)
  regpiece():
  1534:         sprintf((char *)IObuff, _("E61: Nested %s*"),
  1537:         sprintf((char *)IObuff, _("E62: Nested %s%c"),
  1539:     EMSG_RET_NULL(IObuff);
  regatom():
  1713:     sprintf((char *)IObuff, _("E64: %s%c follows nothing"),
  1716:     EMSG_RET_NULL(IObuff);
  read_limits():
  2978:     sprintf((char *)IObuff, _("E554: Syntax error in %s{...}"),
  2980:     EMSG_RET_FAIL(IObuff);
search.c (17 uses)
  find_pattern_in_path():
  4769:             vim_snprintf((char*)IObuff, IOSIZE,
  4772:             msg_trunc_attr(IObuff, TRUE, hl_attr(HLF_R));
  4908:             STRNCPY(IObuff, aux, i);
  4931:             if (*aux != ')' && IObuff[i-1] != TAB)
  4933:                 if (IObuff[i-1] != ' ')
  4934:                 IObuff[i++] = ' ';
  4937:                 && (IObuff[i-2] == '.'
  4939:                     && (IObuff[i-2] == '?'
  4940:                         || IObuff[i-2] == '!'))))
  4941:                 IObuff[i++] = ' ';
  4946:             STRNCPY(IObuff + i, aux, p - aux);
  4950:             IObuff[i] = NUL;
  4951:             aux = IObuff;
  show_pat_in_path():
  5214:         sprintf((char *)IObuff, "%3ld: ", count);    /* show match nr */
  5215:         msg_puts(IObuff);
  5216:         sprintf((char *)IObuff, "%4ld", *lnum);    /* show line nr */
  5218:         msg_puts_attr(IObuff, hl_attr(HLF_N));
spell.c (37 uses)
  spell_read_aff():
  5124:     vim_snprintf((char *)IObuff, IOSIZE, _("Reading affix file %s ..."), fname);
  5125:     spell_message(spin, IObuff);
  spell_read_dic():
  6459:     vim_snprintf((char *)IObuff, IOSIZE,
  6461:     spell_message(spin, IObuff);
  spell_read_wordfile():
  7047:     vim_snprintf((char *)IObuff, IOSIZE, _("Reading word file %s ..."), fname);
  7048:     spell_message(spin, IObuff);
  7214:     vim_snprintf((char *)IObuff, IOSIZE,
  7216:     spell_message(spin, IObuff);
  wordtree_compress():
  7675:         vim_snprintf((char *)IObuff, IOSIZE,
  7678:         spell_message(spin, IObuff);
  sug_write():
  8884:     vim_snprintf((char *)IObuff, IOSIZE,
  8886:     spell_message(spin, IObuff);
  8945:     vim_snprintf((char *)IObuff, IOSIZE,
  8947:     spell_message(spin, IObuff);
  mkspell():
  9199:         vim_snprintf((char *)IObuff, IOSIZE,
  9201:         spell_message(&spin, IObuff);
  9206:         vim_snprintf((char *)IObuff, IOSIZE,
  9208:         spell_message(&spin, IObuff);
  spell_suggest():
  10133:     vim_snprintf((char *)IObuff, IOSIZE, _("Change \"%.*s\" to:"),
  10144:     msg_puts(IObuff);
  10160:         vim_snprintf((char *)IObuff, IOSIZE, "%2d", i + 1);
  10165:         msg_puts(IObuff);
  10167:         vim_snprintf((char *)IObuff, IOSIZE, " \"%s\"", wcopy);
  10168:         msg_puts(IObuff);
  10173:         vim_snprintf((char *)IObuff, IOSIZE, _(" < \"%.*s\""),
  10175:         msg_puts(IObuff);
  10182:             vim_snprintf((char *)IObuff, IOSIZE, " (%s%d - %d)",
  10186:             vim_snprintf((char *)IObuff, IOSIZE, " (%d)",
  10194:         msg_puts(IObuff);
  10219:         vim_snprintf((char *)IObuff, IOSIZE, "%s%.*s", stp->st_word,
  10222:         repl_to = vim_strsave(IObuff);
  spell_dump_compl():
  15528:         vim_snprintf((char *)IObuff, IOSIZE, "/regions=%s", region_names);
  15529:         ml_append(lnum++, IObuff, (colnr_T)0, FALSE);
  15547:         vim_snprintf((char *)IObuff, IOSIZE, "# file: %s", slang->sl_fname);
  15548:         ml_append(lnum++, IObuff, (colnr_T)0, FALSE);
  dump_word():
  15725:         vim_snprintf((char *)IObuff, IOSIZE, "%s\t%d",
  15727:         p = IObuff;
tag.c (13 uses)
  do_tag():
  635:             *IObuff = '>';
  637:             *IObuff = ' ';
  638:             vim_snprintf((char *)IObuff + 1, IOSIZE - 1,
  641:             msg_puts(IObuff);
  990:         sprintf((char *)IObuff, _("tag %d of %d%s"),
  995:             STRCAT(IObuff, _("  Using tag with different case!"));
  1000:             msg_attr(IObuff, hl_attr(HLF_W));
  1002:             msg(IObuff);
  1006:             give_warning(IObuff, ic);
  1016:         vim_snprintf((char *)IObuff, IOSIZE, ":ta %s\r", name);
  1017:         set_vim_var_string(VV_SWAPCOMMAND, IObuff, -1);
  do_tags():
  1129:         sprintf((char *)IObuff, "%c%2d %2d %-15s %5ld  ",
  1135:         msg_outtrans(IObuff);
term.c (15 uses)
  show_one_termcode():
  5330:     IObuff[0] = ' ';
  5331:     IObuff[1] = ' ';
  5332:     IObuff[2] = ' ';
  5333:     IObuff[3] = ' ';
  5337:     IObuff[0] = 't';
  5338:     IObuff[1] = '_';
  5339:     IObuff[2] = name[0];
  5340:     IObuff[3] = name[1];
  5342:     IObuff[4] = ' ';
  5346:     STRCPY(IObuff + 5, p);
  5348:     IObuff[5] = NUL;
  5349:     len = (int)STRLEN(IObuff);
  5351:     IObuff[len++] = ' ';
  5353:     IObuff[len] = NUL;
  5361:     msg_puts(IObuff);
ui.c (1 use)
  read_error_exit():
  1888:     STRCPY(IObuff, _("Vim: Error reading input, exiting...\n"));
undo.c (5 uses)
  ex_undolist():
  1438:         vim_snprintf((char *)IObuff, IOSIZE, "%6ld %7ld  ",
  1440:         u_add_time(IObuff + STRLEN(IObuff), IOSIZE - STRLEN(IObuff),
  1440:         u_add_time(IObuff + STRLEN(IObuff), IOSIZE - STRLEN(IObuff),
  1440:         u_add_time(IObuff + STRLEN(IObuff), IOSIZE - STRLEN(IObuff),
  1442:         ((char_u **)(ga.ga_data))[ga.ga_len++] = vim_strsave(IObuff);
ccline (381 uses in 1 translation unit) defined static in translation unit ex_getln.c, declared in ex_getln.c:41
ex_getln.c (381 uses)
  getcmdline():
  205:     ccline.overstrike = FALSE;            /* always start in insert mode */
  220:     ccline.cmdfirstc = (firstc == '@' ? 0 : firstc);
  221:     ccline.cmdindent = (firstc > 0 ? indent : 0);
  225:     if (ccline.cmdbuff == NULL)
  227:     ccline.cmdlen = ccline.cmdpos = 0;
  227:     ccline.cmdlen = ccline.cmdpos = 0;
  228:     ccline.cmdbuff[0] = NUL;
  233:     copy_spaces(ccline.cmdbuff, indent);
  234:     ccline.cmdbuff[indent] = NUL;
  235:     ccline.cmdpos = indent;
  236:     ccline.cmdspos = indent;
  237:     ccline.cmdlen = indent;
  267:     if (ccline.input_fn)
  269:     xpc.xp_context = ccline.xp_context;
  270:     xpc.xp_pattern = ccline.cmdbuff;
  272:     xpc.xp_arg = ccline.xp_arg;
  427:         && ccline.cmdpos > 1
  428:         && ccline.cmdbuff[ccline.cmdpos - 1] == '.'
  428:         && ccline.cmdbuff[ccline.cmdpos - 1] == '.'
  429:         && ccline.cmdbuff[ccline.cmdpos - 2] != '\\'
  429:         && ccline.cmdbuff[ccline.cmdpos - 2] != '\\'
  453:         if (ccline.input_fn)
  485:         if (ccline.input_fn)
  496:         if (c == K_DOWN && ccline.cmdpos > 0
  497:                   && ccline.cmdbuff[ccline.cmdpos - 1] == '.')
  497:                   && ccline.cmdbuff[ccline.cmdpos - 1] == '.')
  505:         j = (int)(xpc.xp_pattern - ccline.cmdbuff);
  510:             if (ccline.cmdbuff[j] == ' '
  511:                 && ccline.cmdbuff[j - 1] != '\\')
  517:             if (ccline.cmdbuff[j] == '.'
  518:                 && ccline.cmdbuff[j - 1] != '\\')
  547:             && ccline.cmdpos > 0
  548:             && ccline.cmdbuff[ccline.cmdpos - 1] == PATHSEP
  548:             && ccline.cmdbuff[ccline.cmdpos - 1] == PATHSEP
  549:             && (ccline.cmdpos < 3
  550:             || ccline.cmdbuff[ccline.cmdpos - 2] != '.'
  550:             || ccline.cmdbuff[ccline.cmdpos - 2] != '.'
  551:             || ccline.cmdbuff[ccline.cmdpos - 3] != '.'))
  551:             || ccline.cmdbuff[ccline.cmdpos - 3] != '.'))
  561:         j = ccline.cmdpos;
  562:         i = (int)(xpc.xp_pattern - ccline.cmdbuff);
  567:             j -= (*mb_head_off)(ccline.cmdbuff, ccline.cmdbuff + j);
  567:             j -= (*mb_head_off)(ccline.cmdbuff, ccline.cmdbuff + j);
  569:             if (vim_ispathsep(ccline.cmdbuff[j]))
  576:             && ccline.cmdbuff[j - 1] == '.'
  577:             && ccline.cmdbuff[j - 2] == '.'
  578:             && (vim_ispathsep(ccline.cmdbuff[j - 3]) || j == i + 2))
  589:         j = ccline.cmdpos - 1;
  590:         i = (int)(xpc.xp_pattern - ccline.cmdbuff);
  595:             j -= (*mb_head_off)(ccline.cmdbuff, ccline.cmdbuff + j);
  595:             j -= (*mb_head_off)(ccline.cmdbuff, ccline.cmdbuff + j);
  597:             if (vim_ispathsep(ccline.cmdbuff[j])
  616:         else if (STRNCMP(ccline.cmdbuff + j, upseg, 4) == 0)
  618:         else if (STRNCMP(ccline.cmdbuff + j, upseg + 1, 3) == 0
  630:         else if (ccline.cmdpos > i)
  656:                      && (c != 'e' || ccline.cmdfirstc == '='))
  671:         if (ccline.cmdpos == ccline.cmdlen)
  671:         if (ccline.cmdpos == ccline.cmdlen)
  674:             new_cmdpos = ccline.cmdpos;
  692:             ccline.cmdlen = (int)STRLEN(p);
  693:             STRCPY(ccline.cmdbuff, p);
  698:             if (new_cmdpos > ccline.cmdlen)
  699:                 ccline.cmdpos = ccline.cmdlen;
  699:                 ccline.cmdpos = ccline.cmdlen;
  701:                 ccline.cmdpos = new_cmdpos;
  745:             && ccline.cmdpos == ccline.cmdlen
  745:             && ccline.cmdpos == ccline.cmdlen
  746:             && ccline.cmdpos > 0
  747:             && ccline.cmdbuff[ccline.cmdpos - 1] == '\\')
  747:             && ccline.cmdbuff[ccline.cmdpos - 1] == '\\')
  796:         j = ccline.cmdpos;
  823:             if (wim_flags[0] == WIM_LONGEST && ccline.cmdpos == j)
  908:         if (c == K_DEL && ccline.cmdpos != ccline.cmdlen)
  908:         if (c == K_DEL && ccline.cmdpos != ccline.cmdlen)
  909:             ++ccline.cmdpos;
  912:             ccline.cmdpos += mb_off_next(ccline.cmdbuff,
  912:             ccline.cmdpos += mb_off_next(ccline.cmdbuff,
  913:                           ccline.cmdbuff + ccline.cmdpos);
  913:                           ccline.cmdbuff + ccline.cmdpos);
  915:         if (ccline.cmdpos > 0)
  919:             j = ccline.cmdpos;
  920:             p = ccline.cmdbuff + j;
  924:             p = mb_prevptr(ccline.cmdbuff, p);
  927:                 while (p > ccline.cmdbuff && vim_isspace(*p))
  928:                 p = mb_prevptr(ccline.cmdbuff, p);
  930:                 while (p > ccline.cmdbuff && mb_get_class(p) == i)
  931:                 p = mb_prevptr(ccline.cmdbuff, p);
  940:             while (p > ccline.cmdbuff && vim_isspace(p[-1]))
  943:             while (p > ccline.cmdbuff && !vim_isspace(p[-1])
  949:             ccline.cmdpos = (int)(p - ccline.cmdbuff);
  949:             ccline.cmdpos = (int)(p - ccline.cmdbuff);
  950:             ccline.cmdlen -= j - ccline.cmdpos;
  950:             ccline.cmdlen -= j - ccline.cmdpos;
  951:             i = ccline.cmdpos;
  952:             while (i < ccline.cmdlen)
  953:             ccline.cmdbuff[i++] = ccline.cmdbuff[j++];
  953:             ccline.cmdbuff[i++] = ccline.cmdbuff[j++];
  956:             ccline.cmdbuff[ccline.cmdlen] = NUL;
  956:             ccline.cmdbuff[ccline.cmdlen] = NUL;
  959:         else if (ccline.cmdlen == 0 && c != Ctrl_W
  960:                    && ccline.cmdprompt == NULL && indent == 0)
  965:                 || ccline.cmdfirstc == '>'
  970:             vim_free(ccline.cmdbuff);    /* no commandline to return */
  971:             ccline.cmdbuff = NULL;
  996:         ccline.overstrike = !ccline.overstrike;
  996:         ccline.overstrike = !ccline.overstrike;
  1058:         j = ccline.cmdpos;
  1059:         ccline.cmdlen -= j;
  1060:         i = ccline.cmdpos = 0;
  1061:         while (i < ccline.cmdlen)
  1062:             ccline.cmdbuff[i++] = ccline.cmdbuff[j++];
  1062:             ccline.cmdbuff[i++] = ccline.cmdbuff[j++];
  1064:         ccline.cmdbuff[ccline.cmdlen] = NUL;
  1064:         ccline.cmdbuff[ccline.cmdlen] = NUL;
  1116:             if (ccline.cmdfirstc == '=')/* can't do this recursively */
  1148:             if (new_cmdpos > ccline.cmdlen)
  1149:                 ccline.cmdpos = ccline.cmdlen;
  1149:                 ccline.cmdpos = ccline.cmdlen;
  1151:                 ccline.cmdpos = new_cmdpos;
  1170:             if (ccline.cmdpos >= ccline.cmdlen)
  1170:             if (ccline.cmdpos >= ccline.cmdlen)
  1172:             i = cmdline_charsize(ccline.cmdpos);
  1173:             if (KeyTyped && ccline.cmdspos + i >= Columns * Rows)
  1175:             ccline.cmdspos += i;
  1178:             ccline.cmdpos += (*mb_ptr2len)(ccline.cmdbuff
  1178:             ccline.cmdpos += (*mb_ptr2len)(ccline.cmdbuff
  1179:                                  + ccline.cmdpos);
  1182:             ++ccline.cmdpos;
  1186:             && ccline.cmdbuff[ccline.cmdpos] != ' ');
  1186:             && ccline.cmdbuff[ccline.cmdpos] != ' ');
  1196:         if (ccline.cmdpos == 0)
  1200:             --ccline.cmdpos;
  1203:             ccline.cmdpos -= (*mb_head_off)(ccline.cmdbuff,
  1203:             ccline.cmdpos -= (*mb_head_off)(ccline.cmdbuff,
  1204:                           ccline.cmdbuff + ccline.cmdpos);
  1204:                           ccline.cmdbuff + ccline.cmdpos);
  1206:             ccline.cmdspos -= cmdline_charsize(ccline.cmdpos);
  1206:             ccline.cmdspos -= cmdline_charsize(ccline.cmdpos);
  1208:         while (ccline.cmdpos > 0
  1211:             && ccline.cmdbuff[ccline.cmdpos - 1] != ' ');
  1211:             && ccline.cmdbuff[ccline.cmdpos - 1] != ' ');
  1306:         for (ccline.cmdpos = 0; ccline.cmdpos < ccline.cmdlen;
  1306:         for (ccline.cmdpos = 0; ccline.cmdpos < ccline.cmdlen;
  1306:         for (ccline.cmdpos = 0; ccline.cmdpos < ccline.cmdlen;
  1307:                                   ++ccline.cmdpos)
  1309:             i = cmdline_charsize(ccline.cmdpos);
  1310:             if (mouse_row <= cmdline_row + ccline.cmdspos / Columns
  1311:                   && mouse_col < ccline.cmdspos % Columns + i)
  1317:             correct_cmdspos(ccline.cmdpos, i);
  1318:             ccline.cmdpos += (*mb_ptr2len)(ccline.cmdbuff
  1318:             ccline.cmdpos += (*mb_ptr2len)(ccline.cmdbuff
  1319:                              + ccline.cmdpos) - 1;
  1322:             ccline.cmdspos += i;
  1379:         ccline.cmdpos = 0;
  1388:         ccline.cmdpos = ccline.cmdlen;
  1388:         ccline.cmdpos = ccline.cmdlen;
  1455:             if ((lookfor = vim_strsave(ccline.cmdbuff)) == NULL)
  1457:             lookfor[ccline.cmdpos] = NUL;
  1514:             vim_free(ccline.cmdbuff);
  1539:                     ccline.cmdbuff[len] = firstc;
  1549:                         ccline.cmdbuff[len] = '\\';
  1553:                     ccline.cmdbuff[len] = p[j];
  1560:                 if (ccline.cmdbuff == NULL)
  1564:             ccline.cmdbuff[len] = NUL;
  1569:             if (ccline.cmdbuff == NULL)
  1571:             STRCPY(ccline.cmdbuff, p);
  1574:             ccline.cmdpos = ccline.cmdlen = (int)STRLEN(ccline.cmdbuff);
  1574:             ccline.cmdpos = ccline.cmdlen = (int)STRLEN(ccline.cmdbuff);
  1574:             ccline.cmdpos = ccline.cmdlen = (int)STRLEN(ccline.cmdbuff);
  1594:             draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
  1594:             draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
  1594:             draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
  1726:         if (ccline.cmdlen == 0)
  1737:         i = do_search(NULL, firstc, ccline.cmdbuff, count,
  1859:     if (ccline.cmdbuff != NULL)
  1865:     if (ccline.cmdlen && firstc != NUL
  1868:         add_to_history(histype, ccline.cmdbuff, TRUE,
  1873:         new_last_cmdline = vim_strsave(ccline.cmdbuff);
  1880:         vim_free(ccline.cmdbuff);
  1881:         ccline.cmdbuff = NULL;
  1916:     char_u *p = ccline.cmdbuff;
  1919:     ccline.cmdbuff = NULL;
  getcmdline_prompt():
  1944:     ccline.cmdprompt = prompt;
  1945:     ccline.cmdattr = attr;
  1947:     ccline.xp_context = xp_context;
  1948:     ccline.xp_arg = xp_arg;
  1949:     ccline.input_fn = (firstc == '@');
  cmdline_charsize():
  2015:     return ptr2cells(ccline.cmdbuff + idx);
  set_cmdspos():
  2025:     if (ccline.cmdfirstc != NUL)
  2026:     ccline.cmdspos = 1 + ccline.cmdindent;
  2026:     ccline.cmdspos = 1 + ccline.cmdindent;
  2028:     ccline.cmdspos = 0 + ccline.cmdindent;
  2028:     ccline.cmdspos = 0 + ccline.cmdindent;
  set_cmdspos_cursor():
  2048:     for (i = 0; i < ccline.cmdlen && i < ccline.cmdpos; ++i)
  2048:     for (i = 0; i < ccline.cmdlen && i < ccline.cmdpos; ++i)
  2058:     if ((ccline.cmdspos += c) >= m)
  2060:         ccline.cmdspos -= c;
  2065:         i += (*mb_ptr2len)(ccline.cmdbuff + i) - 1;
  correct_cmdspos():
  2080:     if ((*mb_ptr2len)(ccline.cmdbuff + idx) > 1
  2081:         && (*mb_ptr2cells)(ccline.cmdbuff + idx) > 1
  2082:         && ccline.cmdspos % Columns + cells > Columns)
  2083:     ccline.cmdspos++;
  cmdline_overstrike():
  2357:     return ccline.overstrike;
  cmdline_at_end():
  2366:     return (ccline.cmdpos >= ccline.cmdlen);
  2366:     return (ccline.cmdpos >= ccline.cmdlen);
  alloc_cmdbuff():
  2487:     ccline.cmdbuff = alloc(len);    /* caller should check for out-of-memory */
  2488:     ccline.cmdbufflen = len;
  realloc_cmdbuff():
  2501:     p = ccline.cmdbuff;
  2503:     if (ccline.cmdbuff == NULL)        /* out of memory */
  2505:     ccline.cmdbuff = p;        /* keep the old one */
  2508:     mch_memmove(ccline.cmdbuff, p, (size_t)ccline.cmdlen + 1);
  2508:     mch_memmove(ccline.cmdbuff, p, (size_t)ccline.cmdlen + 1);
  draw_cmdline():
  2543:         i += (*mb_ptr2len)(ccline.cmdbuff + start + i) - 1;
  2644:     msg_outtrans_len(ccline.cmdbuff + start, len);
  putcmdline():
  2662:     draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
  2662:     draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
  2662:     draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
  unputcmdline():
  2676:     if (ccline.cmdlen == ccline.cmdpos)
  2676:     if (ccline.cmdlen == ccline.cmdpos)
  2679:     draw_cmdline(ccline.cmdpos, 1);
  put_on_cmdline():
  2707:     if (ccline.cmdlen + len + 1 >= ccline.cmdbufflen)
  2707:     if (ccline.cmdlen + len + 1 >= ccline.cmdbufflen)
  2708:     retval = realloc_cmdbuff(ccline.cmdlen + len);
  2713:     if (!ccline.overstrike)
  2715:         mch_memmove(ccline.cmdbuff + ccline.cmdpos + len,
  2715:         mch_memmove(ccline.cmdbuff + ccline.cmdpos + len,
  2715:         mch_memmove(ccline.cmdbuff + ccline.cmdpos + len,
  2715:         mch_memmove(ccline.cmdbuff + ccline.cmdpos + len,
  2715:         mch_memmove(ccline.cmdbuff + ccline.cmdpos + len,
  2715:         mch_memmove(ccline.cmdbuff + ccline.cmdpos + len,
  2718:         ccline.cmdlen += len;
  2731:         for (i = ccline.cmdpos; i < ccline.cmdlen && m > 0;
  2731:         for (i = ccline.cmdpos; i < ccline.cmdlen && m > 0;
  2732:                  i += (*mb_ptr2len)(ccline.cmdbuff + i))
  2734:         if (i < ccline.cmdlen)
  2736:             mch_memmove(ccline.cmdbuff + ccline.cmdpos + len,
  2736:             mch_memmove(ccline.cmdbuff + ccline.cmdpos + len,
  2736:             mch_memmove(ccline.cmdbuff + ccline.cmdpos + len,
  2736:             mch_memmove(ccline.cmdbuff + ccline.cmdpos + len,
  2738:             ccline.cmdlen += ccline.cmdpos + len - i;
  2738:             ccline.cmdlen += ccline.cmdpos + len - i;
  2741:             ccline.cmdlen = ccline.cmdpos + len;
  2741:             ccline.cmdlen = ccline.cmdpos + len;
  2745:         if (ccline.cmdpos + len > ccline.cmdlen)
  2745:         if (ccline.cmdpos + len > ccline.cmdlen)
  2746:         ccline.cmdlen = ccline.cmdpos + len;
  2746:         ccline.cmdlen = ccline.cmdpos + len;
  2748:     mch_memmove(ccline.cmdbuff + ccline.cmdpos, str, (size_t)len);
  2748:     mch_memmove(ccline.cmdbuff + ccline.cmdpos, str, (size_t)len);
  2749:     ccline.cmdbuff[ccline.cmdlen] = NUL;
  2749:     ccline.cmdbuff[ccline.cmdlen] = NUL;
  2758:         c = utf_ptr2char(ccline.cmdbuff + ccline.cmdpos);
  2758:         c = utf_ptr2char(ccline.cmdbuff + ccline.cmdpos);
  2759:         while (ccline.cmdpos > 0 && utf_iscomposing(c))
  2761:         i = (*mb_head_off)(ccline.cmdbuff,
  2762:                       ccline.cmdbuff + ccline.cmdpos - 1) + 1;
  2762:                       ccline.cmdbuff + ccline.cmdpos - 1) + 1;
  2763:         ccline.cmdpos -= i;
  2765:         c = utf_ptr2char(ccline.cmdbuff + ccline.cmdpos);
  2765:         c = utf_ptr2char(ccline.cmdbuff + ccline.cmdpos);
  2786:         i = ptr2cells(ccline.cmdbuff + ccline.cmdpos);
  2786:         i = ptr2cells(ccline.cmdbuff + ccline.cmdpos);
  2787:         ccline.cmdspos -= i;
  2802:         draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
  2802:         draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
  2802:         draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
  2804:         if (cmdline_row != i || ccline.overstrike)
  2826:         c = cmdline_charsize(ccline.cmdpos);
  2830:             correct_cmdspos(ccline.cmdpos, c);
  2835:         if (ccline.cmdspos + c < m)
  2836:             ccline.cmdspos += c;
  2840:             c = (*mb_ptr2len)(ccline.cmdbuff + ccline.cmdpos) - 1;
  2840:             c = (*mb_ptr2len)(ccline.cmdbuff + ccline.cmdpos) - 1;
  2843:             ccline.cmdpos += c;
  2847:         ++ccline.cmdpos;
  save_cmdline():
  2874:     prev_ccline = ccline;
  2875:     ccline.cmdbuff = NULL;
  2876:     ccline.cmdprompt = NULL;
  restore_cmdline():
  2886:     ccline = prev_ccline;
  cmdline_paste():
  2981:         for (w = ccline.cmdbuff + ccline.cmdlen; w > ccline.cmdbuff; )
  2981:         for (w = ccline.cmdbuff + ccline.cmdlen; w > ccline.cmdbuff; )
  2981:         for (w = ccline.cmdbuff + ccline.cmdlen; w > ccline.cmdbuff; )
  2986:             len = (*mb_head_off)(ccline.cmdbuff, w - 1) + 1;
  2999:         len = (int)((ccline.cmdbuff + ccline.cmdlen) - w);
  2999:         len = (int)((ccline.cmdbuff + ccline.cmdlen) - w);
  cmdline_del():
  3059:     mch_memmove(ccline.cmdbuff + from, ccline.cmdbuff + ccline.cmdpos,
  3059:     mch_memmove(ccline.cmdbuff + from, ccline.cmdbuff + ccline.cmdpos,
  3059:     mch_memmove(ccline.cmdbuff + from, ccline.cmdbuff + ccline.cmdpos,
  3059:     mch_memmove(ccline.cmdbuff + from, ccline.cmdbuff + ccline.cmdpos,
  3059:     mch_memmove(ccline.cmdbuff + from, ccline.cmdbuff + ccline.cmdpos,
  3061:     ccline.cmdlen -= ccline.cmdpos - from;
  3061:     ccline.cmdlen -= ccline.cmdpos - from;
  3062:     ccline.cmdpos = from;
  redrawcmdprompt():
  3088:     if (ccline.cmdfirstc != NUL)
  3089:     msg_putchar(ccline.cmdfirstc);
  3090:     if (ccline.cmdprompt != NULL)
  3092:     msg_puts_attr(ccline.cmdprompt, ccline.cmdattr);
  3092:     msg_puts_attr(ccline.cmdprompt, ccline.cmdattr);
  3093:     ccline.cmdindent = msg_col + (msg_row - cmdline_row) * Columns;
  3095:     if (ccline.cmdfirstc != NUL)
  3096:         --ccline.cmdindent;
  3099:     for (i = ccline.cmdindent; i > 0; --i)
  redrawcmd():
  3113:     if (ccline.cmdbuff == NULL)
  3125:     draw_cmdline(0, ccline.cmdlen);
  cursorcmd():
  3169:     msg_row = cmdline_row + (ccline.cmdspos / (int)Columns);
  3170:     msg_col = ccline.cmdspos % (int)Columns;
  ccheck_abbr():
  3213:     return check_abbr(c, ccline.cmdbuff, ccline.cmdpos, 0);
  3213:     return check_abbr(c, ccline.cmdbuff, ccline.cmdpos, 0);
  nextwild():
  3255:     i = (int)(xp->xp_pattern - ccline.cmdbuff);
  3256:     oldlen = ccline.cmdpos - i;
  3270:     if ((p1 = addstar(&ccline.cmdbuff[i], oldlen, xp->xp_context)) == NULL)
  3274:         p2 = ExpandOne(xp, p1, vim_strnsave(&ccline.cmdbuff[i], oldlen),
  3282:              if (ccline.cmdbuff[i + j] == '*'
  3283:                  || ccline.cmdbuff[i + j] == '?')
  3297:     if (ccline.cmdlen + difflen > ccline.cmdbufflen - 4)
  3297:     if (ccline.cmdlen + difflen > ccline.cmdbufflen - 4)
  3299:         v = realloc_cmdbuff(ccline.cmdlen + difflen);
  3300:         xp->xp_pattern = ccline.cmdbuff + i;
  3306:         mch_memmove(&ccline.cmdbuff[ccline.cmdpos + difflen],
  3306:         mch_memmove(&ccline.cmdbuff[ccline.cmdpos + difflen],
  3306:         mch_memmove(&ccline.cmdbuff[ccline.cmdpos + difflen],
  3306:         mch_memmove(&ccline.cmdbuff[ccline.cmdpos + difflen],
  3306:         mch_memmove(&ccline.cmdbuff[ccline.cmdpos + difflen],
  3306:         mch_memmove(&ccline.cmdbuff[ccline.cmdpos + difflen],
  3309:         mch_memmove(&ccline.cmdbuff[i], p2, STRLEN(p2));
  3310:         ccline.cmdlen += difflen;
  3311:         ccline.cmdpos += difflen;
  showmatches():
  3797:     i = expand_cmdline(xp, ccline.cmdbuff, ccline.cmdpos,
  3797:     i = expand_cmdline(xp, ccline.cmdbuff, ccline.cmdpos,
  set_expand_context():
  4170:     if (ccline.cmdfirstc != ':'
  4172:         && ccline.cmdfirstc != '>' && ccline.cmdfirstc != '='
  4172:         && ccline.cmdfirstc != '>' && ccline.cmdfirstc != '='
  4173:         && !ccline.input_fn
  4180:     set_cmd_context(xp, ccline.cmdbuff, ccline.cmdlen, ccline.cmdpos);
  4180:     set_cmd_context(xp, ccline.cmdbuff, ccline.cmdlen, ccline.cmdpos);
  4180:     set_cmd_context(xp, ccline.cmdbuff, ccline.cmdlen, ccline.cmdpos);
  set_cmd_context():
  4203:     if (ccline.cmdfirstc == '=')
  4210:     else if (ccline.input_fn)
  4212:     xp->xp_context = ccline.xp_context;
  4213:     xp->xp_pattern = ccline.cmdbuff;
  4215:     xp->xp_arg = ccline.xp_arg;
  call_user_expand_func():
  4706:     if (ccline.cmdbuff == NULL)
  4716:     keep = ccline.cmdbuff[ccline.cmdlen];
  4716:     keep = ccline.cmdbuff[ccline.cmdlen];
  4717:     ccline.cmdbuff[ccline.cmdlen] = 0;
  4717:     ccline.cmdbuff[ccline.cmdlen] = 0;
  4718:     sprintf((char *)num, "%d", ccline.cmdpos);
  4719:     args[1] = ccline.cmdbuff;
  4725:     save_ccline = ccline;
  4726:     ccline.cmdbuff = NULL;
  4727:     ccline.cmdprompt = NULL;
  4732:     ccline = save_ccline;
  4734:     if (ccline.cmdbuff != NULL)
  4735:     ccline.cmdbuff[ccline.cmdlen] = keep;
  4735:     ccline.cmdbuff[ccline.cmdlen] = keep;
  get_histtype():
  5148:     return hist_char2type(ccline.cmdfirstc);
  get_ccline_ptr():
  5247:     if (ccline.cmdbuff != NULL)
  5248:     return &ccline;
  ex_window():
  6001:     cmdwin_type = ccline.cmdfirstc;
  6027:     histtype = hist_char2type(ccline.cmdfirstc);
  6064:     ml_replace(curbuf->b_ml.ml_line_count, ccline.cmdbuff, TRUE);
  6066:     curwin->w_cursor.col = ccline.cmdpos;
  6072:     save_ccline = ccline;
  6073:     ccline.cmdbuff = NULL;
  6074:     ccline.cmdprompt = NULL;
  6110:     ccline = save_ccline;
  6130:     vim_free(ccline.cmdbuff);
  6138:         ccline.cmdbuff = vim_strsave((char_u *)p);
  6144:         ccline.cmdbuff = NULL;
  6152:         ccline.cmdbuff = vim_strsave((char_u *)"qa");
  6156:         ccline.cmdbuff = vim_strsave(ml_get_curline());
  6157:     if (ccline.cmdbuff == NULL)
  6161:         ccline.cmdlen = (int)STRLEN(ccline.cmdbuff);
  6161:         ccline.cmdlen = (int)STRLEN(ccline.cmdbuff);
  6162:         ccline.cmdbufflen = ccline.cmdlen + 1;
  6162:         ccline.cmdbufflen = ccline.cmdlen + 1;
  6163:         ccline.cmdpos = curwin->w_cursor.col;
  6164:         if (ccline.cmdpos > ccline.cmdlen)
  6164:         if (ccline.cmdpos > ccline.cmdlen)
  6165:         ccline.cmdpos = ccline.cmdlen;
  6165:         ccline.cmdpos = ccline.cmdlen;
got_int (344 uses in 38 translation units) defined in translation unit main.c, declared in ./globals.h:986
buffer.c (6 uses)
  open_buffer():
  204:     if ((got_int && vim_strchr(p_cpo, CPO_INTMOD) != NULL)
  do_bufdel():
  833:     for ( ;!got_int; ui_breakcheck())
  872:     if (!got_int && do_current && do_buffer(command, DOBUF_FIRST,
  buflist_list():
  2495:     for (buf = firstbuf; buf != NULL && !got_int; buf = buf->b_next)
  do_arg_all():
  4437:     for (i = 0; i < count && i < alist->al_ga.ga_len && !got_int; ++i)
  ex_buffer_all():
  4694:     if (got_int)
digraph.c (2 uses)
  listdigraphs():
  2298:     for (i = 0; dp->char1 != NUL && !got_int; ++i)
  2324:     for (i = 0; i < user_digraphs.ga_len && !got_int; ++i)
edit.c (17 uses)
  edit():
  894:         got_int = FALSE; /* don't stop executing autocommands et al. */
  907:         if (got_int)
  910:             got_int = FALSE;
  ins_compl_add():
  2287:     if (got_int)
  ins_compl_dictionaries():
  2878:     while (*dict != NUL && !got_int && !compl_interrupted)
  ins_compl_files():
  2948:     for (i = 0; i < count && !got_int && !compl_interrupted; i++)
  2964:         while (!got_int && !compl_interrupted
  2986:             while (!got_int)
  3027:             if (*ptr == '\n' || got_int)
  ins_compl_get_exp():
  4199:         if (got_int)
  ins_compl_check_keys():
  4535:     if (compl_pending != 0 && !got_int)
  ins_complete():
  5024:     if (got_int && !global_busy)
  5027:     got_int = FALSE;
  get_literal():
  5258:     if (got_int)
  5376:     got_int = FALSE;        /* CTRL-C typed after CTRL-V is not an interrupt */
  internal_format():
  5721:     while (!got_int)
  ins_esc():
  7884:         if (got_int)
eval.c (14 uses)
  list_hashtable_vars():
  1949:     for (hi = ht->ht_array; todo > 0 && !got_int; ++hi)
  list_arg_vars():
  2064:     while (!ends_excmd(*arg) && !got_int)
  del_menutrans_vars():
  3600:     for (hi = globvarht.ht_array; todo > 0 && !got_int; ++hi)
  list_copy():
  5969:     for (item = orig->lv_first; item != NULL && !got_int;
  list_join():
  6074:     for (item = l->lv_first; item != NULL && !got_int; item = item->li_next)
  dict_copy():
  6461:     for (hi = orig->dv_hashtab.ht_array; todo > 0 && !got_int; ++hi)
  dict2string():
  6663:     for (hi = d->dv_hashtab.ht_array; todo > 0 && !got_int; ++hi)
  ex_echo():
  18561:     while (*arg != NUL && *arg != '|' && *arg != '\n' && !got_int)
  18589:         for ( ; *p != NUL && !got_int; ++p)
  ex_function():
  18818:         for (hi = func_hashtab.ht_array; todo > 0 && !got_int; ++hi)
  18852:         for (hi = func_hashtab.ht_array; todo > 0 && !got_int; ++hi)
  18924:     if (!eap->skip && !got_int)
  18930:         for (j = 0; j < fp->uf_lines.ga_len && !got_int; ++j)
  18944:         if (!got_int)
ex_cmds.c (25 uses)
  sort_compare():
  314:     if (got_int)
  ex_sort():
  500:     if (got_int)
  532:     if (got_int)
  559:     if (got_int)
  ex_retab():
  600:     for (lnum = eap->line1; !got_int && lnum <= eap->line2; ++lnum)
  694:     if (got_int)
  do_filter():
  1215:     got_int = FALSE;
  do_sub():
  4945:             || got_int
  5102:     if (got_int)        /* interrupted */
  do_sub_msg():
  5134:     if (got_int)
  5158:     if (got_int)
  ex_global():
  5262:     for (lnum = eap->line1; lnum <= eap->line2 && !got_int; ++lnum)
  5278:     if (got_int)
  global_exe():
  5317:     while (!got_int && (lnum = ml_firstmarked()) != 0 && global_busy == 1)
  helptags_one():
  6269:     if (!got_int)
  6298:         got_int = TRUE;
  6303:         got_int = TRUE;
  6316:     for (fi = 0; fi < filecount && !got_int; ++fi)
  6329:     while (!vim_fgets(IObuff, IOSIZE, fd) && !got_int)
  6358:             mix = !got_int;
  6359:             got_int = TRUE;
  6388:                 got_int = TRUE;
  6394:                 got_int = TRUE;
  6415:     if (!got_int)
  6476:     got_int = FALSE;    /* continue with other languages */
ex_cmds2.c (12 uses)
  do_debug():
  252:             got_int = TRUE;
  256:             got_int = TRUE;
  dbg_check_skipped():
  390:     prev_got_int = got_int;
  391:     got_int = FALSE;
  397:     got_int |= prev_got_int;
  debuggy_find():
  791:         prev_got_int = got_int;
  792:         got_int = FALSE;
  799:         got_int |= prev_got_int;
  do_arglist():
  1804:     for (i = 0; i < new_ga.ga_len && !got_int; ++i)
  ex_listdo():
  2322:     while (!got_int)
  do_source():
  3140:     if (got_int)
  ex_scriptnames():
  3200:     for (i = 1; i <= script_items.ga_len && !got_int; ++i)
ex_docmd.c (20 uses)
  save_dbg_stuff():
  567:     dsp->got_int    = got_int;        got_int         = FALSE;
  567:     dsp->got_int    = got_int;        got_int         = FALSE;
  restore_dbg_stuff():
  585:     got_int = dsp->got_int;
  do_cmdline():
  1165:         if (!did_emsg && !got_int && !did_throw
  1234:         did_emsg = got_int = did_throw = FALSE;
  1249:     if (trylevel == 0 && !did_emsg && !got_int && !did_throw)
  1266:     while (!((got_int
  1295:     if (!got_int && !did_throw
  1415:     else if (got_int || (did_emsg && force_abort))
  do_one_cmd():
  1916:     ea.skip = did_emsg || got_int || did_throw || (cstack->cs_idx >= 0
  1937:     if (!ea.skip && got_int)
  uc_list():
  5238:         if (got_int)
  5319:         if (got_int)
  ex_print():
  6657:     for ( ;!got_int; ui_breakcheck())
  alist_set():
  6913:         if (got_int)
  ex_tabs():
  7237:     for (tp = first_tabpage; tp != NULL && !got_int; tp = tp->tp_next)
  7249:     for ( ; wp != NULL && !got_int; wp = wp->w_next)
  do_sleep():
  7971:     for (done = 0; !got_int && done < msec; done += 1000L)
  ex_normal():
  9029:     while (eap->addr_count > 0 && eap->line1 <= eap->line2 && !got_int);
  exec_normal_cmd():
  9121:                                   && !got_int)
ex_eval.c (24 uses)
  aborting():
  96:     return (did_emsg && force_abort) || got_int || did_throw;
  cause_errthrow():
  226:         got_int = FALSE;
  do_intthrow():
  371:     if (!got_int || (trylevel == 0 && !did_throw))
  ex_if():
  881:     skip = did_emsg || got_int || did_throw || (cstack->cs_idx > 0
  ex_else():
  944:     skip = did_emsg || got_int || did_throw || (cstack->cs_idx > 0
  990:     if (!skip && dbg_check_skipped(eap) && got_int)
  ex_while():
  1054:     skip = did_emsg || got_int || did_throw || (cstack->cs_idx > 0
  do_throw():
  1328:     if (got_int && !THROW_ON_INTERRUPT)
  1331:     got_int = FALSE;
  ex_try():
  1405:     skip = did_emsg || got_int || did_throw || (cstack->cs_idx > 0
  ex_catch():
  1568:             prev_got_int = got_int;
  1569:             got_int = FALSE;
  1572:             got_int |= prev_got_int;
  1583:         did_emsg = got_int = did_throw = FALSE;
  ex_finally():
  1701:         if (pending == CSTP_ERROR || did_emsg || got_int || did_throw)
  1714:         pending |= got_int   ? CSTP_INTERRUPT : 0;
  ex_endtry():
  1770:     skip = did_emsg || got_int || did_throw ||
  1826:         if (got_int)
  1909:             got_int = TRUE;
  enter_cleanup():
  1954:     if (did_emsg || got_int || did_throw || need_rethrow)
  1957:              | (got_int      ? CSTP_INTERRUPT : 0)
  1979:     did_emsg = got_int = did_throw = need_rethrow = FALSE;
  leave_cleanup():
  2068:         got_int = TRUE;
  cleanup_conditionals():
  2114:         if (did_emsg || got_int || (cstack->cs_flags[idx] & CSF_FINALLY))
ex_getln.c (17 uses)
  getcmdline():
  392:         got_int = FALSE;
  805:         if (got_int)
  808:             got_int = FALSE;    /* don't abandon the command line */
  1747:         if (got_int)
  1750:             got_int = FALSE;    /* don't abandon the command line */
  getexmodeline():
  2168:     got_int = FALSE;
  2169:     while (!got_int)
  2185:     if (got_int)
  2343:     if (got_int)
  cmdline_paste():
  2951:     if (got_int)
  nextwild():
  3294:     if (p2 != NULL && !got_int)
  showmatches():
  3826:     if (got_int)
  3827:     got_int = FALSE;    /* only int. the completion, not the cmd line */
  3919:         if (got_int)
  3921:         got_int = FALSE;
  ex_history():
  5648:     for (; !got_int && histype1 <= histype2; ++histype1)
  5662:         for (i = idx + 1; !got_int; ++i)
fileio.c (19 uses)
  readfile():
  1122:     while (!error && !got_int)
  2166:         && !got_int
  2282:     if (got_int)
  buf_write():
  2901:     int            prev_got_int = got_int;
  3382:     prev_got_int = got_int;
  3383:     got_int = FALSE;
  3712:                 if (got_int)
  3889:     if (got_int)
  4287:         if (got_int)
  4441:         if (got_int)
  4462:         if (got_int)
  4770:     got_int |= prev_got_int;
  show_autocmd():
  7263:     if (got_int)
  7269:     if (got_int)
  7285:     if (got_int)
  7298:         if (got_int)
  7305:         if (got_int)
  7310:         if (got_int)
  auto_next_pat():
  8908:     for (ap = apc->curpat; ap != NULL && !got_int; ap = ap->next)
fold.c (8 uses)
  foldUpdate():
  862:     int save_got_int = got_int;
  865:     got_int = FALSE;
  867:     got_int |= save_got_int;
  foldUpdateIEMS():
  2238:     for ( ; !got_int; --fline.lnum)
  2254:     while (!got_int)
  foldUpdateIEMSRecurse():
  2398:     while (!got_int)
  2466:         while (!got_int)
  2642:         while (!got_int)
getchar.c (12 uses)
  vgetorpeek():
  1954:     if (c != NUL && !got_int)
  1986:         if (got_int)
  inchar():
  2886:     if (got_int || (script_char = getc(scriptin[curscript])) < 0)
  2897:         if (got_int)
  2919:     if (got_int)
  do_map():
  3324:     for (hash = 0; hash < 256 && !got_int; ++hash)
  3334:         for ( ; mp != NULL && !got_int; mp = mp->m_next)
  3361:     for (hash = 0; hash < 256 && !got_int; ++hash)
  3371:         for ( ; mp != NULL && !got_int; mp = mp->m_next)
  3406:                           && !did_it && !got_int; ++round)
  3409:     for (hash = 0; hash < 256 && !got_int; ++hash)
  3419:         for (mp = *mpp; mp != NULL && !got_int; mp = *mpp)
gui_mac.c (1 use)
  gui_mac_unicode_key_event():
  2178:     got_int = TRUE;
hardcopy.c (3 uses)
  ex_hardcopy():
  734:             if (got_int || settings.user_abort)
  813:     if (got_int || settings.user_abort)
  mch_print_end():
  3279:                     && !got_int && !psettings->user_abort)
if_python.c (1 use)
  VimErrorCheck():
  2974:     if (got_int)
main.c (6 uses)
  main_loop():
  1026:     if (got_int)
  1039:         got_int = FALSE;
  create_windows():
  2464:             if (got_int || only_one_window())
  2486:         if (got_int)
  edit_buffers():
  2578:         if (got_int || only_one_window())
  2592:     if (got_int)
mark.c (6 uses)
  show_one_mark():
  767:     else if (!got_int
  778:     if (!got_int)
  ex_jumps():
  898:     for (i = 0; i < curwin->w_jumplistlen && !got_int; ++i)
  909:         if (got_int)
  ex_changes():
  944:     for (i = 0; i < curbuf->b_changelistlen && !got_int; ++i)
  949:         if (got_int)
memfile.c (4 uses)
  mf_sync():
  571:     int        got_int_save = got_int;
  581:     got_int = FALSE;
  612:         if (got_int)
  719:     got_int |= got_int_save;
memline.c (8 uses)
  ml_recover():
  1145:     for ( ; !got_int; line_breakcheck())
  1324:     if (got_int)
  ml_preserve():
  1953:     int        got_int_save = got_int;
  1964:     got_int = FALSE;
  1985:     if (mf_need_trans(mfp) && !got_int)
  2006:     got_int |= got_int_save;
  findswapname():
  4150:             got_int = FALSE;
  4212:                 got_int = TRUE;
menu.c (3 uses)
  show_menus_recursive():
  1150:     if (got_int)        /* "q" hit for "--more--" */
  1169:         if (got_int)        /* "q" hit for "--more--" */
  1206:     for (; menu != NULL && !got_int; menu = menu->next)
message.c (9 uses)
  ex_messages():
  831:     for (p = first_msg_hist; p != NULL && !got_int; p = p->next)
  wait_return():
  898:     got_int = FALSE;
  904:     got_int = FALSE;
  925:         had_got_int = got_int;
  933:         got_int = FALSE;
  964:             got_int = FALSE;
  hit_return_msg():
  1084:     if (got_int)
  msg_prt_line():
  1583:     while (!got_int)
  do_more_prompt():
  2541:         got_int = TRUE;
misc1.c (2 uses)
  msgmore():
  3316:     if (got_int)
  unix_expandpath():
  8931:     if (got_int)
misc2.c (2 uses)
  vim_findfile():
  4397:         if (got_int)
  4748:         && search_ctx->ffsc_stopdirs_v != NULL && !got_int)
normal.c (2 uses)
  nv_esc():
  8658:         got_int = FALSE;    /* don't stop executing autocommands et al. */
  nv_at():
  8946:     while (cap->count1-- && !got_int)
ops.c (15 uses)
  op_reindent():
  661:     for (i = oap->line_count; --i >= 0 && !got_int; )
  insert_reg():
  1335:     if (got_int)
  cmdline_paste_reg():
  1542:     if (got_int)
  op_insert():
  2505:     if (curwin->w_cursor.lnum != oap->start.lnum || got_int)
  op_change():
  2638:     if (oap->block_mode && oap->start.lnum != oap->end.lnum && !got_int)
  ex_display():
  3947:     for (i = -1; i < NUM_REGISTERS && !got_int; ++i)
  4007:          && (arg == NULL || vim_strchr(arg, '.') != NULL) && !got_int)
  4017:                                   && !got_int)
  4027:         && (arg == NULL || vim_strchr(arg, '%') != NULL) && !got_int)
  4036:     if ((arg == NULL || vim_strchr(arg, '%') != NULL) && !got_int)
  4052:          && (arg == NULL || vim_strchr(arg, '/') != NULL) && !got_int)
  4063:                                   && !got_int)
  do_do_join():
  4120:     if (got_int || do_join(insert_space) == FAIL)
  format_lines():
  4559:     for (count = line_count; count != 0 && !got_int; --count)
  cursor_pos_info():
  6287:         if (got_int)
option.c (3 uses)
  showoptions():
  8392:     for (run = 1; run <= 2 && !got_int; ++run)
  8439:     for (row = 0; row < rows && !got_int; ++row)
  8442:         if (got_int)            /* 'q' typed in more */
os_unix.c (5 uses)
  catch_sigint():
  817:     got_int = TRUE;
  vim_handle_signal():
  1312:                  got_int = TRUE;    /* break any loops */
  mch_call_shell():
  4275:             if (got_int)
  4286:             got_int = FALSE;
  4378:             if (got_int)
quickfix.c (14 uses)
  qf_init_ext():
  481:     got_int = FALSE;
  498:     while (!got_int)
  qf_list():
  1926:     for (i = 1; !got_int && i <= qi->qf_lists[qi->qf_curlist].qf_count; )
  1933:         if (got_int)
  ex_vimgrep():
  3084:     for (fi = 0; fi < fcount && !got_int && tomatch > 0; ++fi)
  3152:         if (!got_int)
  3183:             got_int = TRUE;
  3198:         if (got_int)
  load_dummy_buffer():
  3413:         && !got_int
  get_errorlist():
  3507:     for (i = 1; !got_int && i <= qi->qf_lists[qi->qf_curlist].qf_count; ++i)
  ex_helpgrep():
  3814:     while (*p != NUL && !got_int)
  3825:         for (fi = 0; fi < fcount && !got_int; ++fi)
  3841:             while (!vim_fgets(IObuff, IOSIZE, fd) && !got_int)
  3866:                     got_int = TRUE;
regexp.c (14 uses)
  vim_regexec_both():
  3517:     while (!got_int)
  regmatch():
  3805:     if (got_int || scan == NULL)
  4623:                 if (got_int)
  4825:         if (got_int)
  5266:             if (got_int)
  5321:         got_int = TRUE;
  regrepeat():
  5408:         if (got_int)
  5432:         if (got_int)
  5462:         if (got_int)
  5492:         if (got_int)
  5518:         if (got_int)
  5549:         if (got_int)
  5714:         if (got_int)
  5748:         if (got_int)
screen.c (5 uses)
  win_update():
  1474:     save_got_int = got_int;
  1475:     got_int = 0;
  1954:     if (!got_int)
  1955:     got_int = save_got_int;
  next_search_hl():
  6668:         got_int = FALSE;  /* avoid the "Type :quit to exit Vim" message */
search.c (15 uses)
  searchit():
  888:         if (got_int)
  914:         if (!p_ws || stop_lnum != 0 || got_int || called_emsg
  933:     if (got_int || called_emsg || break_loop)
  944:     if (got_int)
  findmatchlimit():
  1891:         while (!got_int)
  1967:     while (!got_int)
  find_pattern_in_path():
  4629:                 if (!got_int)        /* don't display if 'q'
  4660:         while (depth_displayed < depth && !got_int)
  4668:         if (!got_int)            /* don't display if 'q' typed
  4977:             if (!got_int)        /* don't display if 'q' typed
  4983:         if (!got_int)
  5094:     if (got_int || compl_interrupted)
  5157:     if (got_int || compl_interrupted)
  show_pat_in_path():
  5198:     if (got_int)        /* 'q' typed at "--more--" message */
  5225:     if (got_int || type != FIND_DEFINE || p < line || *p != '\\')
spell.c (18 uses)
  spell_move_to():
  2074:     while (!got_int)
  spell_read_aff():
  5155:     while (!vim_fgets(rline, MAXLINELEN, fd) && !got_int)
  spell_read_dic():
  6476:     while (!vim_fgets(line, MAXLINELEN, fd) && !got_int)
  spell_read_wordfile():
  7053:     while (!vim_fgets(rline, MAXLINELEN, fd) && !got_int)
  node_compress():
  7714:     for (np = node; np != NULL && !got_int; np = np->wn_sibling)
  sug_filltree():
  8609:     while (depth >= 0 && !got_int)
  mkspell():
  9183:     if (!error && !got_int)
  9194:     if (!error && !got_int)
  9238:     if (spin.si_sugtime != 0 && !error && !got_int)
  ex_spellrepall():
  10361:     while (!got_int)
  spell_suggest_file():
  10642:     while (!vim_fgets(line, MAXWLEN * 2, fd) && !got_int)
  spell_suggest_intern():
  10753:     if (interactive && got_int)
  10756:     got_int = FALSE;
  tree_count_words():
  10931:     while (depth >= 0 && !got_int)
  suggest_trie_walk():
  11288:     while (depth >= 0 && !got_int)
  ex_spellinfo():
  15402:     for (lpi = 0; lpi < curbuf->b_langp.ga_len && !got_int; ++lpi)
  spell_dump_compl():
  15580:         while (depth >= 0 && !got_int
  dump_prefixes():
  15792:     while (depth >= 0 && !got_int)
syntax.c (15 uses)
  syntax_start():
  613:     if (got_int)
  syn_sync():
  800:         if (got_int)
  syn_cmd_list():
  3634:     for (id = 1; id <= highlight_ga.ga_len && !got_int; ++id)
  3636:     for (id = 0; id < curbuf->b_syn_clusters.ga_len && !got_int; ++id)
  3644:     while (!ends_excmd(*arg) && !got_int)
  syn_list_one():
  3756:     for (idx = 0; idx < curbuf->b_syn_patterns.ga_len && !got_int; ++idx)
  3813:     if (HL_TABLE()[id - 1].sg_link && (did_header || link_only) && !got_int)
  syn_list_keywords():
  4007:     for (hi = ht->ht_array; todo > 0 && !got_int; ++hi)
  4012:         for (kp = HI2KE(hi); kp != NULL && !got_int; kp = kp->ke_next)
  do_highlight():
  6545:     for (i = 1; i <= highlight_ga.ga_len && !got_int; ++i)
  highlight_list_one():
  8197:     if (sgp->sg_link && !got_int)
  highlight_list_arg():
  8227:     if (got_int)
  8254:     if (!got_int)
  syn_list_header():
  8412:     if (got_int)
  8420:     if (got_int)
tag.c (5 uses)
  do_tag():
  767:             if (got_int)
  769:             got_int = FALSE;    /* only stop the listing */
  926:         if (i <= 0 || i > num_matches || got_int)
  find_tags():
  1566:         if (got_int || compl_interrupted)
  2349:               for (i = ga_match[mtt].ga_len; --i >= 0 && !got_int; )
term.c (3 uses)
  show_termcodes():
  5264:     for (run = 1; run <= 3 && !got_int; ++run)
  5292:     for (row = 0; row < rows && !got_int; ++row)
  5295:         if (got_int)            /* 'q' typed in more */
ui.c (4 uses)
  fill_input_buf():
  1805:     if (len > 0 || got_int)
  1832:     if (len <= 0 && !got_int)
  1836:     if (got_int)
  1871:         got_int = TRUE;
undo.c (3 uses)
  u_savecommon():
  619:         if (got_int)
  ex_undolist():
  1493:     for (i = 0; i < ga.ga_len && !got_int; ++i)
  1496:         if (got_int)
version.c (2 uses)
  version_msg():
  1680:     if (!got_int && len < (int)Columns && msg_col + len >= (int)Columns
  1683:     if (!got_int)
State (314 uses in 26 translation units) defined in translation unit main.c, declared in ./globals.h:865
buffer.c (3 uses)
  build_stl_str_hl():
  3670:         num = !(State & INSERT) && empty_line
  3687:             && (virtcol == (colnr_T)(!(State & INSERT) && empty_line
  3733:           0L : l + 1 + (!(State & INSERT) && empty_line ?
charset.c (1 use)
  getvcol():
  1340:         && (State & NORMAL)
edit.c (72 uses)
  edit():
  426:     State = REPLACE;
  431:     State = VREPLACE;
  438:     State = INSERT;
  455:     State |= LANGMAP;
  change_indent():
  1689:     if (State & VREPLACE_FLAG)
  1734:     int    save_State = State;
  1737:     if (State & VREPLACE_FLAG)
  1738:         State = INSERT;
  1742:     State = save_State;
  1766:     else if (!(State & INSERT))
  1834:     if (State & INSERT)
  1856:     if (REPLACE_NORMAL(State) && start_col >= 0)
  1856:     if (REPLACE_NORMAL(State) && start_col >= 0)
  1881:     if (State & VREPLACE_FLAG)
  truncate_spaces():
  1925:     if (State & REPLACE_FLAG)
  backspace_until_column():
  1944:     if (State & REPLACE_FLAG)
  ins_compl_prep():
  3423:         if (!(State & REPLACE_FLAG))
  get_literal():
  5281:     if (!(State & CMDLINE)
  insertchar():
  5477:             && !((State & REPLACE_FLAG)
  5479:             && !(State & VREPLACE_FLAG)
  5587:         && !(State & REPLACE_FLAG)
  internal_format():
  5867:     if (State & VREPLACE_FLAG)
  5885:     if (State & VREPLACE_FLAG)
  5929:         if (State & VREPLACE_FLAG)
  5939:     if (State & VREPLACE_FLAG)
  stop_arrow():
  6272:     if (State & VREPLACE_FLAG)
  cursor_up():
  6707:         if (n > 0 || !((State & INSERT) || (fdo_flags & FDO_ALL)))
  replace_pop_ins():
  7036:     int        oldState = State;
  7038:     State = NORMAL;            /* don't want REPLACE here */
  7048:     State = oldState;
  replace_do_bs():
  7145:     if (State & VREPLACE_FLAG)
  7158:         if (State & VREPLACE_FLAG)
  7168:         if (State & VREPLACE_FLAG)
  7175:     if (State & VREPLACE_FLAG)
  ins_ctrl_hat():
  7789:     if (State & LANGMAP)
  7792:         State &= ~LANGMAP;
  7797:         State |= LANGMAP;
  7815:         State &= ~LANGMAP;
  ins_esc():
  7892:         State &= ~REPLACE_FLAG;
  7958:     if (!(State & LANGMAP))
  7963:     State = NORMAL;
  ins_insert():
  8108:            (char_u *)((State & REPLACE_FLAG) ? "i" :
  8116:     if (State & REPLACE_FLAG)
  8117:     State = INSERT | (State & LANGMAP);
  8117:     State = INSERT | (State & LANGMAP);
  8119:     State = replaceState | (State & LANGMAP);
  8119:     State = replaceState | (State & LANGMAP);
  ins_ctrl_o():
  8134:     if (State & VREPLACE_FLAG)
  8138:     if (State & REPLACE_FLAG)
  ins_shift():
  8175:     if (State & REPLACE_FLAG)
  ins_bs_one():
  8236:     if (State & REPLACE_FLAG)
  ins_bs():
  8354:     if (State & REPLACE_FLAG)
  8360:     if ((State & REPLACE_FLAG) && curwin->w_cursor.lnum <= lnum)
  8367:         if (!(State & VREPLACE_FLAG)
  8404:         if (State & REPLACE_FLAG)
  8411:         oldState = State;
  8412:         State = NORMAL;
  8429:         State = oldState;
  8509:         if (State & VREPLACE_FLAG)
  8515:             if ((State & REPLACE_FLAG))
  8558:         if (State & REPLACE_FLAG)
  ins_tab():
  9184:     if (State & VREPLACE_FLAG)
  9190:         if (State & REPLACE_FLAG)        /* no char replaced */
  9216:     if (State & VREPLACE_FLAG)
  9245:     if ((State & REPLACE_FLAG)
  9305:         if ((State & REPLACE_FLAG)
  9307:             && !(State & VREPLACE_FLAG)
  9330:         if (State & VREPLACE_FLAG)
  9344:     if (State & VREPLACE_FLAG)
  ins_eol():
  9374:     if ((State & REPLACE_FLAG)
  9376:         && !(State & VREPLACE_FLAG)
  ins_try_si():
  9641:         if (State & VREPLACE_FLAG)
eval.c (7 uses)
  f_complete():
  8362:     if ((State & INSERT) == 0)
  f_mode():
  12868:     if (State == HITRETURN || State == ASKMORE || State == SETWSIZE)
  12868:     if (State == HITRETURN || State == ASKMORE || State == SETWSIZE)
  12868:     if (State == HITRETURN || State == ASKMORE || State == SETWSIZE)
  12870:     else if (State & INSERT)
  12872:     if (State & REPLACE_FLAG)
  12877:     else if (State & CMDLINE)
ex_cmds.c (6 uses)
  ex_append():
  3864:     State = INSERT;            /* behave like in Insert mode */
  3866:     State |= LANGMAP;
  3947:     State = NORMAL;
  do_sub():
  4616:             save_State = State;
  4617:             State = CONFIRM;
  4747:             State = save_State;
ex_cmds2.c (3 uses)
  do_debug():
  89:     int        save_State = State;
  136:     State = NORMAL;
  284:     State = save_State;
ex_docmd.c (4 uses)
  do_exmode():
  611:     State = NORMAL;
  ex_normal():
  8912:     int        save_State = State;
  9047:     State = save_State;
  ex_startinsert():
  9069:     if (State & INSERT)
ex_getln.c (10 uses)
  getcmdline():
  170:     int        save_State = State;    /* remember State when called */
  283:     State = CMDLINE;
  293:         State |= LANGMAP;
  1006:             State ^= LANGMAP;
  1012:             if (State & LANGMAP)
  1902:     State = save_State;
  get_ccline_ptr():
  5245:     if ((State & CMDLINE) == 0)
  ex_window():
  5965:     int            save_State = State;
  6079:     State = NORMAL;
  6197:     State = save_State;
fileio.c (2 uses)
  buf_check_timestamp():
  6547:         if (State > NORMAL_BUSY || (State & CMDLINE) || already_warned)
  6547:         if (State > NORMAL_BUSY || (State & CMDLINE) || already_warned)
fold.c (2 uses)
  foldMarkAdjust():
  1528:     if ((State & INSERT) && amount == (linenr_T)1 && line2 == MAXLNUM)
  foldMarkAdjustRecurse():
  1549:     if ((State & INSERT) && amount == (linenr_T)1 && line2 == MAXLNUM)
getchar.c (29 uses)
  may_sync_undo():
  1246:     if ((!(State & (INSERT + CMDLINE)) || arrow_used)
  openscript():
  1398:     int    save_State = State;
  1404:     State = NORMAL;
  1420:     State = save_State;
  vgetorpeek():
  1999:                           && (State & (INSERT + CMDLINE)))
  2042:                 && !(p_paste && (State & (INSERT + CMDLINE)))
  2043:                 && !(State == HITRETURN && (c1 == CAR || c1 == ' '))
  2044:                 && State != ASKMORE
  2045:                 && State != CONFIRM
  2196:             if (*p_pt != NUL && mp == NULL && (State & (INSERT|NORMAL)))
  2214:                 if (!(State & INSERT))
  2391:                 if (State & CMDLINE)
  2500:             && (State & INSERT)
  2520:             save_State = State;
  2521:             State = NORMAL;
  2523:             State = save_State;
  2635:             if (p_im && (State & INSERT))
  2637:             else if ((State & CMDLINE)
  2660:         if ((State & INSERT) && advance && must_redraw != 0)
  2677:             if (((State & (NORMAL | INSERT)) || State == LANGMAP)
  2677:             if (((State & (NORMAL | INSERT)) || State == LANGMAP)
  2678:                 && State != HITRETURN)
  2681:             if (State & INSERT
  2708:             if ((State & CMDLINE)
  2743:             if (State & INSERT)
  2745:             if (State & CMDLINE)
  2785:     if (advance && p_smd && msg_silent == 0 && (State & INSERT))
  inchar():
  2868:     if (State != HITRETURN)
  check_abbr():
  4324:         if (       (mp->m_mode & State)
gui.c (17 uses)
  gui_update_cursor():
  941:     if (State & LANGMAP)
  gui_resize_shell():
  1306:     if (State == ASKMORE || State == CONFIRM)
  1306:     if (State == ASKMORE || State == CONFIRM)
  gui_send_mouse_event():
  2871:     if ((State == NORMAL || State == NORMAL_BUSY || (State & INSERT))
  2871:     if ((State == NORMAL || State == NORMAL_BUSY || (State & INSERT))
  2871:     if ((State == NORMAL || State == NORMAL_BUSY || (State & INSERT))
  2909:     if (checkfor != MOUSE_NONEF && VIsual_active && (State & NORMAL))
  2931:         if (State & CMDLINE)
  gui_drag_scrollbar():
  3771:     if (State & NORMAL)
  3776:     else if (State & INSERT)
  3781:     else if (State & CMDLINE)
  3816:     if (State & NORMAL)
  3818:     else if (State & INSERT)
  3820:     else if (State & CMDLINE)
  gui_mouse_moved():
  4570:         && (State & (NORMAL|INSERT))/* Normal/Visual/Insert mode */
  4571:         && State != HITRETURN    /* but not hit-return prompt */
  gui_handle_drop():
  5132:     if (State & CMDLINE)
main.c (1 use)
  main_loop():
  1033:         State = NORMAL;
menu.c (6 uses)
  get_menu_mode():
  1767:     if (State & INSERT)
  1769:     if ((State & CMDLINE) || State == ASKMORE || State == HITRETURN)
  1769:     if ((State & CMDLINE) || State == ASKMORE || State == HITRETURN)
  1769:     if ((State & CMDLINE) || State == ASKMORE || State == HITRETURN)
  1773:     if (State & NORMAL)
  1775:     if (State & LANGMAP)    /* must be a "r" command, like Insert mode */
message.c (18 uses)
  wait_return():
  893:     oldState = State;
  912:     State = HITRETURN;
  1033:     tmpState = State;
  1034:     State = oldState;            /* restore State before set_shellsize */
  set_keep_msg_from_hist():
  1119:                               && (State & NORMAL))
  msg_puts_display():
  1937:         if (p_more && lines_left == 0 && State != HITRETURN
  do_more_prompt():
  2414:     int        oldState = State;
  2433:     State = ASKMORE;
  2645:     State = oldState;
  repeat_message():
  2835:     if (State == ASKMORE)
  2841:     else if (State == CONFIRM)
  2847:     else if (State == EXTERNCMD)
  2851:     else if (State == HITRETURN || State == SETWSIZE)
  2851:     else if (State == HITRETURN || State == SETWSIZE)
  msg_end():
  2958:     if (!exiting && need_wait_return && !(State & CMDLINE))
  do_dialog():
  3304:     oldState = State;
  3305:     State = CONFIRM;
  3365:     State = oldState;
misc1.c (32 uses)
  open_line():
  567:     if (State & VREPLACE_FLAG)
  608:     if ((State & INSERT)
  610:         && !(State & VREPLACE_FLAG)
  1278:     if (REPLACE_NORMAL(State))
  1278:     if (REPLACE_NORMAL(State))
  1289:         if (REPLACE_NORMAL(State))
  1289:         if (REPLACE_NORMAL(State))
  1322:     if (!(State & VREPLACE_FLAG) || old_cursor.lnum >= orig_line_count)
  1392:     if (REPLACE_NORMAL(State))
  1392:     if (REPLACE_NORMAL(State))
  1407:     if (REPLACE_NORMAL(State))
  1407:     if (REPLACE_NORMAL(State))
  1416:     if (trunc_line || (State & INSERT))
  1461:     if (State & VREPLACE_FLAG)
  1463:     vreplace_mode = State;    /* So we know to put things right later */
  1464:     State = INSERT;
  1506:     State = vreplace_mode;
  1515:     if (State & VREPLACE_FLAG)
  plines_win_col():
  1804:     if (*s == TAB && (State & NORMAL) && (!wp->w_p_list || lcs_tab1))
  ins_char_bytes():
  1960:     if (State & REPLACE_FLAG)
  1963:     if (State & VREPLACE_FLAG)
  2076:     if (p_sm && (State & INSERT)
  ask_yesno():
  3015:     int        save_State = State;
  3023:     State = CONFIRM;        /* mouse behaves like with :confirm */
  3044:     State = save_State;
  prompt_for_number():
  3260:     save_State = State;
  3261:     State = CMDLINE;
  3274:     State = save_State;
  get_c_indent():
  6275:     if ((State & INSERT)
  get_expr_indent():
  8067:     save_State = State;
  8068:     State = INSERT;
  8071:     State = save_State;
misc2.c (11 uses)
  virtual_active():
  41:         || ((ve_flags & VE_INSERT) && (State & INSERT)));
  coladvance2():
  154:     one_more = (State & INSERT)
  196:             && ((State & INSERT) == 0 || (int)wcol > csize + 1))
  check_cursor_col():
  514:     if ((State & INSERT) || restart_edit
  get_real_state():
  3044:     if (State & NORMAL)
  3058:     return State;
  get_shape_idx():
  3474:     if (!mouse && State == SHOWMATCH)
  3477:     if (State & VREPLACE_FLAG)
  3480:     if (State & REPLACE_FLAG)
  3482:     if (State & INSERT)
  3484:     if (State & CMDLINE)
normal.c (31 uses)
  normal_cmd():
  617:     State = NORMAL_BUSY;
  949:         State = REPLACE;    /* pretend Replace mode */
  959:             State = LREPLACE;
  961:             State = LANGMAP;
  978:         State = NORMAL_BUSY;
  990:         State = NORMAL_BUSY;
  1109:     State = NORMAL;
  1220:     int    save_State = State;
  1224:         State = INSERT;
  1247:     State = save_State;
  do_mouse():
  2281:         if (State == NORMAL && !mouse_has(MOUSE_NORMAL))
  2330:     if (State & INSERT)
  2382:     if (State == NORMAL)
  2421:     else if ((State & INSERT) == 0)
  2431:     if ((State & INSERT) || !mouse_has(MOUSE_NORMAL))
  2441:         if ((State & REPLACE_FLAG) && !yank_register_mline(regname))
  2625:     if ((State & (NORMAL | INSERT))
  2830:     else if ((State & INSERT) && VIsual_active)
  2881:     if (State & INSERT)
  2898:     if (State & INSERT)
  2910:     if (State & INSERT
  2946:     else if ((mod_mask & MOD_MASK_MULTI_CLICK) && (State & (NORMAL | INSERT))
  nv_replace():
  6779:         int        old_State = State;
  6791:         State = REPLACE;
  6793:         State = old_State;
  nv_edit():
  8735:             int save_State = State;
  8739:             State = INSERT;
  8741:             State = save_State;
  8774:         int save_State = State;
  8778:         State = INSERT;
  8780:         State = save_State;
ops.c (15 uses)
  shift_line():
  366:     if (State & VREPLACE_FLAG)
  shift_block():
  384:     int            oldstate = State;
  403:     State = INSERT;        /* don't want REPLACE for State */
  524:     State = oldstate;
  block_insert():
  551:     int        oldstate = State;
  553:     State = INSERT;        /* don't want REPLACE for State */
  634:     State = oldstate;
  op_replace():
  2117:             n = State;
  2118:             State = REPLACE;
  2120:             State = n;
  adjust_cursor_eol():
  3846:         && !(restart_edit || (State & INSERT)))
  format_lines():
  4525:     int        old_State = State;
  4657:         State = NORMAL;    /* don't go past end-of-line */
  4663:         State = INSERT;    /* for open_line() */
  4671:         State = old_State;
option.c (1 use)
  set_bool_option():
  7200:         if ((State & INSERT) == 0)
os_unix.c (3 uses)
  mch_call_shell():
  4064:         old_State = State;
  4065:         State = EXTERNCMD;    /* don't redraw at window resize */
  4428:         State = old_State;
screen.c (7 uses)
  win_line():
  3967:                 && (State & INSERT) != 0
  showmode():
  8822:         && ((State & INSERT)
  8908:         if (State & VREPLACE_FLAG)
  8912:             if (State & REPLACE_FLAG)
  8914:         else if (State & INSERT)
  8947:         if ((State & INSERT) && p_paste)
  win_redr_ruler():
  9438:     if (!(State & INSERT)
search.c (3 uses)
  showmatch():
  2444:         save_state = State;
  2445:         State = SHOWMATCH;
  2479:         State = save_state;
tag.c (1 use)
  find_tags():
  2290:                 if (State & INSERT)
term.c (19 uses)
  set_shellsize():
  3085:     if (State == HITRETURN || State == SETWSIZE) /* postpone the resizing */
  3085:     if (State == HITRETURN || State == SETWSIZE) /* postpone the resizing */
  3087:     State = SETWSIZE;
  3112:     if (State != ASKMORE && State != EXTERNCMD && State != CONFIRM)
  3112:     if (State != ASKMORE && State != EXTERNCMD && State != CONFIRM)
  3112:     if (State != ASKMORE && State != EXTERNCMD && State != CONFIRM)
  3135:     if (State == ASKMORE || State == EXTERNCMD || State == CONFIRM
  3135:     if (State == ASKMORE || State == EXTERNCMD || State == CONFIRM
  3135:     if (State == ASKMORE || State == EXTERNCMD || State == CONFIRM
  3147:         if (State & CMDLINE)
  setmouse():
  3355:     if (State == HITRETURN || State == ASKMORE || State == SETWSIZE)
  3355:     if (State == HITRETURN || State == ASKMORE || State == SETWSIZE)
  3355:     if (State == HITRETURN || State == ASKMORE || State == SETWSIZE)
  3357:     else if (State & INSERT)
  3359:     else if (State & CMDLINE)
  3361:     else if (State == CONFIRM || State == EXTERNCMD)
  3361:     else if (State == CONFIRM || State == EXTERNCMD)
  term_cursor_shape():
  3467:     if (State & INSERT)
  check_termcode():
  3925:     if (*tp == ESC && !p_ek && (State & INSERT))
ui.c (10 uses)
  clip_update_selection():
  432:     if (!redo_VIsual_busy && VIsual_active && (State & NORMAL))
  clip_copy_selection():
  533:     if (VIsual_active && (State & NORMAL) && clip_star.available)
  ui_focus_change():
  3055:     if (State & CMDLINE)
  3057:     else if (State == HITRETURN || State == SETWSIZE || State == ASKMORE
  3057:     else if (State == HITRETURN || State == SETWSIZE || State == ASKMORE
  3057:     else if (State == HITRETURN || State == SETWSIZE || State == ASKMORE
  3058:         || State == EXTERNCMD || State == CONFIRM || exmode_active)
  3058:         || State == EXTERNCMD || State == CONFIRM || exmode_active)
  3060:     else if ((State & NORMAL) || (State & INSERT))
  3060:     else if ((State & NORMAL) || (State & INSERT))
mb_ptr2len (297 uses in 35 translation units) defined in translation unit main.c, declared in ./globals.h:800
buffer.c (4 uses)
  build_stl_str_hl():
  3459:             n += (*mb_ptr2len)(t + n);
  3861:             t += (*mb_ptr2len)(t);
  3994:             s += (*mb_ptr2len)(s);
  4019:             n += (*mb_ptr2len)(s + n);
charset.c (10 uses)
  trans_characters():
  302:     if (has_mbyte && (trs_len = (*mb_ptr2len)(buf)) > 1)
  transstr():
  349:         if ((l = (*mb_ptr2len)(p)) > 1)
  382:         if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  str_foldcase():
  495:         i += (*mb_ptr2len)(STR_PTR(i));
  vim_strnsize():
  779:         int        l = (*mb_ptr2len)(s);
  win_linetabsize():
  858:     for (s = p; *s != NUL && (len == MAXCOL || s < p + len); mb_ptr_adv(s))
  lbr_chartabsize_adv():
  1018:     mb_ptr_adv(*s);
  win_lbr_chartabsize():
  1104:         mb_ptr_adv(s);
  getvcol():
  1309:         mb_ptr_adv(ptr);
  1330:         mb_ptr_adv(ptr);
diff.c (2 uses)
  diff_cmp():
  1571:         l  = (*mb_ptr2len)(p1);
  1572:         if (l != (*mb_ptr2len)(p2))
edit.c (16 uses)
  edit():
  513:         i = (*mb_ptr2len)(ptr);
  change_indent():
  1787:         new_cursor_col += (*mb_ptr2len)(ptr + new_cursor_col);
  ins_compl_add_infercase():
  2138:         mb_ptr_adv(p);
  2154:         mb_ptr_adv(p);
  ins_compl_longest_match():
  2456:         mb_ptr_adv(p);
  2457:         mb_ptr_adv(s);
  ins_compl_files():
  3003:                     int l = (*mb_ptr2len)(ptr);
  find_word_start():
  3049:         ptr += (*mb_ptr2len)(ptr);
  find_word_end():
  3074:         ptr += (*mb_ptr2len)(ptr);
  ins_compl_prep():
  3572:             for (p += temp; *p != NUL; mb_ptr_adv(p))
  quote_meta():
  5221:         mb_len = (*mb_ptr2len)(src) - 1;
  internal_format():
  5828:                      + (*mb_ptr2len)(ml_get_cursor());
  oneright():
  6585:     l = (*mb_ptr2len)(ptr);
  replace_push_mb():
  6966:     int l = (*mb_ptr2len)(p);
  replace_do_bs():
  7185:         i += (*mb_ptr2len)(p) - 1;
  ins_right():
  8947:         curwin->w_cursor.col += (*mb_ptr2len)(ml_get_cursor());
eval.c (17 uses)
  get_string_tv():
  5114:     for (p = *arg + 1; *p != NUL && *p != '"'; mb_ptr_adv(p))
  get_lit_string_tv():
  5251:     for (p = *arg + 1; *p != NUL; mb_ptr_adv(p))
  string_quote():
  6959:     for (p = str; *p != NUL; mb_ptr_adv(p))
  f_byteidx():
  8156:     t += (*mb_ptr2len)(t);
  f_col():
  8336:             if (*p != NUL && p[(l = (*mb_ptr2len)(p))] == NUL)
  find_some_match():
  12507:                     + (*mb_ptr2len)(regmatch.startp[0]) - str);
  f_split():
  15436:         col = (*mb_ptr2len)(regmatch.endp[0]);
  f_tolower():
  16331:         else if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  f_tr():
  16410:         inlen = (*mb_ptr2len)(instr);
  16416:         fromlen = (*mb_ptr2len)(p);
  16421:             tolen = (*mb_ptr2len)(p);
  16444:             tolen = (*mb_ptr2len)(p);
  find_name_end():
  17174:             || br_nest != 0); mb_ptr_adv(p))
  17179:         for (p = p + 1; *p != NUL && *p != '\''; mb_ptr_adv(p))
  17187:         for (p = p + 1; *p != NUL && *p != '"'; mb_ptr_adv(p))
  ex_echo():
  18606:                 int i = (*mb_ptr2len)(p);
  modify_fname():
  21370:     for (p = *fnamep; *p != NUL; mb_ptr_adv(p))
ex_cmds.c (3 uses)
  ex_retab():
  685:         col += (*mb_ptr2len)(ptr + col);
  do_sub():
  4284:         mb_ptr_adv(cmd);
  4928:             p1 += (*mb_ptr2len)(p1) - 1;
ex_docmd.c (9 uses)
  set_one_cmd_context():
  3295:         mb_ptr_adv(p);
  3364:             len = (*mb_ptr2len)(p);
  3368:             mb_ptr_adv(p);
  3376:         mb_ptr_adv(p);
  separate_nextcmd():
  4546:     for ( ; *p; mb_ptr_adv(p))
  skip_cmd_arg():
  4647:     mb_ptr_adv(p);
  ex_normal():
  8955:         for (l = (*mb_ptr2len)(p) - 1; l > 0; --l)
  8979:             for (l = (*mb_ptr2len)(p) - 1; l > 0; --l)
  ses_put_fname():
  10501:         if (has_mbyte && (l = (*mb_ptr2len)(name)) > 1)
ex_getln.c (10 uses)
  getcmdline():
  933:                 p += (*mb_ptr2len)(p);
  1178:             ccline.cmdpos += (*mb_ptr2len)(ccline.cmdbuff
  1318:             ccline.cmdpos += (*mb_ptr2len)(ccline.cmdbuff
  set_cmdspos_cursor():
  2065:         i += (*mb_ptr2len)(ccline.cmdbuff + i) - 1;
  correct_cmdspos():
  2080:     if ((*mb_ptr2len)(ccline.cmdbuff + idx) > 1
  draw_cmdline():
  2543:         i += (*mb_ptr2len)(ccline.cmdbuff + start + i) - 1;
  put_on_cmdline():
  2727:         for (i = 0; i < len; i += (*mb_ptr2len)(str + i))
  2732:                  i += (*mb_ptr2len)(ccline.cmdbuff + i))
  2840:             c = (*mb_ptr2len)(ccline.cmdbuff + ccline.cmdpos) - 1;
  sm_gettail():
  3964:     mb_ptr_adv(p);
fileio.c (2 uses)
  file_pat_to_reg_pat():
  9538:         if (enc_dbcs != 0 && (*mb_ptr2len)(p) > 1)
  9675:         if (enc_dbcs != 0 && (*mb_ptr2len)(p) > 1)
fold.c (3 uses)
  get_foldtext():
  1965:         if (has_mbyte && (len = (*mb_ptr2len)(p)) > 1)
  foldtext_cleanup():
  2083:         mb_ptr_adv(s);
  foldlevelMarker():
  3204:         mb_ptr_adv(s);
getchar.c (6 uses)
  vgetorpeek():
  2127:                           > (*mb_ptr2len)(mp->m_keys))
  2553:                     col += (*mb_ptr2len)(ptr + col);
  do_map():
  3275:         p = keys + (*mb_ptr2len)(keys);
  3283:             p += (*mb_ptr2len)(p);
  check_abbr():
  4277:         p += (*mb_ptr2len)(p);
  vim_strsave_escape_csi():
  4479:         mb_ptr_adv(s);
gui.c (5 uses)
  gui_outstr():
  1816:         this_len += (*mb_ptr2len)(s + this_len);
  gui_screenchar():
  1880:         enc_dbcs ? (*mb_ptr2len)(ScreenLines + off) : 1,
  gui_outstr_nowrap():
  2303:         for (i = 0; i < len; i += (*mb_ptr2len)(s + i))
  gui_redraw_block():
  2537:             if (len > 1 && (*mb_ptr2len)(ScreenLines
  scroll_line_len():
  4262:         mb_ptr_adv(p);
hardcopy.c (2 uses)
  prt_header():
  515:         (l = (*mb_ptr2len)(p))
  hardcopy_line():
  870:     if (has_mbyte && (outputlen = (*mb_ptr2len)(line + col)) < 1)
mark.c (1 use)
  mark_line():
  689:     for (p = s; *p != NUL; mb_ptr_adv(p))
mbyte.c (11 uses)
  mb_init():
  608:     mb_ptr2len = utfc_ptr2len;
  619:     mb_ptr2len = dbcs_ptr2len;
  630:     mb_ptr2len = latin_ptr2len;
  mb_ptr2char_adv():
  1433:     *pp += (*mb_ptr2len)(*pp);
  mb_cptr2char_adv():
  1451:     *pp += (*mb_ptr2len)(*pp);
  mb_strnicmp():
  2333:         l = (*mb_ptr2len)(s1 + i);
  mb_copy_char():
  2542:     int        l = (*mb_ptr2len)(*fp);
  mb_charlen():
  2824:     p += (*mb_ptr2len)(p);
  mb_charlen_len():
  2842:     p += (*mb_ptr2len)(p);
  mb_unescape():
  2897:     if ((*mb_ptr2len)(buf) > 1)
  iconv_string():
  3312:         l = (*mb_ptr2len)((char_u *)from);
memline.c (1 use)
  make_percent_swname():
  1639:         for (d = s; *d != NUL; mb_ptr_adv(d))
menu.c (2 uses)
  ex_menu():
  156:         mb_ptr_adv(arg);
  menu_name_skip():
  1441:     for (p = name; *p && *p != '.'; mb_ptr_adv(p))
message.c (13 uses)
  trunc_string():
  269:         for (n = (*mb_ptr2len)(s + e); --n > 0; )
  289:         i += (*mb_ptr2len)(s + i);
  msg_may_trunc():
  741:         n += (*mb_ptr2len)(s + n);
  msg_outtrans_one():
  1290:     if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  msg_outtrans_len_attr():
  1340:         mb_l = (*mb_ptr2len)(str);
  msg_outtrans_special():
  1450:         && (*mb_ptr2len)(string) <= 1
  str2special():
  1510:     if (has_mbyte && MB_BYTE2LEN(*str) > (*mb_ptr2len)(str))
  msg_prt_line():
  1594:     else if (has_mbyte && (l = (*mb_ptr2len)(s)) > 1)
  msg_puts_display():
  1908:             l = (*mb_ptr2len)(s);
  2011:             l = (*mb_ptr2len)(s);
  do_dialog():
  3346:             i += (*mb_ptr2len)(hotkeys + i) - 1;
  copy_char():
  3400:         len = (*mb_ptr2len)(from);
  msg_show_console_dialog():
  3525:         mb_ptr_adv(r);
misc1.c (11 uses)
  open_line():
  1119:                 l = (*mb_ptr2len)(p + i);
  1149:                     int        l = (*mb_ptr2len)(p);
  plines_win_col():
  1794:     mb_ptr_adv(s);
  ins_bytes_len():
  1890:         n = (*mb_ptr2len)(p + i);
  ins_char_bytes():
  2001:         oldlen += (*mb_ptr2len)(oldp + col + oldlen);
  2017:         oldlen = (*mb_ptr2len)(oldp + col);
  del_chars():
  2180:     l = (*mb_ptr2len)(p);
  gettail():
  4406:     mb_ptr_adv(p2);
  getnextcomp():
  4442:     mb_ptr_adv(fname);
  shorten_dir():
  4562:         int l = mb_ptr2len(s);
  unix_expandpath():
  8966:         len = (*mb_ptr2len)(path_end);
misc2.c (10 uses)
  coladvance2():
  214:         mb_ptr_adv(ptr);
  inc():
  375:         int l = (*mb_ptr2len)(p);
  vim_strsave_escaped_ext():
  1228:     if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  1246:         if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  vim_strsave_shellescape():
  1281:     for (p = string; *p != NUL; mb_ptr_adv(p))
  strup_save():
  1453:         else if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  vim_strchr():
  1754:         p += (*mb_ptr2len)(p);
  1767:         p += (*mb_ptr2len)(p);
  1777:         p += (*mb_ptr2len)(p);
  vim_strrchr():
  1829:     mb_ptr_adv(p);
normal.c (8 uses)
  do_pending_operator():
  1769:         l = (*mb_ptr2len)(ml_get_pos(&oap->end));
  do_mouse():
  3034:                      (*mb_ptr2len)(ml_get_cursor());
  find_end_of_word():
  3115:     col = pos->col + (*mb_ptr2len)(line + pos->col);
  find_ident_at_pos():
  3383:         col += (*mb_ptr2len)(ptr + col);
  3505:         col += (*mb_ptr2len)(ptr + col);
  nv_ident():
  5501:         int len = (*mb_ptr2len)(ptr) - 1;
  get_visual_text():
  5573:         *lenp += (*mb_ptr2len)(*pp + (*lenp - 1)) - 1;
  nv_right():
  5795:                      (*mb_ptr2len)(ml_get_cursor());
ops.c (8 uses)
  shift_block():
  426:         bd.textstart += (*mb_ptr2len)(bd.textstart);
  swapchars():
  2331:         todo -= (*mb_ptr2len)(ml_get_pos(pos)) - 1;
  do_put():
  3441:         curwin->w_cursor.col += (*mb_ptr2len)(ml_get_cursor());
  3616:             int bytelen = (*mb_ptr2len)(ml_get_cursor());
  ex_display():
  3988:             clen = (*mb_ptr2len)(p);
  dis_msg():
  4091:     if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  block_prep():
  4906:     mb_ptr_adv(pstart);
  line_count_info():
  6183:     i += (*mb_ptr2len)(line + i);
option.c (2 uses)
  do_set():
  4516:                     && (i = (*mb_ptr2len)(arg)) > 1)
  did_set_string_option():
  6027:         mb_ptr_adv(s);
os_unix.c (5 uses)
  mch_call_shell():
  4222:                 i += (*mb_ptr2len)(ta_buf + i) - 1;
  4239:                     int l = (*mb_ptr2len)(ta_buf + i);
  4339:                 l = mb_cptr2len(p);
  mch_has_exp_wildcard():
  5669:     for ( ; *p; mb_ptr_adv(p))
  mch_has_wildcard():
  5700:     for ( ; *p; mb_ptr_adv(p))
popupmnu.c (1 use)
  pum_redraw():
  314:         for ( ; ; mb_ptr_adv(p))
regexp.c (56 uses)
  get_equi_class():
  716:         l = (*mb_ptr2len)(p + 2);
  get_coll_element():
  835:         l = (*mb_ptr2len)(p + 2);
  skip_anyof():
  878:     if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  886:             mb_ptr_adv(p);
  skip_regexp():
  931:     for (; p[0] != NUL; mb_ptr_adv(p))
  regatom():
  2267:                 len = (*mb_ptr2len)(regparse);
  skipchr():
  2768:         prevchr_len += (*mb_ptr2len)(regparse + prevchr_len);
  vim_regexec_both():
  3471:         mb_ptr_adv(s);
  3479:         mb_ptr_adv(s);
  3560:         col += (*mb_ptr2len)(regline + col);
  regmatch():
  3845:         ADVANCE_REGINPUT();
  4064:         ADVANCE_REGINPUT();
  4071:         ADVANCE_REGINPUT();
  4078:         ADVANCE_REGINPUT();
  4085:         ADVANCE_REGINPUT();
  4092:         ADVANCE_REGINPUT();
  4099:         ADVANCE_REGINPUT();
  4106:         ADVANCE_REGINPUT();
  4113:         ADVANCE_REGINPUT();
  4120:         ADVANCE_REGINPUT();
  4127:         ADVANCE_REGINPUT();
  4134:         ADVANCE_REGINPUT();
  4141:         ADVANCE_REGINPUT();
  4148:         ADVANCE_REGINPUT();
  4155:         ADVANCE_REGINPUT();
  4162:         ADVANCE_REGINPUT();
  4169:         ADVANCE_REGINPUT();
  4176:         ADVANCE_REGINPUT();
  4183:         ADVANCE_REGINPUT();
  4190:         ADVANCE_REGINPUT();
  4197:         ADVANCE_REGINPUT();
  4204:         ADVANCE_REGINPUT();
  4211:         ADVANCE_REGINPUT();
  4218:         ADVANCE_REGINPUT();
  4225:         ADVANCE_REGINPUT();
  4232:         ADVANCE_REGINPUT();
  4239:         ADVANCE_REGINPUT();
  4246:         ADVANCE_REGINPUT();
  4305:         ADVANCE_REGINPUT();
  4319:         if ((len = (*mb_ptr2len)(opnd)) < 2)
  4342:                 len = i + mb_ptr2len(reginput + i);
  4924:         ADVANCE_REGINPUT();
  regrepeat():
  5400:         mb_ptr_adv(scan);
  5423:         mb_ptr_adv(scan);
  5453:         mb_ptr_adv(scan);
  5483:         mb_ptr_adv(scan);
  5523:         mb_ptr_adv(scan);
  5553:         else if (has_mbyte && (l = (*mb_ptr2len)(scan)) > 1)
  5675:         if ((len = (*mb_ptr2len)(opnd)) > 1)
  5720:         else if (has_mbyte && (len = (*mb_ptr2len)(scan)) > 1)
  5744:         ADVANCE_REGINPUT();
  cstrchr():
  6647:     for (p = s; *p != NUL; p += (*mb_ptr2len)(p))
  regtilde():
  6795:         p += (*mb_ptr2len)(p) - 1;
  vim_regsub_both():
  6949:         for (s = eval_result; *s != NUL; mb_ptr_adv(s))
  7062:         src += mb_ptr2len(src - 1) - 1;
  7168:                     l = mb_ptr2len(s) - 1;
screen.c (14 uses)
  fold_line():
  2260:         c_len = (*mb_ptr2len)(p);
  win_line():
  3000:         mb_ptr_adv(ptr);
  3151:             shl->endcol += (*mb_ptr2len)(line + shl->endcol);
  3482:                     shl->endcol += (*mb_ptr2len)(line
  3602:             mb_l = (*mb_ptr2len)(p_extra);
  3669:             mb_l = (*mb_ptr2len)(ptr);
  status_match_len():
  5454:     mb_ptr_adv(s);
  win_redr_status_matches():
  5617:         if (has_mbyte && (l = (*mb_ptr2len)(s)) > 1)
  win_redr_status():
  5805:         for (i = 0; p[i] != NUL; i += (*mb_ptr2len)(p + i))
  5810:                           i += (*mb_ptr2len)(p + i))
  screen_puts_len():
  6281:         mbyte_blen = (*mb_ptr2len)(ptr);
  next_search_hl():
  6641:         matchcol += mb_ptr2len(ml);
  draw_tabline():
  9195:             mb_ptr_adv(p);
  win_redr_ruler():
  9545:         for (i = 0; buffer[i] != NUL; i += (*mb_ptr2len)(buffer + i))
search.c (13 uses)
  ignorecase():
  371:         if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
  searchit():
  555:         extra_col = (*mb_ptr2len)(ptr);
  682:                       (*mb_ptr2len)(ptr + matchcol);
  695:                     matchcol += (*mb_ptr2len)(ptr
  791:                       (*mb_ptr2len)(ptr + matchcol);
  808:                       (*mb_ptr2len)(ptr + matchcol);
  searchc():
  1545:             col += (*mb_ptr2len)(p + col);
  findmatchlimit():
  1848:             pos.col += (*mb_ptr2len)(linep + pos.col);
  2053:             pos.col += (*mb_ptr2len)(linep + pos.col);
  in_html_tag():
  3695:     for (p = line; p < line + curwin->w_cursor.col; mb_ptr_adv(p))
  3726:     mb_ptr_adv(p);
  current_tagblock():
  3846:     for (cp = p; *cp != NUL && *cp != '>' && !vim_iswhite(*cp); mb_ptr_adv(cp))
  find_next_quote():
  4160:         col += (*mb_ptr2len)(line + col);
spell.c (42 uses)
  spell_check():
  1062:         mb_ptr_adv(mi.mi_fend);
  1086:     mb_ptr_adv(mi.mi_fend);
  1164:         return (*mb_ptr2len)(ptr);
  1171:         mb_ptr_adv(mi.mi_end);
  1187:             mb_ptr_adv(p);
  1188:             mb_ptr_adv(fp);
  find_word():
  1418:         for (s = ptr; s < ptr + wlen; mb_ptr_adv(s))
  1419:             mb_ptr_adv(p);
  1538:             for (s = ptr; s < ptr + mip->mi_compoff; mb_ptr_adv(s))
  1539:                 mb_ptr_adv(p);
  1619:             for (s = ptr; s < ptr + wlen; mb_ptr_adv(s))
  1620:                 mb_ptr_adv(p);
  fold_more():
  1974:     mb_ptr_adv(mip->mi_fend);
  1979:     mb_ptr_adv(mip->mi_fend);
  count_syllables():
  3720:         len = (*mb_ptr2len)(p);
  set_sofo():
  3774:         mb_cptr_adv(s);
  use_midword():
  4435:         l = (*mb_ptr2len)(p);
  captype():
  4501:     for (p = word; !spell_iswordp_nmw(p); mb_ptr_adv(p))
  4516:     for ( ; end == NULL ? *p != NUL : p < end; mb_ptr_adv(p))
  badword_captype():
  4561:     for (p = word; p < end; mb_ptr_adv(p))
  spell_read_aff():
  5648:                 && aff_entry->ae_chop[(*mb_ptr2len)(
  5797:             for (p = items[1]; *p != NUL; mb_ptr_adv(p))
  5800:             for (p = items[2]; *p != NUL; mb_ptr_adv(p))
  spell_read_dic():
  6515:     for (p = w; *p != NUL; mb_ptr_adv(p))
  store_aff_word():
  6843:                     mb_ptr_adv(p);
  spell_suggest():
  10081:         mb_ptr_adv(p);
  suggest_trie_walk():
  11503:             && su->su_badlen == (*mb_ptr2len)(su->su_badptr)
  12200:         n = mb_cptr2len(p);
  12292:         n = mb_cptr2len(p);
  12294:         fl = mb_cptr2len(p + n);
  12404:             n = mb_cptr2len(p);
  12406:             fl = mb_cptr2len(p + n);
  12407:             fl += mb_cptr2len(p + n + fl);
  12465:             n = mb_cptr2len(p);
  12466:             n += mb_cptr2len(p + n);
  12468:             tl = mb_cptr2len(p + n);
  nofold_len():
  12666:     for (p = fword; p < fword + flen; mb_ptr_adv(p))
  12668:     for (p = word; i > 0; mb_ptr_adv(p))
  find_keepcap_word():
  12757:         flen = mb_cptr2len(fword + fwordidx[depth]);
  12758:         ulen = mb_cptr2len(uword + uwordidx[depth]);
  spell_dump_compl():
  15497:             && (int)STRLEN(pat) > mb_ptr2len(pat)
  spell_to_word_end():
  15872:     mb_ptr_adv(p);
syntax.c (2 uses)
  check_keyword_id():
  3139:         kwlen += (*mb_ptr2len)(kwp + kwlen);
  syn_cmd_keyword():
  4596:                 int l = (*mb_ptr2len)(p + 1);
tag.c (2 uses)
  simplify_filename():
  3468:             mb_ptr_adv(tail);
  3480:         mb_ptr_adv(tail);
term.c (1 use)
  replace_termcodes():
  5139:     for (i = (*mb_ptr2len)(src); i > 0; --i)
ui.c (2 uses)
  clip_update_selection():
  440:         end.col += (*mb_ptr2len)(ml_get_cursor()) - 1;
  vcol2col():
  3006:     mb_ptr_adv(ptr);
version.c (1 use)
  do_intro_line():
  1888:         l += (*mb_ptr2len)(p + l) - 1;
window.c (2 uses)
  file_name_in_line():
  5758:     mb_ptr_adv(ptr);
  5793:         len += (*mb_ptr2len)(ptr + len);
VIsual (282 uses in 14 translation units) defined in translation unit main.c, declared in ./globals.h:631
charset.c (8 uses)
  getvcol():
  1345:                    && (*p_sel == 'e' || ltoreq(*pos, VIsual)))
  1345:                    && (*p_sel == 'e' || ltoreq(*pos, VIsual)))
  1345:                    && (*p_sel == 'e' || ltoreq(*pos, VIsual)))
  1345:                    && (*p_sel == 'e' || ltoreq(*pos, VIsual)))
  1345:                    && (*p_sel == 'e' || ltoreq(*pos, VIsual)))
  1345:                    && (*p_sel == 'e' || ltoreq(*pos, VIsual)))
  1345:                    && (*p_sel == 'e' || ltoreq(*pos, VIsual)))
  1345:                    && (*p_sel == 'e' || ltoreq(*pos, VIsual)))
edit.c (4 uses)
  stop_insert():
  6396:         if (VIsual_active && VIsual.lnum == curwin->w_cursor.lnum)
  6399:         if (VIsual.col > (colnr_T)cc)
  6401:             VIsual.col = cc;
  6403:             VIsual.coladd = 0;
eval.c (1 use)
  var2fpos():
  16916:         return &VIsual;
fold.c (10 uses)
  foldAdjustVisual():
  1076:     if (ltoreq(VIsual, curwin->w_cursor))
  1076:     if (ltoreq(VIsual, curwin->w_cursor))
  1076:     if (ltoreq(VIsual, curwin->w_cursor))
  1076:     if (ltoreq(VIsual, curwin->w_cursor))
  1076:     if (ltoreq(VIsual, curwin->w_cursor))
  1076:     if (ltoreq(VIsual, curwin->w_cursor))
  1076:     if (ltoreq(VIsual, curwin->w_cursor))
  1076:     if (ltoreq(VIsual, curwin->w_cursor))
  1078:     start = &VIsual;
  1084:     end = &VIsual;
getchar.c (1 use)
  start_redo():
  813:     VIsual = curwin->w_cursor;
gui_mac.c (2 uses)
  HandleODocAE():
  1149:     VIsual = curwin->w_cursor;
  1158:         VIsual.col = 0;
menu.c (1 use)
  ex_emenu():
  2229:     VIsual = curwin->w_cursor;
normal.c (110 uses)
  do_pending_operator():
  1412:         VIsual = oap->start;
  1498:         curbuf->b_visual.vi_start = VIsual;
  1511:         if (lt(VIsual, curwin->w_cursor))
  1511:         if (lt(VIsual, curwin->w_cursor))
  1511:         if (lt(VIsual, curwin->w_cursor))
  1511:         if (lt(VIsual, curwin->w_cursor))
  1511:         if (lt(VIsual, curwin->w_cursor))
  1513:             VIsual.col = 0;
  1520:             VIsual.col = (colnr_T)STRLEN(ml_get(VIsual.lnum));
  1520:             VIsual.col = (colnr_T)STRLEN(ml_get(VIsual.lnum));
  1534:         oap->start = VIsual;
  do_mouse():
  2571:                 if ((lt(curwin->w_cursor, VIsual)
  2571:                 if ((lt(curwin->w_cursor, VIsual)
  2571:                 if ((lt(curwin->w_cursor, VIsual)
  2571:                 if ((lt(curwin->w_cursor, VIsual)
  2571:                 if ((lt(curwin->w_cursor, VIsual)
  2573:                         || lt(VIsual, m_pos)))
  2573:                         || lt(VIsual, m_pos)))
  2573:                         || lt(VIsual, m_pos)))
  2573:                         || lt(VIsual, m_pos)))
  2573:                         || lt(VIsual, m_pos)))
  2574:                     || (lt(VIsual, curwin->w_cursor)
  2574:                     || (lt(VIsual, curwin->w_cursor)
  2574:                     || (lt(VIsual, curwin->w_cursor)
  2574:                     || (lt(VIsual, curwin->w_cursor)
  2574:                     || (lt(VIsual, curwin->w_cursor)
  2575:                     && (lt(m_pos, VIsual)
  2575:                     && (lt(m_pos, VIsual)
  2575:                     && (lt(m_pos, VIsual)
  2575:                     && (lt(m_pos, VIsual)
  2575:                     && (lt(m_pos, VIsual)
  2582:                 getvcols(curwin, &curwin->w_cursor, &VIsual,
  2648:         if (lt(curwin->w_cursor, VIsual))
  2648:         if (lt(curwin->w_cursor, VIsual))
  2648:         if (lt(curwin->w_cursor, VIsual))
  2648:         if (lt(curwin->w_cursor, VIsual))
  2648:         if (lt(curwin->w_cursor, VIsual))
  2651:             end_visual = VIsual;
  2655:             start_visual = VIsual;
  2779:         VIsual = curwin->w_cursor;
  2790:         VIsual = end_visual;
  2792:         VIsual = start_visual;
  2800:             VIsual = start_visual;
  2802:             VIsual = end_visual;
  2812:             VIsual = start_visual;
  2814:             VIsual = end_visual;
  2819:                 VIsual = end_visual;
  2821:                 VIsual = start_visual;
  2952:         orig_cursor = VIsual;
  2956:         VIsual = curwin->w_cursor;
  2957:         orig_cursor = VIsual;
  3003:             && equalpos(curwin->w_cursor, VIsual)
  3003:             && equalpos(curwin->w_cursor, VIsual)
  3003:             && equalpos(curwin->w_cursor, VIsual)
  3011:             if (lt(curwin->w_cursor, VIsual))
  3011:             if (lt(curwin->w_cursor, VIsual))
  3011:             if (lt(curwin->w_cursor, VIsual))
  3011:             if (lt(curwin->w_cursor, VIsual))
  3011:             if (lt(curwin->w_cursor, VIsual))
  3012:                 ++VIsual.col;
  3026:             find_end_of_word(&VIsual);
  3030:             find_start_of_word(&VIsual);
  end_visual_mode():
  3212:     curbuf->b_visual.vi_start = VIsual;
  clear_showcmd():
  3669:     int        i = lt(VIsual, curwin->w_cursor);
  3669:     int        i = lt(VIsual, curwin->w_cursor);
  3669:     int        i = lt(VIsual, curwin->w_cursor);
  3669:     int        i = lt(VIsual, curwin->w_cursor);
  3669:     int        i = lt(VIsual, curwin->w_cursor);
  3677:         top = VIsual.lnum;
  3683:         bot = VIsual.lnum;
  3694:         getvcols(curwin, &curwin->w_cursor, &VIsual, &leftcol, &rightcol);
  3698:     else if (VIsual_mode == 'V' || VIsual.lnum != curwin->w_cursor.lnum)
  3702:             ? curwin->w_cursor.col - VIsual.col
  3703:             : VIsual.col - curwin->w_cursor.col) + (*p_sel != 'e'));
  get_visual_text():
  5547:     if (VIsual.lnum != curwin->w_cursor.lnum)
  5560:     if (lt(curwin->w_cursor, VIsual))
  5560:     if (lt(curwin->w_cursor, VIsual))
  5560:     if (lt(curwin->w_cursor, VIsual))
  5560:     if (lt(curwin->w_cursor, VIsual))
  5560:     if (lt(curwin->w_cursor, VIsual))
  5563:         *lenp = VIsual.col - curwin->w_cursor.col + 1;
  5567:         *pp = ml_get_pos(&VIsual);
  5568:         *lenp = curwin->w_cursor.col - VIsual.col + 1;
  v_swap_corners():
  6863:     getvcols(curwin, &old_cursor, &VIsual, &left, &right);
  6864:     curwin->w_cursor.lnum = VIsual.lnum;
  6866:     VIsual = curwin->w_cursor;
  6872:     if (old_cursor.lnum >= VIsual.lnum && *p_sel == 'e')
  6882:         curwin->w_cursor.lnum = VIsual.lnum;
  6883:         if (old_cursor.lnum <= VIsual.lnum && *p_sel == 'e')
  6886:         VIsual = curwin->w_cursor;
  6896:     curwin->w_cursor = VIsual;
  6897:     VIsual = old_cursor;
  nv_visual():
  7370:         VIsual = curwin->w_cursor;
  n_start_visual_mode():
  7468:     VIsual = curwin->w_cursor;
  nv_g_cmd():
  7600:         curbuf->b_visual.vi_start = VIsual;
  7616:         VIsual = curwin->w_cursor;
  adjust_for_sel():
  8489:         && gchar_cursor() != NUL && lt(VIsual, curwin->w_cursor))
  8489:         && gchar_cursor() != NUL && lt(VIsual, curwin->w_cursor))
  8489:         && gchar_cursor() != NUL && lt(VIsual, curwin->w_cursor))
  8489:         && gchar_cursor() != NUL && lt(VIsual, curwin->w_cursor))
  8489:         && gchar_cursor() != NUL && lt(VIsual, curwin->w_cursor))
  unadjust_for_sel():
  8511:     if (*p_sel == 'e' && !equalpos(VIsual, curwin->w_cursor))
  8511:     if (*p_sel == 'e' && !equalpos(VIsual, curwin->w_cursor))
  8511:     if (*p_sel == 'e' && !equalpos(VIsual, curwin->w_cursor))
  8513:     if (lt(VIsual, curwin->w_cursor))
  8513:     if (lt(VIsual, curwin->w_cursor))
  8513:     if (lt(VIsual, curwin->w_cursor))
  8513:     if (lt(VIsual, curwin->w_cursor))
  8513:     if (lt(VIsual, curwin->w_cursor))
  8516:         pp = &VIsual;
ops.c (9 uses)
  clip_get_selection():
  5611:     old_visual = VIsual;
  5632:     VIsual = old_visual;
  cursor_pos_info():
  6247:         if (lt(VIsual, curwin->w_cursor))
  6247:         if (lt(VIsual, curwin->w_cursor))
  6247:         if (lt(VIsual, curwin->w_cursor))
  6247:         if (lt(VIsual, curwin->w_cursor))
  6247:         if (lt(VIsual, curwin->w_cursor))
  6249:         min_pos = VIsual;
  6255:         max_pos = VIsual;
regexp.c (8 uses)
  regmatch():
  3920:         if (reg_buf != curbuf || VIsual.lnum == 0)
  3932:             if (lt(VIsual, wp->w_cursor))
  3932:             if (lt(VIsual, wp->w_cursor))
  3932:             if (lt(VIsual, wp->w_cursor))
  3932:             if (lt(VIsual, wp->w_cursor))
  3932:             if (lt(VIsual, wp->w_cursor))
  3934:             top = VIsual;
  3940:             bot = VIsual;
screen.c (36 uses)
  win_update():
  1293:         if (curwin->w_cursor.lnum < VIsual.lnum)
  1296:             to = VIsual.lnum;
  1300:             from = VIsual.lnum;
  1333:         if (VIsual.lnum != wp->w_old_visual_lnum
  1334:                     || VIsual.col != wp->w_old_visual_col)
  1341:             if (VIsual.lnum < from)
  1342:             from = VIsual.lnum;
  1343:             if (VIsual.lnum > to)
  1344:             to = VIsual.lnum;
  1357:         getvcols(wp, &VIsual, &curwin->w_cursor, &fromc, &toc);
  1365:             if (from > VIsual.lnum)
  1366:             from = VIsual.lnum;
  1367:             if (to < VIsual.lnum)
  1368:             to = VIsual.lnum;
  1459:     wp->w_old_visual_lnum = VIsual.lnum;
  1460:     wp->w_old_visual_col = VIsual.col;
  fold_line():
  2395:     if (ltoreq(curwin->w_cursor, VIsual))
  2395:     if (ltoreq(curwin->w_cursor, VIsual))
  2395:     if (ltoreq(curwin->w_cursor, VIsual))
  2395:     if (ltoreq(curwin->w_cursor, VIsual))
  2395:     if (ltoreq(curwin->w_cursor, VIsual))
  2395:     if (ltoreq(curwin->w_cursor, VIsual))
  2395:     if (ltoreq(curwin->w_cursor, VIsual))
  2395:     if (ltoreq(curwin->w_cursor, VIsual))
  2399:         bot = &VIsual;
  2404:         top = &VIsual;
  win_line():
  2777:     if (ltoreq(curwin->w_cursor, VIsual))
  2777:     if (ltoreq(curwin->w_cursor, VIsual))
  2777:     if (ltoreq(curwin->w_cursor, VIsual))
  2777:     if (ltoreq(curwin->w_cursor, VIsual))
  2777:     if (ltoreq(curwin->w_cursor, VIsual))
  2777:     if (ltoreq(curwin->w_cursor, VIsual))
  2777:     if (ltoreq(curwin->w_cursor, VIsual))
  2777:     if (ltoreq(curwin->w_cursor, VIsual))
  2780:         bot = &VIsual;
  2784:         top = &VIsual;
search.c (81 uses)
  current_word():
  3170:     if (VIsual_active && *p_sel == 'e' && lt(VIsual, curwin->w_cursor))
  3170:     if (VIsual_active && *p_sel == 'e' && lt(VIsual, curwin->w_cursor))
  3170:     if (VIsual_active && *p_sel == 'e' && lt(VIsual, curwin->w_cursor))
  3170:     if (VIsual_active && *p_sel == 'e' && lt(VIsual, curwin->w_cursor))
  3170:     if (VIsual_active && *p_sel == 'e' && lt(VIsual, curwin->w_cursor))
  3177:     if (!VIsual_active || equalpos(curwin->w_cursor, VIsual))
  3177:     if (!VIsual_active || equalpos(curwin->w_cursor, VIsual))
  3177:     if (!VIsual_active || equalpos(curwin->w_cursor, VIsual))
  3219:         VIsual = start_pos;
  3238:     if (VIsual_active && lt(curwin->w_cursor, VIsual))
  3238:     if (VIsual_active && lt(curwin->w_cursor, VIsual))
  3238:     if (VIsual_active && lt(curwin->w_cursor, VIsual))
  3238:     if (VIsual_active && lt(curwin->w_cursor, VIsual))
  3238:     if (VIsual_active && lt(curwin->w_cursor, VIsual))
  3306:             VIsual = curwin->w_cursor;
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  current_sent():
  3358:     if (VIsual_active && !equalpos(start_pos, VIsual))
  3358:     if (VIsual_active && !equalpos(start_pos, VIsual))
  3358:     if (VIsual_active && !equalpos(start_pos, VIsual))
  3361:     if (lt(start_pos, VIsual))
  3361:     if (lt(start_pos, VIsual))
  3361:     if (lt(start_pos, VIsual))
  3361:     if (lt(start_pos, VIsual))
  3361:     if (lt(start_pos, VIsual))
  3499:     VIsual = start_pos;
  current_block():
  3545:     if (!VIsual_active || equalpos(VIsual, curwin->w_cursor))
  3545:     if (!VIsual_active || equalpos(VIsual, curwin->w_cursor))
  3545:     if (!VIsual_active || equalpos(VIsual, curwin->w_cursor))
  3558:     else if (lt(VIsual, curwin->w_cursor))
  3558:     else if (lt(VIsual, curwin->w_cursor))
  3558:     else if (lt(VIsual, curwin->w_cursor))
  3558:     else if (lt(VIsual, curwin->w_cursor))
  3558:     else if (lt(VIsual, curwin->w_cursor))
  3560:     old_start = VIsual;
  3561:     curwin->w_cursor = VIsual;        /* cursor at low end of Visual */
  3564:     old_end = VIsual;
  3647:     VIsual = start_pos;
  current_tagblock():
  3786:     if (!VIsual_active || equalpos(VIsual, curwin->w_cursor))
  3786:     if (!VIsual_active || equalpos(VIsual, curwin->w_cursor))
  3786:     if (!VIsual_active || equalpos(VIsual, curwin->w_cursor))
  3814:     else if (lt(VIsual, curwin->w_cursor))
  3814:     else if (lt(VIsual, curwin->w_cursor))
  3814:     else if (lt(VIsual, curwin->w_cursor))
  3814:     else if (lt(VIsual, curwin->w_cursor))
  3814:     else if (lt(VIsual, curwin->w_cursor))
  3816:     old_start = VIsual;
  3817:     curwin->w_cursor = VIsual;        /* cursor at low end of Visual */
  3820:     old_end = VIsual;
  3930:     VIsual = start_pos;
  current_par():
  3984:     if (VIsual_active && start_lnum != VIsual.lnum)
  3987:     if (start_lnum < VIsual.lnum)
  4113:     VIsual.lnum = start_lnum;
  current_quote():
  4227:     vis_bef_curs = lt(VIsual, curwin->w_cursor);
  4227:     vis_bef_curs = lt(VIsual, curwin->w_cursor);
  4227:     vis_bef_curs = lt(VIsual, curwin->w_cursor);
  4227:     vis_bef_curs = lt(VIsual, curwin->w_cursor);
  4227:     vis_bef_curs = lt(VIsual, curwin->w_cursor);
  4230:     vis_empty = equalpos(VIsual, curwin->w_cursor);
  4230:     vis_empty = equalpos(VIsual, curwin->w_cursor);
  4230:     vis_empty = equalpos(VIsual, curwin->w_cursor);
  4239:         inside_quotes = VIsual.col > 0
  4240:             && line[VIsual.col - 1] == quotechar
  4243:         i = VIsual.col;
  4250:             && line[VIsual.col] != NUL
  4251:             && line[VIsual.col + 1] == quotechar;
  4253:         col_end = VIsual.col;
  4394:             || (line[VIsual.col] != quotechar
  4395:                 && (VIsual.col == 0
  4396:                 || line[VIsual.col - 1] != quotechar)))))
  4398:         VIsual = curwin->w_cursor;
  4434:             && line[VIsual.col] != quotechar
  4435:             && (line[VIsual.col] == NUL
  4436:                 || line[VIsual.col + 1] != quotechar)))
  4439:         VIsual = curwin->w_cursor;
spell.c (3 uses)
  spell_suggest():
  10052:     if (curwin->w_cursor.lnum != VIsual.lnum)
  10057:     badlen = (int)curwin->w_cursor.col - (int)VIsual.col;
  10061:         curwin->w_cursor.col = VIsual.col;
ui.c (8 uses)
  clip_update_selection():
  434:     if (lt(VIsual, curwin->w_cursor))
  434:     if (lt(VIsual, curwin->w_cursor))
  434:     if (lt(VIsual, curwin->w_cursor))
  434:     if (lt(VIsual, curwin->w_cursor))
  434:     if (lt(VIsual, curwin->w_cursor))
  436:         start = VIsual;
  446:         end = VIsual;
  jump_to_mouse():
  2768:     VIsual = old_cursor;
Columns (251 uses in 24 translation units) defined in translation unit main.c, declared in ./globals.h:29
buffer.c (3 uses)
  maketitle():
  3067:         maxlen = p_titlelen * Columns / 100;
  do_arg_all():
  4322:             || wp->w_width != Columns
  ex_buffer_all():
  4572:             : wp->w_width != Columns)
digraph.c (1 use)
  printdigraph():
  2354:     if (msg_col > Columns - list_width)
ex_cmds.c (3 uses)
  ex_z():
  4106:         for (j = 1; j < Columns; j++)
  4116:         for (j = 1; j < Columns; j++)
  ex_help():
  5583:         if (cmdmod.split == 0 && curwin->w_width != Columns
ex_docmd.c (4 uses)
  makeopens():
  9857:     if (fprintf(fd, "set lines=%ld columns=%ld" , Rows, Columns) < 0
  ses_winsizes():
  10082:         if (wp->w_width < Columns && (fprintf(fd,
  10084:                 n, (long)wp->w_width, Columns / 2, Columns) < 0
  10084:                 n, (long)wp->w_width, Columns / 2, Columns) < 0
ex_getln.c (14 uses)
  getcmdline():
  1173:             if (KeyTyped && ccline.cmdspos + i >= Columns * Rows)
  1310:             if (mouse_row <= cmdline_row + ccline.cmdspos / Columns
  1311:                   && mouse_col < ccline.cmdspos % Columns + i)
  set_cmdspos_cursor():
  2042:     m = Columns * Rows;
  correct_cmdspos():
  2082:         && ccline.cmdspos % Columns + cells > Columns)
  2082:         && ccline.cmdspos % Columns + cells > Columns)
  put_on_cmdline():
  2791:             msg_col += Columns;
  2818:         m = Columns * Rows;
  redrawcmdprompt():
  3093:     ccline.cmdindent = msg_col + (msg_row - cmdline_row) * Columns;
  cursorcmd():
  3169:     msg_row = cmdline_row + (ccline.cmdspos / (int)Columns);
  3170:     msg_col = ccline.cmdspos % (int)Columns;
  showmatches():
  3857:         columns = ((int)Columns + 2) / maxlen;
  ex_history():
  5672:             if (vim_strsize(hist[i].hisstr) > (int)Columns - 10)
  5674:                                (int)Columns - 10);
gui.c (23 uses)
  gui_init_check():
  238:     gui.num_cols = Columns;
  245:     gui.scroll_region_right = Columns - 1;
  gui_init():
  495:     gui.num_cols = Columns;
  gui_resize_shell():
  1312:         || gui.num_rows != Rows || gui.num_cols != Columns)
  gui_get_shellsize():
  1361:     Columns = gui.num_cols;
  gui_set_shellsize():
  1411:     width = Columns * gui.char_width + base_width;
  1420:         Columns = (screen_w - base_width) / gui.char_width;
  1421:         if (Columns < MIN_COLUMNS)
  1422:         Columns = MIN_COLUMNS;
  1423:         width = Columns * gui.char_width + base_width;
  1432:     gui.num_cols = Columns;
  gui_write():
  1646:                                 (int)Columns - 1);
  gui_outstr():
  1814:         if (gui.col + cells > Columns)
  1823:         if (gui.col + len > Columns)
  1824:         this_len = Columns - gui.col;
  1834:     if (len > 0 && gui.col < Columns)
  1839:     if (gui.col >= Columns)
  gui_redraw_block():
  2498:         if (gui.col < Columns && ScreenLines[off + 1] == 0)
  get_tabline_label():
  3461:                          0, (int)Columns, NULL, NULL);
  gui_do_scrollbar():
  4115:     if (midcol > Columns / 2)
  4122:         if (which == SBAR_RIGHT ? wp->w_wincol + wp->w_width != Columns
  gui_mouse_moved():
  4577:     if (x < 0 || x > Columns * gui.char_width)
  gui_mouse_correct():
  4642:     if (x < 0 || x > Columns * gui.char_width)
gui_mac.c (10 uses)
  gui_mac_doInZoomClick():
  1819:     p.h = Columns * gui.char_width + 2 * gui.border_offset;
  gui_mac_doUpdateEvent():
  1927:         SetRect(&rc, 0, 0, FILL_X(Columns), FILL_Y(0));
  1930:       if (updateRectPtr->right > FILL_X(Columns))
  1932:         SetRect(&rc, FILL_X(Columns), 0,
  1933:                FILL_X(Columns) + gui.border_offset, FILL_Y(Rows));
  1938:         SetRect(&rc, 0, FILL_Y(Rows), FILL_X(Columns) + gui.border_offset,
  draw_string_QD():
  4002:     rc.right = FILL_X(col + len) + (col + len == Columns);
  draw_string_ATSUI():
  4105:         rc.right = FILL_X(col + len) + (col + len == Columns);
  gui_mch_clear_block():
  4525:     rc.right = FILL_X(col2 + 1) + (col2 == Columns - 1);
  gui_mch_clear_all():
  4542:     rc.right = Columns * gui.char_width + 2 * gui.border_width;
hardcopy.c (1 use)
  prt_message():
  556:     screen_fill((int)Rows - 1, (int)Rows, 0, (int)Columns, ' ', ' ', 0);
main.c (1 use)
  command_line_scan():
  1665:             Columns = 80;    /* need to init Columns */
mark.c (2 uses)
  mark_line():
  684:     s = vim_strnsave(skipwhite(ml_get(mp->lnum)), (int)Columns);
  692:     if (len >= Columns - lead_len)
message.c (31 uses)
  msg_attr_keep():
  181:                                * Columns + sc_col)
  msg_strtrunc():
  209:         room = (int)(Rows - msg_row) * Columns - 1;
  212:         room = (int)(Rows - msg_row - 1) * Columns + sc_col - 1;
  msg_may_trunc():
  725:     room = (int)(Rows - cmdline_row - 1) * Columns + sc_col - 1;
  wait_return():
  1054:                   (Rows - cmdline_row - 1) * Columns + sc_col)
  screen_puts_mbyte():
  1678:         msg_col == Columns - 1))
  1700:     if (msg_col >= Columns)
  msg_puts_long_len_attr():
  1750:     room = Columns - msg_col;
  msg_puts_display():
  1866:               (msg_col + t_col >= Columns - 1
  1867:                || (*s == TAB && msg_col + t_col >= ((Columns - 1) & ~7))
  1870:                         && msg_col + t_col >= Columns - 2)
  1891:         if (msg_col >= Columns)    /* can happen after screen resize */
  1892:         msg_col = Columns - 1;
  1957:             || msg_col + t_col >= Columns
  1960:                         && msg_col + t_col >= Columns - 1)
  2031:             (cw > 1 && msg_col + t_col >= Columns - 1)
  msg_scroll_up():
  2088:     screen_fill((int)Rows - 1, (int)Rows, 0, (int)Columns, ' ', ' ', 0);
  2092:     if (ScreenAttrs[LineOffset[Rows - 2] + Columns - 1] == (sattr_T)-1)
  2094:                  (int)Columns - 1, (int)Columns, ' ', ' ', 0);
  2094:                  (int)Columns - 1, (int)Columns, ' ', ' ', 0);
  t_puts():
  2313:     if (msg_col >= Columns)
  do_more_prompt():
  2621:                            (int)Columns, ' ', ' ', 0);
  2631:                            (int)Columns, ' ', ' ', 0);
  2644:     screen_fill((int)Rows - 1, (int)Rows, 0, (int)Columns, ' ', ' ', 0);
  msg_screen_putchar():
  2805:     if (++msg_col >= Columns)
  msg_check_screen():
  2881:     if (msg_col >= Columns)
  2882:     msg_col = Columns - 1;
  msg_clr_eos_force():
  2926:         screen_fill(msg_row, msg_row + 1, msg_col, (int)Columns,
  2928:         screen_fill(msg_row + 1, (int)Rows, 0, (int)Columns, ' ', ' ', 0);
  msg_advance():
  3234:     if (col >= Columns)        /* not enough room */
  3235:     col = Columns - 1;
normal.c (1 use)
  do_mouse():
  2474:         && mouse_col < Columns)
ops.c (2 uses)
  ex_display():
  3977:         n = (int)Columns - 6;
  dis_msg():
  4085:     n = (int)Columns - 6;
option.c (10 uses)
  set_num_option():
  7587:     long    old_Columns = Columns;    /* remember old Columns */
  7905:     if (Columns < MIN_COLUMNS && full_screen)
  7913:     Columns = MIN_COLUMNS;
  7916:     if (Columns > 10000)
  7917:     Columns = 10000;
  7931:     if (old_Rows != Rows || old_Columns != Columns)
  7941:         set_shellsize((int)Columns, (int)Rows, TRUE);
  showoptions():
  8432:         cols = (Columns + GAP - 3) / INC;
  comp_col():
  8900:     sc_col = Columns - sc_col;
  8901:     ru_col = Columns - ru_col;
os_unix.c (4 uses)
  mch_init():
  1139:     Columns = 80;
  mch_get_shellsize():
  3507:     Columns = columns;
  mch_set_shellsize():
  3524:     term_set_winsize((int)Rows, (int)Columns);
  mch_call_shell():
  3919:         sprintf((char *)envbuf, "%ld", Columns);
popupmnu.c (6 uses)
  pum_display():
  190:     if (((col < Columns - PUM_DEF_WIDTH || col < Columns - max_width)
  190:     if (((col < Columns - PUM_DEF_WIDTH || col < Columns - max_width)
  205:         pum_width = Columns - pum_col - pum_scrollbar;
  215:     else if (Columns < def_width)
  224:     pum_width = Columns - 1;
  235:         pum_col = Columns - max_width;
quickfix.c (2 uses)
  qf_jump():
  1550:         if (cmdmod.split == 0 && curwin->w_width != Columns
  ex_copen():
  2344:         && curwin->w_width == Columns
screen.c (79 uses)
  win_line():
  4732:              && W_WIDTH(wp) == Columns)
  4759:                             + (int)Columns - 2,
  4771:                               + (unsigned)Columns - 1,
  4772:                       screen_row - 1, (int)(Columns - 1));
  4777:             if (has_mbyte && MB_BYTE2LEN(ScreenLines[LineOffset[
  4783:                                 + (Columns - 1)]);
  screen_line():
  5273:     if (col + coloff < Columns)
  win_redr_status_matches():
  5520:     buf = alloc((unsigned)Columns * MB_MAXBYTES + 1);
  5523:     buf = alloc((unsigned)Columns + 1);
  5550:     if ((long)clen > Columns)
  5558:         if ((long)clen >= Columns)
  5569:         if ((long)clen >= Columns)
  5589:     while ((long)(clen + status_match_len(xp, L_MATCH(i)) + 2) < Columns)
  5693:     screen_fill(row, row + 1, clen, (int)Columns, fillchar, fillchar, attr);
  win_redr_status():
  5789:     this_ru_col = ru_col - (Columns - W_WIDTH(wp));
  win_redr_custom():
  5999:     maxwidth = Columns;
  6025:         col = ru_col - (Columns - W_WIDTH(wp));
  6125:     while (col < Columns)
  redraw_block():
  7069:     width = Columns;
  screen_fill():
  7127:         && end_col == Columns
  7242:     if (end_col == Columns)
  screenalloc():
  7334:         && Columns == screen_Columns
  7342:         || Columns == 0
  7380:                   (Rows + 1) * Columns * sizeof(schar_T)), FALSE);
  7386:                  (Rows + 1) * Columns * sizeof(u8char_T)), FALSE);
  7389:                  (Rows + 1) * Columns * sizeof(u8char_T)), FALSE);
  7393:                  (Rows + 1) * Columns * sizeof(schar_T)), FALSE);
  7396:                   (Rows + 1) * Columns * sizeof(sattr_T)), FALSE);
  7401:     new_TabPageIdxs = (short *)lalloc((long_u)(Columns * sizeof(short)), FALSE);
  7436:         do_outofmem_msg((long_u)((Rows + 1) * Columns));
  7472:         new_LineOffset[new_row] = new_row * Columns;
  7483:         (void)vim_memset(new_ScreenLines + new_row * Columns,
  7483:         (void)vim_memset(new_ScreenLines + new_row * Columns,
  7488:             (void)vim_memset(new_ScreenLinesUC + new_row * Columns,
  7488:             (void)vim_memset(new_ScreenLinesUC + new_row * Columns,
  7491:             (void)vim_memset(new_ScreenLinesC[i]
  7491:             (void)vim_memset(new_ScreenLinesC[i]
  7496:             (void)vim_memset(new_ScreenLines2 + new_row * Columns,
  7496:             (void)vim_memset(new_ScreenLines2 + new_row * Columns,
  7499:         (void)vim_memset(new_ScreenAttrs + new_row * Columns,
  7499:         (void)vim_memset(new_ScreenAttrs + new_row * Columns,
  7504:             if (screen_Columns < Columns)
  7507:             len = Columns;
  7542:     current_ScreenLine = new_ScreenLines + Rows * Columns;
  7568:     screen_Columns = Columns;
  7580:     (void)gui_redraw_block(0, 0, (int)Rows - 1, (int)Columns - 1, 0);
  7589:     if (msg_col >= Columns)        /* Columns got smaller */
  7590:         msg_col = Columns - 1;    /* put cursor at last column */
  screenclear2():
  7657:     lineclear(LineOffset[i], (int)Columns);
  7671:         lineinvalid(LineOffset[i], (int)Columns);
  windgoto():
  7844:     if (row >= screen_cur_row && screen_cur_col < Columns)
  win_do_lines():
  8227:         && wp->w_width == Columns
  8263:         || W_WIDTH(wp) != Columns
  8268:     if (scroll_region && (wp->w_width == Columns || *T_CSV != NUL))
  8278:     if (scroll_region && (wp->w_width == Columns || *T_CSV != NUL))
  screen_ins_lines():
  8398:     if (wp != NULL && wp->w_width != Columns && *T_CSV == NUL)
  8440:         || (wp != NULL && wp->w_width != Columns)
  8468:     if (wp != NULL && wp->w_width != Columns)
  8494:         lineclear(temp, (int)Columns);
  8496:         lineinvalid(temp, (int)Columns);
  screen_del_lines():
  8614:     if (wp != NULL && wp->w_width != Columns && *T_CSV == NUL)
  8646:         && (wp == NULL || wp->w_width == Columns)
  8662:         || (wp != NULL && wp->w_width != Columns)
  8696:     if (wp != NULL && wp->w_width != Columns)
  8723:         lineclear(temp, (int)Columns);
  8725:         lineinvalid(temp, (int)Columns);
  showmode():
  8879:         length = (Rows - msg_row) * Columns - 3;
  draw_tabline():
  9100:     for (scol = 0; scol < Columns; ++scol)
  9123:     tabwidth = (Columns - 1 + tabcount / 2) / tabcount;
  9130:     for (tp = first_tabpage; tp != NULL && col < Columns - 4;
  9166:             if (col + len >= Columns - 3)
  9204:         if (len > Columns - col - 1)
  9205:             len = Columns - col - 1;
  9223:     screen_fill(0, 1, col, (int)Columns, c, c, attr_fill);
  9228:         screen_putchar('X', 0, (int)Columns - 1, attr_nosel);
  9229:         TabPageIdxs[Columns - 1] = -999;
  win_redr_ruler():
  9387:     int        width = Columns;
  9479:         width = Columns;
  9518:     this_ru_col = ru_col - (Columns - width);
syntax.c (5 uses)
  syn_list_cluster():
  3853:     if (Columns <= endcol)    /* avoid hang for tiny window */
  3854:     endcol = Columns - 1;
  syn_list_header():
  8417:     else if (msg_col + outlen + 1 >= Columns)
  8431:     if (Columns <= endcol)    /* avoid hang for tiny window */
  8432:     endcol = Columns - 1;
tag.c (3 uses)
  do_tag():
  615:         if (taglen > Columns - 25)
  693:                 if (msg_col + ptr2cells(p) >= Columns)
  739:             if (msg_col + (*p == TAB ? 1 : ptr2cells(p)) > Columns)
term.c (11 uses)
  check_shellsize():
  3001:     if (Columns < MIN_COLUMNS)
  3002:     Columns = MIN_COLUMNS;
  win_new_shellsize():
  3016:     if (old_Rows != Rows || old_Columns != Columns)
  3026:     if (old_Columns != Columns)
  3028:     old_Columns = Columns;
  shell_resized_check():
  3053:     int        old_Columns = Columns;
  3057:     if (old_Rows != Rows || old_Columns != Columns)
  set_shellsize():
  3101:     Columns = width;
  scroll_region_set():
  3496:     if (*T_CSV != NUL && wp->w_width != Columns)
  scroll_region_reset():
  3512:     OUT_STR(tgoto((char *)T_CSV, (int)Columns - 1, 0));
  show_termcodes():
  5285:         cols = (Columns + GAP) / (run == 1 ? INC3 : INC2);
ui.c (13 uses)
  ui_get_shellsize():
  313:     set_number_default("columns", Columns);
  clip_start_selection():
  701:                 (int)Columns, CLIP_SET);
  703:         cb->end.col   = Columns;
  clip_process_selection():
  828:                 cb->origin_start_col, row, (int)Columns);
  881:             (int)Columns);
  884:             (int)Columns);
  clip_invert_area():
  1087:         clip_invert_rectangle(row1, col1, 1, (int)Columns - col1, invert);
  1092:     if (col2 < Columns - 1)
  1100:         clip_invert_rectangle(row1, 0, row2 - row1 + 1, (int)Columns,
  clip_copy_modeless_selection():
  1177:     len = (row2 - row1 + 1) * Columns + 1;
  1199:         end_col = Columns;
  1204:     if (end_col >= Columns && (row < row2 || end_col > line_end_col))
  jump_to_mouse():
  2457:     if (row >= 0 && row < Rows && col >= 0 && col <= Columns
version.c (4 uses)
  version_msg():
  1680:     if (!got_int && len < (int)Columns && msg_col + len >= (int)Columns
  1680:     if (!got_int && len < (int)Columns && msg_col + len >= (int)Columns
  intro_message():
  1776:     if ((row >= 2 && Columns >= 50) || colon)
  do_intro_line():
  1873:     col = (Columns - col) / 2;
window.c (18 uses)
  win_split_ins():
  1047:         wp->w_width = Columns;
  win_equal():
  1647:                        (int)Columns, topframe->fr_height);
  win_equal_rec():
  1708:         if (col + width == Columns)
  win_alloc_firstwin():
  3229:     topframe->fr_width = Columns;
  win_init_size():
  3247:     firstwin->w_width = Columns;
  3248:     topframe->fr_width = Columns;
  leave_tabpage():
  3520:     tp->tp_old_Columns = Columns;
  enter_tabpage():
  3576:     if (curtab->tp_old_Columns != Columns && starting == 0)
  win_alloc():
  4175:     newwin->w_width = Columns;
  shell_new_columns():
  4474:     frame_new_width(topframe, (int)Columns, FALSE, TRUE);
  4475:     if (topframe->fr_width != Columns)
  4476:     frame_new_width(topframe, (int)Columns, FALSE, FALSE);
  win_setheight_win():
  4662:     screen_fill(row, cmdline_row, 0, (int)Columns, ' ', ' ', 0);
  frame_setheight():
  4751:         if (curfrp->fr_width != Columns)
  4765:         if (run == 2 || curfrp->fr_width == Columns)
  win_drag_status_line():
  5193:     screen_fill(row, cmdline_row, 0, (int)Columns, ' ', ' ', 0);
  command_height():
  5505:     while (frp->fr_width != Columns && frp->fr_parent != NULL)
  5544:                            (int)Columns, ' ', ' ', 0);
term_strings (242 uses in 10 translation units) defined in translation unit term.c, declared in term.c:1447
ex_docmd.c (1 use)
  ex_winpos():
  8115:     if (*T_CWP)
gui.c (1 use)
  gui_start():
  67:     old_term = vim_strsave(T_NAME);
main.c (1 use)
  main():
  739:     if ((did_emsg || msg_didout) && *T_TI != NUL)
message.c (4 uses)
  msg_clr_eos_force():
  2909:         if (*T_CD)
  2910:         out_str(T_CD);    /* clear to end of display */
  2911:         else if (*T_CE)
  2912:         out_str(T_CE);    /* clear to end of line */
misc1.c (1 use)
  vim_beep():
  3355:         out_str(T_VB);
option.c (17 uses)
  term_bg_default():
  3639:     if (STRCMP(T_NAME, "linux") == 0
  3640:         || STRCMP(T_NAME, "screen.linux") == 0
  3641:         || STRCMP(T_NAME, "cygwin") == 0
  3642:         || STRCMP(T_NAME, "putty") == 0
  did_set_string_option():
  5450:     else if (varp == &T_NAME)
  5452:     if (T_NAME[0] == NUL)
  5457:     else if (term_is_gui(T_NAME))
  5460:     else if (set_termname(T_NAME) == FAIL)
  5993:     if (varp == &T_CCO)
  5995:         t_colors = atoi((char *)T_CCO);
  5999:             vim_free(T_CCO);
  6000:         T_CCO = empty_option;
  6006:     if (varp == &T_ME)
  6008:         out_str(T_ME);
  set_bool_option():
  7351:         T_XS = (char_u *)"y";
  7353:         T_XS = empty_option;
  7354:     p_wiv = (*T_XS != NUL);
os_unix.c (12 uses)
  get_x11_icon():
  1906:     if (STRNCMP(T_NAME, "builtin_", 8) == 0)
  1907:         oldicon = T_NAME + 8;
  1909:         oldicon = T_NAME;
  mch_settitle():
  1939:     if (T_NAME == NULL)        /* no terminal name (yet) */
  1967:     if ((type || *T_TS != NUL) && title != NULL)
  1976:     if (*T_TS != NUL)        /* it's OK if t_fs is empty */
  1993:     if ((type || *T_CIS != NUL) && icon != NULL)
  2002:     if (*T_CIS != NUL)
  2004:         out_str(T_CIS);            /* set icon start */
  2006:         out_str(T_CIE);            /* set icon end */
  check_mouse_termcode():
  3321:     set_mouse_termcode(KS_MOUSE, (char_u *)(term_is_8bit(T_NAME)
  mch_set_shellsize():
  3517:     if (*T_CWS)
screen.c (72 uses)
  screen_line():
  5042:         out_str(T_CE);        /* clear rest of this screen line */
  screen_start_highlight():
  6724:         if ((attr & HL_BOLD) && T_MD != NULL)    /* bold */
  6725:         out_str(T_MD);
  6730:         out_str(T_ME);
  6731:         if ((attr & HL_STANDOUT) && T_SO != NULL)    /* standout */
  6732:         out_str(T_SO);
  6733:         if ((attr & (HL_UNDERLINE | HL_UNDERCURL)) && T_US != NULL)
  6735:         out_str(T_US);
  6736:         if ((attr & HL_ITALIC) && T_CZH != NULL)    /* italic */
  6737:         out_str(T_CZH);
  6738:         if ((attr & HL_INVERSE) && T_MR != NULL)    /* inverse (reverse) */
  6739:         out_str(T_MR);
  screen_stop_highlight():
  6806:             if (STRCMP(aep->ae_u.term.stop, T_ME) == 0)
  6824:         if (STRCMP(T_SE, T_ME) == 0)
  6824:         if (STRCMP(T_SE, T_ME) == 0)
  6827:             out_str(T_SE);
  6831:         if (STRCMP(T_UE, T_ME) == 0)
  6831:         if (STRCMP(T_UE, T_ME) == 0)
  6834:             out_str(T_UE);
  6838:         if (STRCMP(T_CZR, T_ME) == 0)
  6838:         if (STRCMP(T_CZR, T_ME) == 0)
  6841:             out_str(T_CZR);
  6844:         out_str(T_ME);
  6854:             out_str(T_MD);
  reset_cterm_colors():
  6873:         out_str(T_OP);
  6878:         out_str(T_ME);
  screen_fill():
  7128:         && can_clear(T_CE)
  7160:         out_str(T_CE);
  screenclear2():
  7661:     if (can_clear(T_CL))
  7663:     out_str(T_CL);        /* clear the display */
  can_clear():
  7769:         || cterm_normal_bg_color == 0 || *T_UT != NUL));
  windgoto():
  7825:     if (screen_attr && *T_MS == NUL)
  7855:         if (*T_LE)
  7856:             bs = T_LE;            /* "cursor left" */
  7858:             bs = T_BC;            /* "backspace character (old) */
  7992:             if (T_ND[0] != NUL && T_ND[1] == NUL)
  7992:             if (T_ND[0] != NUL && T_ND[1] == NUL)
  7995:                 out_char(*T_ND);
  8029:                                 *T_CRI != NUL)
  win_do_lines():
  8268:     if (scroll_region && (wp->w_width == Columns || *T_CSV != NUL))
  8278:     if (scroll_region && (wp->w_width == Columns || *T_CSV != NUL))
  screen_ins_lines():
  8359:     int        can_ce = can_clear(T_CE);
  8398:     if (wp != NULL && wp->w_width != Columns && *T_CSV == NUL)
  8402:     if (can_clear(T_CD) && result_empty)
  8404:     else if (*T_CAL != NUL && (line_count > 1 || *T_AL == NUL))
  8404:     else if (*T_CAL != NUL && (line_count > 1 || *T_AL == NUL))
  8406:     else if (*T_CDL != NUL && result_empty && (line_count > 1 || !can_ce))
  8408:     else if (*T_AL != NUL)
  8412:     else if (*T_DL != NUL && result_empty)
  8414:     else if (*T_SR != NUL && row == 0 && (*T_DA == NUL || can_ce))
  8414:     else if (*T_SR != NUL && row == 0 && (*T_DA == NUL || can_ce))
  8432:     if (*T_DB)
  8454:     if (*T_CCS != NUL)       /* cursor relative to region */
  8522:         out_str(T_AL);
  8525:         out_str(T_SR);
  8534:     if (type == USE_T_SR && *T_DA)
  8539:         out_str(T_CE);
  screen_del_lines():
  8599:     can_delete = (*T_DB == NUL || can_clear(T_CE));
  8599:     can_delete = (*T_DB == NUL || can_clear(T_CE));
  8614:     if (wp != NULL && wp->w_width != Columns && *T_CSV == NUL)
  8618:     if (can_clear(T_CD) && result_empty)
  8639:                         *T_CDL == NUL))
  8642:     else if (*T_CDL != NUL && line_count > 1 && can_delete)
  8644:     else if (can_clear(T_CE) && result_empty
  8650:     else if (*T_DL != NUL && can_delete)
  8652:     else if (*T_CDL != NUL && can_delete)
  8676:     if (*T_CCS != NUL)        /* cursor relative to region */
  8740:     out_str(T_CD);
  8767:         out_str(T_DL);        /* delete a line */
  8772:         out_str(T_CE);        /* erase a line */
  8782:     if (*T_DB && (type == USE_T_DL || type == USE_T_CDL))
  8787:         out_str(T_CE);        /* erase a line */
syntax.c (3 uses)
  do_highlight():
  7097:             if (*T_CAF != NUL)
  7098:                 p = T_CAF;
  7100:                 p = T_CSF;
term.c (130 uses)
  parse_builtin_tcap():
  1511:         if (term_strings[p->bt_entry] == NULL
  1512:                  || term_strings[p->bt_entry] == empty_option)
  1528:             term_strings[p->bt_entry] = s;
  1529:             set_term_option_alloced(&term_strings[p->bt_entry]);
  1533:             term_strings[p->bt_entry] = (char_u *)p->bt_string;
  set_termname():
  1686:             if (term_str(string_names[i].dest) == NULL
  1687:                 || term_str(string_names[i].dest) == empty_option)
  1688:             term_str(string_names[i].dest) =
  1694:         if ((T_MS == NULL || T_MS == empty_option)
  1694:         if ((T_MS == NULL || T_MS == empty_option)
  1696:             T_MS = (char_u *)"y";
  1697:         if ((T_XS == NULL || T_XS == empty_option)
  1697:         if ((T_XS == NULL || T_XS == empty_option)
  1699:             T_XS = (char_u *)"y";
  1700:         if ((T_DB == NULL || T_DB == empty_option)
  1700:         if ((T_DB == NULL || T_DB == empty_option)
  1702:             T_DB = (char_u *)"y";
  1703:         if ((T_DA == NULL || T_DA == empty_option)
  1703:         if ((T_DA == NULL || T_DA == empty_option)
  1705:             T_DA = (char_u *)"y";
  1706:         if ((T_UT == NULL || T_UT == empty_option)
  1706:         if ((T_UT == NULL || T_UT == empty_option)
  1708:             T_UT = (char_u *)"y";
  1737:         if (term_str(KS_CCO) == NULL
  1738:             || term_str(KS_CCO) == empty_option)
  1866:     T_CCS = (char_u *)"yes";
  1868:     T_CCS = empty_option;
  getlinecol():
  2219:     if (T_NAME != NULL && *T_NAME != NUL && tgetent_error(tbuf, T_NAME) == NULL)
  2219:     if (T_NAME != NULL && *T_NAME != NUL && tgetent_error(tbuf, T_NAME) == NULL)
  2219:     if (T_NAME != NULL && *T_NAME != NUL && tgetent_error(tbuf, T_NAME) == NULL)
  add_termcap_entry():
  2266:     term = T_NAME;
  termcapinit():
  2513:     set_termname(T_NAME != NULL ? T_NAME : term);
  2513:     set_termname(T_NAME != NULL ? T_NAME : term);
  term_windgoto():
  2682:     OUT_STR(tgoto((char *)T_CM, col, row));
  term_cursor_right():
  2689:     OUT_STR(tgoto((char *)T_CRI, 0, i));
  term_append_lines():
  2696:     OUT_STR(tgoto((char *)T_CAL, 0, line_count));
  term_delete_lines():
  2703:     OUT_STR(tgoto((char *)T_CDL, 0, line_count));
  term_set_winpos():
  2717:     OUT_STR(tgoto((char *)T_CWP, y, x));
  term_set_winsize():
  2725:     OUT_STR(tgoto((char *)T_CWS, height, width));
  term_fg_color():
  2734:     if (*T_CAF)
  2735:     term_color(T_CAF, n);
  2736:     else if (*T_CSF)
  2737:     term_color(T_CSF, n);
  term_bg_color():
  2745:     if (*T_CAB)
  2746:     term_color(T_CAB, n);
  2747:     else if (*T_CSB)
  2748:     term_color(T_CSB, n);
  term_settitle():
  2793:     OUT_STR(tgoto((char *)T_TS, 0, 0));    /* set title start */
  2795:     out_str(T_FS);            /* set title end */
  ttest():
  2813:     if (*T_CM == NUL)
  2819:     if (*T_CS != NUL)
  2830:     if (*T_ME == NUL)
  2831:         T_ME = T_MR = T_MD = T_MB = empty_option;
  2831:         T_ME = T_MR = T_MD = T_MB = empty_option;
  2831:         T_ME = T_MR = T_MD = T_MB = empty_option;
  2831:         T_ME = T_MR = T_MD = T_MB = empty_option;
  2832:     if (*T_SO == NUL || *T_SE == NUL)
  2832:     if (*T_SO == NUL || *T_SE == NUL)
  2833:         T_SO = T_SE = empty_option;
  2833:         T_SO = T_SE = empty_option;
  2834:     if (*T_US == NUL || *T_UE == NUL)
  2834:     if (*T_US == NUL || *T_UE == NUL)
  2835:         T_US = T_UE = empty_option;
  2835:         T_US = T_UE = empty_option;
  2836:     if (*T_CZH == NUL || *T_CZR == NUL)
  2836:     if (*T_CZH == NUL || *T_CZR == NUL)
  2837:         T_CZH = T_CZR = empty_option;
  2837:         T_CZH = T_CZR = empty_option;
  2840:     if (*T_VE == NUL)
  2841:         T_VI = empty_option;
  2844:     if (*T_ME == NUL)
  2846:         T_ME = T_SE;
  2846:         T_ME = T_SE;
  2847:         T_MR = T_SO;
  2847:         T_MR = T_SO;
  2848:         T_MD = T_SO;
  2848:         T_MD = T_SO;
  2852:     if (*T_SO == NUL)
  2854:         T_SE = T_ME;
  2854:         T_SE = T_ME;
  2855:         if (*T_MR == NUL)
  2856:         T_SO = T_MD;
  2856:         T_SO = T_MD;
  2858:         T_SO = T_MR;
  2858:         T_SO = T_MR;
  2862:     if (*T_CZH == NUL)
  2864:         T_CZR = T_ME;
  2864:         T_CZR = T_ME;
  2865:         if (*T_MR == NUL)
  2866:         T_CZH = T_MD;
  2866:         T_CZH = T_MD;
  2868:         T_CZH = T_MR;
  2868:         T_CZH = T_MR;
  2872:     if (*T_CSB == NUL || *T_CSF == NUL)
  2872:     if (*T_CSB == NUL || *T_CSF == NUL)
  2874:         T_CSB = empty_option;
  2875:         T_CSF = empty_option;
  2879:     if (*T_CAB == NUL || *T_CAF == NUL)
  2879:     if (*T_CAB == NUL || *T_CAF == NUL)
  2881:         T_CAB = empty_option;
  2882:         T_CAF = empty_option;
  2886:     if (*T_CSB == NUL && *T_CAB == NUL)
  2886:     if (*T_CSB == NUL && *T_CAB == NUL)
  2887:         T_CCO = empty_option;
  2890:     p_wiv = (*T_XS != NUL);
  2895:     t_colors = atoi((char *)T_CCO);
  starttermcap():
  3231:     out_str(T_TI);            /* start termcap mode */
  3232:     out_str(T_KS);            /* start "keypad transmit" mode */
  stoptermcap():
  3260:     out_str(T_KE);            /* stop "keypad transmit" mode */
  3264:     out_str(T_TE);            /* stop termcap mode */
  may_req_termresponse():
  3297:         && *T_CRV != NUL)
  3299:     out_str(T_CRV);
  swapping_screen():
  3315:     return (full_screen && *T_TI != NUL);
  scroll_start():
  3418:     if (*T_VS != NUL)
  3420:     out_str(T_VS);
  3421:     out_str(T_VE);
  cursor_on():
  3436:     out_str(T_VE);
  cursor_off():
  3450:         out_str(T_VI);        /* disable cursor */
  term_cursor_shape():
  3464:     if (!full_screen || *T_CSI == NUL || *T_CEI == NUL)
  3464:     if (!full_screen || *T_CSI == NUL || *T_CEI == NUL)
  3470:         out_str(T_CSI);        /* Insert mode cursor */
  3476:         out_str(T_CEI);        /* non-Insert mode cursor */
  scroll_region_set():
  3493:     OUT_STR(tgoto((char *)T_CS, W_WINROW(wp) + wp->w_height - 1,
  3496:     if (*T_CSV != NUL && wp->w_width != Columns)
  3497:     OUT_STR(tgoto((char *)T_CSV, W_WINCOL(wp) + wp->w_width - 1,
  scroll_region_reset():
  3509:     OUT_STR(tgoto((char *)T_CS, (int)Rows - 1, 0));
  3511:     if (*T_CSV != NUL)
  3512:     OUT_STR(tgoto((char *)T_CSV, (int)Columns - 1, 0));
  switch_to_8bit():
  3764:     if (!term_is_8bit(T_NAME))
  check_termcode():
  4056:         if (*T_CRV != NUL && ((tp[0] == ESC && tp[1] == '[' && len >= 3)
typebuf (231 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:948
eval.c (1 use)
  f_feedkeys():
  9166:                            typebuf.tb_len, !typed, FALSE);
ex_docmd.c (3 uses)
  do_exmode():
  634:     if (ex_normal_busy > 0 && typebuf.tb_len == 0)
  ex_at():
  8323:     while ((!stuff_empty() || typebuf.tb_len > 0) && vpeekc() == ':')
  exec_normal_cmd():
  9120:     while ((!stuff_empty() || (!typebuf_typed() && typebuf.tb_len > 0))
ex_getln.c (1 use)
  getcmdline():
  1086:             && (ex_normal_busy == 0 || typebuf.tb_len > 0)
getchar.c (220 uses)
  flush_buffers():
  441:     while (inchar(typebuf.tb_buf, typebuf.tb_buflen - 1, 10L,
  441:     while (inchar(typebuf.tb_buf, typebuf.tb_buflen - 1, 10L,
  442:                           typebuf.tb_change_cnt) != 0)
  444:     typebuf.tb_off = MAXMAPLEN;
  445:     typebuf.tb_len = 0;
  449:     typebuf.tb_off += typebuf.tb_maplen;
  449:     typebuf.tb_off += typebuf.tb_maplen;
  450:     typebuf.tb_len -= typebuf.tb_maplen;
  450:     typebuf.tb_len -= typebuf.tb_maplen;
  452:     typebuf.tb_maplen = 0;
  453:     typebuf.tb_silent = 0;
  455:     typebuf.tb_no_abbr_cnt = 0;
  init_typebuf():
  881:     if (typebuf.tb_buf == NULL)
  883:     typebuf.tb_buf = typebuf_init;
  884:     typebuf.tb_noremap = noremapbuf_init;
  885:     typebuf.tb_buflen = TYPELEN_INIT;
  886:     typebuf.tb_len = 0;
  887:     typebuf.tb_off = 0;
  888:     typebuf.tb_change_cnt = 1;
  ins_typebuf():
  928:     if (++typebuf.tb_change_cnt == 0)
  929:     typebuf.tb_change_cnt = 1;
  936:     if (offset == 0 && addlen <= typebuf.tb_off)
  938:     typebuf.tb_off -= addlen;
  939:     mch_memmove(typebuf.tb_buf + typebuf.tb_off, str, (size_t)addlen);
  939:     mch_memmove(typebuf.tb_buf + typebuf.tb_off, str, (size_t)addlen);
  951:     newlen = typebuf.tb_len + addlen + newoff + 4 * (MAXMAPLEN + 4);
  967:     typebuf.tb_buflen = newlen;
  970:     mch_memmove(s1 + newoff, typebuf.tb_buf + typebuf.tb_off,
  970:     mch_memmove(s1 + newoff, typebuf.tb_buf + typebuf.tb_off,
  976:     mch_memmove(s1 + newoff + offset + addlen,
  976:     mch_memmove(s1 + newoff + offset + addlen,
  976:     mch_memmove(s1 + newoff + offset + addlen,
  979:     if (typebuf.tb_buf != typebuf_init)
  980:         vim_free(typebuf.tb_buf);
  981:     typebuf.tb_buf = s1;
  983:     mch_memmove(s2 + newoff, typebuf.tb_noremap + typebuf.tb_off,
  983:     mch_memmove(s2 + newoff, typebuf.tb_noremap + typebuf.tb_off,
  985:     mch_memmove(s2 + newoff + offset + addlen,
  985:     mch_memmove(s2 + newoff + offset + addlen,
  985:     mch_memmove(s2 + newoff + offset + addlen,
  988:     if (typebuf.tb_noremap != noremapbuf_init)
  989:         vim_free(typebuf.tb_noremap);
  990:     typebuf.tb_noremap = s2;
  992:     typebuf.tb_off = newoff;
  994:     typebuf.tb_len += addlen;
  1019:     typebuf.tb_noremap[typebuf.tb_off + i + offset] =
  1019:     typebuf.tb_noremap[typebuf.tb_off + i + offset] =
  1025:     if (nottyped || typebuf.tb_maplen > offset)
  1026:     typebuf.tb_maplen += addlen;
  1027:     if (silent || typebuf.tb_silent > offset)
  1029:     typebuf.tb_silent += addlen;
  1032:     if (typebuf.tb_no_abbr_cnt && offset == 0)    /* and not used for abbrev.s */
  1033:     typebuf.tb_no_abbr_cnt += addlen;
  typebuf_changed():
  1085:     return (tb_change_cnt != 0 && (typebuf.tb_change_cnt != tb_change_cnt
  typebuf_typed():
  1099:     return typebuf.tb_maplen == 0;
  typebuf_maplen():
  1109:     return typebuf.tb_maplen;
  del_typebuf():
  1126:     typebuf.tb_len -= len;
  1131:     if (offset == 0 && typebuf.tb_buflen - (typebuf.tb_off + len)
  1131:     if (offset == 0 && typebuf.tb_buflen - (typebuf.tb_off + len)
  1133:     typebuf.tb_off += len;
  1139:     i = typebuf.tb_off + offset;
  1143:     if (typebuf.tb_off > MAXMAPLEN)
  1145:         mch_memmove(typebuf.tb_buf + MAXMAPLEN,
  1145:         mch_memmove(typebuf.tb_buf + MAXMAPLEN,
  1145:         mch_memmove(typebuf.tb_buf + MAXMAPLEN,
  1147:         mch_memmove(typebuf.tb_noremap + MAXMAPLEN,
  1147:         mch_memmove(typebuf.tb_noremap + MAXMAPLEN,
  1147:         mch_memmove(typebuf.tb_noremap + MAXMAPLEN,
  1149:         typebuf.tb_off = MAXMAPLEN;
  1152:     mch_memmove(typebuf.tb_buf + typebuf.tb_off + offset,
  1152:     mch_memmove(typebuf.tb_buf + typebuf.tb_off + offset,
  1152:     mch_memmove(typebuf.tb_buf + typebuf.tb_off + offset,
  1152:     mch_memmove(typebuf.tb_buf + typebuf.tb_off + offset,
  1156:     mch_memmove(typebuf.tb_noremap + typebuf.tb_off + offset,
  1156:     mch_memmove(typebuf.tb_noremap + typebuf.tb_off + offset,
  1156:     mch_memmove(typebuf.tb_noremap + typebuf.tb_off + offset,
  1156:     mch_memmove(typebuf.tb_noremap + typebuf.tb_off + offset,
  1161:     if (typebuf.tb_maplen > offset)        /* adjust tb_maplen */
  1163:     if (typebuf.tb_maplen < offset + len)
  1164:         typebuf.tb_maplen = offset;
  1166:         typebuf.tb_maplen -= len;
  1168:     if (typebuf.tb_silent > offset)        /* adjust tb_silent */
  1170:     if (typebuf.tb_silent < offset + len)
  1171:         typebuf.tb_silent = offset;
  1173:         typebuf.tb_silent -= len;
  1175:     if (typebuf.tb_no_abbr_cnt > offset)    /* adjust tb_no_abbr_cnt */
  1177:     if (typebuf.tb_no_abbr_cnt < offset + len)
  1178:         typebuf.tb_no_abbr_cnt = offset;
  1180:         typebuf.tb_no_abbr_cnt -= len;
  1188:     if (++typebuf.tb_change_cnt == 0)
  1189:     typebuf.tb_change_cnt = 1;
  alloc_typebuf():
  1258:     typebuf.tb_buf = alloc(TYPELEN_INIT);
  1259:     typebuf.tb_noremap = alloc(TYPELEN_INIT);
  1260:     if (typebuf.tb_buf == NULL || typebuf.tb_noremap == NULL)
  1260:     if (typebuf.tb_buf == NULL || typebuf.tb_noremap == NULL)
  1265:     typebuf.tb_buflen = TYPELEN_INIT;
  1266:     typebuf.tb_off = 0;
  1267:     typebuf.tb_len = 0;
  1268:     typebuf.tb_maplen = 0;
  1269:     typebuf.tb_silent = 0;
  1270:     typebuf.tb_no_abbr_cnt = 0;
  1271:     if (++typebuf.tb_change_cnt == 0)
  1272:     typebuf.tb_change_cnt = 1;
  free_typebuf():
  1282:     if (typebuf.tb_buf == typebuf_init)
  1285:     vim_free(typebuf.tb_buf);
  1286:     if (typebuf.tb_buf == noremapbuf_init)
  1289:     vim_free(typebuf.tb_noremap);
  save_typebuf():
  1302:     saved_typebuf[curscript] = typebuf;
  save_typeahead():
  1321:     tp->save_typebuf = typebuf;
  1324:     typebuf = tp->save_typebuf;
  restore_typeahead():
  1344:     typebuf = tp->save_typebuf;
  closescript():
  1435:     typebuf = saved_typebuf[curscript];
  vpeekc_any():
  1823:     if (c == NUL && typebuf.tb_len > 0)
  vgetorpeek():
  1939:     if (advance && typebuf.tb_maplen == 0)
  1963:         if (typebuf.tb_no_abbr_cnt == 0)
  1964:         typebuf.tb_no_abbr_cnt = 1;    /* no abbreviations now */
  1981:         if (typebuf.tb_maplen)
  1989:             c = inchar(typebuf.tb_buf, typebuf.tb_buflen - 1, 0L,
  1989:             c = inchar(typebuf.tb_buf, typebuf.tb_buflen - 1, 0L,
  1990:                                typebuf.tb_change_cnt);
  1998:             if ((c || typebuf.tb_maplen)
  2009:             *typebuf.tb_buf = c;
  2010:             gotchars(typebuf.tb_buf, 1);
  2016:         else if (typebuf.tb_len > 0)
  2035:             c1 = typebuf.tb_buf[typebuf.tb_off];
  2035:             c1 = typebuf.tb_buf[typebuf.tb_off];
  2038:                 && (typebuf.tb_maplen == 0
  2040:                     && (typebuf.tb_noremap[typebuf.tb_off]
  2040:                     && (typebuf.tb_noremap[typebuf.tb_off]
  2097:                     || typebuf.tb_maplen == 0))
  2104:                 for (mlen = 1; mlen < typebuf.tb_len; ++mlen)
  2117:                     typebuf.tb_buf[typebuf.tb_off + mlen])
  2117:                     typebuf.tb_buf[typebuf.tb_off + mlen])
  2137:                      || (mlen == typebuf.tb_len
  2138:                           && typebuf.tb_len < keylen))
  2145:                     s = typebuf.tb_noremap + typebuf.tb_off;
  2145:                     s = typebuf.tb_noremap + typebuf.tb_off;
  2162:                     if (keylen > typebuf.tb_len)
  2198:             for (mlen = 0; mlen < typebuf.tb_len && p_pt[mlen];
  2200:                 if (p_pt[mlen] != typebuf.tb_buf[typebuf.tb_off
  2200:                 if (p_pt[mlen] != typebuf.tb_buf[typebuf.tb_off
  2206:                 if (mlen > typebuf.tb_maplen)
  2207:                 gotchars(typebuf.tb_buf + typebuf.tb_off
  2207:                 gotchars(typebuf.tb_buf + typebuf.tb_off
  2208:                               + typebuf.tb_maplen,
  2209:                             mlen - typebuf.tb_maplen);
  2225:             if (mlen == typebuf.tb_len)
  2248:                 && (typebuf.tb_maplen == 0
  2249:                     || (p_remap && typebuf.tb_noremap[
  2250:                            typebuf.tb_off] == RM_YES))
  2263:                        && typebuf.tb_len == typebuf.tb_maplen)
  2263:                        && typebuf.tb_len == typebuf.tb_maplen)
  2302:                 c = typebuf.tb_buf[typebuf.tb_off] & 255;
  2302:                 c = typebuf.tb_buf[typebuf.tb_off] & 255;
  2305:                     cmd_silent = (typebuf.tb_silent > 0);
  2306:                     if (typebuf.tb_maplen > 0)
  2312:                     gotchars(typebuf.tb_buf
  2313:                              + typebuf.tb_off, 1);
  2315:                     KeyNoremap = typebuf.tb_noremap[
  2316:                                   typebuf.tb_off];
  2325:                 if (typebuf.tb_buf[typebuf.tb_off] == K_SPECIAL
  2325:                 if (typebuf.tb_buf[typebuf.tb_off] == K_SPECIAL
  2326:                      && typebuf.tb_buf[typebuf.tb_off + 1]
  2326:                      && typebuf.tb_buf[typebuf.tb_off + 1]
  2373:             if (keylen >= 0 && keylen <= typebuf.tb_len)
  2376:             if (keylen > typebuf.tb_maplen)
  2377:                 gotchars(typebuf.tb_buf + typebuf.tb_off
  2377:                 gotchars(typebuf.tb_buf + typebuf.tb_off
  2378:                               + typebuf.tb_maplen,
  2379:                           keylen - typebuf.tb_maplen);
  2381:             cmd_silent = (typebuf.tb_silent > 0);
  2493:             && typebuf.tb_len == 1
  2494:             && typebuf.tb_buf[typebuf.tb_off] == ESC
  2494:             && typebuf.tb_buf[typebuf.tb_off] == ESC
  2499:             && typebuf.tb_maplen == 0
  2502:             && (c = inchar(typebuf.tb_buf + typebuf.tb_off
  2502:             && (c = inchar(typebuf.tb_buf + typebuf.tb_off
  2503:                              + typebuf.tb_len, 3, 25L,
  2504:                          typebuf.tb_change_cnt)) == 0)
  2605:         typebuf.tb_len += c;
  2608:         if (typebuf.tb_len >= typebuf.tb_maplen + MAXMAPLEN)
  2608:         if (typebuf.tb_len >= typebuf.tb_maplen + MAXMAPLEN)
  2624:             if (typebuf.tb_len > 0)
  2675:         if (typebuf.tb_len > 0 && advance && !exmode_active)
  2682:                 && ptr2cells(typebuf.tb_buf + typebuf.tb_off
  2682:                 && ptr2cells(typebuf.tb_buf + typebuf.tb_off
  2683:                            + typebuf.tb_len - 1) == 1)
  2685:                 edit_putchar(typebuf.tb_buf[typebuf.tb_off
  2685:                 edit_putchar(typebuf.tb_buf[typebuf.tb_off
  2686:                         + typebuf.tb_len - 1], FALSE);
  2697:             if (typebuf.tb_len > SHOWCMD_COLS)
  2698:                 i = typebuf.tb_len - SHOWCMD_COLS;
  2699:             while (i < typebuf.tb_len)
  2700:                 (void)add_to_showcmd(typebuf.tb_buf[typebuf.tb_off
  2700:                 (void)add_to_showcmd(typebuf.tb_buf[typebuf.tb_off
  2712:                 && ptr2cells(typebuf.tb_buf + typebuf.tb_off
  2712:                 && ptr2cells(typebuf.tb_buf + typebuf.tb_off
  2713:                            + typebuf.tb_len - 1) == 1)
  2715:             putcmdline(typebuf.tb_buf[typebuf.tb_off
  2715:             putcmdline(typebuf.tb_buf[typebuf.tb_off
  2716:                         + typebuf.tb_len - 1], FALSE);
  2724:         wait_tb_len = typebuf.tb_len;
  2725:         c = inchar(typebuf.tb_buf + typebuf.tb_off + typebuf.tb_len,
  2725:         c = inchar(typebuf.tb_buf + typebuf.tb_off + typebuf.tb_len,
  2725:         c = inchar(typebuf.tb_buf + typebuf.tb_off + typebuf.tb_len,
  2726:             typebuf.tb_buflen - typebuf.tb_off - typebuf.tb_len - 1,
  2726:             typebuf.tb_buflen - typebuf.tb_off - typebuf.tb_len - 1,
  2726:             typebuf.tb_buflen - typebuf.tb_off - typebuf.tb_len - 1,
  2729:                 : ((typebuf.tb_len == 0
  2735:                         : p_tm)), typebuf.tb_change_cnt);
  2764:             while (typebuf.tb_buf[typebuf.tb_off
  2764:             while (typebuf.tb_buf[typebuf.tb_off
  2765:                              + typebuf.tb_len] != NUL)
  2766:             typebuf.tb_noremap[typebuf.tb_off
  2766:             typebuf.tb_noremap[typebuf.tb_off
  2767:                          + typebuf.tb_len++] = RM_YES;
  2789:         if (typebuf.tb_len && !KeyTyped)
  2796:         if (typebuf.tb_len && !KeyTyped)
  check_abbr():
  4242:     if (typebuf.tb_no_abbr_cnt)    /* abbrev. are not recursive */
  4385:         typebuf.tb_no_abbr_cnt += (int)STRLEN(s) + j + 1;
term.c (6 uses)
  check_termcode():
  3887:         if (offset >= typebuf.tb_len)
  3889:         tp = typebuf.tb_buf + typebuf.tb_off + offset;
  3889:         tp = typebuf.tb_buf + typebuf.tb_off + offset;
  3890:         len = typebuf.tb_len - offset;    /* length of the input */
  4929:         mch_memmove(typebuf.tb_buf + typebuf.tb_off + offset, string,
  4929:         mch_memmove(typebuf.tb_buf + typebuf.tb_off + offset, string,
Rows (213 uses in 25 translation units) defined in translation unit main.c, declared in ./globals.h:20
buffer.c (1 use)
  ex_buffer_all():
  4570:             ? wp->w_height + wp->w_status_height < Rows - p_ch
eval.c (3 uses)
  f_inputlist():
  11762:     msg_row = Rows - 1;    /* for when 'cmdheight' > 1 */
  11763:     lines_left = Rows;    /* avoid more prompt */
  ex_function():
  19127:         lines_left = Rows - 1;
ex_cmds.c (4 uses)
  do_filter():
  1168:     windgoto((int)Rows - 1, 0);
  do_shell():
  1428:     msg_row = Rows - 1;
  ex_append():
  3903:     lines_left = Rows - 1;
  do_sub():
  4682:                 if (msg_row == Rows - 1)
ex_cmds2.c (2 uses)
  do_debug():
  274:     lines_left = Rows - 1;
  283:     lines_left = Rows - 1;
ex_docmd.c (6 uses)
  do_exmode():
  657:     lines_left = Rows - 1;
  671:             if (prev_msg_row == Rows - 1)
  ex_stop():
  6572:     windgoto((int)Rows - 1, 0);
  makeopens():
  9857:     if (fprintf(fd, "set lines=%ld columns=%ld" , Rows, Columns) < 0
  ses_winsizes():
  10077:                 n, (long)wp->w_height, Rows / 2, Rows) < 0
  10077:                 n, (long)wp->w_height, Rows / 2, Rows) < 0
ex_getln.c (7 uses)
  getcmdline():
  1173:             if (KeyTyped && ccline.cmdspos + i >= Columns * Rows)
  set_cmdspos_cursor():
  2042:     m = Columns * Rows;
  getexmodeline():
  2339:     if (msg_row < Rows - 1)
  put_on_cmdline():
  2818:         m = Columns * Rows;
  compute_cmdrow():
  3146:     cmdline_row = Rows - 1;
  cursorcmd():
  3171:     if (msg_row >= Rows)
  3172:         msg_row = Rows - 1;
getchar.c (1 use)
  vgetorpeek():
  2217:                 msg_row = Rows - 1;
gui.c (13 uses)
  gui_init_check():
  239:     gui.num_rows = Rows;
  243:     gui.scroll_region_bot = Rows - 1;
  gui_init():
  496:     gui.num_rows = Rows;
  gui_resize_shell():
  1312:         || gui.num_rows != Rows || gui.num_cols != Columns)
  gui_get_shellsize():
  1360:     Rows = gui.num_rows;
  gui_set_shellsize():
  1412:     height = Rows * gui.char_height + base_height;
  1427:         Rows = (screen_h - base_height) / gui.char_height;
  1429:         height = Rows * gui.char_height + base_height;
  1433:     gui.num_rows = Rows;
  gui_init_which_components():
  3234:         i = Rows;
  3236:         Rows = i;
  3289:         i = Rows;
  3291:         Rows = i;
gui_mac.c (6 uses)
  gui_mac_doUpdateEvent():
  1922:         SetRect(&rc, 0, 0, FILL_X(0), FILL_Y(Rows));
  1933:                FILL_X(Columns) + gui.border_offset, FILL_Y(Rows));
  1936:       if (updateRectPtr->bottom > FILL_Y(Rows))
  1938:         SetRect(&rc, 0, FILL_Y(Rows), FILL_X(Columns) + gui.border_offset,
  1939:                         FILL_Y(Rows) + gui.border_offset);
  gui_mch_clear_all():
  4543:     rc.bottom = Rows * gui.char_height + 2 * gui.border_width;
hardcopy.c (3 uses)
  prt_message():
  556:     screen_fill((int)Rows - 1, (int)Rows, 0, (int)Columns, ' ', ' ', 0);
  556:     screen_fill((int)Rows - 1, (int)Rows, 0, (int)Columns, ' ', ' ', 0);
  557:     screen_puts(s, (int)Rows - 1, 0, hl_attr(HLF_R));
main.c (3 uses)
  main():
  536:     cmdline_row = Rows - p_ch;
  getout():
  1232:     windgoto((int)Rows - 1, 0);
  1310:     windgoto((int)Rows - 1, 0);
message.c (44 uses)
  msg_attr_keep():
  180:     if (keep && retval && vim_strsize(s) < (int)(Rows - cmdline_row - 1)
  msg_strtrunc():
  209:         room = (int)(Rows - msg_row) * Columns - 1;
  212:         room = (int)(Rows - msg_row - 1) * Columns + sc_col - 1;
  msg_may_trunc():
  725:     room = (int)(Rows - cmdline_row - 1) * Columns + sc_col - 1;
  wait_return():
  972:         else if (msg_scrolled > Rows - 2
  1054:                   (Rows - cmdline_row - 1) * Columns + sc_col)
  msg_puts_display():
  1854:     if (!recurse && msg_row >= Rows - 1 && (*s == '\n' || (
  1890:         msg_row = Rows - 2;
  1981:         if (++msg_row >= Rows)  /* safety check */
  1982:         msg_row = Rows - 1;
  msg_scroll_up():
  2081:     screen_del_lines(0, 0, 1, (int)Rows, TRUE, NULL);
  2088:     screen_fill((int)Rows - 1, (int)Rows, 0, (int)Columns, ' ', ' ', 0);
  2088:     screen_fill((int)Rows - 1, (int)Rows, 0, (int)Columns, ' ', ' ', 0);
  2092:     if (ScreenAttrs[LineOffset[Rows - 2] + Columns - 1] == (sattr_T)-1)
  2093:         screen_fill((int)Rows - 2, (int)Rows - 1,
  2093:         screen_fill((int)Rows - 2, (int)Rows - 1,
  do_more_prompt():
  2428:     for (i = 0; i < Rows - 2 && mp_last != NULL
  2489:         scroll = -(Rows / 2);
  2493:         scroll = Rows / 2;
  2497:         scroll = -(Rows - 1);
  2503:         scroll = Rows - 1;
  2523:         cmdline_row = Rows - 1;        /* put ':' on this line */
  2536:         lines_left = Rows - 1;
  2575:         for (i = 0; i < Rows - 2 && mp != NULL && mp->sb_prev != NULL;
  2594:                                (int)Rows, NULL) == OK)
  2603:             for (i = 0; mp != NULL && i < Rows - 1; ++i)
  2620:             screen_fill((int)Rows - 2, (int)Rows - 1, 0,
  2620:             screen_fill((int)Rows - 2, (int)Rows - 1, 0,
  2622:             mp_last = disp_sb_line((int)Rows - 2, mp_last);
  2630:         screen_fill((int)Rows - 1, (int)Rows, 0,
  2630:         screen_fill((int)Rows - 1, (int)Rows, 0,
  2644:     screen_fill((int)Rows - 1, (int)Rows, 0, (int)Columns, ' ', ' ', 0);
  2644:     screen_fill((int)Rows - 1, (int)Rows, 0, (int)Columns, ' ', ' ', 0);
  2651:     msg_row = Rows - 1;
  msg_moremsg():
  2821:     screen_puts(s, (int)Rows - 1, 0, attr);
  2825:         (int)Rows - 1, vim_strsize(s), attr);
  repeat_message():
  2838:     msg_row = Rows - 1;
  2844:     msg_row = Rows - 1;
  2853:     if (msg_row == Rows - 1)
  2863:     msg_row = Rows - 1;
  msg_check_screen():
  2879:     if (msg_row >= Rows)
  2880:     msg_row = Rows - 1;
  msg_clr_eos_force():
  2928:         screen_fill(msg_row + 1, (int)Rows, 0, (int)Columns, ' ', ' ', 0);
  msg_check():
  2974:     if (msg_row == Rows - 1 && msg_col >= sc_col)
misc1.c (3 uses)
  change_warning():
  2981:     if (msg_row == Rows - 1)
  2995:     if (msg_row < Rows - 1)
  prepare_to_exit():
  8323:     windgoto((int)Rows - 1, 0);
move.c (2 uses)
  onepage():
  2369:         if (firstwin == lastwin && p_window > 0 && p_window < Rows - 1)
  2419:         if (firstwin == lastwin && p_window > 0 && p_window < Rows - 1)
normal.c (2 uses)
  display_showcmd():
  3849:     screen_puts(showcmd_buf, (int)Rows - 1, sc_col, 0);
  3857:     screen_puts((char_u *)"          " + len, (int)Rows - 1, sc_col + len, 0);
option.c (22 uses)
  set_init_2():
  3575:     set_number_default("scroll", (long)((long_u)Rows >> 1));
  3586:     p_window = Rows - 1;
  3587:     set_number_default("window", Rows - 1);
  set_num_option():
  7586:     long    old_Rows = Rows;    /* remember old Rows */
  7800:     else if (p_window >= Rows)
  7801:         p_window = Rows - 1;
  7836:     if (p_ch > Rows - min_rows() + 1)
  7837:         p_ch = Rows - min_rows() + 1;
  7895:     if (Rows < min_rows() && full_screen)
  7903:     Rows = min_rows();
  7918:     if (Rows > 1000)
  7919:     Rows = 1000;
  7931:     if (old_Rows != Rows || old_Columns != Columns)
  7941:         set_shellsize((int)Columns, (int)Rows, TRUE);
  7947:         if (cmdline_row > Rows - p_ch && Rows > p_ch)
  7947:         if (cmdline_row > Rows - p_ch && Rows > p_ch)
  7948:         cmdline_row = Rows - p_ch;
  7950:     if (p_window >= Rows || !option_was_set((char_u *)"window"))
  7951:         p_window = Rows - 1;
  7997:     if ((p_sj < -100 || p_sj >= Rows) && full_screen)
  7999:     if (Rows != old_Rows)    /* Rows changed, just adjust p_sj */
  8000:         p_sj = Rows / 2;
os_unix.c (7 uses)
  mch_init():
  1140:     Rows = 24;
  exit_scroll():
  2958:     windgoto((int)Rows - 1, 0);    /* may have moved the cursor */
  mch_get_shellsize():
  3506:     Rows = rows;
  mch_set_shellsize():
  3524:     term_set_winsize((int)Rows, (int)Columns);
  mch_call_shell():
  3915:         sprintf((char *)envbuf, "%ld", Rows);
  3917:         sprintf((char *)envbuf, "%ld", Rows);
  mch_expand_wildcards():
  5403:         cmdline_row = Rows - 1;    /* continue on last line */
popupmnu.c (1 use)
  pum_set_selected():
  537:         && Rows > 10
screen.c (40 uses)
  update_screen():
  367:     if (msg_scrolled > Rows - 5)        /* clearing is faster */
  372:         if (screen_ins_lines(0, 0, msg_scrolled, (int)Rows, NULL) == FAIL)
  win_redr_status_matches():
  5657:         if (cmdline_row == Rows - 1)
  5659:             screen_del_lines(0, 0, 1, (int)Rows, TRUE, NULL);
  win_redr_custom():
  6038:         row = Rows - 1;
  screen_fill():
  7244:     if (row == Rows - 1)        /* overwritten the command line */
  screenalloc():
  7333:         && Rows == screen_Rows
  7341:         || Rows == 0
  7380:                   (Rows + 1) * Columns * sizeof(schar_T)), FALSE);
  7386:                  (Rows + 1) * Columns * sizeof(u8char_T)), FALSE);
  7389:                  (Rows + 1) * Columns * sizeof(u8char_T)), FALSE);
  7393:                  (Rows + 1) * Columns * sizeof(schar_T)), FALSE);
  7396:                   (Rows + 1) * Columns * sizeof(sattr_T)), FALSE);
  7398:                      Rows * sizeof(unsigned)), FALSE);
  7399:     new_LineWraps = (char_u *)lalloc((long_u)(Rows * sizeof(char_u)), FALSE);
  7436:         do_outofmem_msg((long_u)((Rows + 1) * Columns));
  7470:     for (new_row = 0; new_row < Rows; ++new_row)
  7501:         old_row = new_row + (screen_Rows - Rows);
  7542:     current_ScreenLine = new_ScreenLines + Rows * Columns;
  7567:     screen_Rows = Rows;
  7578:         && old_Rows != Rows)
  7580:     (void)gui_redraw_block(0, 0, (int)Rows - 1, (int)Columns - 1, 0);
  7585:     if (msg_row >= Rows)        /* Rows got smaller */
  7586:         msg_row = Rows - 1;        /* put cursor at last row */
  7587:     else if (Rows > old_Rows)    /* Rows got bigger */
  7588:         msg_row += Rows - old_Rows; /* put cursor in same place */
  screenclear2():
  7655:     for (i = 0; i < Rows; ++i)
  7670:     for (i = 0; i < Rows; ++i)
  win_ins_lines():
  8110:                     line_count, (int)Rows, FALSE, NULL) == OK)
  8127:     if (lastrow > Rows)
  8128:         lastrow = Rows;
  8134:     if (screen_ins_lines(0, W_WINROW(wp) + row, line_count, (int)Rows, NULL)
  win_del_lines():
  8179:                           (int)Rows, FALSE, NULL) == FAIL)
  8187:     if (wp->w_next || wp->w_status_height || cmdline_row < Rows - 1)
  8190:                      line_count, (int)Rows, NULL) == FAIL)
  win_do_lines():
  8225:     if (mayclear && Rows - line_count < 5
  showmode():
  8848:     if (clear_cmdline && cmdline_row < Rows - 1)
  8879:         length = (Rows - msg_row) * Columns - 3;
  msg_pos_mode():
  9027:     msg_row = Rows - 1;
  win_redr_ruler():
  9475:         row = Rows - 1;
spell.c (5 uses)
  spell_suggest():
  10100:     if (sps_limit > (int)Rows - 2)
  10101:     limit = (int)Rows - 2;
  10131:     msg_row = Rows - 1;    /* for when 'cmdheight' > 1 */
  10132:     lines_left = Rows;    /* avoid more prompt */
  10207:     lines_left = Rows;    /* avoid more prompt */
syntax.c (6 uses)
  syntax_start():
  557:     if (syn_buf->b_sst_len <= Rows)
  560:     dist = syn_buf->b_ml.ml_line_count / (syn_buf->b_sst_len - Rows) + 1;
  syn_stack_alloc():
  1133:     len = syn_buf->b_ml.ml_line_count / SST_DIST + Rows * 2;
  1142:     len = (len + len / 2) / SST_DIST + Rows * 2;
  syn_stack_cleanup():
  1271:     if (syn_buf->b_sst_len <= Rows)
  1274:     dist = syn_buf->b_ml.ml_line_count / (syn_buf->b_sst_len - Rows) + 1;
term.c (10 uses)
  check_shellsize():
  3003:     if (Rows < min_rows())    /* need room for one window and command line */
  3004:     Rows = min_rows();
  win_new_shellsize():
  3016:     if (old_Rows != Rows || old_Columns != Columns)
  3018:     if (old_Rows != Rows)
  3022:         p_window = Rows - 1;
  3023:     old_Rows = Rows;
  shell_resized_check():
  3052:     int        old_Rows = Rows;
  3057:     if (old_Rows != Rows || old_Columns != Columns)
  set_shellsize():
  3100:     Rows = height;
  scroll_region_reset():
  3509:     OUT_STR(tgoto((char *)T_CS, (int)Rows - 1, 0));
ui.c (2 uses)
  ui_get_shellsize():
  312:     set_number_default("lines", Rows);
  jump_to_mouse():
  2457:     if (row >= 0 && row < Rows && col >= 0 && col <= Columns
version.c (2 uses)
  intro_message():
  1753:     blanklines = (int)Rows - ((sizeof(lines) / sizeof(char *)) - 1);
  1764:     blanklines -= Rows - topframe->fr_height;
window.c (18 uses)
  win_split_ins():
  1100:     msg_row = Rows - 1;
  1104:     msg_row = Rows - 1;
  win_alloc_firstwin():
  3231:     topframe->fr_height = Rows - p_ch;
  win_init_size():
  3244:     firstwin->w_height = ROWS_AVAIL;
  3245:     topframe->fr_height = ROWS_AVAIL;
  leave_tabpage():
  3519:     tp->tp_old_Rows = Rows;
  enter_tabpage():
  3569:     if (curtab->tp_old_Rows != Rows || (old_off != firstwin->w_winrow
  win_alloc_lines():
  4406:     wp->w_lines = (wline_T *)alloc_clear((unsigned)(Rows * sizeof(wline_T)));
  shell_new_rows():
  4430:     int        h = (int)ROWS_AVAIL;
  frame_setheight():
  4705:     if (height > ROWS_AVAIL)
  4706:         height = ROWS_AVAIL;
  4756:         room_cmdline = Rows - p_ch - (lastwin->w_winrow
  frame_setwidth():
  4959:         if (run == 2 || curfrp->fr_height >= ROWS_AVAIL)
  win_drag_status_line():
  5141:     room = Rows - cmdline_row;
  5195:     p_ch = Rows - cmdline_row;
  command_height():
  5516:     cmdline_row = Rows - p_ch;
  5527:             cmdline_row = Rows - p_ch;
  5543:         screen_fill((int)(cmdline_row), (int)Rows, 0,
enc_utf8 (210 uses in 23 translation units) defined in translation unit main.c, declared in ./globals.h:768
charset.c (17 uses)
  buf_init_chartab():
  104:         if (enc_utf8 && c >= 0xa0)
  123:             || (enc_utf8 && c >= 0xa0))
  str_foldcase():
  448:     if (enc_utf8 || (has_mbyte && MB_BYTE2LEN(STR_CHAR(i)) > 1))
  450:         if (enc_utf8)
  transchar_byte():
  568:     if (enc_utf8 && c >= 0x80)
  transchar_nonprint():
  615:     else if (enc_utf8 && c >= 0x80)
  byte2cells():
  699:     if (enc_utf8 && b >= 0x80)
  char2cells():
  720:     if (enc_utf8)
  ptr2cells():
  745:     if (enc_utf8 && *p >= 0x80)
  vim_iswordc():
  888:     if (enc_utf8)
  vim_isprintc():
  961:     if (enc_utf8 && c >= 0x100)
  vim_isprintc_strict():
  978:     if (enc_utf8 && c >= 0x100)
  getvcol():
  1285:             if (enc_utf8 && c >= 0x80)
  vim_islower():
  1579:     if (enc_utf8)
  vim_isupper():
  1604:     if (enc_utf8)
  vim_toupper():
  1629:     if (enc_utf8)
  vim_tolower():
  1654:     if (enc_utf8)
diff.c (1 use)
  diff_cmp():
  1577:             && (!enc_utf8
digraph.c (2 uses)
  getexactdigraph():
  2167:     if (retval != 0 && !enc_utf8)
  printdigraph():
  2368:         if (enc_utf8 && utf_iscomposing(dp->result))
edit.c (11 uses)
  internal_format():
  5793:         if (WHITECHAR(cc))
  5799:         while (curwin->w_cursor.col > 0 && WHITECHAR(cc))
  5804:         if (curwin->w_cursor.col == 0 && WHITECHAR(cc))
  5821:             if (WHITECHAR(cc))
  5878:     while (cc = gchar_cursor(), WHITECHAR(cc))
  auto_format():
  6023:     if (!WHITECHAR(cc) && curwin->w_cursor.col > 0
  6027:     if (WHITECHAR(cc))
  check_auto_format():
  6113:     if (!WHITECHAR(cc))
  mb_replace_pop_ins():
  7075:     if (enc_utf8)
  ins_bs():
  8563:         if (enc_utf8 && p_deco)
  8573:         if (enc_utf8 && p_deco && cpc[0] != NUL)
eval.c (1 use)
  f_tolower():
  16319:         if (enc_utf8)
ex_cmds.c (5 uses)
  do_ascii():
  59:     if (enc_utf8)
  98:     if (enc_utf8)
  107:     while (has_mbyte && (c >= 0x100 || (enc_utf8 && c >= 0x80)))
  114:     if (enc_utf8 && utf_iscomposing(c)
  126:     if (enc_utf8)
ex_getln.c (2 uses)
  getcmdline():
  1592:         if (enc_utf8 && utf_iscomposing(c) && !cmd_silent)
  put_on_cmdline():
  2752:     if (enc_utf8)
fileio.c (12 uses)
  readfile():
  837:     c = enc_utf8;
  864:         if (!enc_utf8)
  1023:     else if (enc_utf8 || STRCMP(p_enc, "latin1") == 0)
  1051:                   enc_utf8 ? (char_u *)"utf-8" : p_enc, fenc);
  1379:                 && (*fenc == 'u' || (*fenc == NUL && enc_utf8)))))
  1861:             if (enc_utf8)    /* produce UTF-8 */
  1898:         else if (enc_utf8 && !curbuf->b_p_bin)
  readfile_charconvert():
  2677:     if (eval_charconvert(fenc, enc_utf8 ? (char_u *)"utf-8" : p_enc,
  buf_write():
  3939:     if (converted && (enc_utf8 || STRCMP(p_enc, "latin1") == 0))
  3988:                     enc_utf8 ? (char_u *)"utf-8" : p_enc);
  4420:         if (eval_charconvert(enc_utf8 ? (char_u *)"utf-8" : p_enc, fenc,
  get_mac_fio_flags():
  5520:     if ((enc_utf8 || STRCMP(p_enc, "latin1") == 0)
gui.c (6 uses)
  gui_screenchar():
  1863:     if (enc_utf8 && ScreenLines[off] == 0)
  1866:     if (enc_utf8 && ScreenLinesUC[off] != 0)
  gui_outstr_nowrap():
  2191:     if (enc_utf8)
  gui_redraw_block():
  2463:     else if (enc_utf8)
  2493:         if (enc_utf8 && ScreenLinesUC[off] != 0)
  2530:             if (enc_utf8 && ScreenLinesUC[off + idx] != 0)
mbyte.c (19 uses)
  mb_init():
  538:     enc_utf8 = FALSE;
  558:         enc_utf8 = TRUE;
  575:         enc_utf8 = FALSE;
  589:     enc_utf8 = FALSE;
  592:     has_mbyte = (enc_dbcs != 0 || enc_utf8);
  600:     enc_latin1like = (enc_utf8 || STRCMP(p_enc, "latin1") == 0
  606:     if (enc_utf8)
  663:     if (enc_utf8)
  745:     if (enc_utf8 && !option_was_set((char_u *)"fencs"))
  753:                       enc_utf8 ? "utf-8" : (char *)p_enc);
  bomb_size():
  793:         if (enc_utf8)
  mb_get_class():
  833:     if (enc_utf8)
  mb_cptr2char_adv():
  1448:     if (enc_utf8)
  mb_strnicmp():
  2302:     if (enc_utf8)
  mb_off_next():
  2563:     if (enc_utf8)
  mb_tail_off():
  2603:     if (enc_utf8)
  utf_find_illegal():
  2639:     if (enc_utf8 && (enc_canon_props(curbuf->b_p_fenc) & ENC_8BIT))
  mb_fix_col():
  2942:         || (enc_utf8 && ScreenLines[LineOffset[row] + col] == 0)))
  iconv_string():
  3308:         if (enc_utf8)
message.c (7 uses)
  msg_strtrunc():
  216:         if (enc_utf8)
  trunc_string():
  292:     else if (enc_utf8)
  msg_outtrans_len_attr():
  1325:     if (enc_utf8 && utf_iscomposing(utf_ptr2char(msgstr)))
  1336:     if (enc_utf8)
  msg_puts_display():
  1904:             if (enc_utf8 && maxlen >= 0)
  2007:         if (enc_utf8 && maxlen >= 0)
  t_puts():
  2310:     if (enc_utf8 && utf_iscomposing(utf_ptr2char(t_s)))
misc1.c (3 uses)
  open_line():
  1284:             && (!enc_utf8
  ins_bytes_len():
  1886:         if (enc_utf8)
  del_bytes():
  2222:     if (p_deco && use_delcombine && enc_utf8
misc2.c (2 uses)
  strup_save():
  1425:         if (enc_utf8)
  vim_strchr():
  1748:     if (enc_utf8 && c >= 0x80)
normal.c (1 use)
  normal_cmd():
  1075:         while (enc_utf8 && lang && (c = vpeekc()) > 0
ops.c (1 use)
  swapchar():
  2397:     if (enc_utf8 && (c >= 0x80 || nc >= 0x80))
option.c (1 use)
  set_init_1():
  3327:             || enc_utf8
os_mac_conv.c (3 uses)
  macroman2enc():
  198:         (enc_utf8) ? kCFStringEncodingUTF8 : kCFStringEncodingISOLatin1,
  enc2macroman():
  236:         (enc_utf8) ? kCFStringEncodingUTF8 : kCFStringEncodingISOLatin1,
  242:         (enc_utf8) ? kCFStringEncodingUTF8 : kCFStringEncodingISOLatin1,
os_unix.c (1 use)
  mch_call_shell():
  4339:                 l = mb_cptr2len(p);
regexp.c (20 uses)
  reg_equi_class():
  742:     if (enc_utf8 || STRCMP(p_enc, "latin1") == 0
  regatom():
  1661:     if (enc_utf8 && c == Magic('.') && utf_iscomposing(peekchr()))
  2268:                 if (enc_utf8 && utf_char2len(startc) != len)
  2333:             if (enc_utf8)
  use_multibytecode():
  2377:                  || (enc_utf8 && utf_iscomposing(c)));
  skipchr():
  2764:     if (enc_utf8)
  vim_regexec_both():
  3466:     else if (!ireg_ic || (!enc_utf8 && mb_char2len(c) > 1))
  3503:             (enc_utf8 && utf_fold(prog->regstart) == utf_fold(c)))
  regmatch():
  4259:                 !enc_utf8 &&
  4270:                 && !(enc_utf8 && ireg_ic)
  4282:             else if (enc_utf8
  4324:         if (enc_utf8)
  4326:         if (enc_utf8 && utf_iscomposing(opndc))
  regrepeat():
  5677:         if (ireg_ic && enc_utf8)
  5684:             if (i < len && (!ireg_ic || !enc_utf8
  cstrncmp():
  6572:     if (result != 0 && enc_utf8 && ireg_icombine)
  cstrchr():
  6624:         || (!enc_utf8 && mb_char2len(c) > 1)
  6633:     if (enc_utf8 && c > 0x80)
  6649:         if (enc_utf8 && c > 0x80)
  vim_regsub_both():
  7165:                 if (enc_utf8)
screen.c (42 uses)
  fold_line():
  2128:     if (enc_utf8)
  2268:         if (enc_utf8)
  2371:     if (enc_utf8)
  copy_text_attr():
  2479:     if (enc_utf8)
  win_line():
  3581:         if (enc_utf8 && (*mb_char2len)(c) > 1)
  3598:             if (enc_utf8)
  3665:         if (enc_utf8)
  3868:         if (enc_utf8 && (*mb_char2len)(c) > 1)
  4044:             if (enc_utf8 && (*mb_char2len)(c) > 1)
  4083:             if (enc_utf8 && (*mb_char2len)(c) > 1)
  4158:             if (enc_utf8 && (*mb_char2len)(c) > 1)
  4300:         if (enc_utf8 && (*mb_char2len)(c) > 1)
  4394:             if (enc_utf8)
  4482:             if (enc_utf8)
  4537:         if (enc_utf8 && (*mb_char2len)(c) > 1)
  4584:         else if (enc_utf8)
  4618:         if (enc_utf8)
  char_needs_redraw():
  4885:         || (enc_utf8
  screen_line():
  5107:         if (enc_utf8)
  5188:     if (enc_utf8)
  5208:                   && (!enc_utf8 || ScreenLinesUC[off_to] == 0)
  5232:             if (enc_utf8)
  5280:             || (enc_utf8 && (int)ScreenLinesUC[off_to]
  5288:         if (enc_utf8)
  screen_getbytes():
  6175:     if (enc_utf8 && ScreenLinesUC[off] != 0)
  screen_puts_len():
  6278:         if (enc_utf8 && len > 0)
  6336:         || (enc_utf8
  6412:         if (enc_utf8)
  screen_char():
  6932:     if (enc_utf8 && ScreenLinesUC[off] != 0)
  screen_fill():
  7146:         if (enc_utf8)
  7167:             if (enc_utf8)
  7183:             || (enc_utf8 && (int)ScreenLinesUC[off]
  7219:         if (enc_utf8)
  screenalloc():
  7336:         && enc_utf8 == (ScreenLinesUC != NULL)
  7383:     if (enc_utf8)
  7422:         || (enc_utf8 && (new_ScreenLinesUC == NULL || i != p_mco))
  7486:         if (enc_utf8)
  7511:             if (!(enc_utf8 && ScreenLinesUC == NULL)
  7518:             if (enc_utf8 && ScreenLinesUC != NULL
  lineclear():
  7703:     if (enc_utf8)
  linecopy():
  7738:     if (enc_utf8)
  windgoto():
  7937:         if (enc_utf8)
search.c (3 uses)
  ignorecase():
  373:         if (enc_utf8 && utf_isupper(utf_ptr2char(p)))
  do_search():
  1193:         if (enc_utf8 && utf_iscomposing(utf_ptr2char(p)))
  cls():
  2795:     if (enc_utf8)
spell.c (44 uses)
  spell_check():
  1069:         if (!SPELL_ISUPPER(c))
  can_compound():
  1753:     if (enc_utf8)
  read_compound():
  3512:     if (enc_utf8)
  3587:         if (enc_utf8)
  set_sofo():
  3774:         mb_cptr_adv(s);
  captype():
  4510:     firstcap = allcap = SPELL_ISUPPER(c);
  4520:         if (!SPELL_ISUPPER(c))
  badword_captype():
  4564:         if (SPELL_ISUPPER(c))
  spell_read_aff():
  5658:                 c_up = SPELL_TOUPPER(c);
  5916:         && !enc_utf8
  init_spell_chartab():
  9568:     else if (enc_utf8)
  spell_iswordp_w():
  9856:     if (enc_utf8)
  spell_casefold():
  9943:         outi += mb_char2bytes(SPELL_TOFOLD(c), buf + outi);
  spell_find_suggest():
  10526:     if (!SPELL_ISUPPER(c) && attr == HLF_COUNT)
  onecap_copy():
  11019:     c = SPELL_TOUPPER(c);
  11021:     c = SPELL_TOFOLD(c);
  allcap_copy():
  11069:         c = SPELL_TOUPPER(c);
  suggest_trie_walk():
  11944:                 if (enc_utf8
  11973:                 if (enc_utf8 && utf_iscomposing(c))
  12060:             if (enc_utf8 && utf_iscomposing(c))
  12200:         n = mb_cptr2len(p);
  12292:         n = mb_cptr2len(p);
  12294:         fl = mb_cptr2len(p + n);
  12404:             n = mb_cptr2len(p);
  12406:             fl = mb_cptr2len(p + n);
  12407:             fl += mb_cptr2len(p + n + fl);
  12465:             n = mb_cptr2len(p);
  12466:             n += mb_cptr2len(p + n);
  12468:             tl = mb_cptr2len(p + n);
  find_keepcap_word():
  12757:         flen = mb_cptr2len(fword + fwordidx[depth]);
  12758:         ulen = mb_cptr2len(uword + uwordidx[depth]);
  add_sound_suggest():
  13333:         if (SPELL_ISUPPER(gc))
  13336:             if (!SPELL_ISUPPER(bc)
  13337:                       && SPELL_TOFOLD(bc) != SPELL_TOFOLD(gc))
  13337:                       && SPELL_TOFOLD(bc) != SPELL_TOFOLD(gc))
  spell_soundfold_sofo():
  14009:         if (enc_utf8 ? utf_class(c) == 0 : vim_iswhite(c))
  spell_soundfold_wsal():
  14383:         if (enc_utf8 ? utf_class(c) == 0 : vim_iswhite(c))
  spell_edit_score():
  14954:         if (SPELL_TOFOLD(bc) == SPELL_TOFOLD(gc))
  14954:         if (SPELL_TOFOLD(bc) == SPELL_TOFOLD(gc))
  spell_edit_score_limit():
  15152:         if (SPELL_TOFOLD(bc) == SPELL_TOFOLD(gc))
  15152:         if (SPELL_TOFOLD(bc) == SPELL_TOFOLD(gc))
  spell_edit_score_limit_w():
  15342:         if (SPELL_TOFOLD(bc) == SPELL_TOFOLD(gc))
  15342:         if (SPELL_TOFOLD(bc) == SPELL_TOFOLD(gc))
  dump_prefixes():
  15775:     if (SPELL_TOUPPER(c) != c)
ui.c (6 uses)
  clip_copy_modeless_selection():
  1172:     else if (enc_utf8 && p[col1] == 0)
  1181:     else if (enc_utf8)
  1242:         else if (enc_utf8)
  clip_get_word_boundaries():
  1336:     else if (enc_utf8 && p[col] == 0)
  1351:         && !(enc_utf8 && p[temp_col - 1] == 0)
  1366:         && !(enc_utf8 && p[temp_col] == 0)
highlight_ga (206 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:64
syntax.c (206 uses)
  syn_cmd_list():
  3634:     for (id = 1; id <= highlight_ga.ga_len && !got_int; ++id)
  syn_list_one():
  3804:         msg_outtrans(HL_TABLE()[SYN_ITEMS(curbuf)
  3813:     if (HL_TABLE()[id - 1].sg_link && (did_header || link_only) && !got_int)
  3818:     msg_outtrans(HL_TABLE()[HL_TABLE()[id - 1].sg_link - 1].sg_name);
  3818:     msg_outtrans(HL_TABLE()[HL_TABLE()[id - 1].sg_link - 1].sg_name);
  put_id_list():
  3904:         msg_outtrans(HL_TABLE()[*p - 1].sg_name);
  put_pattern():
  3933:         msg_outtrans(HL_TABLE()[last_matchgroup - 1].sg_name);
  get_id_list():
  5707:             for (i = highlight_ga.ga_len; --i >= 0; )
  5709:             if (vim_regexec(&regmatch, HL_TABLE()[i].sg_name,
  do_highlight():
  6545:     for (i = 1; i <= highlight_ga.ga_len && !got_int; ++i)
  6624:     if (from_id > 0 && (!init || HL_TABLE()[from_id - 1].sg_set == 0))
  6639:             HL_TABLE()[from_id - 1].sg_set |= SG_LINK;
  6640:         HL_TABLE()[from_id - 1].sg_link = to_id;
  6642:         HL_TABLE()[from_id - 1].sg_scriptID = current_SID;
  6714:         for (idx = 0; idx < highlight_ga.ga_len; ++idx)
  6741:     if (STRCMP(HL_TABLE()[idx].sg_name_u, "NORMAL") == 0)
  6757:         HL_TABLE()[idx].sg_set = 0;
  6788:         if (!init || HL_TABLE()[idx].sg_set == 0)
  6791:             HL_TABLE()[idx].sg_set |= SG_TERM+SG_CTERM+SG_GUI;
  6878:         if (!init || !(HL_TABLE()[idx].sg_set & SG_TERM))
  6881:             HL_TABLE()[idx].sg_set |= SG_TERM;
  6882:             HL_TABLE()[idx].sg_term = attr;
  6887:         if (!init || !(HL_TABLE()[idx].sg_set & SG_CTERM))
  6890:             HL_TABLE()[idx].sg_set |= SG_CTERM;
  6891:             HL_TABLE()[idx].sg_cterm = attr;
  6892:             HL_TABLE()[idx].sg_cterm_bold = FALSE;
  6898:         if (!init || !(HL_TABLE()[idx].sg_set & SG_GUI))
  6901:             HL_TABLE()[idx].sg_set |= SG_GUI;
  6902:             HL_TABLE()[idx].sg_gui = attr;
  6914:         vim_free(HL_TABLE()[idx].sg_font_name);
  6915:         HL_TABLE()[idx].sg_font_name = vim_strsave(arg);
  6919:         GuiFont temp_sg_font = HL_TABLE()[idx].sg_font;
  6929:         HL_TABLE()[idx].sg_font = NOFONT;
  6949:         if (HL_TABLE()[idx].sg_font != NOFONT)
  6955:             vim_free(HL_TABLE()[idx].sg_font_name);
  6956:             HL_TABLE()[idx].sg_font_name = vim_strsave(arg);
  6959:             HL_TABLE()[idx].sg_font = temp_sg_font;
  6965:       if (!init || !(HL_TABLE()[idx].sg_set & SG_CTERM))
  6968:         HL_TABLE()[idx].sg_set |= SG_CTERM;
  6972:         if (key[5] == 'F' && HL_TABLE()[idx].sg_cterm_bold)
  6974:         HL_TABLE()[idx].sg_cterm &= ~HL_BOLD;
  6975:         HL_TABLE()[idx].sg_cterm_bold = FALSE;
  7081:                 HL_TABLE()[idx].sg_cterm |= HL_BOLD;
  7082:                 HL_TABLE()[idx].sg_cterm_bold = TRUE;
  7085:                 HL_TABLE()[idx].sg_cterm &= ~HL_BOLD;
  7120:         HL_TABLE()[idx].sg_cterm_fg = color + 1;
  7124:             cterm_normal_fg_bold = (HL_TABLE()[idx].sg_cterm & HL_BOLD);
  7138:         HL_TABLE()[idx].sg_cterm_bg = color + 1;
  7166:         if (!init || !(HL_TABLE()[idx].sg_set & SG_GUI))
  7169:             HL_TABLE()[idx].sg_set |= SG_GUI;
  7174:             HL_TABLE()[idx].sg_gui_fg = i;
  7175:             vim_free(HL_TABLE()[idx].sg_gui_fg_name);
  7177:             HL_TABLE()[idx].sg_gui_fg_name = vim_strsave(arg);
  7179:             HL_TABLE()[idx].sg_gui_fg_name = NULL;
  7198:         if (!init || !(HL_TABLE()[idx].sg_set & SG_GUI))
  7201:             HL_TABLE()[idx].sg_set |= SG_GUI;
  7206:             HL_TABLE()[idx].sg_gui_bg = i;
  7207:             vim_free(HL_TABLE()[idx].sg_gui_bg_name);
  7209:             HL_TABLE()[idx].sg_gui_bg_name = vim_strsave(arg);
  7211:             HL_TABLE()[idx].sg_gui_bg_name = NULL;
  7230:         if (!init || !(HL_TABLE()[idx].sg_set & SG_GUI))
  7233:             HL_TABLE()[idx].sg_set |= SG_GUI;
  7238:             HL_TABLE()[idx].sg_gui_sp = i;
  7239:             vim_free(HL_TABLE()[idx].sg_gui_sp_name);
  7241:             HL_TABLE()[idx].sg_gui_sp_name = vim_strsave(arg);
  7243:             HL_TABLE()[idx].sg_gui_sp_name = NULL;
  7254:         HL_TABLE()[idx].sg_set |= SG_TERM;
  7321:         vim_free(HL_TABLE()[idx].sg_start);
  7322:         HL_TABLE()[idx].sg_start = p;
  7326:         vim_free(HL_TABLE()[idx].sg_stop);
  7327:         HL_TABLE()[idx].sg_stop = p;
  7340:     if (!init || !(HL_TABLE()[idx].sg_set & SG_LINK))
  7341:         HL_TABLE()[idx].sg_link = 0;
  7352:     if (error && idx == highlight_ga.ga_len)
  7358:         HL_TABLE()[idx].sg_term_attr = 0;
  7359:         HL_TABLE()[idx].sg_cterm_attr = 0;
  7361:         HL_TABLE()[idx].sg_gui_attr = 0;
  7394:     HL_TABLE()[idx].sg_scriptID = current_SID;
  hl_has_settings():
  7449:     return (   HL_TABLE()[idx].sg_term_attr != 0
  7450:         || HL_TABLE()[idx].sg_cterm_attr != 0
  7452:         || HL_TABLE()[idx].sg_gui_attr != 0
  7454:         || (check_link && (HL_TABLE()[idx].sg_set & SG_LINK)));
  highlight_clear():
  7464:     HL_TABLE()[idx].sg_term = 0;
  7465:     vim_free(HL_TABLE()[idx].sg_start);
  7466:     HL_TABLE()[idx].sg_start = NULL;
  7467:     vim_free(HL_TABLE()[idx].sg_stop);
  7468:     HL_TABLE()[idx].sg_stop = NULL;
  7469:     HL_TABLE()[idx].sg_term_attr = 0;
  7470:     HL_TABLE()[idx].sg_cterm = 0;
  7471:     HL_TABLE()[idx].sg_cterm_bold = FALSE;
  7472:     HL_TABLE()[idx].sg_cterm_fg = 0;
  7473:     HL_TABLE()[idx].sg_cterm_bg = 0;
  7474:     HL_TABLE()[idx].sg_cterm_attr = 0;
  7476:     HL_TABLE()[idx].sg_gui = 0;
  7477:     HL_TABLE()[idx].sg_gui_fg = INVALCOLOR;
  7478:     vim_free(HL_TABLE()[idx].sg_gui_fg_name);
  7479:     HL_TABLE()[idx].sg_gui_fg_name = NULL;
  7480:     HL_TABLE()[idx].sg_gui_bg = INVALCOLOR;
  7481:     vim_free(HL_TABLE()[idx].sg_gui_bg_name);
  7482:     HL_TABLE()[idx].sg_gui_bg_name = NULL;
  7483:     HL_TABLE()[idx].sg_gui_sp = INVALCOLOR;
  7484:     vim_free(HL_TABLE()[idx].sg_gui_sp_name);
  7485:     HL_TABLE()[idx].sg_gui_sp_name = NULL;
  7486:     gui_mch_free_font(HL_TABLE()[idx].sg_font);
  7487:     HL_TABLE()[idx].sg_font = NOFONT;
  7492:     vim_free(HL_TABLE()[idx].sg_font_name);
  7493:     HL_TABLE()[idx].sg_font_name = NULL;
  7494:     HL_TABLE()[idx].sg_gui_attr = 0;
  7499:     if (HL_TABLE()[idx].sg_link == 0)
  7500:     HL_TABLE()[idx].sg_scriptID = 0;
  set_group_colors():
  7570:     if (HL_TABLE()[idx].sg_gui_fg != INVALCOLOR)
  7571:         *fgp = HL_TABLE()[idx].sg_gui_fg;
  7574:     if (HL_TABLE()[idx].sg_gui_bg != INVALCOLOR)
  7575:         *bgp = HL_TABLE()[idx].sg_gui_bg;
  hl_get_font_name():
  7596:     s = HL_TABLE()[id - 1].sg_font_name;
  hl_set_font_name():
  7616:     vim_free(HL_TABLE()[id - 1].sg_font_name);
  7617:     HL_TABLE()[id - 1].sg_font_name = vim_strsave(font_name);
  hl_set_bg_color_name():
  7636:         vim_free(HL_TABLE()[id - 1].sg_gui_bg_name);
  7637:         HL_TABLE()[id - 1].sg_gui_bg_name = name;
  hl_set_fg_color_name():
  7657:         vim_free(HL_TABLE()[id - 1].sg_gui_fg_name);
  7658:         HL_TABLE()[id - 1].sg_gui_fg_name = name;
  hl_do_font():
  7780:     HL_TABLE()[idx].sg_font = font_name2handle(arg);
  7783:     if (HL_TABLE()[idx].sg_font != NOFONT)
  get_attr_entry():
  7903:     for (i = 0; i < highlight_ga.ga_len; ++i)
  highlight_list_one():
  8168:     sgp = &HL_TABLE()[id - 1];        /* index is ID minus one */
  8203:     msg_outtrans(HL_TABLE()[HL_TABLE()[id - 1].sg_link - 1].sg_name);
  8203:     msg_outtrans(HL_TABLE()[HL_TABLE()[id - 1].sg_link - 1].sg_name);
  highlight_has_attr():
  8280:     if (id <= 0 || id > highlight_ga.ga_len)
  8285:     attr = HL_TABLE()[id - 1].sg_gui;
  8289:     attr = HL_TABLE()[id - 1].sg_cterm;
  8291:     attr = HL_TABLE()[id - 1].sg_term;
  highlight_color():
  8316:     if (id <= 0 || id > highlight_ga.ga_len)
  8334:         color = HL_TABLE()[id - 1].sg_gui_fg;
  8336:         color = HL_TABLE()[id - 1].sg_gui_sp;
  8338:         color = HL_TABLE()[id - 1].sg_gui_bg;
  8349:         return (HL_TABLE()[id - 1].sg_gui_fg_name);
  8351:         return (HL_TABLE()[id - 1].sg_gui_sp_name);
  8352:     return (HL_TABLE()[id - 1].sg_gui_bg_name);
  8358:         n = HL_TABLE()[id - 1].sg_cterm_fg - 1;
  8360:         n = HL_TABLE()[id - 1].sg_cterm_bg - 1;
  highlight_gui_color_rgb():
  8381:     if (id <= 0 || id > highlight_ga.ga_len)
  8385:     color = HL_TABLE()[id - 1].sg_gui_fg;
  8387:     color = HL_TABLE()[id - 1].sg_gui_bg;
  syn_list_header():
  8414:     msg_outtrans(HL_TABLE()[id - 1].sg_name);
  set_hl_attr():
  8455:     struct hl_group    *sgp = HL_TABLE() + idx;
  syn_name2id():
  8535:     for (i = highlight_ga.ga_len; --i >= 0; )
  8536:     if (HL_TABLE()[i].sg_name_u != NULL
  8537:         && STRCMP(name_u, HL_TABLE()[i].sg_name_u) == 0)
  syn_id2name():
  8562:     if (id <= 0 || id > highlight_ga.ga_len)
  8564:     return HL_TABLE()[id - 1].sg_name;
  syn_add_group():
  8647:     if (highlight_ga.ga_data == NULL)
  8649:     highlight_ga.ga_itemsize = sizeof(struct hl_group);
  8650:     highlight_ga.ga_growsize = 10;
  8656:     if (ga_grow(&highlight_ga, 1) == FAIL)
  8662:     vim_memset(&(HL_TABLE()[highlight_ga.ga_len]), 0, sizeof(struct hl_group));
  8662:     vim_memset(&(HL_TABLE()[highlight_ga.ga_len]), 0, sizeof(struct hl_group));
  8663:     HL_TABLE()[highlight_ga.ga_len].sg_name = name;
  8663:     HL_TABLE()[highlight_ga.ga_len].sg_name = name;
  8664:     HL_TABLE()[highlight_ga.ga_len].sg_name_u = vim_strsave_up(name);
  8664:     HL_TABLE()[highlight_ga.ga_len].sg_name_u = vim_strsave_up(name);
  8666:     HL_TABLE()[highlight_ga.ga_len].sg_gui_bg = INVALCOLOR;
  8666:     HL_TABLE()[highlight_ga.ga_len].sg_gui_bg = INVALCOLOR;
  8667:     HL_TABLE()[highlight_ga.ga_len].sg_gui_fg = INVALCOLOR;
  8667:     HL_TABLE()[highlight_ga.ga_len].sg_gui_fg = INVALCOLOR;
  8668:     HL_TABLE()[highlight_ga.ga_len].sg_gui_sp = INVALCOLOR;
  8668:     HL_TABLE()[highlight_ga.ga_len].sg_gui_sp = INVALCOLOR;
  8670:     ++highlight_ga.ga_len;
  8672:     return highlight_ga.ga_len;            /* ID is index plus one */
  syn_unadd_group():
  8682:     --highlight_ga.ga_len;
  8683:     vim_free(HL_TABLE()[highlight_ga.ga_len].sg_name);
  8683:     vim_free(HL_TABLE()[highlight_ga.ga_len].sg_name);
  8684:     vim_free(HL_TABLE()[highlight_ga.ga_len].sg_name_u);
  8684:     vim_free(HL_TABLE()[highlight_ga.ga_len].sg_name_u);
  syn_id2attr():
  8698:     sgp = &HL_TABLE()[hl_id - 1];        /* index is ID minus one */
  syn_id2colors():
  8730:     sgp = &HL_TABLE()[hl_id - 1];        /* index is ID minus one */
  syn_get_final_id():
  8748:     if (hl_id > highlight_ga.ga_len || hl_id < 1)
  8757:     sgp = &HL_TABLE()[hl_id - 1];        /* index is ID minus one */
  8758:     if (sgp->sg_link == 0 || sgp->sg_link > highlight_ga.ga_len)
  highlight_gui_started():
  8779:     for (idx = 0; idx < highlight_ga.ga_len; ++idx)
  gui_do_one_color():
  8793:     if (HL_TABLE()[idx].sg_font_name != NULL)
  8795:     hl_do_font(idx, HL_TABLE()[idx].sg_font_name, FALSE, do_menu,
  8799:     if (HL_TABLE()[idx].sg_gui_fg_name != NULL)
  8801:     HL_TABLE()[idx].sg_gui_fg =
  8802:                 color_name2handle(HL_TABLE()[idx].sg_gui_fg_name);
  8805:     if (HL_TABLE()[idx].sg_gui_bg_name != NULL)
  8807:     HL_TABLE()[idx].sg_gui_bg =
  8808:                 color_name2handle(HL_TABLE()[idx].sg_gui_bg_name);
  8811:     if (HL_TABLE()[idx].sg_gui_sp_name != NULL)
  8813:     HL_TABLE()[idx].sg_gui_sp =
  8814:                 color_name2handle(HL_TABLE()[idx].sg_gui_sp_name);
  highlight_changed():
  8944:     if (ga_grow(&highlight_ga, 10) == FAIL)
  8946:     hlcnt = highlight_ga.ga_len;
  8949:     memset(&HL_TABLE()[hlcnt + 9], 0, sizeof(struct hl_group));
  8950:     HL_TABLE()[hlcnt + 9].sg_term = highlight_attr[HLF_S];
  8968:         struct hl_group *hlt = HL_TABLE();
  9017:         highlight_ga.ga_len = hlcnt + i + 1;
  9024:     highlight_ga.ga_len = hlcnt;
  get_highlight_name():
  9129:     if (idx == highlight_ga.ga_len && include_none != 0)
  9131:     if (idx == highlight_ga.ga_len + include_none && include_default != 0)
  9133:     if (idx == highlight_ga.ga_len + include_none + include_default
  9136:     if (idx == highlight_ga.ga_len + include_none + include_default + 1
  9140:     if (idx < 0 || idx >= highlight_ga.ga_len)
  9142:     return HL_TABLE()[idx].sg_name;
  free_highlight_fonts():
  9156:     for (idx = 0; idx < highlight_ga.ga_len; ++idx)
  9158:     gui_mch_free_font(HL_TABLE()[idx].sg_font);
  9159:     HL_TABLE()[idx].sg_font = NOFONT;
curtab (183 uses in 17 translation units) defined in translation unit main.c, declared in ./globals.h:549
buffer.c (7 uses)
  buf_freeall():
  569:     FOR_ALL_TAB_WINDOWS(tp, win)
  do_arg_all():
  4314:     tpnext = curtab->tp_next;
  4341:                 new_curtab = curtab;
  4479:         new_curtab = curtab;
  ex_buffer_all():
  4563:     tpnext = curtab->tp_next;
  write_viminfo_bufferlist():
  4994:     FOR_ALL_TAB_WINDOWS(tp, win)
  buf_spname():
  5043:     FOR_ALL_TAB_WINDOWS(tp, win)
diff.c (60 uses)
  diff_buf_adjust():
  103:         curtab->tp_diffbuf[i] = NULL;
  104:         curtab->tp_diff_invalid = TRUE;
  diff_buf_add():
  130:     if (curtab->tp_diffbuf[i] == NULL)
  132:         curtab->tp_diffbuf[i] = buf;
  133:         curtab->tp_diff_invalid = TRUE;
  diff_buf_idx():
  151:     if (curtab->tp_diffbuf[idx] == buf)
  diff_invalidate():
  190:         if (tp == curtab)
  diff_mark_adjust_tp():
  463:     if (tp == curtab)
  ex_diffupdate():
  666:     diff_clear(curtab);
  667:     curtab->tp_diff_invalid = FALSE;
  671:     if (curtab->tp_diffbuf[idx_orig] != NULL)
  678:     if (curtab->tp_diffbuf[idx_new] != NULL)
  773:     buf = curtab->tp_diffbuf[idx_orig];
  780:     buf = curtab->tp_diffbuf[idx_new];
  diff_read():
  1186:     diff_T    *dp = curtab->tp_first_diff;
  1289:             if (curtab->tp_diffbuf[i] != NULL)
  1319:         if (curtab->tp_diffbuf[i] != NULL)
  1336:         dp = diff_alloc_new(curtab, dprev, dp);
  1349:         if (curtab->tp_diffbuf[i] != NULL)
  diff_check():
  1428:     if (curtab->tp_diff_invalid)
  1431:     if (curtab->tp_first_diff == NULL || !wp->w_p_diff)    /* no diffs at all */
  1449:     for (dp = curtab->tp_first_diff; dp != NULL; dp = dp->df_next)
  1464:         if (i != idx && curtab->tp_diffbuf[i] != NULL)
  1480:         if (i != idx && curtab->tp_diffbuf[i] != NULL && dp->df_count[i] != 0)
  1502:     if (curtab->tp_diffbuf[i] != NULL && dp->df_count[i] > maxcount)
  diff_equal_entry():
  1522:     if (diff_check_sanity(curtab, dp) == FAIL)
  1526:     line = vim_strsave(ml_get_buf(curtab->tp_diffbuf[idx1],
  1530:     cmp = diff_cmp(line, ml_get_buf(curtab->tp_diffbuf[idx2],
  diff_set_topline():
  1645:     if (curtab->tp_diff_invalid)
  1651:     for (dp = curtab->tp_first_diff; dp != NULL; dp = dp->df_next)
  1675:         if (curtab->tp_diffbuf[i] != NULL
  diff_find_change():
  1868:     for (dp = curtab->tp_first_diff; dp != NULL; dp = dp->df_next)
  1871:     if (dp == NULL || diff_check_sanity(curtab, dp) == FAIL)
  1880:     if (curtab->tp_diffbuf[i] != NULL && i != idx)
  1886:         line_new = ml_get_buf(curtab->tp_diffbuf[i],
  diff_infold():
  1978:     if (curtab->tp_diffbuf[i] == wp->w_buffer)
  1980:     else if (curtab->tp_diffbuf[i] != NULL)
  1988:     if (curtab->tp_diff_invalid)
  1992:     if (curtab->tp_first_diff == NULL)
  1995:     for (dp = curtab->tp_first_diff; dp != NULL; dp = dp->df_next)
  ex_diffgetput():
  2068:         if (curtab->tp_diffbuf[idx_other] != curbuf
  2069:             && curtab->tp_diffbuf[idx_other] != NULL)
  2072:                      || curtab->tp_diffbuf[idx_other]->b_p_ma)
  2087:         if (curtab->tp_diffbuf[i] != curbuf
  2088:             && curtab->tp_diffbuf[i] != NULL
  2089:             && (eap->cmdidx != CMD_diffput || curtab->tp_diffbuf[i]->b_p_ma))
  2153:     aucmd_prepbuf(&aco, curtab->tp_diffbuf[idx_other]);
  2170:     for (dp = curtab->tp_first_diff; dp != NULL; )
  2242:         if (nr > curtab->tp_diffbuf[idx_from]->b_ml.ml_line_count)
  2244:         p = vim_strsave(ml_get_buf(curtab->tp_diffbuf[idx_from],
  2268:             if (curtab->tp_diffbuf[i] != NULL && i != idx_from
  2278:             curtab->tp_first_diff = dp;
  diff_fold_update():
  2363:         if (curtab->tp_diffbuf[i] == wp->w_buffer && i != skip_idx)
  diff_move_to():
  2398:     if (idx == DB_COUNT || curtab->tp_first_diff == NULL)
  2401:     if (curtab->tp_diff_invalid)
  2404:     if (curtab->tp_first_diff == NULL)        /* no diffs today */
  2410:     if (dir == BACKWARD && lnum <= curtab->tp_first_diff->df_lnum[idx])
  2413:     for (dp = curtab->tp_first_diff; ; dp = dp->df_next)
  diff_lnum_win():
  2462:     if (curtab->tp_diff_invalid)
  2466:     for (dp = curtab->tp_first_diff; dp != NULL; dp = dp->df_next)
edit.c (1 use)
  ins_tabline():
  8771:         || (current_tab != 0 && current_tab != tabpage_index(curtab)))
eval.c (16 uses)
  list_tab_vars():
  2008:     list_hashtable_vars(&curtab->tp_vars.dv_hashtab,
  get_user_var_name():
  3730:     ht = &curtab->tp_vars.dv_hashtab;
  garbage_collect():
  6151:     FOR_ALL_TAB_WINDOWS(tp, wp)
  find_win_by_nr():
  10623:     for (wp = (tp == NULL || tp == curtab) ? firstwin : tp->tp_firstwin;
  getwinvar():
  10664:     tp = curtab;
  setwinvar():
  14976:     tp = curtab;
  14987:     save_curtab = curtab;
  f_tabpagebuflist():
  16057:         wp = (tp == curtab) ? firstwin : tp->tp_firstwin;
  f_tabpagenr():
  16103:     nr = tabpage_index(curtab);
  get_winnr():
  16125:     twin = (tp == curtab) ? curwin : tp->tp_curwin;
  16132:         twin = (tp == curtab) ? lastwin : tp->tp_lastwin;
  16135:         twin = (tp == curtab) ? prevwin : tp->tp_prevwin;
  16147:     for (wp = (tp == curtab) ? firstwin : tp->tp_firstwin;
  f_winnr():
  16633:     nr = get_winnr(curtab, &argvars[0]);
  find_var_in_ht():
  17955:         case 't': return &curtab->tp_winvar;
  find_var_ht():
  18022:     return &curtab->tp_vars.dv_hashtab;
ex_cmds.c (2 uses)
  do_ecmd():
  3606:         FOR_ALL_TAB_WINDOWS(tp, win)
  ex_drop():
  7112:     FOR_ALL_TAB_WINDOWS(tp, wp)
ex_cmds2.c (1 use)
  alist_check_arg_idx():
  1879:     FOR_ALL_TAB_WINDOWS(tp, win)
ex_docmd.c (5 uses)
  do_one_cmd():
  1882:                 cmdmod.tab = tabpage_index(curtab) + 1;
  ex_tabclose():
  6397:         if (tp != curtab)
  ex_tabs():
  7245:     if (tp  == curtab)
  makeopens():
  9894:         if (tp == curtab)
  10022:     if (fprintf(fd, "tabnext %d", tabpage_index(curtab)) < 0
ex_getln.c (1 use)
  getcmdline():
  1367:             gui_mch_set_curtab(tabpage_index(curtab));
gui.c (21 uses)
  gui_init_which_components():
  3254:                     != curtab->tp_prev_which_scrollbars[i]
  3279:         curtab->tp_prev_which_scrollbars[i] = gui.which_scrollbars[i];
  get_tabline_label():
  3448:     curtab->tp_firstwin = firstwin;
  3449:     curtab->tp_lastwin = lastwin;
  3450:     curtab->tp_curwin = curwin;
  3451:     save_curtab = curtab;
  3452:     curtab = tp;
  3453:     topframe = curtab->tp_topframe;
  3454:     firstwin = curtab->tp_firstwin;
  3455:     lastwin = curtab->tp_lastwin;
  3456:     curwin = curtab->tp_curwin;
  3465:     curtab = save_curtab;
  3466:     topframe = curtab->tp_topframe;
  3467:     firstwin = curtab->tp_firstwin;
  3468:     lastwin = curtab->tp_lastwin;
  3469:     curwin = curtab->tp_curwin;
  3483:     get_trans_bufname(tp == curtab ? curbuf : tp->tp_curwin->w_buffer);
  3487:     wp = (tp == curtab) ? firstwin : tp->tp_firstwin;
  send_tabline_event():
  3517:     if (nr == tabpage_index(curtab))
  3528:     gui_mch_set_curtab(tabpage_index(curtab));
  gui_remove_scrollbars():
  3591:     curtab->tp_prev_which_scrollbars[i] = -1;
gui_mac.c (1 use)
  gui_mch_update_tabline():
  6875:     if (tp == curtab)
main.c (3 uses)
  getout():
  1249:     for (wp = (tp == curtab)
  create_windows():
  2434:         if (curtab->tp_next == NULL)
  edit_buffers():
  2552:         if (curtab->tp_next == NULL)    /* just checking */
mark.c (1 use)
  write_viminfo_marks():
  1563:     FOR_ALL_TAB_WINDOWS(tp, win)
normal.c (2 uses)
  do_mouse():
  2503:             tp = curtab;
  2506:         if (tp == curtab)
option.c (1 use)
  set_options_default():
  3485:     FOR_ALL_TAB_WINDOWS(tp, wp)
quickfix.c (4 uses)
  qf_jump():
  1605:         FOR_ALL_TAB_WINDOWS(tp, wp)
  ex_copen():
  2263:     tabpage_T    *prevtab = curtab;
  2342:     if (curtab == prevtab
  qf_find_buf():
  2478:     FOR_ALL_TAB_WINDOWS(tp, win)
screen.c (3 uses)
  screenalloc():
  7376:     FOR_ALL_TAB_WINDOWS(tp, wp)
  7404:     FOR_ALL_TAB_WINDOWS(tp, wp)
  draw_tabline():
  9145:         if (tp == curtab)
window.c (54 uses)
  do_window():
  342:             tabpage_T    *oldtab = curtab;
  351:             newtab = curtab;
  win_split():
  677:     clear_snapshot(curtab);
  close_windows():
  2015:     if (tp != curtab)
  win_close():
  2062:     tabpage_T   *prev_curtab = curtab;
  2099:     clear_snapshot(curtab);
  2145:     if (!win_valid(win) || last_window() || curtab != prev_curtab)
  win_close_othertab():
  2251:     if (ptp == NULL || tp == curtab)
  alt_tabpage():
  2536:     if (curtab->tp_next != NULL)
  2537:     return curtab->tp_next;
  2540:     for (tp = first_tabpage; tp->tp_next != curtab; tp = tp->tp_next)
  win_alloc_first():
  3180:     curtab = first_tabpage;
  win_new_tabpage():
  3309:     tabpage_T    *tp = curtab;
  3323:     curtab = newtp;
  3375:     enter_tabpage(curtab, curbuf);
  leave_tabpage():
  3491:     tabpage_T    *tp = curtab;
  3500:     if (curtab != tp)
  3504:     if (curtab != tp)
  3507:     if (curtab != tp)
  enter_tabpage():
  3539:     curtab = tp;
  3568:     p_ch = curtab->tp_ch_used;
  3569:     if (curtab->tp_old_Rows != Rows || (old_off != firstwin->w_winrow
  3576:     if (curtab->tp_old_Columns != Columns && starting == 0)
  goto_tabpage():
  3629:     if (curtab->tp_next == NULL)
  3632:         tp = curtab->tp_next;
  3638:     ttp = curtab;
  3668:     gui_mch_set_curtab(tabpage_index(curtab));
  goto_tabpage_tp():
  3680:     if (tp != curtab && leave_tabpage(tp->tp_curwin->w_buffer) == OK)
  3685:         enter_tabpage(curtab, curbuf);
  goto_tabpage_win():
  3699:     if (curtab == tp && win_valid(wp))
  3704:         gui_mch_set_curtab(tabpage_index(curtab));
  tabpage_move():
  3723:     if (curtab == first_tabpage)
  3724:     first_tabpage = curtab->tp_next;
  3728:         if (tp->tp_next == curtab)
  3732:     tp->tp_next = curtab->tp_next;
  3738:     curtab->tp_next = first_tabpage;
  3739:     first_tabpage = curtab;
  3745:     curtab->tp_next = tp->tp_next;
  3746:     tp->tp_next = curtab;
  buf_jump_open_tab():
  4116:     if (tp != curtab)
  shell_new_rows():
  4452:     curtab->tp_ch_used = p_ch;
  win_drag_status_line():
  5198:     curtab->tp_ch_used = p_ch;
  command_height():
  5495:     int        old_p_ch = curtab->tp_ch_used;
  5500:     curtab->tp_ch_used = p_ch;
  5526:             curtab->tp_ch_used = p_ch;
  check_lnums():
  6071:     FOR_ALL_TAB_WINDOWS(tp, wp)
  make_snapshot():
  6106:     clear_snapshot(curtab);
  6107:     make_snapshot_rec(topframe, &curtab->tp_snapshot);
  restore_snapshot():
  6165:     if (curtab->tp_snapshot != NULL
  6167:         && curtab->tp_snapshot->fr_width == topframe->fr_width
  6169:         && curtab->tp_snapshot->fr_height == topframe->fr_height
  6170:         && check_snapshot_rec(curtab->tp_snapshot, topframe) == OK)
  6172:     wp = restore_snapshot_rec(curtab->tp_snapshot, topframe);
  6178:     clear_snapshot(curtab);
firstwin (183 uses in 26 translation units) defined in translation unit main.c, declared in ./globals.h:518
buffer.c (15 uses)
  buf_freeall():
  569:     FOR_ALL_TAB_WINDOWS(tp, win)
  do_buffer():
  1112:            && (firstwin != lastwin || first_tabpage->tp_next != NULL))
  do_arg_all():
  4315:     for (wp = firstwin; wp != NULL; wp = wpnext)
  4373:                 wpnext = firstwin;    /* start all over... */
  4380:             if (firstwin == lastwin && first_tabpage->tp_next == NULL)
  4390:                 wpnext = firstwin;    /* start all over... */
  4446:         for (wpnext = firstwin; wpnext != NULL; wpnext = wpnext->w_next)
  ex_buffer_all():
  4564:     for (wp = firstwin; wp != NULL; wp = wpnext)
  4575:             || (had_tab > 0 && wp != firstwin)
  4577:             ) && firstwin != lastwin)
  4581:         wpnext = firstwin;    /* just in case an autocommand does
  4631:         for (wp = firstwin; wp != NULL; wp = wp->w_next)
  4713:     win_enter(firstwin, FALSE);        /* back to first window */
  write_viminfo_bufferlist():
  4994:     FOR_ALL_TAB_WINDOWS(tp, win)
  buf_spname():
  5043:     FOR_ALL_TAB_WINDOWS(tp, win)
diff.c (4 uses)
  diff_buf_adjust():
  95:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  diff_redraw():
  604:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  ex_diffoff():
  1139:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  diff_fold_update():
  2361:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
edit.c (1 use)
  ins_compl_next_buf():
  3688:     while ((wp = (wp->w_next != NULL ? wp->w_next : firstwin)) != curwin
eval.c (8 uses)
  garbage_collect():
  6151:     FOR_ALL_TAB_WINDOWS(tp, wp)
  f_bufwinnr():
  8093:     for (wp = firstwin; wp; wp = wp->w_next)
  f_getchar():
  10039:         for (wp = firstwin; wp != win; wp = wp->w_next)
  find_win_by_nr():
  10623:     for (wp = (tp == NULL || tp == curtab) ? firstwin : tp->tp_firstwin;
  f_tabpagebuflist():
  16052:     wp = firstwin;
  16057:         wp = (tp == curtab) ? firstwin : tp->tp_firstwin;
  get_winnr():
  16147:     for (wp = (tp == curtab) ? firstwin : tp->tp_firstwin;
  f_winrestcmd():
  16654:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
ex_cmds.c (5 uses)
  do_ecmd():
  3606:         FOR_ALL_TAB_WINDOWS(tp, win)
  ex_z():
  4017:     else if (firstwin == lastwin)
  prepare_tagpreview():
  5402:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  ex_help():
  5558:         for (wp = firstwin; wp != NULL; wp = wp->w_next)
  ex_drop():
  7112:     FOR_ALL_TAB_WINDOWS(tp, wp)
ex_cmds2.c (3 uses)
  check_changed_any():
  1583:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  alist_check_arg_idx():
  1879:     FOR_ALL_TAB_WINDOWS(tp, win)
  ex_listdo():
  2312:     wp = firstwin;
ex_docmd.c (9 uses)
  ex_pclose():
  6318:     for (win = firstwin; win != NULL; win = win->w_next)
  tabpage_close():
  6460:     if (lastwin != firstwin)
  6462:     if (lastwin == firstwin)
  ex_tabs():
  7246:         wp = firstwin;
  ex_resize():
  7299:     for (wp = firstwin; wp->w_next != NULL && --n > 0; wp = wp->w_next)
  ex_syncbind():
  7662:     for (wp = firstwin; wp; wp = wp->w_next)
  7684:     for (curwin = firstwin; curwin; curwin = curwin->w_next)
  makeopens():
  9882:     tab_firstwin = firstwin;    /* first window in tab page "tabnr" */
  9896:         tab_firstwin = firstwin;
fileio.c (2 uses)
  buf_reload():
  6729:         FOR_ALL_WINDOWS(wp)
  aucmd_prepbuf():
  8274:     for (win = firstwin; win != NULL; win = win->w_next)
fold.c (2 uses)
  newFoldLevel():
  501:     FOR_ALL_WINDOWS(wp)
  setManualFold():
  1288:     FOR_ALL_WINDOWS(wp)
gui.c (14 uses)
  gui_init():
  500:     FOR_ALL_WINDOWS(wp)
  gui_send_mouse_event():
  2874:                         + firstwin->w_winrow
  gui_init_which_components():
  3263:             FOR_ALL_WINDOWS(wp)
  3355:     if (firstwin->w_winrow != tabline_height())
  get_tabline_label():
  3448:     curtab->tp_firstwin = firstwin;
  3454:     firstwin = curtab->tp_firstwin;
  3467:     firstwin = curtab->tp_firstwin;
  3487:     wp = (tp == curtab) ? firstwin : tp->tp_firstwin;
  gui_remove_scrollbars():
  3586:         FOR_ALL_WINDOWS(wp)
  gui_find_scrollbar():
  3633:     FOR_ALL_WINDOWS(wp)
  gui_drag_scrollbar():
  3759:     for (wp = firstwin; wp != sb->wp && wp != NULL; wp = wp->w_next)
  3856:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  gui_update_scrollbars():
  3923:     for (wp = firstwin; wp != NULL; wp = W_NEXT(wp))
  gui_do_scroll():
  4148:     for (wp = firstwin, i = 0; i < current_scrollbar; wp = W_NEXT(wp), i++)
if_python.c (3 uses)
  WindowRepr():
  2139:     for (w = firstwin; w != NULL && w != this->win; w = W_NEXT(w))
  WinListLength():
  2200:     win_T    *w = firstwin;
  WinListItem():
  2218:     for (w = firstwin; w != NULL; w = W_NEXT(w), --n)
main.c (8 uses)
  main():
  533:     diff_win_options(firstwin, FALSE);
  842:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  getout():
  1250:             ? firstwin : tp->tp_firstwin; wp != NULL; wp = wp->w_next)
  create_windows():
  2386:     else if (firstwin->w_next == NULL)
  2430:             curwin = firstwin;
  2497:         curwin = firstwin;
  edit_buffers():
  2567:     if (curbuf == firstwin->w_buffer || curbuf->b_ffname == NULL)
  2604:     win_enter(firstwin, FALSE);        /* back to first window */
mark.c (6 uses)
  fmarks_check_names():
  566:     FOR_ALL_WINDOWS(wp)
  mark_adjust():
  1064:     FOR_ALL_WINDOWS(win)
  1086:     FOR_ALL_WINDOWS(win)
  mark_col_adjust():
  1247:     FOR_ALL_WINDOWS(win)
  write_viminfo_marks():
  1563:     FOR_ALL_TAB_WINDOWS(tp, win)
  copy_viminfo_marks():
  1763:         FOR_ALL_WINDOWS(wp)
misc1.c (6 uses)
  changed_bytes():
  2554:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  changed_lines():
  2668:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  changed_common():
  2776:             FOR_ALL_WINDOWS(wp)
  2784:         FOR_ALL_WINDOWS(wp)
  2803:     FOR_ALL_WINDOWS(wp)
  check_status():
  2940:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
move.c (2 uses)
  onepage():
  2369:         if (firstwin == lastwin && p_window > 0 && p_window < Rows - 1)
  2419:         if (firstwin == lastwin && p_window > 0 && p_window < Rows - 1)
normal.c (3 uses)
  do_mouse():
  2465:     if (mouse_row == 0 && firstwin->w_winrow > 0)
  check_scrollbind():
  3972:     for (curwin = firstwin; curwin; curwin = curwin->w_next)
  nv_zet():
  5008:         FOR_ALL_WINDOWS(wp)
ops.c (1 use)
  op_format():
  4410:     FOR_ALL_WINDOWS(wp)
option.c (6 uses)
  set_options_default():
  3485:     FOR_ALL_TAB_WINDOWS(tp, wp)
  did_set_string_option():
  6287:         FOR_ALL_WINDOWS(wp)
  set_bool_option():
  7246:         for (win = firstwin; win != NULL; win = win->w_next)
  set_num_option():
  7636:     if (lastwin != firstwin)
  7676:     if (lastwin != firstwin && curwin->w_width < p_wiw)
  comp_col():
  8879:     int last_has_status = (p_ls == 2 || (p_ls == 1 && firstwin != lastwin));
popupmnu.c (7 uses)
  pum_display():
  79:     if (firstwin->w_p_pvw)
  80:     top_clear = firstwin->w_height;
  139:     if (firstwin->w_p_pvw
  140:         && pum_row < firstwin->w_height
  141:         && pum_height > firstwin->w_height + 4)
  143:     pum_row += firstwin->w_height;
  144:     pum_height -= firstwin->w_height;
quickfix.c (9 uses)
  qf_jump():
  1537:         for (wp = firstwin; wp != NULL; wp = wp->w_next)
  1589:     FOR_ALL_WINDOWS(win)
  1605:         FOR_ALL_TAB_WINDOWS(tp, wp)
  1620:     if (((firstwin == lastwin) && bt_quickfix(curbuf)) || !usable_win)
  1648:         FOR_ALL_WINDOWS(win)
  1654:             FOR_ALL_WINDOWS(win)
  qf_find_win():
  2460:     FOR_ALL_WINDOWS(win)
  qf_find_buf():
  2478:     FOR_ALL_TAB_WINDOWS(tp, win)
  ex_helpgrep():
  3787:     FOR_ALL_WINDOWS(wp)
screen.c (19 uses)
  redraw_all_later():
  235:     FOR_ALL_WINDOWS(wp)
  redraw_buf_later():
  258:     FOR_ALL_WINDOWS(wp)
  update_screen():
  374:         FOR_ALL_WINDOWS(wp)
  464:     FOR_ALL_WINDOWS(wp)
  472:         for (wwp = firstwin; wwp != wp; wwp = wwp->w_next)
  496:     FOR_ALL_WINDOWS(wp)
  541:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  561:         && firstwin->w_next == NULL
  win_update():
  1109:             if (win_ins_lines(wp, 0, i, FALSE, wp == firstwin) == OK)
  1185:             if (win_del_lines(wp, 0, row, FALSE, wp == firstwin) == OK)
  1238:         if (lastwin == firstwin)
  status_redraw_all():
  5338:     for (wp = firstwin; wp; wp = wp->w_next)
  status_redraw_curbuf():
  5354:     for (wp = firstwin; wp; wp = wp->w_next)
  redraw_statuslines():
  5370:     for (wp = firstwin; wp; wp = wp->w_next)
  screenalloc():
  7376:     FOR_ALL_TAB_WINDOWS(tp, wp)
  7404:     FOR_ALL_TAB_WINDOWS(tp, wp)
  screenclear2():
  7677:     win_rest_invalid(firstwin);
  draw_tabline():
  9148:         wp = firstwin;
  fillchar_status():
  9278:             || !is_curwin || firstwin == lastwin)
spell.c (1 use)
  spell_reload():
  4654:         FOR_ALL_WINDOWS(wp)
syntax.c (1 use)
  syn_stack_free_all():
  1112:     FOR_ALL_WINDOWS(wp)
term.c (1 use)
  check_termcode():
  4712:                 || (mouse_row == 0 && firstwin->w_winrow > 0)
ui.c (1 use)
  mouse_find_win():
  2909:     *rowp -= firstwin->w_winrow;
window.c (46 uses)
  do_window():
  228:         for (wp = firstwin; wp != NULL; wp = wp->w_next)
  254:         if (lastwin == firstwin && Prenum != 1)    /* just one window */
  260:             for (wp = firstwin; --Prenum > 0; )
  280:                 wp = firstwin;        /* wrap around */
  338:         if (firstwin == lastwin)
  364:         win_goto(firstwin);
  win_split_ins():
  709:     oldwin = firstwin;
  716:     if (lastwin == firstwin && p_ls == 1 && oldwin->w_status_height == 0)
  win_valid():
  1227:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  win_count():
  1242:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  win_exchange():
  1336:     if (lastwin == firstwin)        /* just one window */
  win_rotate():
  1441:     if (firstwin == lastwin)        /* nothing to do */
  win_totop():
  1528:     if (lastwin == firstwin)
  close_windows():
  1998:     for (wp = firstwin; wp != NULL && lastwin != firstwin; )
  1998:     for (wp = firstwin; wp != NULL && lastwin != firstwin; )
  2005:         wp = firstwin;
  last_window():
  2041:     return (lastwin == firstwin && first_tabpage->tp_next == NULL);
  win_close():
  2076:     if (firstwin == lastwin)
  2167:             wp = firstwin;
  winframe_remove():
  2352:     if (tp == NULL ? firstwin == lastwin : tp->tp_firstwin == tp->tp_lastwin)
  win_altframe():
  2511:     if (tp == NULL ? firstwin == lastwin : tp->tp_firstwin == tp->tp_lastwin)
  close_others():
  3078:     if (lastwin == firstwin)
  3090:     for (wp = firstwin; win_valid(wp); wp = nextwp)
  3101:         nextwp = firstwin;
  3114:             nextwp = firstwin;
  3127:     if (message && lastwin != firstwin)
  win_init_size():
  3244:     firstwin->w_height = ROWS_AVAIL;
  3247:     firstwin->w_width = Columns;
  win_new_tabpage():
  3349:     firstwin->w_winrow = tabline_height();
  leave_tabpage():
  3517:     tp->tp_firstwin = firstwin;
  3521:     firstwin = NULL;
  enter_tabpage():
  3540:     firstwin = tp->tp_firstwin;
  3569:     if (curtab->tp_old_Rows != Rows || (old_off != firstwin->w_winrow
  buf_jump_open_win():
  4084:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  win_append():
  4312:     before = firstwin;
  4319:     firstwin = wp;
  win_remove():
  4339:     firstwin = wp->w_next;
  shell_new_rows():
  4432:     if (firstwin == NULL)    /* not initialized yet */
  shell_new_columns():
  4469:     if (firstwin == NULL)    /* not initialized yet */
  win_size_save():
  4500:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  win_size_restore():
  4522:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  win_setminheight():
  5057:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  last_status():
  5595:               || (p_ls == 1 && (morewin || lastwin != firstwin))));
  min_rows():
  6009:     if (firstwin == NULL)    /* not initialized yet */
  only_one_window():
  6043:     for (wp = firstwin; wp != NULL; wp = wp->w_next)
  check_lnums():
  6071:     FOR_ALL_TAB_WINDOWS(tp, wp)
options (158 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:466
option.c (158 uses)
  set_init_1():
  3051:         options[opt_idx].def_val[VI_DEFAULT] = (char_u *)n;
  3059:             options[opt_idx].def_val[VI_DEFAULT] = (char_u *)n;
  3106:             options[opt_idx].def_val[VI_DEFAULT] = buf;
  3107:             options[opt_idx].flags |= P_DEF_ALLOCED;
  3196:     for (opt_idx = 0; !istermoption(&options[opt_idx]); opt_idx++)
  3198:     if ((options[opt_idx].flags & P_GETTEXT)
  3199:                           && options[opt_idx].var != NULL)
  3200:         p = (char_u *)_(*(char **)options[opt_idx].var);
  3205:         *(char_u **)options[opt_idx].var = p;
  3211:         if (options[opt_idx].flags & P_DEF_ALLOCED)
  3212:         vim_free(options[opt_idx].def_val[VI_DEFAULT]);
  3213:         options[opt_idx].def_val[VI_DEFAULT] = p;
  3214:         options[opt_idx].flags |= P_DEF_ALLOCED;
  3319:         options[opt_idx].def_val[VI_DEFAULT] = p_enc;
  3320:         options[opt_idx].flags |= P_DEF_ALLOCED;
  3340:             options[opt_idx].def_val[VIM_DEFAULT] = ISP_LATIN1;
  3343:             options[opt_idx].def_val[VIM_DEFAULT] = ISK_LATIN1;
  set_option_default():
  3407:     varp = get_varp_scope(&(options[opt_idx]), both ? OPT_LOCAL : opt_flags);
  3408:     flags = options[opt_idx].flags;
  3416:         if (options[opt_idx].indir != PV_NONE)
  3418:                  options[opt_idx].def_val[dvi], opt_flags, 0);
  3423:         *(char_u **)varp = options[opt_idx].def_val[dvi];
  3424:         options[opt_idx].flags &= ~P_ALLOCED;
  3429:         if (options[opt_idx].indir == PV_SCROLL)
  3433:         *(long *)varp = (long)(long_i)options[opt_idx].def_val[dvi];
  3436:             *(long *)get_varp_scope(&(options[opt_idx]), OPT_GLOBAL) =
  3444:         *(int *)varp = (int)(long)(long_i)options[opt_idx].def_val[dvi];
  3447:         if (options[opt_idx].indir == PV_ML && getuid() == ROOT_UID)
  3452:         *(int *)get_varp_scope(&(options[opt_idx]), OPT_GLOBAL) =
  set_options_default():
  3479:     for (i = 0; !istermoption(&options[i]); i++)
  3480:     if (!(options[i].flags & P_NODEFAULT))
  set_string_default():
  3510:         if (options[opt_idx].flags & P_DEF_ALLOCED)
  3511:         vim_free(options[opt_idx].def_val[VI_DEFAULT]);
  3512:         options[opt_idx].def_val[VI_DEFAULT] = p;
  3513:         options[opt_idx].flags |= P_DEF_ALLOCED;
  set_number_default():
  3531:     options[opt_idx].def_val[VI_DEFAULT] = (char_u *)(long_i)val;
  set_init_2():
  3577:     if (idx >= 0 && !(options[idx].flags & P_WAS_SET))
  3597:     if (idx >= 0 && !(options[idx].flags & P_WAS_SET)
  3603:     options[idx].flags &= ~P_WAS_SET;
  set_init_3():
  3676:     do_srr = !(options[idx_srr].flags & P_WAS_SET);
  3682:     do_sp = !(options[idx_sp].flags & P_WAS_SET);
  3714:         options[idx_sp].def_val[VI_DEFAULT] = p_sp;
  3720:         options[idx_srr].def_val[VI_DEFAULT] = p_srr;
  3750:             options[idx_sp].def_val[VI_DEFAULT] = p_sp;
  3756:             options[idx_srr].def_val[VI_DEFAULT] = p_srr;
  set_helplang_default():
  3823:     if (idx >= 0 && !(options[idx].flags & P_WAS_SET))
  3825:     if (options[idx].flags & P_ALLOCED)
  3840:     options[idx].flags |= P_ALLOCED;
  set_title_defaults():
  3892:     if (idx1 >= 0 && !(options[idx1].flags & P_WAS_SET))
  3900:     options[idx1].def_val[VI_DEFAULT] = (char_u *)(long_i)val;
  3904:     if (idx1 >= 0 && !(options[idx1].flags & P_WAS_SET))
  3912:     options[idx1].def_val[VI_DEFAULT] = (char_u *)(long_i)val;
  do_set():
  4095:         if (options[opt_idx].var == NULL)   /* hidden option: skip */
  4100:                 && (!(options[opt_idx].flags & P_BOOL)
  4106:         flags = options[opt_idx].flags;
  4107:         varp = get_varp_scope(&(options[opt_idx]), opt_flags);
  4127:               && (opt_idx < 0 || options[opt_idx].var != VAR_WIN))
  4132:                        && options[opt_idx].var == VAR_WIN)
  4197:             showoneopt(&options[opt_idx], opt_flags);
  4202:             if (varp == options[opt_idx].var)
  4203:                 last_set_msg(options[opt_idx].scriptID);
  4204:             else if ((int)options[opt_idx].indir & PV_WIN)
  4206:                       (int)options[opt_idx].indir & PV_MASK]);
  4207:             else if ((int)options[opt_idx].indir & PV_BUF)
  4209:                       (int)options[opt_idx].indir & PV_MASK]);
  4248:             value = (int)(long)(long_i)options[opt_idx].def_val[
  4258:                 value = *(int *)get_varp_scope(&(options[opt_idx]),
  4303:                 value = (long)(long_i)options[opt_idx].def_val[
  4307:                 value = *(long *)get_varp_scope(&(options[opt_idx]),
  4376:                 && ((int)options[opt_idx].indir & PV_BOTH))
  4377:                 varp = options[opt_idx].var;
  4384:                 newval = options[opt_idx].def_val[
  4416:                          &(options[opt_idx]), OPT_GLOBAL));
  4473:                 if (((int)options[opt_idx].indir & PV_BOTH)
  4476:                                &options[opt_idx]);
  did_set_option():
  4767:     options[opt_idx].flags |= P_WAS_SET;
  option_expand():
  4990:     if (!(options[opt_idx].flags & P_EXPAND) || options[opt_idx].var == NULL)
  4990:     if (!(options[opt_idx].flags & P_EXPAND) || options[opt_idx].var == NULL)
  4999:     val = *(char_u **)options[opt_idx].var;
  5008:         (char_u **)options[opt_idx].var == &p_tags, FALSE,
  5010:         (char_u **)options[opt_idx].var == &p_sps ? (char_u *)"file:" :
  check_options():
  5072:     for (opt_idx = 0; options[opt_idx].fullname != NULL; opt_idx++)
  5073:     if ((options[opt_idx].flags & P_STRING) && options[opt_idx].var != NULL)
  5073:     if ((options[opt_idx].flags & P_STRING) && options[opt_idx].var != NULL)
  5074:         check_string_option((char_u **)get_varp(&(options[opt_idx])));
  set_term_option_alloced():
  5216:     for (opt_idx = 1; options[opt_idx].fullname != NULL; opt_idx++)
  5217:     if (options[opt_idx].var == (char_u *)p)
  5219:         options[opt_idx].flags |= P_ALLOCED;
  insecure_flag():
  5258:     switch ((int)options[opt_idx].indir)
  5282:     return &options[opt_idx].flags;
  set_string_option_direct():
  5317:     if (options[idx].var == NULL)    /* can't set hidden option */
  5323:     varp = (char_u **)get_varp_scope(&(options[idx]),
  5325:     if ((opt_flags & OPT_FREE) && (options[idx].flags & P_ALLOCED))
  5333:     options[idx].flags |= P_ALLOCED;
  5337:     if (((int)options[idx].indir & PV_BOTH) && both)
  set_string_option_global():
  5361:     if (options[opt_idx].var == VAR_WIN)
  5364:     p = (char_u **)options[opt_idx].var;
  5365:     if (options[opt_idx].indir != PV_NONE
  set_string_option():
  5387:     if (options[opt_idx].var == NULL)    /* don't set hidden option */
  5393:     varp = (char_u **)get_varp_scope(&(options[opt_idx]),
  5395:             ? (((int)options[opt_idx].indir & PV_BOTH)
  did_set_string_option():
  5424:     long_u    free_oldval = (options[opt_idx].flags & P_ALLOCED);
  5428:     gvarp = (char_u **)get_varp_scope(&(options[opt_idx]), OPT_GLOBAL);
  5435:         ) && (options[opt_idx].flags & P_SECURE))
  5443:     else if ((options[opt_idx].flags & P_NFNAME)
  5990:     else if (istermoption(&options[opt_idx]) && full_screen)
  6662:         options[opt_idx].flags |= P_ALLOCED;
  6664:         options[opt_idx].flags &= ~P_ALLOCED;
  6667:         && ((int)options[opt_idx].indir & PV_BOTH))
  6671:         p = get_varp_scope(&(options[opt_idx]), OPT_LOCAL);
  6735:     check_redraw(options[opt_idx].flags);
  set_option_scriptID_idx():
  7051:     int        indir = (int)options[opt_idx].indir;
  7056:     options[opt_idx].scriptID = id;
  set_bool_option():
  7085:         ) && (options[opt_idx].flags & P_SECURE))
  7100:     *(int *)get_varp_scope(&(options[opt_idx]), OPT_GLOBAL) = value;
  7560:     options[opt_idx].flags |= P_WAS_SET;
  7565:     check_redraw(options[opt_idx].flags);
  set_num_option():
  7595:         ) && (options[opt_idx].flags & P_SECURE))
  8037:     *(long *)get_varp_scope(&(options[opt_idx]), OPT_GLOBAL) = *pp;
  8039:     options[opt_idx].flags |= P_WAS_SET;
  8044:     check_redraw(options[opt_idx].flags);
  findoption():
  8095:     p = options[0].fullname;
  8096:     for (opt_idx = 1; (s = options[opt_idx].fullname) != NULL; opt_idx++)
  8124:     for ( ; (s = options[opt_idx].fullname) != NULL; opt_idx++)
  8132:     for ( ; options[opt_idx].fullname != NULL; opt_idx++)
  8134:         s = options[opt_idx].shortname;
  get_option_value():
  8170:     varp = get_varp_scope(&(options[opt_idx]), opt_flags);
  8172:     if (options[opt_idx].flags & P_STRING)
  8191:     if (options[opt_idx].flags & P_NUM)
  set_option_value():
  8226:     flags = options[opt_idx].flags;
  8239:         varp = get_varp(&options[opt_idx]);
  get_term_code():
  8288:     varp = get_varp(&(options[opt_idx]));
  get_highlight_default():
  8303:     return options[i].def_val[VI_DEFAULT];
  get_encoding_default():
  8315:     return options[i].def_val[VI_DEFAULT];
  showoptions():
  8373:                                 PARAM_COUNT));
  8398:     for (p = &options[0]; p->fullname != NULL; p++)
  makeset():
  8563:       for (p = &options[0]; !istermoption(p); p++)
  free_termoptions():
  8814:     for (p = &options[0]; p->fullname != NULL; p++)
  set_term_defaults():
  8837:     for (p = &options[0]; p->fullname != NULL; p++)
  reset_modifiable():
  9590:     options[opt_idx].def_val[VI_DEFAULT] = FALSE;
  set_context_in_set_cmd():
  9713:         if (opt_idx == -1 || options[opt_idx].var == NULL)
  9718:         flags = options[opt_idx].flags;
  9756:     p = options[opt_idx].var;
  9810:     if (options[opt_idx].var == (char_u *)&p_sps
  ExpandSettings():
  9859:     for (opt_idx = 0; (str = (char_u *)options[opt_idx].fullname) != NULL;
  9862:         if (options[opt_idx].var == NULL)
  9865:           && !(options[opt_idx].flags & P_BOOL))
  9867:         is_term_opt = istermoption(&options[opt_idx]);
  9872:             || (options[opt_idx].shortname != NULL
  9874:                (char_u *)options[opt_idx].shortname, (colnr_T)0)))
  ExpandOldSetting():
  10009:     option_value2string(&options[expand_option_idx], expand_option_flags);
  vimrc_found():
  10392:     for (opt_idx = 0; !istermoption(&options[opt_idx]); opt_idx++)
  10393:         if (!(options[opt_idx].flags & (P_WAS_SET|P_VI_DEF)))
  change_compatible():
  10432:     options[opt_idx].flags |= P_WAS_SET;
  option_was_set():
  10447:     if (options[idx].flags & P_WAS_SET)
  compatible_set():
  10465:     for (opt_idx = 0; !istermoption(&options[opt_idx]); opt_idx++)
  10466:     if (       ((options[opt_idx].flags & P_VIM) && p_cp)
  10467:         || (!(options[opt_idx].flags & P_VI_DEF) && !p_cp))
VIsual_active (156 uses in 20 translation units) defined in translation unit main.c, declared in ./globals.h:632
charset.c (1 use)
  getvcol():
  1344:         && !(VIsual_active
edit.c (4 uses)
  stop_insert():
  6396:         if (VIsual_active && VIsual.lnum == curwin->w_cursor.lnum)
  ins_reg():
  7621:     int        vis_active = VIsual_active;
  7727:     if (!vis_active && VIsual_active)
  ins_esc():
  7927:                && !VIsual_active
eval.c (2 uses)
  f_mode():
  12859:     if (VIsual_active)
  var2fpos():
  16915:     if (VIsual_active)
ex_docmd.c (2 uses)
  ex_redraw():
  8533:         VIsual_active ? INVERTED :
  ex_redrawstatus():
  8570:         VIsual_active ? INVERTED :
fold.c (1 use)
  foldAdjustVisual():
  1073:     if (!VIsual_active || !hasAnyFolding(curwin))
getchar.c (3 uses)
  start_redo():
  814:     VIsual_active = TRUE;
  vgetorpeek():
  2346:                     if (VIsual_active && VIsual_select
  2407:             if (VIsual_active && VIsual_select
gui.c (1 use)
  gui_send_mouse_event():
  2909:     if (checkfor != MOUSE_NONEF && VIsual_active && (State & NORMAL))
gui_mac.c (1 use)
  HandleODocAE():
  1147:     VIsual_active = TRUE;
main.c (2 uses)
  main_loop():
  1009:             && !VIsual_active
  1105:         if (VIsual_active)
menu.c (3 uses)
  get_menu_index():
  1588:     else if (VIsual_active)
  get_menu_mode():
  1760:     if (VIsual_active)
  ex_emenu():
  2226:     VIsual_active = TRUE;
misc2.c (7 uses)
  virtual_active():
  39:         || ((ve_flags & VE_BLOCK) && VIsual_active && VIsual_mode == Ctrl_V)
  coladvance2():
  157:             || (VIsual_active && *p_sel != 'o')
  171:         if ((addspaces || finetune) && !VIsual_active)
  check_cursor_col():
  516:         || (VIsual_active && *p_sel != 'o')
  adjust_cursor_col():
  565:         && (!VIsual_active || *p_sel == 'o')
  get_real_state():
  3047:     if (VIsual_active)
  get_shape_idx():
  3495:     if (VIsual_active)
normal.c (84 uses)
  normal_cmd():
  640:         || (VIsual_active && mapped_len == 0 && typebuf_maplen() > 0))
  651:     if (VIsual_active
  675:     if (!(VIsual_active && VIsual_select))
  816:     if (VIsual_active)
  888:             || VIsual_active
  1130:     if (!VIsual_active && km_startsel)
  1196:             || (VIsual_active
  1208:             && !VIsual_active
  1305:         && ((restart_edit != 0 && !VIsual_active && old_mapped_len == 0)
  1324:         && !VIsual_active && old_mapped_len == 0
  do_pending_operator():
  1376:         && VIsual_active
  1389:         || VIsual_active
  1394:     oap->is_VIsual = VIsual_active;
  1411:         VIsual_active = TRUE;
  1423:         && (!VIsual_active || oap->motion_force)
  1493:     else if (VIsual_active)
  1548:         if (!VIsual_active)
  1569:         if (!VIsual_active && oap->motion_type == MLINE)
  1590:     if (VIsual_active || redo_VIsual_busy)
  1742:         VIsual_active = FALSE;
  do_mouse():
  2250:     int        old_active = VIsual_active;
  2274:         if (VIsual_active)
  2400:         if (VIsual_active)
  2554:             if (VIsual_active)
  2599:                 VIsual_active ? INVERTED :
  2634:         if (VIsual_active)
  2642:         if (is_click && VIsual_active)
  2726:     if ((jump_flags & IN_OTHER_WIN) && !VIsual_active && clip_star.available)
  2736:     if (VIsual_active && is_drag && p_so)
  2830:     else if ((State & INSERT) && VIsual_active)
  2912:         || (VIsual_active && VIsual_select)
  2949:     if (is_click || !VIsual_active)
  2951:         if (VIsual_active)
  2958:         VIsual_active = TRUE;
  3046:     else if (VIsual_active && !old_active)
  3055:     if ((!VIsual_active && old_active && mode_displayed)
  3056:         || (VIsual_active && p_smd && msg_silent == 0
  end_visual_mode():
  3204:     VIsual_active = FALSE;
  reset_VIsual_and_resel():
  3239:     if (VIsual_active)
  reset_VIsual():
  3253:     if (VIsual_active)
  checkclearopq():
  3596:         && !VIsual_active
  clear_showcmd():
  3667:     if (VIsual_active && !char_avail())
  check_scrollbind():
  3951:     int        old_VIsual_active = VIsual_active;
  3970:     VIsual_select = VIsual_active = 0;
  4028:     VIsual_active = old_VIsual_active;
  nv_zet():
  4624:         && !(VIsual_active && vim_strchr((char_u *)"dcCoO", cap->nchar))
  4803:             if (VIsual_active)
  4857:     case 'o':    if (VIsual_active)
  4864:     case 'O':    if (VIsual_active)
  4871:     case 'c':    if (VIsual_active)
  4879:     case 'C':    if (VIsual_active)
  4964:             if (VIsual_active && get_visual_text(cap, &ptr, &len)
  nv_exmode():
  5132:     if (VIsual_active)
  nv_colon():
  5150:     if (VIsual_active)
  nv_ctrlg():
  5209:     if (VIsual_active)    /* toggle Selection/Visual mode */
  nv_ctrlh():
  5229:     if (VIsual_active && VIsual_select)
  nv_ctrlo():
  5273:     if (VIsual_active && VIsual_select)
  nv_ident():
  5388:     if (VIsual_active && get_visual_text(cap, &ptr, &n) == FAIL)
  nv_right():
  5720:     PAST_LINE = (VIsual_active && *p_sel != 'o');
  nv_undo():
  6632:         || VIsual_active
  nv_replace():
  6694:     if (VIsual_active)
  nv_Replace():
  6911:     if (VIsual_active)        /* "R" is replace lines */
  nv_vreplace():
  6944:     if (VIsual_active)
  nv_subst():
  7131:     if (VIsual_active)    /* "vs" and "vS" are the same as "vc" */
  nv_abbrev():
  7155:     if (VIsual_active)
  nv_visual():
  7349:     if (VIsual_active)        /* change Visual mode */
  7372:         VIsual_active = TRUE;
  n_start_visual_mode():
  7459:     VIsual_active = TRUE;
  nv_suspend():
  7520:     if (VIsual_active)
  nv_g_cmd():
  7585:         if (VIsual_active)
  7610:         VIsual_active = TRUE;
  nv_Undo():
  8173:         || VIsual_active
  nv_tilde():
  8199:         && !VIsual_active
  adjust_cursor():
  8444:         && (!VIsual_active || *p_sel == 'o')
  adjust_for_sel():
  8488:     if (VIsual_active && cap->oap->inclusive && *p_sel == 'e'
  nv_select():
  8546:     if (VIsual_active)
  nv_normal():
  8608:     if (VIsual_active)
  nv_esc():
  8645:         && !VIsual_active
  8665:     if (VIsual_active)
  nv_edit():
  8701:     if (VIsual_active && (cap->cmdchar == 'A' || cap->cmdchar == 'I'))
  8710:         || VIsual_active
  nv_join():
  8980:     if (VIsual_active)    /* join the visual lines */
  nv_put():
  9039:     if (VIsual_active)
  nv_open():
  9152:     if (VIsual_active)  /* switch start and end of visual */
ops.c (4 uses)
  do_execreg():
  1184:         if (VIsual_active && STRNCMP(p, "'<,'>", 5) == 0)
  cursor_pos_info():
  6245:     if (VIsual_active)
  6294:         if (VIsual_active
  6364:     if (VIsual_active)
regexp.c (1 use)
  regmatch():
  3930:         if (VIsual_active)
screen.c (12 uses)
  update_screen():
  444:             && VIsual_active
  win_update():
  1277:     if ((VIsual_active && buf == curwin->w_buffer)
  1282:     if (VIsual_active)
  1284:         if (VIsual_active
  1455:     if (VIsual_active && buf == curwin->w_buffer)
  fold_line():
  2393:     if (VIsual_active && wp->w_buffer == curwin->w_buffer)
  win_line():
  2774:     if (VIsual_active && wp->w_buffer == curwin->w_buffer)
  3172:     if (wp->w_p_cul && lnum == wp->w_cursor.lnum && !VIsual_active)
  4189:         else if (VIsual_active
  showmode():
  8825:         || VIsual_active
  8951:         if (VIsual_active)
  9001:     if (VIsual_active)
search.c (19 uses)
  current_word():
  3170:     if (VIsual_active && *p_sel == 'e' && lt(VIsual, curwin->w_cursor))
  3177:     if (!VIsual_active || equalpos(curwin->w_cursor, VIsual))
  3216:     if (VIsual_active)
  3238:     if (VIsual_active && lt(curwin->w_cursor, VIsual))
  3305:         if (VIsual_active)
  3316:     if (VIsual_active)
  current_sent():
  3358:     if (VIsual_active && !equalpos(start_pos, VIsual))
  3492:     if (VIsual_active)
  current_block():
  3545:     if (!VIsual_active || equalpos(VIsual, curwin->w_cursor))
  3617:         && VIsual_active)
  3641:     if (VIsual_active)
  current_tagblock():
  3778:     if (!VIsual_active || *p_sel == 'e')
  3786:     if (!VIsual_active || equalpos(VIsual, curwin->w_cursor))
  3922:     if (VIsual_active)
  current_par():
  3984:     if (VIsual_active && start_lnum != VIsual.lnum)
  4107:     if (VIsual_active)
  current_quote():
  4225:     if (VIsual_active)
  4384:     if (VIsual_active)
  4419:     if (VIsual_active)
spell.c (1 use)
  spell_suggest():
  10048:     if (VIsual_active)
term.c (1 use)
  setmouse():
  3351:     if (VIsual_active)
ui.c (5 uses)
  clip_update_selection():
  432:     if (!redo_VIsual_busy && VIsual_active && (State & NORMAL))
  clip_copy_selection():
  533:     if (VIsual_active && (State & NORMAL) && clip_star.available)
  jump_to_mouse():
  2512:     if (VIsual_active
  2765:     if ((flags & MOUSE_MAY_VIS) && !VIsual_active)
  2769:     VIsual_active = TRUE;
window.c (2 uses)
  win_goto():
  3779:     else if (VIsual_active)
  grab_file_name():
  5697:     if (VIsual_active)
highlight_attr (147 uses in 24 translation units) defined in translation unit main.c, declared in ./globals.h:348
edit.c (6 uses)
  edit_putchar():
  1543:         attr = hl_attr(HLF_8);
  has_compl_option():
  1995:                                   hl_attr(HLF_E));
  ins_compl_files():
  2955:         msg_trunc_attr(IObuff, TRUE, hl_attr(HLF_R));
  ins_compl_get_exp():
  3910:         msg_trunc_attr(IObuff, TRUE, hl_attr(HLF_R));
  3940:             msg_trunc_attr(IObuff, TRUE, hl_attr(HLF_R));
  ins_complete():
  5154:             ? hl_attr(edit_submode_highl) : 0);
eval.c (1 use)
  list_func_head():
  19653:     MSG_PUTS_ATTR("<SNR>", hl_attr(HLF_8));
ex_cmds.c (2 uses)
  print_line_no_prefix():
  2387:     msg_puts_attr(numbuf, hl_attr(HLF_N));    /* Highlight line nrs */
  do_sub():
  4691:                 smsg_attr(hl_attr(HLF_R),
ex_cmds2.c (1 use)
  buf_write_all():
  1639:     msg_source(hl_attr(HLF_W));
ex_docmd.c (2 uses)
  uc_list():
  5247:         msg_outtrans_attr(cmd->uc_name, hl_attr(HLF_D));
  ex_tabs():
  7241:     msg_outtrans_attr(IObuff, hl_attr(HLF_T));
ex_getln.c (5 uses)
  showmatches():
  3863:     attr = hl_attr(HLF_D);    /* find out highlighting for directories */
  3867:         MSG_PUTS_ATTR(_("tagname"), hl_attr(HLF_T));
  3870:         MSG_PUTS_ATTR(_(" kind file\n"), hl_attr(HLF_T));
  3881:             msg_outtrans_attr(files_found[k], hl_attr(HLF_D));
  3886:             msg_puts_long_attr(p + 2, hl_attr(HLF_D));
fileio.c (7 uses)
  buf_write():
  4691:     attr = hl_attr(HLF_E);    /* set highlight for error messages */
  check_mtime():
  4927:     MSG_ATTR(_("WARNING: The file has been changed since reading it!!!"),
  buf_check_timestamp():
  6564:             msg_puts_attr(tbuf, hl_attr(HLF_E) + MSG_HIST);
  6567:                            hl_attr(HLF_W) + MSG_HIST);
  show_autocmd():
  7276:         msg_puts_attr((char_u *)_("--Deleted--"), hl_attr(HLF_E));
  7278:         msg_puts_attr(AUGROUP_NAME(ap->group), hl_attr(HLF_T));
  7281:     msg_puts_attr(event_nr2name(event), hl_attr(HLF_T));
getchar.c (3 uses)
  showmap():
  3859:     msg_puts_attr((char_u *)"*", hl_attr(HLF_8));
  3861:     msg_puts_attr((char_u *)"&", hl_attr(HLF_8));
  3874:     msg_puts_attr((char_u *)"<Nop>", hl_attr(HLF_8));
hardcopy.c (1 use)
  prt_message():
  557:     screen_puts(s, (int)Rows - 1, 0, hl_attr(HLF_R));
mark.c (3 uses)
  show_one_mark():
  789:         msg_outtrans_attr(name, current ? hl_attr(HLF_D) : 0);
  ex_jumps():
  920:                             ? hl_attr(HLF_D) : 0);
  ex_changes():
  961:         msg_outtrans_attr(name, hl_attr(HLF_D));
memline.c (1 use)
  ml_recover():
  869:     attr = hl_attr(HLF_E);
menu.c (2 uses)
  show_menus_recursive():
  1160:     msg_outtrans_attr(menu->name, hl_attr(HLF_D));
  1190:             msg_puts_attr((char_u *)"<Nop>", hl_attr(HLF_8));
message.c (18 uses)
  msg_source():
  513:     msg_attr(p, hl_attr(HLF_N));
  emsg():
  646:     attr = hl_attr(HLF_E);    /* set highlight mode for error messages */
  ex_messages():
  829:         hl_attr(HLF_T));
  hit_return_msg():
  1087:     MSG_PUTS_ATTR(_("Press ENTER or type command to continue"), hl_attr(HLF_R));
  msg_home_replace_hl():
  1232:     msg_home_replace_attr(fname, hl_attr(HLF_D));
  msg_outtrans_len_attr():
  1357:         msg_puts_attr(transchar(c), attr == 0 ? hl_attr(HLF_8) : attr);
  1375:         msg_puts_attr(s, attr == 0 ? hl_attr(HLF_8) : attr);
  msg_outtrans_special():
  1435:     attr = hl_attr(HLF_8);
  msg_prt_line():
  1621:             attr = hl_attr(HLF_8);
  1630:         attr = hl_attr(HLF_AT);
  1641:         attr = hl_attr(HLF_8);
  1646:         attr = hl_attr(HLF_8);
  screen_puts_mbyte():
  1681:     msg_screen_putchar('>', hl_attr(HLF_AT));
  msg_puts_title():
  1725:     msg_puts_attr(s, hl_attr(HLF_T));
  msg_puts_long_len_attr():
  1755:     msg_puts_attr((char_u *)"...", hl_attr(HLF_8));
  msg_moremsg():
  2820:     attr = hl_attr(HLF_M);
  give_warning():
  3210:     keep_msg_attr = hl_attr(HLF_W);
  display_confirm_msg():
  3591:     msg_puts_attr(confirm_msg, hl_attr(HLF_M));
misc1.c (5 uses)
  change_warning():
  2983:     msg_source(hl_attr(HLF_W));
  2984:     MSG_PUTS_ATTR(_("W10: Warning: Changing a readonly file"),
  ask_yesno():
  3033:     smsg_attr(hl_attr(HLF_R), (char_u *)"%s (y/n)?", str);
  vim_beep():
  3381:         msg_source(hl_attr(HLF_W));
  3382:         msg_attr((char_u *)_("Beep!"), hl_attr(HLF_W));
normal.c (1 use)
  check_visual_highlight():
  3179:     if (!did_check && hl_attr(HLF_V) == 0)
ops.c (1 use)
  ex_display():
  3943:     attr = hl_attr(HLF_8);
popupmnu.c (4 uses)
  pum_redraw():
  257:     int        attr_norm = highlight_attr[HLF_PNI];
  258:     int        attr_select = highlight_attr[HLF_PSI];
  259:     int        attr_scroll = highlight_attr[HLF_PSB];
  260:     int        attr_thumb = highlight_attr[HLF_PST];
quickfix.c (3 uses)
  qf_list():
  1952:                        ? hl_attr(HLF_L) : hl_attr(HLF_D));
  1952:                        ? hl_attr(HLF_L) : hl_attr(HLF_D));
  1962:         msg_puts_attr(IObuff, hl_attr(HLF_N));
screen.c (54 uses)
  win_update():
  1868:             '@', '@', hl_attr(HLF_AT));
  win_draw_end():
  2047:             cmdwin_type, ' ', hl_attr(HLF_AT));
  2060:             ' ', ' ', hl_attr(HLF_FC));
  2080:         c1, c2, hl_attr(hl));
  fold_line():
  2126:     ScreenAttrs[off] = hl_attr(HLF_AT);
  2157:         copy_text_attr(off + col, buf, fdc, hl_attr(HLF_FC));
  2174:     RL_MEMSET(col, hl_attr(HLF_FL), W_WIDTH(wp) - col);
  2218:         copy_text_attr(off + col, buf, len, hl_attr(HLF_FL));
  2427:             RL_MEMSET(wp->w_old_cursor_fcol + txtcol, hl_attr(HLF_V),
  2434:         RL_MEMSET(txtcol, hl_attr(HLF_V), W_WIDTH(wp) - txtcol);
  2444:          ScreenAttrs[off + wp->w_virtcol + txtcol], hl_attr(HLF_CUC));
  win_line():
  2851:         attr = hl_attr(HLF_V);
  2885:     attr = hl_attr(HLF_I);
  2921:     line_attr = hl_attr(HLF_L);
  3070:             spell_attr = highlight_attr[spell_hlf];
  3174:     line_attr = hl_attr(HLF_CUL);
  3209:             char_attr = hl_attr(HLF_AT);
  3226:             char_attr = hl_attr(HLF_FC);
  3321:             char_attr = hl_attr(HLF_N);
  3326:             char_attr = hl_combine_attr(hl_attr(HLF_CUL), char_attr);
  3349:             char_attr = hl_attr(HLF_DED);
  3359:             char_attr = hl_attr(HLF_AT);
  3534:         line_attr = hl_attr(diff_hlf);
  3638:             multi_attr = hl_attr(HLF_AT);
  3732:                 extra_attr = hl_attr(HLF_8);
  3801:                 extra_attr = hl_attr(HLF_8);
  3822:             multi_attr = hl_attr(HLF_AT);
  3840:             extra_attr = hl_attr(HLF_AT);
  3863:             extra_attr = hl_attr(HLF_8);
  3988:                 spell_attr = highlight_attr[spell_hlf];
  4039:             extra_attr = hl_attr(HLF_8);
  4079:             extra_attr = hl_attr(HLF_8);
  4153:             extra_attr = hl_attr(HLF_AT);
  4181:             extra_attr = hl_attr(HLF_8);
  4232:                 char_attr = hl_attr(diff_hlf);
  4312:         char_attr = hl_attr(HLF_AT); /* later copied to char_attr */
  4488:             ScreenAttrs[off] = hl_attr(HLF_CUC);
  4534:         char_attr = hl_attr(HLF_AT);
  4556:         char_attr = hl_combine_attr(char_attr, hl_attr(HLF_CUC));
  win_redr_status_matches():
  5690:         screen_puts(selstart, row, selstart_col, hl_attr(HLF_WM));
  win_redr_custom():
  5998:     attr = hl_attr(HLF_TPF);
  start_search_hl():
  6479:     search_hl.attr = hl_attr(HLF_L);
  showmode():
  8854:     attr = hl_attr(HLF_CM);            /* Highlight mode */
  8896:                 sub_attr = hl_attr(edit_submode_highl);
  unshowmode():
  9048:         MSG_PUTS_ATTR(_("recording"), hl_attr(HLF_CM));
  draw_tabline():
  9072:     int        attr_sel = hl_attr(HLF_TPS);
  9073:     int        attr_nosel = hl_attr(HLF_TP);
  9074:     int        attr_fill = hl_attr(HLF_TPF);
  9170:                        hl_combine_attr(attr, hl_attr(HLF_T))
  fillchar_status():
  9266:     *attr = hl_attr(HLF_S);
  9271:     *attr = hl_attr(HLF_SNC);
  9277:     if (*attr != 0 && ((hl_attr(HLF_S) != hl_attr(HLF_SNC)
  9277:     if (*attr != 0 && ((hl_attr(HLF_S) != hl_attr(HLF_SNC)
  fillchar_vsep():
  9296:     *attr = hl_attr(HLF_C);
search.c (4 uses)
  find_pattern_in_path():
  4677:             msg_outtrans_attr(new_fname, hl_attr(HLF_D));
  4707:             msg_outtrans_attr(p, hl_attr(HLF_D));
  4772:             msg_trunc_attr(IObuff, TRUE, hl_attr(HLF_R));
  show_pat_in_path():
  5218:         msg_puts_attr(IObuff, hl_attr(HLF_N));
syntax.c (14 uses)
  syn_list_one():
  3745:     attr = hl_attr(HLF_D);        /* highlight like directories */
  syn_list_cluster():
  3860:             hl_attr(HLF_D));
  3864:     msg_puts_attr((char_u *)"cluster", hl_attr(HLF_D));
  highlight_list_one():
  8201:     msg_puts_attr((char_u *)"links to", hl_attr(HLF_D));
  highlight_list_arg():
  8258:         MSG_PUTS_ATTR(name, hl_attr(HLF_D));
  8259:         MSG_PUTS_ATTR("=", hl_attr(HLF_D));
  syn_add_group():
  8638:         msg_source(hl_attr(HLF_W));
  highlight_changed():
  8856:     highlight_attr[hlf] = 0;
  8931:         highlight_attr[hlf] = attr;
  8950:     HL_TABLE()[hlcnt + 9].sg_term = highlight_attr[HLF_S];
  8976:         hlt[hlcnt + i].sg_term = highlight_attr[HLF_SNC];
  8977:         hlt[hlcnt + i].sg_cterm = highlight_attr[HLF_SNC];
  8979:         hlt[hlcnt + i].sg_gui = highlight_attr[HLF_SNC];
  highlight_list():
  9098:     highlight_list_two(i, hl_attr(HLF_D));
tag.c (7 uses)
  do_tag():
  620:         MSG_PUTS_ATTR(_("  # pri kind tag"), hl_attr(HLF_T));
  623:         MSG_PUTS_ATTR(_("file\n"), hl_attr(HLF_T));
  648:                                   hl_attr(HLF_T));
  657:             msg_puts_long_attr(p, hl_attr(HLF_D));
  690:                 attr = hl_attr(HLF_CM);
  1000:             msg_attr(IObuff, hl_attr(HLF_W));
  do_tags():
  1137:                             ? hl_attr(HLF_D) : 0);
undo.c (1 use)
  ex_undolist():
  1492:     msg_puts_attr((char_u *)_("number changes  time"), hl_attr(HLF_T));
version.c (1 use)
  do_intro_line():
  1894:     screen_puts_len(p, l, row, col, *p == '<' ? hl_attr(HLF_8) : attr);
reginput (146 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3008
regexp.c (146 uses)
  regtry():
  3649:     reginput = regline + col;
  3671:         reg_endpos[0].col = (int)(reginput - regline);
  3682:         reg_endp[0] = reginput;
  reg_prev_class():
  3729:     if (reginput > regline)
  3730:     return mb_get_class(reginput - 1
  3731:                      - (*mb_head_off)(regline, reginput - 1));
  regmatch():
  3839:                 && *reginput == NUL && reglnum <= reg_maxline)
  3843:     else if (reg_line_lbr && WITH_NL(op) && *reginput == '\n')
  3845:         ADVANCE_REGINPUT();
  3845:         ADVANCE_REGINPUT();
  3853:           c = (*mb_ptr2char)(reginput);
  3856:           c = *reginput;
  3860:         if (reginput != regline)
  3873:         if (reglnum != 0 || reginput != regline
  3888:             || ((colnr_T)(reginput - regline) != reg_win->w_cursor.col))
  3904:                 ? (pos->col == (colnr_T)(reginput - regline)
  3906:                     : (pos->col < (colnr_T)(reginput - regline)
  3959:         col = (colnr_T)(reginput - regline);
  3984:                       regline, (colnr_T)(reginput - regline));
  4001:         if (!re_num_cmp((long_u)(reginput - regline) + 1, scan))
  4008:                 regline, (colnr_T)(reginput - regline)) + 1, scan))
  4021:         this_class = mb_get_class(reginput);
  4031:             || (reginput > regline && vim_iswordc(reginput[-1])))
  4031:             || (reginput > regline && vim_iswordc(reginput[-1])))
  4037:         if (reginput == regline)    /* Can't match at start of line */
  4045:         this_class = mb_get_class(reginput);
  4054:         if (!vim_iswordc(reginput[-1])
  4055:             || (reginput[0] != NUL && vim_iswordc(c)))
  4064:         ADVANCE_REGINPUT();
  4064:         ADVANCE_REGINPUT();
  4071:         ADVANCE_REGINPUT();
  4071:         ADVANCE_REGINPUT();
  4075:         if (VIM_ISDIGIT(*reginput) || !vim_isIDc(c))
  4075:         if (VIM_ISDIGIT(*reginput) || !vim_isIDc(c))
  4078:         ADVANCE_REGINPUT();
  4078:         ADVANCE_REGINPUT();
  4082:         if (!vim_iswordp(reginput))
  4085:         ADVANCE_REGINPUT();
  4085:         ADVANCE_REGINPUT();
  4089:         if (VIM_ISDIGIT(*reginput) || !vim_iswordp(reginput))
  4089:         if (VIM_ISDIGIT(*reginput) || !vim_iswordp(reginput))
  4089:         if (VIM_ISDIGIT(*reginput) || !vim_iswordp(reginput))
  4092:         ADVANCE_REGINPUT();
  4092:         ADVANCE_REGINPUT();
  4099:         ADVANCE_REGINPUT();
  4099:         ADVANCE_REGINPUT();
  4103:         if (VIM_ISDIGIT(*reginput) || !vim_isfilec(c))
  4103:         if (VIM_ISDIGIT(*reginput) || !vim_isfilec(c))
  4106:         ADVANCE_REGINPUT();
  4106:         ADVANCE_REGINPUT();
  4110:         if (ptr2cells(reginput) != 1)
  4113:         ADVANCE_REGINPUT();
  4113:         ADVANCE_REGINPUT();
  4117:         if (VIM_ISDIGIT(*reginput) || ptr2cells(reginput) != 1)
  4117:         if (VIM_ISDIGIT(*reginput) || ptr2cells(reginput) != 1)
  4117:         if (VIM_ISDIGIT(*reginput) || ptr2cells(reginput) != 1)
  4120:         ADVANCE_REGINPUT();
  4120:         ADVANCE_REGINPUT();
  4127:         ADVANCE_REGINPUT();
  4127:         ADVANCE_REGINPUT();
  4134:         ADVANCE_REGINPUT();
  4134:         ADVANCE_REGINPUT();
  4141:         ADVANCE_REGINPUT();
  4141:         ADVANCE_REGINPUT();
  4148:         ADVANCE_REGINPUT();
  4148:         ADVANCE_REGINPUT();
  4155:         ADVANCE_REGINPUT();
  4155:         ADVANCE_REGINPUT();
  4162:         ADVANCE_REGINPUT();
  4162:         ADVANCE_REGINPUT();
  4169:         ADVANCE_REGINPUT();
  4169:         ADVANCE_REGINPUT();
  4176:         ADVANCE_REGINPUT();
  4176:         ADVANCE_REGINPUT();
  4183:         ADVANCE_REGINPUT();
  4183:         ADVANCE_REGINPUT();
  4190:         ADVANCE_REGINPUT();
  4190:         ADVANCE_REGINPUT();
  4197:         ADVANCE_REGINPUT();
  4197:         ADVANCE_REGINPUT();
  4204:         ADVANCE_REGINPUT();
  4204:         ADVANCE_REGINPUT();
  4211:         ADVANCE_REGINPUT();
  4211:         ADVANCE_REGINPUT();
  4218:         ADVANCE_REGINPUT();
  4218:         ADVANCE_REGINPUT();
  4225:         ADVANCE_REGINPUT();
  4225:         ADVANCE_REGINPUT();
  4232:         ADVANCE_REGINPUT();
  4232:         ADVANCE_REGINPUT();
  4239:         ADVANCE_REGINPUT();
  4239:         ADVANCE_REGINPUT();
  4246:         ADVANCE_REGINPUT();
  4246:         ADVANCE_REGINPUT();
  4256:         if (*opnd != *reginput
  4261:                 MB_TOLOWER(*opnd) != MB_TOLOWER(*reginput))))
  4273:             ++reginput;        /* matched a single char */
  4278:             if (cstrncmp(opnd, reginput, &len) != 0)
  4283:                    && UTF_COMPOSINGLIKE(reginput, reginput + len))
  4293:             reginput += len;
  4305:         ADVANCE_REGINPUT();
  4305:         ADVANCE_REGINPUT();
  4331:             for (i = 0; reginput[i] != NUL; i += utf_char2len(inpc))
  4333:             inpc = mb_ptr2char(reginput + i);
  4342:                 len = i + mb_ptr2len(reginput + i);
  4350:             if (opnd[i] != reginput[i])
  4355:         reginput += len;
  4545:             if (cstrncmp(reg_startp[no], reginput, &len) != 0)
  4564:                               reginput, &len) != 0)
  4594:                     reginput = reg_tofree
  4595:                                + (reginput - regline);
  4606:                 if (cstrncmp(p + ccol, reginput, &len) != 0)
  4637:         reginput += len;
  4661:                               reginput, &len) != 0)
  4664:             reginput += len;
  4911:         if (behind_pos.rs_u.pos.col != (colnr_T)(reginput - regline)
  4915:         else if (behind_pos.rs_u.ptr != reginput)
  4924:         ADVANCE_REGINPUT();
  4924:         ADVANCE_REGINPUT();
  5240:                 if (reginput == regline)
  5249:                 reginput = regline + STRLEN(regline);
  5253:                 mb_ptr_back(regline, reginput);
  5253:                 mb_ptr_back(regline, reginput);
  5273:             if (rst->nextb == NUL || *reginput == rst->nextb
  5274:                          || *reginput == rst->nextb_ic)
  regrepeat():
  5387:     scan = reginput;        /* Make local copy of reginput for speed. */
  5407:         scan = reginput;
  5431:         scan = reginput;
  5461:         scan = reginput;
  5491:         scan = reginput;
  5517:         scan = reginput;
  5548:         scan = reginput;
  5713:         scan = reginput;
  5744:         ADVANCE_REGINPUT();
  5744:         ADVANCE_REGINPUT();
  5747:         scan = reginput;
  5761:     reginput = scan;
  reg_nextline():
  5919:     reginput = regline;
  reg_save():
  5933:     save->rs_u.pos.col = (colnr_T)(reginput - regline);
  5937:     save->rs_u.ptr = reginput;
  reg_restore():
  5958:     reginput = regline + save->rs_u.pos.col;
  5961:     reginput = save->rs_u.ptr;
  reg_save_equal():
  5974:                   && reginput == regline + save->rs_u.pos.col;
  5975:     return reginput == save->rs_u.ptr;
  save_se_multi():
  5992:     posp->col = (colnr_T)(reginput - regline);
  save_se_one():
  6001:     *pp = reginput;
NameBuff (139 uses in 17 translation units) defined in translation unit main.c, declared in ./globals.h:933
buffer.c (11 uses)
  buflist_list():
  2502:         STRCPY(NameBuff, buf_spname(buf));
  2504:         home_replace(buf, buf->b_fname, NameBuff, MAXPATHL, TRUE);
  2516:         NameBuff);
  build_stl_str_hl():
  3607:         STRCPY(NameBuff, buf_spname(wp->w_buffer));
  3612:         home_replace(wp->w_buffer, t, NameBuff, MAXPATHL, TRUE);
  3614:         trans_characters(NameBuff, MAXPATHL);
  3616:         str = NameBuff;
  3618:         str = gettail(NameBuff);
  read_viminfo_bufferlist():
  4954:     expand_env(xline, NameBuff, MAXPATHL);
  4955:     sfname = shorten_fname1(NameBuff);
  4957:     buf = buflist_new(NameBuff, sfname, (linenr_T)0, BLN_LISTED);
ex_cmds.c (25 uses)
  viminfo_filename():
  2030:     expand_env(file, NameBuff, MAXPATHL);
  2031:     file = NameBuff;
  fix_help_buffer():
  5975:             copy_option_part(&p, NameBuff, MAXPATHL, ",");
  5978:             if (fullpathcmp(rt, NameBuff, FALSE) != FPC_SAME)
  5991:             add_pathsep(NameBuff);
  5992:             STRCAT(NameBuff, "doc/*.txt");
  5993:             if (gen_expand_wildcards(1, &NameBuff, &fcount,
  ex_helptags():
  6147:     STRCPY(NameBuff, dirname);
  6148:     add_pathsep(NameBuff);
  6149:     STRCAT(NameBuff, "*");
  6150:     if (gen_expand_wildcards(1, &NameBuff, &filecount, &files,
  6154:     EMSG2("E151: No match: %s", NameBuff);
  helptags_one():
  6261:     STRCPY(NameBuff, dir);
  6262:     add_pathsep(NameBuff);
  6263:     STRCAT(NameBuff, "*");
  6264:     STRCAT(NameBuff, ext);
  6265:     if (gen_expand_wildcards(1, &NameBuff, &filecount, &files,
  6270:         EMSG2("E151: No match: %s", NameBuff);
  6278:     STRCPY(NameBuff, dir);
  6279:     add_pathsep(NameBuff);
  6280:     STRCAT(NameBuff, tagfname);
  6281:     fd_tags = mch_fopen((char *)NameBuff, "w");
  6284:     EMSG2(_("E152: Cannot open %s for writing"), NameBuff);
  6434:             vim_snprintf((char *)NameBuff, MAXPATHL,
  6437:             EMSG(NameBuff);
ex_docmd.c (11 uses)
  expand_filename():
  4436:             expand_env_esc(eap->arg, NameBuff, MAXPATHL,
  4438:             has_wildcards = mch_has_wildcard(NameBuff);
  4439:             p = NameBuff;
  ex_cd():
  7848:     if (mch_dirname(NameBuff, MAXPATHL) == OK)
  7849:         prev_dir = vim_strsave(NameBuff);
  7867:         expand_env((char_u *)"$HOME", NameBuff, MAXPATHL);
  7869:         new_dir = NameBuff;
  7884:         if (mch_dirname(NameBuff, MAXPATHL) == OK)
  7885:             curwin->w_localdir = vim_strsave(NameBuff);
  ex_pwd():
  7914:     if (mch_dirname(NameBuff, MAXPATHL) == OK)
  7919:     msg(NameBuff);
ex_getln.c (4 uses)
  showmatches():
  3842:         home_replace(NULL, files_found[i], NameBuff, MAXPATHL, TRUE);
  3843:         j = vim_strsize(NameBuff);
  3901:             home_replace(NULL, files_found[k], NameBuff, MAXPATHL,
  3903:             p = NameBuff;
fileio.c (4 uses)
  vim_deltempdir():
  6790:     sprintf((char *)NameBuff, "%s*", vim_tempdir);
  6791:     if (gen_expand_wildcards(1, &NameBuff, &file_count, &files,
  6798:     gettail(NameBuff)[-1] = NUL;
  6799:     (void)mch_rmdir(NameBuff);
getchar.c (2 uses)
  openscript():
  1377:     expand_env(name, NameBuff, MAXPATHL);
  1378:     if ((scriptin[curscript] = mch_fopen((char *)NameBuff, READBIN)) == NULL)
gui.c (7 uses)
  get_tabline_label():
  3462:     STRCPY(NameBuff, res);
  3480:     if (**opt == NUL || *NameBuff == NUL)
  3485:         shorten_dir(NameBuff);
  3500:         mch_memmove(NameBuff + STRLEN(buf), NameBuff, STRLEN(NameBuff) + 1);
  3500:         mch_memmove(NameBuff + STRLEN(buf), NameBuff, STRLEN(NameBuff) + 1);
  3500:         mch_memmove(NameBuff + STRLEN(buf), NameBuff, STRLEN(NameBuff) + 1);
  3501:         mch_memmove(NameBuff, buf, STRLEN(buf));
gui_mac.c (2 uses)
  getTabLabel():
  6523:     return mac_enc_to_cfstring(NameBuff, STRLEN(NameBuff));
  6523:     return mac_enc_to_cfstring(NameBuff, STRLEN(NameBuff));
main.c (7 uses)
  main():
  247:         || (NameBuff = alloc(MAXPATHL)) == NULL)
  459:     if (getcwd((char *)NameBuff, MAXPATHL) != NULL
  460:                         && STRCMP(NameBuff, "/") == 0)
  466:         expand_env((char_u *)"$HOME", NameBuff, MAXPATHL);
  467:         vim_chdir(NameBuff);
  init_locale():
  1392:         vim_snprintf((char *)NameBuff, MAXPATHL, "%s/lang", p);
  1393:         bindtextdomain(VIMPACKAGE, (char *)NameBuff);
mark.c (6 uses)
  fname2fnum():
  524:         expand_env((char_u *)"~/", NameBuff, MAXPATHL);
  525:         len = (int)STRLEN(NameBuff);
  526:         vim_strncpy(NameBuff + len, fm->fname + 2, MAXPATHL - len - 1);
  529:         vim_strncpy(NameBuff, fm->fname, MAXPATHL - 1);
  533:     p = shorten_fname(NameBuff, IObuff);
  536:     (void)buflist_new(NameBuff, p, (linenr_T)1, 0);
memline.c (11 uses)
  ml_recover():
  1058:     expand_env(b0p->b0_fname, NameBuff, MAXPATHL);
  1059:     if (setfname(curbuf, NameBuff, NULL, TRUE) == FAIL)
  1063:     home_replace(NULL, mfp->mf_fname, NameBuff, MAXPATHL, TRUE);
  1064:     smsg((char_u *)_("Using swap file \"%s\""), NameBuff);
  1067:     STRCPY(NameBuff, buf_spname(curbuf));
  1069:     home_replace(NULL, curbuf->b_ffname, NameBuff, MAXPATHL, TRUE);
  1070:     smsg((char_u *)_("Original file \"%s\""), NameBuff);
  findswapname():
  4062:                 expand_env(b0.b0_fname, NameBuff, MAXPATHL);
  4063:                 if (fnamecmp_ino(buf->b_ffname, NameBuff,
  4075:                 expand_env(b0.b0_fname, NameBuff, MAXPATHL);
  4077:                 if (fnamecmp_ino(buf->b_ffname, NameBuff,
misc1.c (3 uses)
  init_homedir():
  3501:     if (mch_dirname(NameBuff, MAXPATHL) == OK
  3502:                       && mch_chdir((char *)NameBuff) == 0)
  3506:         if (mch_chdir((char *)NameBuff) != 0)
misc2.c (10 uses)
  find_file_in_path_option():
  5363:     expand_env(ptr, NameBuff, MAXPATHL);
  5367:     ff_file_to_find = vim_strsave(NameBuff);
  5423:             STRCPY(NameBuff, rel_fname);
  5424:             STRCPY(gettail(NameBuff), ff_file_to_find);
  5425:             l = (int)STRLEN(NameBuff);
  5429:             STRCPY(NameBuff, ff_file_to_find);
  5446:                 (mch_getperm(NameBuff) >= 0
  5449:                             == mch_isdir(NameBuff)))))
  5451:             file_name = vim_strsave(NameBuff);
  5456:             copy_option_part(&buf, NameBuff + l, MAXPATHL - l, ",");
option.c (14 uses)
  option_expand():
  5007:     expand_env_esc(val, NameBuff, MAXPATHL,
  5013:     if (STRCMP(NameBuff, val) == 0)   /* they are the same */
  5016:     return NameBuff;
  showoptions():
  8419:             len = (int)STRLEN(p->fullname) + vim_strsize(NameBuff) + 1;
  showoneopt():
  8512:     msg_outtrans(NameBuff);
  ExpandOldSetting():
  10010:     var = NameBuff;
  option_value2string():
  10062:         STRCPY(NameBuff, get_special_key_name((int)wc, 0));
  10064:         STRCPY(NameBuff, transchar((int)wc));
  10066:         sprintf((char *)NameBuff, "%ld", *(long *)varp);
  10072:         NameBuff[0] = NUL;
  10076:         STRCPY(NameBuff, "*****");
  10079:         home_replace(NULL, varp, NameBuff, MAXPATHL, FALSE);
  10082:         str2specialbuf(p_pt, NameBuff, MAXPATHL);
  10084:         vim_strncpy(NameBuff, varp, MAXPATHL - 1);
quickfix.c (4 uses)
  ex_helpgrep():
  3816:         copy_option_part(&p, NameBuff, MAXPATHL, ",");
  3819:         add_pathsep(NameBuff);
  3820:         STRCAT(NameBuff, "doc/*.\\(txt\\|??x\\)");
  3821:         if (gen_expand_wildcards(1, &NameBuff, &fcount,
screen.c (14 uses)
  win_redr_status():
  5751:     p = NameBuff;
  5835:     if (get_keymap_str(wp, NameBuff, MAXPATHL)
  5836:         && (int)(this_ru_col - len) > (int)(STRLEN(NameBuff) + 1))
  5837:         screen_puts(NameBuff, row, (int)(this_ru_col - STRLEN(NameBuff)
  5837:         screen_puts(NameBuff, row, (int)(this_ru_col - STRLEN(NameBuff)
  draw_tabline():
  9164:             vim_snprintf((char *)NameBuff, MAXPATHL, "%d", wincount);
  9165:             len = (int)STRLEN(NameBuff);
  9168:             screen_puts_len(NameBuff, len, 0, col,
  9187:         shorten_dir(NameBuff);
  9188:         len = vim_strsize(NameBuff);
  9189:         p = NameBuff;
  get_trans_bufname():
  9247:     STRCPY(NameBuff, buf_spname(buf));
  9249:     home_replace(buf, buf->b_fname, NameBuff, MAXPATHL, TRUE);
  9250:     trans_characters(NameBuff, MAXPATHL);
spell.c (4 uses)
  spell_add_word():
  9376:                 home_replace(NULL, fname, NameBuff, MAXPATHL, TRUE);
  9377:                 smsg((char_u *)_("Word removed from %s"), NameBuff);
  9421:         home_replace(NULL, fname, NameBuff, MAXPATHL, TRUE);
  9422:         smsg((char_u *)_("Word added to %s"), NameBuff);
syn_buf (133 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:353
syntax.c (133 uses)
  syntax_start():
  478:     if (syn_buf != wp->w_buffer || changedtick != syn_buf->b_changedtick)
  478:     if (syn_buf != wp->w_buffer || changedtick != syn_buf->b_changedtick)
  481:     syn_buf = wp->w_buffer;
  483:     changedtick = syn_buf->b_changedtick;
  490:     if (syn_buf->b_sst_array == NULL)
  492:     syn_buf->b_sst_lasttick = display_tick;
  499:         && current_lnum < syn_buf->b_ml.ml_line_count)
  523:     if (INVALID_STATE(&current_state) && syn_buf->b_sst_array != NULL)
  526:     for (p = syn_buf->b_sst_first; p != NULL; p = p->sst_next)
  533:         if (p->sst_lnum >= lnum - syn_buf->b_syn_sync_minlines)
  548:     first_stored = current_lnum + syn_buf->b_syn_sync_minlines;
  557:     if (syn_buf->b_sst_len <= Rows)
  560:     dist = syn_buf->b_ml.ml_line_count / (syn_buf->b_sst_len - Rows) + 1;
  560:     dist = syn_buf->b_ml.ml_line_count / (syn_buf->b_sst_len - Rows) + 1;
  577:         sp = syn_buf->b_sst_first;
  syn_sync():
  709:     if (syn_buf->b_syn_sync_minlines > start_lnum)
  713:     if (syn_buf->b_syn_sync_minlines == 1)
  715:     else if (syn_buf->b_syn_sync_minlines < 10)
  716:         lnum = syn_buf->b_syn_sync_minlines * 2;
  718:         lnum = syn_buf->b_syn_sync_minlines * 3 / 2;
  719:     if (syn_buf->b_syn_sync_maxlines != 0
  720:                        && lnum > syn_buf->b_syn_sync_maxlines)
  721:         lnum = syn_buf->b_syn_sync_maxlines;
  732:     if (syn_buf->b_syn_sync_flags & SF_CCOMMENT)
  739:     curbuf = syn_buf;
  762:     if (find_start_comment((int)syn_buf->b_syn_sync_maxlines) != NULL)
  764:         for (idx = syn_buf->b_syn_patterns.ga_len; --idx >= 0; )
  765:         if (SYN_ITEMS(syn_buf)[idx].sp_syn.id == syn_buf->b_syn_sync_id
  765:         if (SYN_ITEMS(syn_buf)[idx].sp_syn.id == syn_buf->b_syn_sync_id
  766:             && SYN_ITEMS(syn_buf)[idx].sp_type == SPTYPE_START)
  784:     else if (syn_buf->b_syn_sync_flags & SF_MATCH)
  786:     if (syn_buf->b_syn_sync_maxlines != 0
  787:                  && start_lnum > syn_buf->b_syn_sync_maxlines)
  788:         break_lnum = start_lnum - syn_buf->b_syn_sync_maxlines;
  852:                 spp = &(SYN_ITEMS(syn_buf)[cur_si->si_idx]);
  syn_match_linecont():
  955:     if (syn_buf->b_syn_linecont_prog != NULL)
  957:     regmatch.rmm_ic = syn_buf->b_syn_linecont_ic;
  958:     regmatch.regprog = syn_buf->b_syn_linecont_prog;
  syn_update_ends():
  1005:             && (SYN_ITEMS(syn_buf)[cur_si->si_idx]).sp_type
  syn_stack_alloc():
  1133:     len = syn_buf->b_ml.ml_line_count / SST_DIST + Rows * 2;
  1138:     if (syn_buf->b_sst_len > len * 2 || syn_buf->b_sst_len < len)
  1138:     if (syn_buf->b_sst_len > len * 2 || syn_buf->b_sst_len < len)
  1141:     len = syn_buf->b_ml.ml_line_count;
  1148:     if (syn_buf->b_sst_array != NULL)
  1152:         while (syn_buf->b_sst_len - syn_buf->b_sst_freecount + 2 > len
  1152:         while (syn_buf->b_sst_len - syn_buf->b_sst_freecount + 2 > len
  1155:         if (len < syn_buf->b_sst_len - syn_buf->b_sst_freecount + 2)
  1155:         if (len < syn_buf->b_sst_len - syn_buf->b_sst_freecount + 2)
  1156:         len = syn_buf->b_sst_len - syn_buf->b_sst_freecount + 2;
  1156:         len = syn_buf->b_sst_len - syn_buf->b_sst_freecount + 2;
  1164:     if (syn_buf->b_sst_array != NULL)
  1167:         for (from = syn_buf->b_sst_first; from != NULL;
  1178:         syn_buf->b_sst_first = sstp;
  1179:         syn_buf->b_sst_freecount = len - (int)(to - sstp) - 1;
  1183:         syn_buf->b_sst_first = NULL;
  1184:         syn_buf->b_sst_freecount = len;
  1188:     syn_buf->b_sst_firstfree = to + 1;
  1193:     vim_free(syn_buf->b_sst_array);
  1194:     syn_buf->b_sst_array = sstp;
  1195:     syn_buf->b_sst_len = len;
  syn_stack_cleanup():
  1267:     if (syn_buf->b_sst_array == NULL || syn_buf->b_sst_first == NULL)
  1267:     if (syn_buf->b_sst_array == NULL || syn_buf->b_sst_first == NULL)
  1271:     if (syn_buf->b_sst_len <= Rows)
  1274:     dist = syn_buf->b_ml.ml_line_count / (syn_buf->b_sst_len - Rows) + 1;
  1274:     dist = syn_buf->b_ml.ml_line_count / (syn_buf->b_sst_len - Rows) + 1;
  1281:     tick = syn_buf->b_sst_lasttick;
  1283:     prev = syn_buf->b_sst_first;
  1288:         if (p->sst_tick > syn_buf->b_sst_lasttick)
  1303:     prev = syn_buf->b_sst_first;
  1310:         syn_stack_free_entry(syn_buf, p);
  syn_stack_find_entry():
  1344:     for (p = syn_buf->b_sst_first; p != NULL; prev = p, p = p->sst_next)
  store_current_state():
  1386:         if (syn_buf->b_sst_first == sp)
  1388:         syn_buf->b_sst_first = sp->sst_next;
  1392:         for (p = syn_buf->b_sst_first; p != NULL; p = p->sst_next)
  1398:         syn_stack_free_entry(syn_buf, sp);
  1408:     if (syn_buf->b_sst_freecount == 0)
  1415:     if (syn_buf->b_sst_freecount == 0)
  1421:         p = syn_buf->b_sst_firstfree;
  1422:         syn_buf->b_sst_firstfree = p->sst_next;
  1423:         --syn_buf->b_sst_freecount;
  1427:         p->sst_next = syn_buf->b_sst_first;
  1428:         syn_buf->b_sst_first = p;
  load_current_state():
  1505:                (SYN_ITEMS(syn_buf)[CUR_STATE(i).si_idx]).sp_next_list;
  syn_stack_equal():
  1567:             if ((SYN_ITEMS(syn_buf)[CUR_STATE(i).si_idx]).sp_ic
  syn_finish_line():
  1704:             && (SYN_ITEMS(syn_buf)[cur_si->si_idx].sp_flags
  get_syntax_attr():
  1743:     *can_spell = syn_buf->b_syn_spell == SYNSPL_DEFAULT
  1744:             ? (syn_buf->b_spell_cluster_id == 0)
  1745:             : (syn_buf->b_syn_spell == SYNSPL_TOP);
  1748:     if (syn_buf->b_sst_array == NULL)
  1752:     if (syn_buf->b_p_smc > 0 && col >= (colnr_T)syn_buf->b_p_smc)
  1752:     if (syn_buf->b_p_smc > 0 && col >= (colnr_T)syn_buf->b_p_smc)
  syn_current_attr():
  1857:             && (syn_buf->b_keywtab.ht_used > 0
  1858:                 || syn_buf->b_keywtab_ic.ht_used > 0);
  1887:     if (syn_buf->b_syn_containedin || cur_si == NULL
  1897:           if (vim_iswordc_buf(line + current_col, syn_buf)
  1905:                    , syn_buf)))
  1956:         if (syn_id == 0 && syn_buf->b_syn_patterns.ga_len)
  1972:             for (idx = syn_buf->b_syn_patterns.ga_len; --idx >= 0; )
  1974:             spp = &(SYN_ITEMS(syn_buf)[idx]);
  2150:             lspp = &(SYN_ITEMS(syn_buf)[next_match_idx]);
  2255:         if (syn_buf->b_spell_cluster_id == 0)
  2259:         if (syn_buf->b_nospell_cluster_id == 0 || current_trans_id == 0)
  2260:             *can_spell = (syn_buf->b_syn_spell != SYNSPL_NOTOP);
  2264:             sps.id = syn_buf->b_nospell_cluster_id;
  2276:             *can_spell = (syn_buf->b_syn_spell == SYNSPL_TOP);
  2280:             sps.id = syn_buf->b_spell_cluster_id;
  2284:             if (syn_buf->b_nospell_cluster_id != 0)
  2286:             sps.id = syn_buf->b_nospell_cluster_id;
  2318:     *can_spell = syn_buf->b_syn_spell == SYNSPL_DEFAULT
  2319:             ? (syn_buf->b_spell_cluster_id == 0)
  2320:             : (syn_buf->b_syn_spell == SYNSPL_TOP);
  push_next_match():
  2374:     spp = &(SYN_ITEMS(syn_buf)[next_match_idx]);
  check_state_ends():
  2519:             && SYN_ITEMS(syn_buf)[cur_si->si_idx].sp_type
  update_si_attr():
  2552:     spp = &(SYN_ITEMS(syn_buf)[sip->si_idx]);
  update_si_end():
  2690:     if (SYN_ITEMS(syn_buf)[sip->si_idx].sp_flags & HL_ONELINE)
  find_endpos():
  2792:     spp = &(SYN_ITEMS(syn_buf)[idx]);
  2804:     spp = &(SYN_ITEMS(syn_buf)[idx]);
  2834:     for (idx = start_idx; idx < syn_buf->b_syn_patterns.ga_len; ++idx)
  2838:         spp = &(SYN_ITEMS(syn_buf)[idx]);
  2890:         line = ml_get_buf(syn_buf, startpos->lnum, FALSE);
  2916:     spp = &(SYN_ITEMS(syn_buf)[best_idx]);
  syn_add_end_off():
  3038:     if (result->lnum > syn_buf->b_ml.ml_line_count)
  3041:         len = (int)STRLEN(ml_get_buf(syn_buf, result->lnum, FALSE));
  syn_getcurline():
  3086:     return ml_get_buf(syn_buf, current_lnum, FALSE);
  syn_regexec():
  3099:     rmp->rmm_maxcol = syn_buf->b_p_smc;
  3100:     if (vim_regexec_multi(rmp, syn_win, syn_buf, lnum, col, NULL) > 0)
  check_keyword_id():
  3144:     while (vim_iswordc_buf(kwp + kwlen, syn_buf));
  3162:     ht = round == 1 ? &syn_buf->b_keywtab : &syn_buf->b_keywtab_ic;
  3162:     ht = round == 1 ? &syn_buf->b_keywtab : &syn_buf->b_keywtab_ic;
  in_id_list():
  5843:         &(SYN_ITEMS(syn_buf)[cur_si->si_idx].sp_syn),
  5844:           SYN_ITEMS(syn_buf)[cur_si->si_idx].sp_flags & HL_CONTAINED))
  5899:         scl_list = SYN_CLSTR(syn_buf)[item - SYNID_CLUSTER].scl_list;
  syn_get_id():
  6101:     if (wp->w_buffer != syn_buf
p_cpo (123 uses in 26 translation units) defined in translation unit main.c, declared in ./option.h:385
buffer.c (2 uses)
  open_buffer():
  204:     if ((got_int && vim_strchr(p_cpo, CPO_INTMOD) != NULL)
  208:         || (aborting() && vim_strchr(p_cpo, CPO_INTMOD) != NULL)
edit.c (8 uses)
  ins_compl_get_exp():
  4157:                         || (vim_strchr(p_cpo, CPO_JOINSP)
  stop_insert():
  6373:     if (did_ai && (esc || (vim_strchr(p_cpo, CPO_INDENT) == NULL
  cursor_up():
  6684:     if (lnum <= 1 || (n >= lnum && vim_strchr(p_cpo, CPO_MINUS) != NULL))
  cursor_down():
  6749:             && vim_strchr(p_cpo, CPO_MINUS) != NULL))
  ins_esc():
  7891:         if (vim_strchr(p_cpo, CPO_REPLCNT) != NULL)
  ins_bs():
  8624:     if (vim_strchr(p_cpo, CPO_BACKSPACE) != NULL && dollar_vcol == 0)
  ins_tab():
  9233:     if (vim_strchr(p_cpo, CPO_LISTWM) == NULL)
  get_nolist_virtcol():
  9698:     if (curwin->w_p_list && vim_strchr(p_cpo, CPO_LISTWM) == NULL)
eval.c (18 uses)
  eval4():
  4284:                 save_cpo = p_cpo;
  4285:                 p_cpo = (char_u *)"";
  4296:                 p_cpo = save_cpo;
  get_buf_tv():
  8005:     save_cpo = p_cpo;
  8006:     p_cpo = (char_u *)"";
  8012:     p_cpo = save_cpo;
  find_some_match():
  12406:     save_cpo = p_cpo;
  12407:     p_cpo = (char_u *)"";
  12563:     p_cpo = save_cpo;
  do_searchpair():
  14335:     save_cpo = p_cpo;
  14336:     p_cpo = (char_u *)"";
  14451:     p_cpo = save_cpo;
  f_split():
  15386:     save_cpo = p_cpo;
  15387:     p_cpo = (char_u *)"";
  15447:     p_cpo = save_cpo;
  do_string_sub():
  21697:     save_cpo = p_cpo;
  21698:     p_cpo = (char_u *)"";
  21759:     p_cpo = save_cpo;
ex_cmds.c (6 uses)
  do_filter():
  1250:         if (cmdmod.keepmarks || vim_strchr(p_cpo, CPO_REMMARK) == NULL)
  do_write():
  2575:     if (vim_strchr(p_cpo, CPO_ALTWRITE) != NULL
  check_overwrite():
  2740:             && vim_strchr(p_cpo, CPO_OVERNEW) == NULL)
  do_sub():
  4291:                  && vim_strchr(p_cpo, CPO_SUBPERCENT) != NULL)
  4625:             if (vim_strchr(p_cpo, CPO_UNDO) != NULL)
  4751:             if (vim_strchr(p_cpo, CPO_UNDO) != NULL)
ex_cmds2.c (1 use)
  getsourceline():
  3364:     if (line != NULL && (vim_strchr(p_cpo, CPO_CONCAT) == NULL))
ex_docmd.c (7 uses)
  do_one_cmd():
  1980:         else if (*ea.cmd == '*' && vim_strchr(p_cpo, CPO_STAR) == NULL)
  2067:         if (vim_strchr(p_cpo, CPO_MINUS) != NULL)
  separate_nextcmd():
  4582:         if ((vim_strchr(p_cpo, CPO_BAR) == NULL
  do_exedit():
  7518:                       && vim_strchr(p_cpo, CPO_GOTO1) != NULL)
  ex_read():
  7761:         if (vim_strchr(p_cpo, CPO_ALTREAD) != NULL)
  ex_cd():
  7828:     if (vim_strchr(p_cpo, CPO_CHDIR) != NULL && curbufIsChanged()
  ex_at():
  8306:     if (do_execreg(c, TRUE, vim_strchr(p_cpo, CPO_EXECBUF) != NULL, TRUE)
ex_eval.c (3 uses)
  ex_catch():
  1552:         save_cpo  = p_cpo;
  1553:         p_cpo = (char_u *)"";
  1558:         p_cpo = save_cpo;
ex_getln.c (1 use)
  getcmdline():
  740:             && (!KeyTyped || vim_strchr(p_cpo, CPO_ESC) != NULL)))
fileio.c (10 uses)
  readfile():
  313:         && vim_strchr(p_cpo, CPO_FNAMER) != NULL
  buf_write():
  2976:         && (!append || vim_strchr(p_cpo, CPO_FNAMEAPP) != NULL)
  2977:         && vim_strchr(p_cpo, CPO_FNAMEW) != NULL)
  3138:             && (overwriting || vim_strchr(p_cpo, CPO_PLUS) != NULL))
  3336:         if (vim_strchr(p_cpo, CPO_FWRITE) != NULL)
  3764:         if (file_readonly && vim_strchr(p_cpo, CPO_FWRITE) != NULL)
  3852:                      && vim_strchr(p_cpo, CPO_FWRITE) == NULL)
  3862:     if (forceit && overwriting && vim_strchr(p_cpo, CPO_KEEPRO) == NULL)
  4073:         if (forceit && vim_strchr(p_cpo, CPO_FWRITE) == NULL
  4569:         && (overwriting || vim_strchr(p_cpo, CPO_PLUS) != NULL)
getchar.c (4 uses)
  do_map():
  3198:     do_backslash = (vim_strchr(p_cpo, CPO_BSLASH) == NULL);
  add_map():
  5096:     char_u    *cpo_save = p_cpo;
  5098:     p_cpo = (char_u *)"";    /* Allow <> notation */
  5105:     p_cpo = cpo_save;
memline.c (1 use)
  ml_close_all():
  651:                  || vim_strchr(p_cpo, CPO_PRESERVE) == NULL));
misc1.c (2 uses)
  ins_char_bytes():
  1978:         if (old_list && vim_strchr(p_cpo, CPO_LISTWM) == NULL)
  get_lisp_indent():
  8133:     vi_lisp = (vim_strchr(p_cpo, CPO_LISP) != NULL);
misc2.c (1 use)
  vim_findfile_init():
  4071:         && (!tagfile || vim_strchr(p_cpo, CPO_DOTTAG) == NULL)
move.c (1 use)
  win_col_off2():
  946:     if (wp->w_p_nu && vim_strchr(p_cpo, CPO_NUMCOL) != NULL)
normal.c (10 uses)
  normal_cmd():
  1003:             && vim_strchr(p_cpo, CPO_DIGRAPH) == NULL)
  do_pending_operator():
  1421:     if ((vim_strchr(p_cpo, CPO_YANK) != NULL || oap->op_type != OP_YANK)
  1446:         if (vim_strchr(p_cpo, CPO_REDO) == NULL)
  1667:         if ((vim_strchr(p_cpo, CPO_YANK) != NULL || oap->op_type != OP_YANK)
  1794:                 && vim_strchr(p_cpo, CPO_EMPTYREGION) != NULL);
  1921:         if (vim_strchr(p_cpo, CPO_FILTER) != NULL)
  nv_optrans():
  7179:     if (cap->cmdchar == 'D' && vim_strchr(p_cpo, CPO_HASH) != NULL)
  n_opencmd():
  8123:         if (vim_strchr(p_cpo, CPO_HASH) != NULL)
  nv_wordcmd():
  8375:         if (cap->count1 == 1 && vim_strchr(p_cpo, CPO_CW) != NULL)
  nv_edit():
  8749:         if (vim_strchr(p_cpo, CPO_INSEND) == NULL)
ops.c (6 uses)
  op_delete():
  1646:     if (vim_strchr(p_cpo, CPO_EMPTYREGION) != NULL)
  1859:         if (       vim_strchr(p_cpo, CPO_DOLLAR) != NULL
  op_yank():
  3008:     if (curr->y_type == MCHAR && vim_strchr(p_cpo, CPO_REGAPPEND) == NULL)
  do_do_join():
  4125:     if (col == MAXCOL && vim_strchr(p_cpo, CPO_JOINCOL) != NULL)
  4130:     if (col != MAXCOL && vim_strchr(p_cpo, CPO_JOINCOL) != NULL)
  do_join():
  4213:             || (vim_strchr(p_cpo, CPO_JOINSP) == NULL
option.c (4 uses)
  did_set_string_option():
  6604:     else if (varp == &(p_cpo))
  buf_copy_options():
  9363:     if (p_cpo != NULL)
  9377:     if ((vim_strchr(p_cpo, CPO_BUFOPTGLOB) == NULL || !(flags & BCO_ENTER))
  9380:             && vim_strchr(p_cpo, CPO_BUFOPT) != NULL)))
os_unix.c (1 use)
  mch_get_shellsize():
  3484:     if (columns == 0 || rows == 0 || vim_strchr(p_cpo, CPO_TSIZE) != NULL)
quickfix.c (3 uses)
  ex_helpgrep():
  3776:     save_cpo = p_cpo;
  3777:     p_cpo = (char_u *)"";
  3887:     p_cpo = save_cpo;
regexp.c (4 uses)
  skip_anyof():
  868:     cpo_lit = vim_strchr(p_cpo, CPO_LITERAL) != NULL;
  869:     cpo_bsl = vim_strchr(p_cpo, CPO_BACKSL) != NULL;
  regatom():
  1574:     cpo_lit = vim_strchr(p_cpo, CPO_LITERAL) != NULL;
  1575:     cpo_bsl = vim_strchr(p_cpo, CPO_BACKSL) != NULL;
screen.c (2 uses)
  win_line():
  3297:                 || vim_strchr(p_cpo, CPO_NUMCOL) == NULL))
  next_search_hl():
  6625:     else if (vim_strchr(p_cpo, CPO_SEARCH) == NULL
search.c (12 uses)
  searchit():
  665:                 if (vim_strchr(p_cpo, CPO_SEARCH) != NULL)
  779:                 if (vim_strchr(p_cpo, CPO_SEARCH) != NULL)
  do_search():
  1039:     if (spats[0].off.line && vim_strchr(p_cpo, CPO_LINEOFF) != NULL)
  findmatchlimit():
  1695:     cpo_match = (vim_strchr(p_cpo, CPO_MATCH) != NULL);
  1696:     cpo_bsl = (vim_strchr(p_cpo, CPO_MATCHBSL) != NULL);
  showmatch():
  2471:         if (vim_strchr(p_cpo, CPO_SHOWMATCH) != NULL)
  findsent():
  2564:     cpo_J = vim_strchr(p_cpo, CPO_ENDOFSENT) != NULL;
  findpar():
  2632:     int        posix = (vim_strchr(p_cpo, CPO_PARA) != NULL);
  current_block():
  3572:     save_cpo = p_cpo;
  3573:     p_cpo = (char_u *)"%";
  3581:     p_cpo = save_cpo;
  find_pattern_in_path():
  4938:                     || (vim_strchr(p_cpo, CPO_JOINSP) == NULL
syntax.c (6 uses)
  get_syn_pattern():
  5363:     cpo_save = p_cpo;
  5364:     p_cpo = (char_u *)"";
  5366:     p_cpo = cpo_save;
  syn_cmd_sync():
  5543:         cpo_save = p_cpo;
  5544:         p_cpo = (char_u *)"";
  5547:         p_cpo = cpo_save;
tag.c (1 use)
  jumpto_tag():
  3163:     if (vim_strchr(p_cpo, CPO_TAGPAT) != NULL)
term.c (7 uses)
  check_termcode():
  3866:     cpo_koffset = (vim_strchr(p_cpo, CPO_KOFFSET) != NULL);
  replace_termcodes():
  4986:     do_backslash = (vim_strchr(p_cpo, CPO_BSLASH) == NULL);
  4987:     do_special = (vim_strchr(p_cpo, CPO_SPECI) == NULL) || special;
  4988:     do_key_code = (vim_strchr(p_cpo, CPO_KEYCODE) == NULL);
  translate_mapping():
  5558:     cpo_bslash = (vim_strchr(p_cpo, CPO_BSLASH) != NULL);
  5559:     cpo_special = (vim_strchr(p_cpo, CPO_SPECI) != NULL);
  5560:     cpo_keycode = (vim_strchr(p_cpo, CPO_KEYCODE) == NULL);
undo.c (2 uses)
  u_undo():
  674:     if (vim_strchr(p_cpo, CPO_UNDO) == NULL)
  u_redo():
  689:     if (vim_strchr(p_cpo, CPO_UNDO) == NULL)
y_current (123 uses in 1 translation unit) defined static in translation unit ops.c, declared in ops.c:65
ops.c (123 uses)
  get_yank_register():
  861:     y_current = y_previous;
  890:     y_current = &(y_regs[i]);
  892:     y_previous = y_current;
  get_register():
  950:     *reg = *y_current;
  962:             reg->y_array[i] = vim_strsave(y_current->y_array[i]);
  966:         y_current->y_array = NULL;
  put_register():
  981:     *y_current = *(struct yankreg *)reg;
  yank_register_mline():
  1004:     return (y_current->y_type == MLINE);
  do_record():
  1057:         old_y_current = y_current;
  1062:         y_current = old_y_current;
  stuff_yank():
  1094:     if (y_append && y_current->y_array != NULL)
  1096:     pp = &(y_current->y_array[y_current->y_size - 1]);
  1096:     pp = &(y_current->y_array[y_current->y_size - 1]);
  1112:     if ((y_current->y_array =
  1118:     y_current->y_array[0] = p;
  1119:     y_current->y_size = 1;
  1120:     y_current->y_type = MCHAR;  /* used to be MLINE, why? */
  do_execreg():
  1216:     if (y_current->y_array == NULL)
  1226:     for (i = y_current->y_size; --i >= 0; )
  1231:         if (y_current->y_type == MLINE || i < y_current->y_size - 1
  1231:         if (y_current->y_type == MLINE || i < y_current->y_size - 1
  1237:         escaped = vim_strsave_escape_csi(y_current->y_array[i]);
  insert_reg():
  1359:     if (y_current->y_array == NULL)
  1363:         for (i = 0; i < y_current->y_size; ++i)
  1365:         stuffescaped(y_current->y_array[i], literally);
  1370:         if (y_current->y_type == MLINE || i < y_current->y_size - 1)
  1370:         if (y_current->y_type == MLINE || i < y_current->y_size - 1)
  cmdline_paste_reg():
  1523:     if (y_current->y_array == NULL)
  1526:     for (i = 0; i < y_current->y_size; ++i)
  1528:     cmdline_paste_str(y_current->y_array[i], literally);
  1532:     if (y_current->y_type == MLINE
  1533:         || (i < y_current->y_size - 1
  1535:             && i == y_current->y_size - 2
  1536:             && *y_current->y_array[i + 1] == NUL)))
  op_delete():
  1678:         y_current = &y_regs[9];
  1682:         y_previous = y_current = &y_regs[1];
  free_yank():
  2750:     if (y_current->y_array != NULL)
  2770:         vim_free(y_current->y_array[i]);
  2772:     vim_free(y_current->y_array);
  2773:     y_current->y_array = NULL;
  free_yank_all():
  2784:     free_yank(y_current->y_size);
  op_yank():
  2833:     curr = y_current;
  2835:     if (y_append && y_current->y_array != NULL)
  2836:     y_current = &newreg;
  2859:     y_current->y_size = yanklines;
  2860:     y_current->y_type = yanktype;   /* set the yank register type */
  2862:     y_current->y_width = 0;
  2864:     y_current->y_array = (char_u **)lalloc_clear((long_u)(sizeof(char_u *) *
  2867:     if (y_current->y_array == NULL)
  2869:     y_current = curr;
  2880:     y_current->y_type = MBLOCK;        /* set the yank register type */
  2881:     y_current->y_width = oap->end_vcol - oap->start_vcol;
  2883:     if (curwin->w_curswant == MAXCOL && y_current->y_width > 0)
  2884:         y_current->y_width--;
  2890:     switch (y_current->y_type)
  2901:         if ((y_current->y_array[y_idx] =
  2992:     if (curr != y_current)    /* append the new block to the old block */
  2995:                    (curr->y_size + y_current->y_size)), TRUE);
  3011:                   + STRLEN(y_current->y_array[0]) + 1), TRUE);
  3014:         y_idx = y_current->y_size - 1;
  3018:         STRCAT(pnew, y_current->y_array[0]);
  3020:         vim_free(y_current->y_array[0]);
  3026:     while (y_idx < y_current->y_size)
  3027:         curr->y_array[j++] = y_current->y_array[y_idx++];
  3029:     vim_free(y_current->y_array);
  3030:     y_current = curr;
  3120:     y_current = curr;
  yank_copy_line():
  3134:     y_current->y_array[y_idx] = pnew;
  copy_yank_reg():
  3153:     struct yankreg    *curr = y_current;
  3156:     y_current = reg;
  3158:     *y_current = *curr;
  3159:     y_current->y_array = (char_u **)lalloc_clear(
  3160:             (long_u)(sizeof(char_u *) * y_current->y_size), TRUE);
  3161:     if (y_current->y_array == NULL)
  3162:     y_current->y_size = 0;
  3164:     for (j = 0; j < y_current->y_size; ++j)
  3165:         if ((y_current->y_array[j] = vim_strsave(curr->y_array[j])) == NULL)
  3168:         y_current->y_size = 0;
  3171:     y_current = curr;
  do_put():
  3308:     y_type = y_current->y_type;
  3310:     y_width = y_current->y_width;
  3312:     y_size = y_current->y_size;
  3313:     y_array = y_current->y_array;
  read_viminfo_register():
  5328:     if (!force && y_current->y_array != NULL)
  5335:         y_previous = y_current;
  5336:     vim_free(y_current->y_array);
  5337:     array = y_current->y_array =
  5341:         y_current->y_type = MCHAR;
  5344:         y_current->y_type = MBLOCK;
  5347:         y_current->y_type = MLINE;
  5351:     y_current->y_width = getdigits(&str);
  5364:         y_current->y_array = (char_u **)
  5367:             y_current->y_array[i] = array[i];
  5370:         array = y_current->y_array;
  5384:         y_current->y_array = NULL;
  5388:         y_current->y_array =
  5391:         y_current->y_array[i] = array[i];
  5394:     y_current->y_size = size;
  clip_free_selection():
  5566:     struct yankreg *y_ptr = y_current;
  5569:     y_current = &y_regs[PLUS_REGISTER];
  5571:     y_current = &y_regs[STAR_REGISTER];
  5573:     y_current->y_size = 0;
  5574:     y_current = y_ptr;
  clip_get_selection():
  5604:     old_y_current = y_current;
  5624:     y_current = old_y_current;
  may_set_selection():
  5742:     if (y_current == &(y_regs[STAR_REGISTER]) && clip_star.available)
  5747:     else if (y_current == &(y_regs[PLUS_REGISTER]) && clip_plus.available)
  get_reg_type():
  5814:     if (y_current->y_array != NULL)
  5817:     if (reglen != NULL && y_current->y_type == MBLOCK)
  5818:         *reglen = y_current->y_width;
  5820:     return y_current->y_type;
  get_reg_contents():
  5874:     if (y_current->y_array == NULL)
  5881:     for (i = 0; i < y_current->y_size; ++i)
  5883:     len += (long)STRLEN(y_current->y_array[i]);
  5888:     if (y_current->y_type == MLINE || i < y_current->y_size - 1)
  5888:     if (y_current->y_type == MLINE || i < y_current->y_size - 1)
  5900:     for (i = 0; i < y_current->y_size; ++i)
  5902:         STRCPY(retval + len, y_current->y_array[i]);
  5909:         if (y_current->y_type == MLINE || i < y_current->y_size - 1)
  5909:         if (y_current->y_type == MLINE || i < y_current->y_size - 1)
  write_reg_contents_ex():
  5992:     old_y_current = y_current;
  6005:     str_to_reg(y_current, yank_type, str, len, block_len);
  6015:     y_current = old_y_current;
msg_col (117 uses in 22 translation units) defined in translation unit main.c, declared in ./globals.h:149
digraph.c (3 uses)
  printdigraph():
  2354:     if (msg_col > Columns - list_width)
  2356:     if (msg_col)
  2357:         while (msg_col % list_width != 0)
eval.c (1 use)
  f_getchar():
  9944:     windgoto(msg_row, msg_col);
ex_cmds.c (6 uses)
  do_bang():
  1023:     windgoto(msg_row, msg_col);
  do_shell():
  1416:     windgoto(msg_row, msg_col);
  1429:     msg_col = 0;
  do_sub():
  4696:                 windgoto(msg_row, msg_col);
  4710:                 msg_col = 0;
  global_exe():
  5340:     if (msg_col == 0 && msg_scrolled == 0)
ex_cmds2.c (1 use)
  check_changed_any():
  1566:         msg_col = 0;
ex_docmd.c (2 uses)
  do_exmode():
  674:         msg_col = 0;
  ex_redraw():
  8545:     msg_col = 0;
ex_getln.c (18 uses)
  getcmdline():
  979:                 msg_col = 0;
  getcmdline_prompt():
  1941:     int            msg_col_save = msg_col;
  1954:     msg_col = msg_col_save;
  getexmodeline():
  2132:     if ((msg_col || msg_didout) && promptc != '?')
  2141:     startcol = msg_col;
  2210:         msg_col = startcol;
  2234:         msg_col = startcol;
  2253:         windgoto(msg_row, msg_col);
  2318:     windgoto(msg_row, msg_col);
  2338:     msg_col = 0;
  put_on_cmdline():
  2788:         msg_col -= i;
  2789:         if (msg_col < 0)
  2791:             msg_col += Columns;
  redrawcmdprompt():
  3093:     ccline.cmdindent = msg_col + (msg_row - cmdline_row) * Columns;
  cursorcmd():
  3170:     msg_col = ccline.cmdspos % (int)Columns;
  3175:     windgoto(msg_row, msg_col);
  gotocmdline():
  3194:     msg_col = 0;        /* always start in column 0 */
  showmatches():
  3913:         if (msg_col > 0)    /* when not wrapped around */
fileio.c (3 uses)
  show_autocmd():
  7288:     msg_col = 4;
  7295:         if (msg_col >= 14)
  7297:         msg_col = 14;
getchar.c (1 use)
  vgetorpeek():
  2216:                 msg_col = 0;
gui.c (1 use)
  gui_send_mouse_event():
  2933:             col = msg_col;
message.c (47 uses)
  msg_end_prompt():
  849:     msg_col = 0;
  msg_start():
  1137:     msg_col =
  screen_puts_mbyte():
  1678:         msg_col == Columns - 1))
  1685:     screen_puts_len(s, l, msg_row, msg_col, attr);
  1699:     msg_col += cw;
  1700:     if (msg_col >= Columns)
  1702:         msg_col = 0;
  msg_puts_long_len_attr():
  1750:     room = Columns - msg_col;
  msg_puts_display():
  1842:     int        sb_col = msg_col;
  1866:               (msg_col + t_col >= Columns - 1
  1867:                || (*s == TAB && msg_col + t_col >= ((Columns - 1) & ~7))
  1870:                         && msg_col + t_col >= Columns - 2)
  1891:         if (msg_col >= Columns)    /* can happen after screen resize */
  1892:         msg_col = Columns - 1;
  1957:             || msg_col + t_col >= Columns
  1960:                         && msg_col + t_col >= Columns - 1)
  1980:         msg_col = 0;
  1986:         msg_col = 0;
  1990:         if (msg_col)
  1991:         --msg_col;
  1997:         while (msg_col & 7);
  2031:             (cw > 1 && msg_col + t_col >= Columns - 1)
  disp_sb_line():
  2280:     msg_col = mp->sb_msg_col;
  t_puts():
  2304:     screen_puts_len(t_s, (int)(s - t_s), msg_row, msg_col, attr);
  2305:     msg_col += *t_col;
  2311:     --msg_col;
  2313:     if (msg_col >= Columns)
  2315:     msg_col = 0;
  msg_puts_printf():
  2388:         msg_col = 0;
  2390:         ++msg_col;
  do_more_prompt():
  2652:     msg_col = 0;
  msg_screen_putchar():
  2792:     screen_putchar(c, msg_row, msg_col, attr);
  2805:     if (++msg_col >= Columns)
  2807:         msg_col = 0;
  repeat_message():
  2849:     windgoto(msg_row, msg_col); /* put cursor back */
  2859:         msg_col = 0;
  msg_check_screen():
  2881:     if (msg_col >= Columns)
  2882:     msg_col = Columns - 1;
  msg_clr_eos_force():
  2926:         screen_fill(msg_row, msg_row + 1, msg_col, (int)Columns,
  msg_clr_cmdline():
  2940:     msg_col = 0;
  msg_check():
  2974:     if (msg_row == Rows - 1 && msg_col >= sc_col)
  redir_write():
  3013:         while (cur_col < msg_col)
  3051:         msg_col = cur_col;
  verbose_write():
  3166:         while (cur_col < msg_col)
  give_warning():
  3217:     msg_col = 0;
  msg_advance():
  3231:     msg_col = col;        /* for redirection, may fill it up later */
  3242:     while (msg_col < col)
misc1.c (2 uses)
  change_warning():
  2982:         msg_col = col;
  get_number():
  3195:     windgoto(msg_row, msg_col);
normal.c (1 use)
  normal_cmd():
  1122:     msg_col = 0;
option.c (1 use)
  showoptions():
  8447:         msg_col = col;            /* make columns */
os_unix.c (2 uses)
  mch_call_shell():
  4248:                 windgoto(msg_row, msg_col);
  4375:             windgoto(msg_row, msg_col);
quickfix.c (2 uses)
  ex_make():
  2762:     if (msg_col == 0)
  ex_vimgrep():
  3104:         msg_col = 0;
screen.c (6 uses)
  screenalloc():
  7589:     if (msg_col >= Columns)        /* Columns got smaller */
  7590:         msg_col = Columns - 1;    /* put cursor at last column */
  screenclear2():
  7686:     msg_col = 0;
  showmode():
  8990:     length = msg_col;
  8991:     msg_col = 0;
  msg_pos_mode():
  9026:     msg_col = 0;
spell.c (2 uses)
  spell_read_dic():
  6546:         msg_col = 0;
  tree_add_word():
  7521:         msg_col = 0;
syntax.c (6 uses)
  syn_list_cluster():
  3851:     if (msg_col >= endcol)    /* output at least one space */
  3852:     endcol = msg_col + 1;
  syn_list_header():
  8417:     else if (msg_col + outlen + 1 >= Columns)
  8425:     if (msg_col >= endcol)    /* wrap around is like starting a new line */
  8429:     if (msg_col >= endcol)    /* output at least one space */
  8430:     endcol = msg_col + 1;
tag.c (6 uses)
  do_tag():
  617:         if (msg_col == 0)
  660:             if (msg_col > 0)
  693:                 if (msg_col + ptr2cells(p) >= Columns)
  708:             if (msg_col > 15)
  739:             if (msg_col + (*p == TAB ? 1 : ptr2cells(p)) > Columns)
  764:             if (msg_col)
term.c (1 use)
  show_termcodes():
  5300:         msg_col = col;            /* make columns */
version.c (2 uses)
  list_version():
  1575:     if (msg_col > 0)
  version_msg():
  1680:     if (!got_int && len < (int)Columns && msg_col + len >= (int)Columns
window.c (3 uses)
  win_split_ins():
  1101:     msg_col = sc_col;
  1105:     msg_col = 0;    /* put position back at start of line */
  win_setheight_win():
  4665:     msg_col = 0;
ScreenLines (116 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:42
edit.c (1 use)
  edit_putchar():
  1538:     if (ScreenLines != NULL)
gui.c (19 uses)
  gui_update_cursor():
  924:     if (!screen_cleared || ScreenLines == NULL)
  gui_screenchar():
  1863:     if (enc_utf8 && ScreenLines[off] == 0)
  1871:     if (enc_dbcs == DBCS_JPNU && ScreenLines[off] == 0x8e)
  1873:     buf[0] = ScreenLines[off];
  1879:     return gui_outstr_nowrap(ScreenLines + off,
  1880:         enc_dbcs ? (*mb_ptr2len)(ScreenLines + off) : 1,
  gui_redraw_block():
  2428:     if (!screen_cleared || ScreenLines == NULL)
  2458:         col1 -= dbcs_screen_head_off(ScreenLines + off,
  2459:                             ScreenLines + off + col1);
  2460:         col2 += dbcs_screen_tail_off(ScreenLines + off,
  2461:                             ScreenLines + off + col2);
  2465:         if (ScreenLines[off + col1] == 0)
  2481:             || ScreenLines[off - 1 - back] == ' ')
  2484:                           && ScreenLines[off - 1] != ' ');
  2498:         if (gui.col < Columns && ScreenLines[off + 1] == 0)
  2503:         else if (enc_dbcs == DBCS_JPNU && ScreenLines[off] == 0x8e)
  2535:             if (ScreenLines[off + idx] == 0x8e)
  2537:             if (len > 1 && (*mb_ptr2len)(ScreenLines
  2543:         nback = gui_outstr_nowrap(ScreenLines + off, idx, flags,
mbyte.c (8 uses)
  dbcs_off2cells():
  1341:     if (enc_dbcs == DBCS_JPNU && ScreenLines[off] == 0x8e)
  1343:     return MB_BYTE2LEN(ScreenLines[off]);
  utf_off2cells():
  1351:     return (off + 1 < max_off && ScreenLines[off + 1] == 0) ? 2 : 1;
  mb_fix_col():
  2937:     if (has_mbyte && ScreenLines != NULL && col > 0
  2939:             && ScreenLines[LineOffset[row] + col] != NUL
  2940:             && dbcs_screen_head_off(ScreenLines + LineOffset[row],
  2941:                      ScreenLines + LineOffset[row] + col))
  2942:         || (enc_utf8 && ScreenLines[LineOffset[row] + col] == 0)))
screen.c (76 uses)
  fold_line():
  2105:     int        off = (int)(current_ScreenLine - ScreenLines);
  2125:     ScreenLines[off] = cmdwin_type;
  2267:         ScreenLines[idx] = *p;
  2327:             ScreenLines[idx + 1] = 0;
  2334:             ScreenLines[idx + 1] = p[1];
  2382:     ScreenLines[off + col++] = fill_fold;
  copy_text_attr():
  2477:     mch_memmove(ScreenLines + off, buf, (size_t)len);
  win_line():
  3179:     off = (unsigned)(current_ScreenLine - ScreenLines);
  4392:             ScreenLines[off] = ' ';
  4480:             ScreenLines[off] = ' ';
  4580:         ScreenLines[off] = c;
  4592:             ScreenLines[off] = 0x80;   /* avoid storing zero */
  4620:             ScreenLines[off] = 0;
  4623:             ScreenLines[off] = mb_c & 0xff;
  4777:             if (has_mbyte && MB_BYTE2LEN(ScreenLines[LineOffset[
  4782:             out_char(ScreenLines[LineOffset[screen_row - 1]
  4791:         off = (unsigned)(current_ScreenLine - ScreenLines);
  char_needs_redraw():
  4875:         && ((ScreenLines[off_from] != ScreenLines[off_to]
  4875:         && ((ScreenLines[off_from] != ScreenLines[off_to]
  4880:             && MB_BYTE2LEN(ScreenLines[off_from]) > 1
  4881:             && (enc_dbcs == DBCS_JPNU && ScreenLines[off_from] == 0x8e
  4883:             : (cols > 1 && ScreenLines[off_from + 1]
  4884:                          != ScreenLines[off_to + 1])))
  4889:             || (cols > 1 && ScreenLines[off_from + 1]
  4890:                          != ScreenLines[off_to + 1])))
  screen_line():
  4952:     off_from = (unsigned)(current_ScreenLine - ScreenLines);
  5073:             ScreenLines[off_to + 1] = 0;
  5084:             ScreenLines[off_to + 2] = 0;
  5105:         ScreenLines[off_to] = ScreenLines[off_from];
  5105:         ScreenLines[off_to] = ScreenLines[off_from];
  5119:         ScreenLines[off_to + 1] = ScreenLines[off_from + 1];
  5119:         ScreenLines[off_to + 1] = ScreenLines[off_from + 1];
  5187:     ScreenLines[off_to] = ' ';
  5205:     while (col < clear_width && ScreenLines[off_to] == ' '
  5235:             prev_cells = ScreenLines[off_to - 1] == 0 ? 2 : 1;
  5278:         if (ScreenLines[off_to] != c
  5285:         ScreenLines[off_to] = c;
  screen_getbytes():
  6167:     if (ScreenLines != NULL && row < screen_Rows && col < screen_Columns)
  6171:     bytes[0] = ScreenLines[off];
  6177:     else if (enc_dbcs == DBCS_JPNU && ScreenLines[off] == 0x8e)
  6179:         bytes[0] = ScreenLines[off];
  6185:         bytes[1] = ScreenLines[off + 1];
  screen_puts_len():
  6262:     if (ScreenLines == NULL || row >= screen_Rows)    /* safety check */
  6329:     if (ScreenLines[off] != c
  6332:             && ScreenLines[off + 1] != (enc_dbcs ? ptr[1] : 0))
  6407:         ScreenLines[off + mbyte_blen] = 0;
  6409:         ScreenLines[off] = c;
  6430:             ScreenLines[off + 1] = 0;
  6437:         ScreenLines[off + 1] = ptr[1];
  screen_char():
  6950:     out_char(ScreenLines[off]);
  6953:     if (enc_dbcs == DBCS_JPNU && ScreenLines[off] == 0x8e)
  screen_char_2():
  6990:     out_char(ScreenLines[off + 1]);
  screen_draw_rectangle():
  7015:     if (ScreenLines == NULL)
  screen_fill():
  7107:     if (ScreenLines == NULL
  7147:         while (off < end_off && ScreenLines[off] == ' '
  7152:         while (off < end_off && ScreenLines[off] == ' '
  7165:             ScreenLines[off] = ' ';
  7181:         if (ScreenLines[off] != c
  7209:             if (ScreenLines[off] != ' '
  7217:         ScreenLines[off] = c;
  screen_valid():
  7286:     return (ScreenLines != NULL);
  screenalloc():
  7332:     if ((ScreenLines != NULL
  7343:         || (!full_screen && ScreenLines == NULL))
  7433:     if (ScreenLines != NULL || !done_outofmem_msg)
  7502:         if (old_row >= 0 && ScreenLines != NULL)
  7514:             mch_memmove(new_ScreenLines + new_LineOffset[new_row],
  7547:     ScreenLines = new_ScreenLines;
  7577:         && ScreenLines != NULL
  free_screenlines():
  7614:     vim_free(ScreenLines);
  screenclear2():
  7636:     if (starting == NO_SCREEN || ScreenLines == NULL
  lineclear():
  7701:     (void)vim_memset(ScreenLines + off, ' ', (size_t)width * sizeof(schar_T));
  linecopy():
  7735:     mch_memmove(ScreenLines + off_to, ScreenLines + off_from,
  7735:     mch_memmove(ScreenLines + off_to, ScreenLines + off_from,
  windgoto():
  7811:     if (ScreenLines == NULL)
  8009:                 out_char(ScreenLines[off]);
  8012:                           && ScreenLines[off] == 0x8e)
ui.c (12 uses)
  clip_copy_modeless_selection():
  1152:     if (ScreenLines == NULL)
  1169:     p = ScreenLines + LineOffset[row1];
  1227:         p = ScreenLines + LineOffset[row];
  1254:             *bufp++ = ScreenLines[off + i];
  1268:             if (ScreenLines[off + i + 1] == 0)
  1275:         STRNCPY(bufp, ScreenLines + LineOffset[row] + start_col,
  clip_get_word_boundaries():
  1328:     if (row >= screen_Rows || col >= screen_Columns || ScreenLines == NULL)
  1331:     p = ScreenLines + LineOffset[row];
  clip_get_line_end():
  1383:     if (row >= screen_Rows || ScreenLines == NULL)
  1386:     if (ScreenLines[LineOffset[row] + i - 1] != ' ')
  jump_to_mouse():
  2458:                                && ScreenLines != NULL)
  2459:     mouse_char = ScreenLines[LineOffset[row] + col];
current_state (114 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:359
syntax.c (114 uses)
  syntax_start():
  497:     if (VALID_STATE(&current_state)
  523:     if (INVALID_STATE(&current_state) && syn_buf->b_sst_array != NULL)
  545:     if (INVALID_STATE(&current_state))
  clear_current_state():
  657:     sip = (stateitem_T *)(current_state.ga_data);
  658:     for (i = 0; i < current_state.ga_len; i++)
  660:     ga_clear(&current_state);
  syn_sync():
  770:             update_si_attr(current_state.ga_len - 1);
  835:             if (had_sync_point && current_state.ga_len)
  837:             cur_si = &CUR_STATE(current_state.ga_len - 1);
  837:             cur_si = &CUR_STATE(current_state.ga_len - 1);
  902:             update_si_attr(current_state.ga_len - 1);
  912:             if (current_state.ga_len)
  914:             cur_si = &CUR_STATE(current_state.ga_len - 1);
  914:             cur_si = &CUR_STATE(current_state.ga_len - 1);
  syn_start_line():
  977:     if (current_state.ga_len > 0)
  syn_update_ends():
  1001:     for (i = 0; i < current_state.ga_len; ++i)
  1003:         cur_si = &CUR_STATE(i);
  1027:     i = current_state.ga_len - 1;
  1030:         if (CUR_STATE(i).si_flags & HL_EXTEND)
  1034:     for ( ; i < current_state.ga_len; ++i)
  1036:     cur_si = &CUR_STATE(i);
  1039:                 || (i == current_state.ga_len - 1 && startofline))
  store_current_state():
  1371:     for (i = current_state.ga_len - 1; i >= 0; --i)
  1373:     cur_si = &CUR_STATE(i);
  1445:     sp->sst_stacksize = current_state.ga_len;
  1446:     if (current_state.ga_len > SST_FIX_STATES)
  1451:         if (ga_grow(&sp->sst_union.sst_ga, current_state.ga_len) == FAIL)
  1454:         sp->sst_union.sst_ga.ga_len = current_state.ga_len;
  1461:         bp[i].bs_idx = CUR_STATE(i).si_idx;
  1462:         bp[i].bs_flags = CUR_STATE(i).si_flags;
  1463:         bp[i].bs_extmatch = ref_extmatch(CUR_STATE(i).si_extmatch);
  load_current_state():
  1488:         && ga_grow(&current_state, from->sst_stacksize) != FAIL)
  1496:         CUR_STATE(i).si_idx = bp[i].bs_idx;
  1497:         CUR_STATE(i).si_flags = bp[i].bs_flags;
  1498:         CUR_STATE(i).si_extmatch = ref_extmatch(bp[i].bs_extmatch);
  1499:         if (keepend_level < 0 && (CUR_STATE(i).si_flags & HL_KEEPEND))
  1501:         CUR_STATE(i).si_ends = FALSE;
  1502:         CUR_STATE(i).si_m_lnum = 0;
  1503:         if (CUR_STATE(i).si_idx >= 0)
  1504:         CUR_STATE(i).si_next_list =
  1505:                (SYN_ITEMS(syn_buf)[CUR_STATE(i).si_idx]).sp_next_list;
  1507:         CUR_STATE(i).si_next_list = NULL;
  1510:     current_state.ga_len = from->sst_stacksize;
  syn_stack_equal():
  1530:     if (sp->sst_stacksize == current_state.ga_len
  1539:     for (i = current_state.ga_len; --i >= 0; )
  1542:         if (bp[i].bs_idx != CUR_STATE(i).si_idx)
  1544:         if (bp[i].bs_extmatch != CUR_STATE(i).si_extmatch)
  1550:         six = CUR_STATE(i).si_extmatch;
  1567:             if ((SYN_ITEMS(syn_buf)[CUR_STATE(i).si_idx]).sp_ic
  invalidate_current_state():
  1616:     current_state.ga_itemsize = 0;    /* mark current_state invalid */
  validate_current_state():
  1624:     current_state.ga_itemsize = sizeof(stateitem_T);
  1625:     current_state.ga_growsize = 3;
  syntax_check_changed():
  1647:     if (VALID_STATE(&current_state) && lnum == current_lnum + 1)
  syn_finish_line():
  1697:         if (syncing && current_state.ga_len)
  1702:         cur_si = &CUR_STATE(current_state.ga_len - 1);
  1702:         cur_si = &CUR_STATE(current_state.ga_len - 1);
  get_syntax_attr():
  1763:     if (INVALID_STATE(&current_state))
  syn_current_attr():
  1882:     if (current_state.ga_len)
  1883:         cur_si = &CUR_STATE(current_state.ga_len - 1);
  1883:         cur_si = &CUR_STATE(current_state.ga_len - 1);
  1913:             cur_si = &CUR_STATE(current_state.ga_len - 1);
  1913:             cur_si = &CUR_STATE(current_state.ga_len - 1);
  1928:                 if (current_state.ga_len < 2)
  1935:                 cur_si->si_attr = CUR_STATE(
  1935:                 cur_si->si_attr = CUR_STATE(
  1937:                 cur_si->si_trans_id = CUR_STATE(
  1937:                 cur_si->si_trans_id = CUR_STATE(
  2227:     for (idx = current_state.ga_len - 1; idx >= 0; --idx)
  2229:         sip = &CUR_STATE(idx);
  2306:         if (current_state.ga_len > 0
  did_match_already():
  2350:     for (i = current_state.ga_len; --i >= 0; )
  2351:     if (CUR_STATE(i).si_m_startcol == (int)current_col
  2352:         && CUR_STATE(i).si_m_lnum == (int)current_lnum
  2353:         && CUR_STATE(i).si_idx == idx)
  push_next_match():
  2385:     cur_si = &CUR_STATE(current_state.ga_len - 1);
  2385:     cur_si = &CUR_STATE(current_state.ga_len - 1);
  2408:         keepend_level = current_state.ga_len - 1;
  2410:     update_si_attr(current_state.ga_len - 1);
  2420:         cur_si = &CUR_STATE(current_state.ga_len - 1);
  2420:         cur_si = &CUR_STATE(current_state.ga_len - 1);
  2431:         update_si_attr(current_state.ga_len - 1);
  check_state_ends():
  2449:     cur_si = &CUR_STATE(current_state.ga_len - 1);
  2449:     cur_si = &CUR_STATE(current_state.ga_len - 1);
  2473:         update_si_attr(current_state.ga_len - 1);
  2497:         if (current_state.ga_len == 0)
  2503:             if (current_state.ga_len == 0)
  2507:         cur_si = &CUR_STATE(current_state.ga_len - 1);
  2507:         cur_si = &CUR_STATE(current_state.ga_len - 1);
  update_si_attr():
  2545:     stateitem_T    *sip = &CUR_STATE(idx);
  2580:         sip->si_attr = CUR_STATE(idx - 1).si_attr;
  2581:         sip->si_trans_id = CUR_STATE(idx - 1).si_trans_id;
  2582:         sip->si_h_startpos = CUR_STATE(idx - 1).si_h_startpos;
  2583:         sip->si_h_endpos = CUR_STATE(idx - 1).si_h_endpos;
  2587:         sip->si_cont_list = CUR_STATE(idx - 1).si_cont_list;
  check_keepend():
  2617:     for (i = current_state.ga_len - 1; i > keepend_level; --i)
  2618:     if (CUR_STATE(i).si_flags & HL_EXTEND)
  2623:     for ( ; i < current_state.ga_len; ++i)
  2625:     sip = &CUR_STATE(i);
  push_current_state():
  2725:     if (ga_grow(&current_state, 1) == FAIL)
  2727:     vim_memset(&CUR_STATE(current_state.ga_len), 0, sizeof(stateitem_T));
  2727:     vim_memset(&CUR_STATE(current_state.ga_len), 0, sizeof(stateitem_T));
  2728:     CUR_STATE(current_state.ga_len).si_idx = idx;
  2728:     CUR_STATE(current_state.ga_len).si_idx = idx;
  2729:     ++current_state.ga_len;
  pop_current_state():
  2739:     if (current_state.ga_len)
  2741:     unref_extmatch(CUR_STATE(current_state.ga_len - 1).si_extmatch);
  2741:     unref_extmatch(CUR_STATE(current_state.ga_len - 1).si_extmatch);
  2742:     --current_state.ga_len;
  2748:     if (keepend_level >= current_state.ga_len)
  in_id_list():
  5839:         && cur_si > (stateitem_T *)(current_state.ga_data))
  syn_get_stack_item():
  6121:     if (i >= current_state.ga_len)
  6129:     return CUR_STATE(i).si_id;
  syn_get_foldlevel():
  6150:     for (i = 0; i < current_state.ga_len; ++i)
  6151:         if (CUR_STATE(i).si_flags & HL_FOLD)
cmdmod (111 uses in 14 translation units) defined in translation unit main.c, declared in ./globals.h:915
buffer.c (9 uses)
  do_buffer():
  1049:         if ((p_confirm || cmdmod.confirm) && p_write)
  1259:     if ((p_confirm || cmdmod.confirm) && p_write)
  set_curbuf():
  1313:     if (!cmdmod.keepalt)
  setaltfname():
  2722:     if (buf != NULL && !cmdmod.keepalt)
  do_arg_all():
  4282:     int        had_tab = cmdmod.tab;
  4496:         cmdmod.tab = 9999;
  ex_buffer_all():
  4534:     int        had_tab = cmdmod.tab;
  4569:             || ((cmdmod.split & WSP_VERT)
  4707:         cmdmod.tab = 9999;
diff.c (6 uses)
  ex_diffpatch():
  877:     int        browse_flag = cmdmod.browse;
  881:     if (cmdmod.browse)
  888:     cmdmod.browse = FALSE;    /* don't let do_ecmd() browse again */
  995:     cmdmod.tab = 0;
  1039:     cmdmod.browse = browse_flag;
  ex_diffsplit():
  1056:     cmdmod.tab = 0;
edit.c (1 use)
  ins_esc():
  7911:     if (!cmdmod.keepjumps)
ex_cmds.c (16 uses)
  do_filter():
  1250:         if (cmdmod.keepmarks || vim_strchr(p_cpo, CPO_REMMARK) == NULL)
  ex_file():
  2473:         if (buf != NULL && !cmdmod.keepalt)
  do_write():
  2539:     if (cmdmod.browse)
  2615:         if (p_confirm || cmdmod.confirm)
  check_overwrite():
  2759:         if (p_confirm || cmdmod.confirm)
  2801:         if (p_confirm || cmdmod.confirm)
  do_wqall():
  2882:         if (buf->b_ffname == NULL && cmdmod.browse)
  check_readonly():
  2951:     if ((p_confirm || cmdmod.confirm) && buf->b_fname != NULL)
  do_ecmd():
  3141:     if (cmdmod.browse)
  3264:         if (!cmdmod.keepalt)
  ex_help():
  5550:         || cmdmod.tab != 0
  5555:     if (cmdmod.tab != 0)
  5583:         if (cmdmod.split == 0 && curwin->w_width != Columns
  5608:         if (!cmdmod.keepalt)
  5631:     if (alt_fnum != 0 && curwin->w_alt_fnum == empty_fnum && !cmdmod.keepalt)
  ex_drop():
  7097:     if (cmdmod.tab)
ex_cmds2.c (6 uses)
  check_changed():
  1365:     if ((p_confirm || cmdmod.confirm) && p_write)
  1375:                      || cmdmod.browse
  dialog_changed():
  1471:             || cmdmod.browse
  check_changed_any():
  1556:     if (!(p_confirm || cmdmod.confirm))
  do_argfile():
  2100:     if (*eap->cmd == 's' || cmdmod.tab != 0)
  ex_source():
  2705:     if (cmdmod.browse)
ex_docmd.c (46 uses)
  do_one_cmd():
  1714:     save_cmdmod = cmdmod;
  1715:     vim_memset(&cmdmod, 0, sizeof(cmdmod));
  1715:     vim_memset(&cmdmod, 0, sizeof(cmdmod));
  1764:             cmdmod.split |= WSP_ABOVE;
  1771:                 cmdmod.split |= WSP_BELOW;
  1778:                 cmdmod.browse = TRUE;
  1785:             cmdmod.split |= WSP_BOT;
  1792:             cmdmod.confirm = TRUE;
  1798:                 cmdmod.keepmarks = TRUE;
  1803:                 cmdmod.keepalt = TRUE;
  1808:             cmdmod.keepjumps = TRUE;
  1816:             cmdmod.hide = TRUE;
  1821:                 cmdmod.lockmarks = TRUE;
  1828:             cmdmod.split |= WSP_ABOVE;
  1835:             if (cmdmod.save_ei == NULL)
  1839:                 cmdmod.save_ei = vim_strsave(p_ei);
  1849:             cmdmod.split |= WSP_BELOW;
  1880:                 cmdmod.tab = atoi((char *)ea.cmd) + 1;
  1882:                 cmdmod.tab = tabpage_index(curtab) + 1;
  1890:             cmdmod.split |= WSP_TOP;
  1897:                 cmdmod.split |= WSP_VERT;
  2681:     if (cmdmod.save_ei != NULL)
  2684:     set_string_option_direct((char_u *)"ei", -1, cmdmod.save_ei,
  2686:     free_string_option(cmdmod.save_ei);
  2690:     cmdmod = save_cmdmod;
  check_more():
  5011:         if ((p_confirm || cmdmod.confirm) && curbuf->b_fname != NULL)
  ex_win_close():
  6344:     if ((p_confirm || cmdmod.confirm) && p_write)
  ex_splitview():
  7049:     int        browse_flag = cmdmod.browse;
  7092:     if (cmdmod.browse
  7118:     cmdmod.browse = FALSE;    /* Don't browse again in do_ecmd(). */
  7128:     if (win_new_tabpage(cmdmod.tab != 0 ? cmdmod.tab
  7128:     if (win_new_tabpage(cmdmod.tab != 0 ? cmdmod.tab
  7138:             && !cmdmod.keepalt)
  7150:         || cmdmod.browse
  7161:     cmdmod.browse = browse_flag;
  ex_resize():
  7308:     if (cmdmod.split & WSP_VERT)
  do_exedit():
  7497:         || cmdmod.browse
  7590:         && !cmdmod.keepalt)
  ex_read():
  7735:     if (cmdmod.browse)
  ex_wincmd():
  8049:     postponed_split_flags = cmdmod.split;
  8050:     postponed_split_tab = cmdmod.tab;
  ex_redir():
  8430:         if (cmdmod.browse)
  ex_mkrc():
  8661:     if (cmdmod.browse)
  ex_stag():
  9259:     postponed_split_flags = cmdmod.split;
  9260:     postponed_split_tab = cmdmod.tab;
  ex_set():
  10858:     if (cmdmod.browse && flags == 0)
ex_getln.c (1 use)
  ex_window():
  5990:     cmdmod.tab = 0;
gui.c (4 uses)
  gui_shell_closed():
  652:     save_cmdmod = cmdmod;
  657:     cmdmod.browse = TRUE;
  660:     cmdmod.confirm = TRUE;
  668:     cmdmod = save_cmdmod;
mark.c (5 uses)
  setpcmark():
  140:     if (global_busy || listcmd_busy || cmdmod.keepjumps)
  mark_adjust():
  1027:     if (!cmdmod.lockmarks)
  1089:     if (!cmdmod.lockmarks)
  1099:         if (!cmdmod.lockmarks)
  mark_col_adjust():
  1201:     if ((col_amount == 0L && lnum_amount == 0L) || cmdmod.lockmarks)
message.c (3 uses)
  do_browse():
  3674:     int            save_browse = cmdmod.browse;
  3678:     cmdmod.browse = FALSE;
  3811:     cmdmod.browse = save_browse;
misc1.c (1 use)
  changed_common():
  2735:     if (!cmdmod.keepjumps)
quickfix.c (6 uses)
  qf_jump():
  1529:     if (qf_ptr->qf_type == 1 && (!curwin->w_buffer->b_help || cmdmod.tab != 0))
  1534:     if (cmdmod.tab != 0)
  1550:         if (cmdmod.split == 0 && curwin->w_width != Columns
  ex_copen():
  2293:     if (win != NULL && cmdmod.tab == 0)
  buf_hide():
  2673:     return (p_hid || cmdmod.hide);
  ex_vimgrep():
  3213:         else if (!cmdmod.hide
tag.c (1 use)
  jumpto_tag():
  3115:     if (postponed_split || cmdmod.tab != 0)
window.c (6 uses)
  do_window():
  625:             cmdmod.tab = TRUE;
  win_split():
  665:     flags |= cmdmod.split;
  close_others():
  3108:         if (message && (p_confirm || cmdmod.confirm) && p_write)
  may_open_tabpage():
  3387:     int        n = (cmdmod.tab == 0) ? postponed_split_tab : cmdmod.tab;
  3387:     int        n = (cmdmod.tab == 0) ? postponed_split_tab : cmdmod.tab;
  3391:     cmdmod.tab = 0;        /* reset it to avoid doing it twice */
clip_star (106 uses in 7 translation units) defined in translation unit main.c, declared in ./globals.h:499
ex_getln.c (4 uses)
  getcmdline():
  1071:         if (clip_star.state != SELECT_CLEARED)
  1073:             if (clip_star.state == SELECT_DONE)
  1247:         if (clip_star.available)
  1284:         if (mouse_row < cmdline_row && clip_star.available)
gui.c (3 uses)
  gui_send_mouse_event():
  2817:     if (clip_star.state == SELECT_IN_PROGRESS)
  2929:         if (clip_star.state == SELECT_CLEARED)
  2980:     if (clip_star.state != SELECT_CLEARED && !did_clip)
message.c (2 uses)
  wait_return():
  941:         if (c == Ctrl_Y && clip_star.state == SELECT_DONE)
  do_more_prompt():
  2553:         if (clip_star.state == SELECT_DONE)
normal.c (9 uses)
  do_pending_operator():
  1372:     if (clip_star.available
  do_mouse():
  2438:         if (clip_star.available && regname == 0)
  2726:     if ((jump_flags & IN_OTHER_WIN) && !VIsual_active && clip_star.available)
  2840:     if (clip_star.available && regname == 0)
  2979:         clip_star.vmode = NUL;
  end_visual_mode():
  3200:     if (clip_star.available && clip_star.owned)
  3200:     if (clip_star.available && clip_star.owned)
  n_start_visual_mode():
  7482:     clip_star.vmode = NUL;
  nv_g_cmd():
  7635:         clip_star.vmode = NUL;
ops.c (26 uses)
  get_yank_register():
  878:     else if (clip_star.available && regname == '*')
  881:     else if (clip_plus.available && regname == '+')
  may_get_selection():
  906:     if (!clip_star.available)
  909:         clip_get_selection(&clip_star);
  913:     if (!clip_plus.available)
  916:         clip_get_selection(&clip_plus);
  get_register():
  938:     if (name == '*' && clip_star.available)
  adjust_clip_reg():
  1560:     if (!clip_star.available && *rp == '*')
  1562:     if (!clip_plus.available && *rp == '+')
  op_yank():
  2824:     if (!clip_star.available && oap->regname == '*')
  2826:     else if (!clip_plus.available && oap->regname == '+')
  3084:     if (clip_star.available
  3092:     clip_own_selection(&clip_star);
  3093:     clip_gen_set_selection(&clip_star);
  clip_free_selection():
  5568:     if (cbd == &clip_plus)
  clip_get_selection():
  5598:     if ((cbd == &clip_plus && y_regs[PLUS_REGISTER].y_array != NULL)
  5599:         || (cbd == &clip_star && y_regs[STAR_REGISTER].y_array != NULL))
  5615:     oa.regname = (cbd == &clip_plus ? '+' : '*');
  clip_yank_selection():
  5655:     if (cbd == &clip_plus)
  clip_convert_selection():
  5682:     if (cbd == &clip_plus)
  may_set_selection():
  5742:     if (y_current == &(y_regs[STAR_REGISTER]) && clip_star.available)
  5744:     clip_own_selection(&clip_star);
  5745:     clip_gen_set_selection(&clip_star);
  5747:     else if (y_current == &(y_regs[PLUS_REGISTER]) && clip_plus.available)
  5749:     clip_own_selection(&clip_plus);
  5750:     clip_gen_set_selection(&clip_plus);
screen.c (2 uses)
  update_screen():
  510:         if (clip_star.available && clip_isautosel())
  updateWindow():
  704:     if (clip_star.available && clip_isautosel())
ui.c (60 uses)
  clip_init():
  402:     cb = &clip_star;
  413:     if (cb == &clip_plus)
  415:     cb = &clip_plus;
  clip_update_selection():
  448:     if (!equalpos(clip_star.start, start)
  448:     if (!equalpos(clip_star.start, start)
  448:     if (!equalpos(clip_star.start, start)
  449:         || !equalpos(clip_star.end, end)
  449:         || !equalpos(clip_star.end, end)
  449:         || !equalpos(clip_star.end, end)
  450:         || clip_star.vmode != VIsual_mode)
  453:         clip_star.start = start;
  454:         clip_star.end = end;
  455:         clip_star.vmode = VIsual_mode;
  456:         clip_free_selection(&clip_star);
  457:         clip_own_selection(&clip_star);
  458:         clip_gen_set_selection(&clip_star);
  clip_lose_selection():
  498:     int     visual_selection = (cbd == &clip_star);
  clip_copy_selection():
  533:     if (VIsual_active && (State & NORMAL) && clip_star.available)
  537:     clip_free_selection(&clip_star);
  538:     clip_own_selection(&clip_star);
  539:     if (clip_star.owned)
  540:         clip_get_selection(&clip_star);
  541:     clip_gen_set_selection(&clip_star);
  clip_modeless():
  598:     repeat = ((clip_star.mode == SELECT_MODE_CHAR
  599:         || clip_star.mode == SELECT_MODE_LINE)
  601:         || (clip_star.mode == SELECT_MODE_WORD
  607:     if (clip_star.state == SELECT_CLEARED)
  617:     if (clip_star.state != SELECT_CLEARED)
  clip_start_selection():
  650:     VimClipboard    *cb = &clip_star;
  clip_process_selection():
  724:     VimClipboard    *cb = &clip_star;
  clip_may_redraw_selection():
  968:     if (clip_star.state != SELECT_CLEARED
  969:         && row >= clip_star.start.lnum
  970:         && row <= clip_star.end.lnum)
  972:     if (row == clip_star.start.lnum && start < (int)clip_star.start.col)
  972:     if (row == clip_star.start.lnum && start < (int)clip_star.start.col)
  973:         start = clip_star.start.col;
  974:     if (row == clip_star.end.lnum && end > (int)clip_star.end.col)
  974:     if (row == clip_star.end.lnum && end > (int)clip_star.end.col)
  975:         end = clip_star.end.col;
  clip_clear_selection():
  988:     VimClipboard    *cb = &clip_star;
  clip_may_clear_selection():
  1005:     if (clip_star.state == SELECT_DONE
  1006:         && row2 >= clip_star.start.lnum
  1007:         && row1 <= clip_star.end.lnum)
  clip_scroll_selection():
  1021:     if (clip_star.state == SELECT_CLEARED)
  1024:     lnum = clip_star.start.lnum - rows;
  1026:     clip_star.start.lnum = 0;
  1028:     clip_star.state = SELECT_CLEARED;
  1030:     clip_star.start.lnum = lnum;
  1032:     lnum = clip_star.end.lnum - rows;
  1034:     clip_star.state = SELECT_CLEARED;
  1036:     clip_star.end.lnum = screen_Rows - 1;
  1038:     clip_star.end.lnum = lnum;
  clip_copy_modeless_selection():
  1146:     int        row1 = clip_star.start.lnum;
  1147:     int        col1 = clip_star.start.col;
  1148:     int        row2 = clip_star.end.lnum;
  1149:     int        col2 = clip_star.end.col;
  1287:     clip_free_selection(&clip_star);
  1288:     clip_own_selection(&clip_star);
  1291:     clip_yank_selection(MCHAR, buffer, (long)(bufp - buffer), &clip_star);
  1294:     clip_gen_set_selection(&clip_star);
msg_scroll (103 uses in 18 translation units) defined in translation unit main.c, declared in ./globals.h:162
buffer.c (4 uses)
  handle_swap_exists():
  770:     msg_scroll = TRUE;
  fileinfo():
  2999:     n = msg_scroll;
  3000:     msg_scroll = TRUE;
  3002:     msg_scroll = n;
edit.c (1 use)
  edit():
  614:     msg_scroll = FALSE;
eval.c (2 uses)
  f_inputlist():
  11764:     msg_scroll = TRUE;
  ex_function():
  19105:     msg_scroll = TRUE;
ex_cmds.c (12 uses)
  do_bang():
  913:     int            scroll_save = msg_scroll;
  925:     msg_scroll = FALSE;        /* don't scroll here */
  927:     msg_scroll = scroll_save;
  do_filter():
  1297:         if (msg(msg_buf) && !msg_scroll)
  do_ecmd():
  3749:     int    msg_scroll_save = msg_scroll;
  3754:         msg_scroll = FALSE;
  3755:     if (!msg_scroll)    /* wait a bit when overwriting an error msg */
  3758:     msg_scroll = msg_scroll_save;
  ex_append():
  3870:     msg_scroll = TRUE;
  do_sub():
  4685:                 i = msg_scroll;
  4686:                 msg_scroll = 0;        /* truncate msg when
  4694:                 msg_scroll = i;
ex_cmds2.c (3 uses)
  do_debug():
  88:     int        save_msg_scroll = msg_scroll;
  155:     msg_scroll = TRUE;
  282:     msg_scroll = save_msg_scroll;
ex_docmd.c (16 uses)
  do_exmode():
  618:     save_msg_scroll = msg_scroll;
  640:     msg_scroll = TRUE;
  695:     msg_scroll = save_msg_scroll;
  do_cmdline():
  1072:         msg_scroll = TRUE;  /* put messages below each other */
  1473:     msg_scroll = FALSE;
  do_one_cmd():
  1866:             save_msg_scroll = msg_scroll;
  2704:     msg_scroll = save_msg_scroll;
  handle_drop():
  6726:     int        save_msg_scroll = msg_scroll;
  6785:     msg_scroll = save_msg_scroll;
  ex_tabs():
  7236:     msg_scroll = TRUE;
  do_exedit():
  7442:         int    ms = msg_scroll;
  7458:         msg_scroll = 0;
  7468:         msg_scroll = ms;
  ex_normal():
  8909:     int        save_msg_scroll = msg_scroll;
  8934:     msg_scroll = FALSE;        /* no msg scrolling in Normal mode */
  9039:     msg_scroll = save_msg_scroll;
ex_eval.c (4 uses)
  throw_exception():
  530:         msg_scroll = TRUE;        /* always scroll up, don't overwrite */
  discard_exception():
  584:         msg_scroll = TRUE;        /* always scroll up, don't overwrite */
  catch_exception():
  653:         msg_scroll = TRUE;        /* always scroll up, don't overwrite */
  report_pending():
  786:     msg_scroll = TRUE;        /* always scroll up, don't overwrite */
ex_getln.c (4 uses)
  getcmdline():
  169:     int        save_msg_scroll = msg_scroll;
  281:     msg_scroll = FALSE;
  1895:     msg_scroll = save_msg_scroll;
  redrawcmd():
  3135:     msg_scroll = FALSE;        /* next message overwrites cmdline */
fileio.c (30 uses)
  filemess():
  174:     msg_scroll_save = msg_scroll;
  176:     msg_scroll = FALSE;
  177:     if (!msg_scroll)    /* wait a bit when overwriting an error msg */
  180:     msg_scroll = msg_scroll_save;
  readfile():
  265:     int        msg_save = msg_scroll;
  377:     msg_scroll = FALSE;    /* overwrite previous file message */
  379:     msg_scroll = TRUE;    /* don't overwrite previous file message */
  394:         msg_scroll = msg_save;
  425:         msg_scroll = msg_save;
  566:     msg_scroll = msg_save;
  703:     int    m = msg_scroll;
  719:     msg_scroll = TRUE;
  733:         msg_scroll = m;
  739:         msg_scroll = msg_save;
  752:         msg_scroll = msg_save;
  792:     msg_scroll = FALSE;            /* overwrite the file message */
  2290:         msg_scroll = msg_save;
  2475:     msg_scroll = msg_save;
  2494:     int m = msg_scroll;
  2507:     msg_scroll = TRUE;
  2518:         msg_scroll = m;
  buf_write():
  2896:     int            msg_save = msg_scroll;
  3110:         msg_scroll = msg_save;
  3169:             msg_scroll = msg_save;
  3226:     msg_scroll = FALSE;        /* overwrite previous file message */
  3228:     msg_scroll = TRUE;        /* don't overwrite previous file message */
  3237:     msg_scroll = FALSE;            /* always overwrite the file message now */
  4728:     msg_scroll = msg_save;
  check_mtime():
  4924:     msg_scroll = TRUE;        /* don't overwrite messages here */
  4932:     msg_scroll = FALSE;        /* always overwrite the file message now */
getchar.c (3 uses)
  openscript():
  1402:     int    save_msg_scroll = msg_scroll;
  1405:     msg_scroll = FALSE;    /* no msg scrolling in Normal mode */
  1421:     msg_scroll = save_msg_scroll;
main.c (6 uses)
  main():
  542:     msg_scroll = TRUE;
  686:     msg_scroll = FALSE;
  main_loop():
  1047:         msg_scroll = FALSE;
  create_windows():
  2401:     msg_scroll = TRUE;        /* scroll message up */
  exe_commands():
  2656:     msg_scroll = TRUE;
  2677:     msg_scroll = FALSE;
message.c (4 uses)
  msg_strtrunc():
  203:     if ((!msg_scroll && !need_wait_return && shortmess(SHM_TRUNCALL)
  emsg():
  645:     ++msg_scroll;        /* don't overwrite a previous message */
  msg_start():
  1134:     if (!msg_scroll && full_screen)    /* overwrite last message */
  verbose_enter_scroll():
  3088:     msg_scroll = TRUE;
misc1.c (2 uses)
  changed():
  2488:     int    save_msg_scroll = msg_scroll;
  2513:         msg_scroll = save_msg_scroll;
normal.c (4 uses)
  normal_cmd():
  1203:             && (msg_didout || (msg_didany && msg_scroll))
  1210:             && (msg_scroll
  1244:     if (msg_scroll || emsg_on_display)
  1249:     msg_scroll = FALSE;
quickfix.c (4 uses)
  qf_jump():
  1832:         i = msg_scroll;
  1834:         msg_scroll = TRUE;
  1836:         msg_scroll = FALSE;
  1838:         msg_scroll = i;
screen.c (2 uses)
  check_for_delay():
  7263:     if ((emsg_on_display || (check_msg_scroll && msg_scroll))
  7271:         msg_scroll = FALSE;
spell.c (1 use)
  spell_suggest():
  10148:     msg_scroll = TRUE;
tag.c (1 use)
  do_tag():
  1003:             msg_scroll = TRUE;    /* don't overwrite this message */
ctrl_x_mode (97 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:897
edit.c (95 uses)
  edit():
  753:             && (ctrl_x_mode != CTRL_X_WHOLE_LINE
  825:     if ((c == Ctrl_V || c == Ctrl_Q) && ctrl_x_mode == CTRL_X_CMDLINE)
  838:         && ctrl_x_mode == 0
  946:         if (ctrl_x_mode == CTRL_X_OMNI)
  1030:         if (ctrl_x_mode == CTRL_X_PATH_DEFINES)
  1037:         if (c == Ctrl_T && ctrl_x_mode == CTRL_X_THESAURUS)
  1069:         if (ctrl_x_mode == CTRL_X_FUNCTION)
  1234:         if (ctrl_x_mode == CTRL_X_PATH_PATTERNS)
  1277:         if (ctrl_x_mode == CTRL_X_DICTIONARY)
  1298:         if (ctrl_x_mode != CTRL_X_TAGS)
  1303:         if (ctrl_x_mode != CTRL_X_FILES)
  1309:         if (ctrl_x_mode != CTRL_X_SPELL)
  1316:         if (ctrl_x_mode != CTRL_X_WHOLE_LINE)
  1336:             && ctrl_x_mode != 0
  1416:         && ctrl_x_mode == 0
  ins_ctrl_x():
  1961:     if (ctrl_x_mode != CTRL_X_CMDLINE)
  1970:     ctrl_x_mode = CTRL_X_NOT_DEFINED_YET;
  1971:     edit_submode = (char_u *)_(CTRL_X_MSG(ctrl_x_mode));
  has_compl_option():
  1991:     ctrl_x_mode = 0;
  vim_is_ctrl_x_key():
  2024:     switch (ctrl_x_mode)
  ins_compl_accept_char():
  2078:     if (ctrl_x_mode & CTRL_X_WANT_IDENT)
  2082:     switch (ctrl_x_mode)
  set_completion():
  2546:     if (ctrl_x_mode != 0)
  2564:     ctrl_x_mode = CTRL_X_WHOLE_LINE;
  ins_compl_dictionaries():
  2851:     if (ctrl_x_mode == CTRL_X_WHOLE_LINE)
  ins_compl_files():
  2971:             if (ctrl_x_mode == CTRL_X_WHOLE_LINE)
  ins_compl_bs():
  3183:         && (ctrl_x_mode & CTRL_X_OMNI) == 0))
  ins_compl_prep():
  3405:     if (ctrl_x_mode == CTRL_X_NOT_DEFINED_YET
  3406:                       || (ctrl_x_mode == 0 && !compl_started))
  3412:     if (ctrl_x_mode == CTRL_X_NOT_DEFINED_YET)
  3422:         ctrl_x_mode = CTRL_X_SCROLL;
  3431:         ctrl_x_mode = CTRL_X_WHOLE_LINE;
  3434:         ctrl_x_mode = CTRL_X_FILES;
  3437:         ctrl_x_mode = CTRL_X_DICTIONARY;
  3443:         ctrl_x_mode = CTRL_X_THESAURUS;
  3447:         ctrl_x_mode = CTRL_X_FUNCTION;
  3450:         ctrl_x_mode = CTRL_X_OMNI;
  3455:         ctrl_x_mode = CTRL_X_SPELL;
  3463:         ctrl_x_mode = CTRL_X_TAGS;
  3468:         ctrl_x_mode = CTRL_X_PATH_PATTERNS;
  3471:         ctrl_x_mode = CTRL_X_PATH_DEFINES;
  3476:         ctrl_x_mode = CTRL_X_CMDLINE;
  3510:         ctrl_x_mode = 0;
  3516:     else if (ctrl_x_mode != 0)
  3521:         if (ctrl_x_mode == CTRL_X_SCROLL)
  3522:         ctrl_x_mode = 0;
  3524:         ctrl_x_mode = CTRL_X_FINISHED;
  3530:     if (compl_started || ctrl_x_mode == CTRL_X_FINISHED)
  3536:     if ((ctrl_x_mode == 0 && c != Ctrl_N && c != Ctrl_P && c != Ctrl_R
  3538:         || ctrl_x_mode == CTRL_X_FINISHED)
  3637:         ctrl_x_mode = 0;
  ins_compl_get_exp():
  3840:     int        type = ctrl_x_mode;
  3867:     if ((ctrl_x_mode == 0 || ctrl_x_mode == CTRL_X_WHOLE_LINE)
  3867:     if ((ctrl_x_mode == 0 || ctrl_x_mode == CTRL_X_WHOLE_LINE)
  3878:         if (ctrl_x_mode == 0)
  3916:         if (ctrl_x_mode == CTRL_X_WHOLE_LINE)
  3996:             TAG_INS_COMP | (ctrl_x_mode ? TAG_VERBOSE : 0),
  4069:         if (    ctrl_x_mode == CTRL_X_WHOLE_LINE
  4102:         if (ctrl_x_mode == CTRL_X_WHOLE_LINE)
  4196:     if ((ctrl_x_mode != 0 && ctrl_x_mode != CTRL_X_WHOLE_LINE)
  4196:     if ((ctrl_x_mode != 0 && ctrl_x_mode != CTRL_X_WHOLE_LINE)
  4205:         if ((ctrl_x_mode != 0 && ctrl_x_mode != CTRL_X_WHOLE_LINE)
  4205:         if ((ctrl_x_mode != 0 && ctrl_x_mode != CTRL_X_WHOLE_LINE)
  4221:     if ((ctrl_x_mode == 0 || ctrl_x_mode == CTRL_X_WHOLE_LINE)
  4221:     if ((ctrl_x_mode == 0 || ctrl_x_mode == CTRL_X_WHOLE_LINE)
  4227:         || (ctrl_x_mode != 0 && ctrl_x_mode != CTRL_X_WHOLE_LINE))
  4227:         || (ctrl_x_mode != 0 && ctrl_x_mode != CTRL_X_WHOLE_LINE))
  ins_complete():
  4655:                         && compl_cont_mode == ctrl_x_mode)
  4661:         if (ctrl_x_mode == 0 || ctrl_x_mode == CTRL_X_PATH_PATTERNS
  4661:         if (ctrl_x_mode == 0 || ctrl_x_mode == CTRL_X_PATH_PATTERNS
  4662:                     || ctrl_x_mode == CTRL_X_PATH_DEFINES)
  4703:         else if (ctrl_x_mode == CTRL_X_WHOLE_LINE)
  4713:         compl_cont_mode = ctrl_x_mode;
  4714:         if (ctrl_x_mode != 0)    /* Remove LOCAL if ctrl_x_mode != 0 */
  4723:     if (ctrl_x_mode == 0 || (ctrl_x_mode & CTRL_X_WANT_IDENT))
  4723:     if (ctrl_x_mode == 0 || (ctrl_x_mode & CTRL_X_WANT_IDENT))
  4726:             || ctrl_x_mode == CTRL_X_PATH_DEFINES)
  4835:     else if (ctrl_x_mode == CTRL_X_WHOLE_LINE)
  4849:     else if (ctrl_x_mode == CTRL_X_FILES)
  4860:     else if (ctrl_x_mode == CTRL_X_CMDLINE)
  4876:     else if (ctrl_x_mode == CTRL_X_FUNCTION || ctrl_x_mode == CTRL_X_OMNI)
  4876:     else if (ctrl_x_mode == CTRL_X_FUNCTION || ctrl_x_mode == CTRL_X_OMNI)
  4890:         funcname = ctrl_x_mode == CTRL_X_FUNCTION
  4894:         EMSG2(_(e_notset), ctrl_x_mode == CTRL_X_FUNCTION
  4920:     else if (ctrl_x_mode == CTRL_X_SPELL)
  4953:         if (ctrl_x_mode == CTRL_X_WHOLE_LINE)
  4980:         edit_submode = (char_u *)_(CTRL_X_MSG(ctrl_x_mode));
  5043:         || (ctrl_x_mode != 0
  5044:             && ctrl_x_mode != CTRL_X_PATH_PATTERNS
  5045:             && ctrl_x_mode != CTRL_X_PATH_DEFINES))
  quote_meta():
  5196:         if (ctrl_x_mode == CTRL_X_DICTIONARY
  5197:                        || ctrl_x_mode == CTRL_X_THESAURUS)
  5203:         if (ctrl_x_mode == CTRL_X_DICTIONARY
  5204:                        || ctrl_x_mode == CTRL_X_THESAURUS)
  ins_ctrl_ey():
  9560:     if (ctrl_x_mode == CTRL_X_SCROLL)
getchar.c (1 use)
  vgetorpeek():
  2047:                 && !((ctrl_x_mode != 0 && vim_is_ctrl_x_key(c1))
search.c (1 use)
  ignorecase():
  361:                 && !(ctrl_x_mode && curbuf->b_p_inf)
msg_row (94 uses in 19 translation units) defined in translation unit main.c, declared in ./globals.h:150
buffer.c (1 use)
  handle_swap_exists():
  773:     cmdline_row = msg_row;
eval.c (4 uses)
  f_getchar():
  9944:     windgoto(msg_row, msg_col);
  get_user_input():
  11640:     cmdline_row = msg_row;
  f_inputlist():
  11762:     msg_row = Rows - 1;    /* for when 'cmdheight' > 1 */
  ex_function():
  19098:     cmdline_row = msg_row;
ex_cmds.c (5 uses)
  do_bang():
  1023:     windgoto(msg_row, msg_col);
  do_shell():
  1416:     windgoto(msg_row, msg_col);
  1428:     msg_row = Rows - 1;
  do_sub():
  4682:                 if (msg_row == Rows - 1)
  4696:                 windgoto(msg_row, msg_col);
ex_cmds2.c (2 uses)
  do_debug():
  188:     cmdline_row = msg_row;
  check_changed_any():
  1565:         msg_row = cmdline_row;
ex_docmd.c (4 uses)
  do_exmode():
  645:     prev_msg_row = msg_row;
  652:         cmdline_row = msg_row;
  670:             msg_row = prev_msg_row;
  672:             msg_row--;
ex_eval.c (4 uses)
  throw_exception():
  536:         cmdline_row = msg_row;
  discard_exception():
  591:         cmdline_row = msg_row;
  catch_exception():
  659:         cmdline_row = msg_row;
  report_pending():
  789:     cmdline_row = msg_row;
ex_getln.c (13 uses)
  getcmdline():
  760:             windgoto(msg_row, 0);
  getexmodeline():
  2253:         windgoto(msg_row, msg_col);
  2318:     windgoto(msg_row, msg_col);
  2339:     if (msg_row < Rows - 1)
  2340:     ++msg_row;
  put_on_cmdline():
  2792:             --msg_row;
  redrawcmdprompt():
  3093:     ccline.cmdindent = msg_col + (msg_row - cmdline_row) * Columns;
  cursorcmd():
  3169:     msg_row = cmdline_row + (ccline.cmdspos / (int)Columns);
  3171:     if (msg_row >= Rows)
  3172:         msg_row = Rows - 1;
  3175:     windgoto(msg_row, msg_col);
  showmatches():
  3819:     cmdline_row = msg_row;
  3930:     cmdline_row = msg_row;    /* will put it back later */
getchar.c (1 use)
  vgetorpeek():
  2217:                 msg_row = Rows - 1;
gui.c (2 uses)
  gui_send_mouse_event():
  2843:                 if (Y_2_ROW(y) >= msg_row)
  2934:             row = msg_row;
main.c (1 use)
  main():
  537:     msg_row = cmdline_row;
memline.c (2 uses)
  ml_recover():
  1341:     cmdline_row = msg_row;
  attention_message():
  3744:     cmdline_row = msg_row;
message.c (33 uses)
  msg_strtrunc():
  209:         room = (int)(Rows - msg_row) * Columns - 1;
  212:         room = (int)(Rows - msg_row - 1) * Columns + sc_col - 1;
  msg_end_prompt():
  848:     cmdline_row = msg_row;
  wait_return():
  888:         cmdline_row = msg_row;
  987:                     && mouse_row < msg_row
  1023:         cmdline_row = msg_row;
  msg_start():
  1136:     msg_row = cmdline_row;
  1148:         cmdline_row = msg_row;
  screen_puts_mbyte():
  1685:     screen_puts_len(s, l, msg_row, msg_col, attr);
  1703:         ++msg_row;
  msg_puts_display():
  1854:     if (!recurse && msg_row >= Rows - 1 && (*s == '\n' || (
  1890:         msg_row = Rows - 2;
  1981:         if (++msg_row >= Rows)  /* safety check */
  1982:         msg_row = Rows - 1;
  disp_sb_line():
  2279:     msg_row = row;
  t_puts():
  2304:     screen_puts_len(t_s, (int)(s - t_s), msg_row, msg_col, attr);
  2316:     ++msg_row;
  do_more_prompt():
  2651:     msg_row = Rows - 1;
  msg_screen_putchar():
  2792:     screen_putchar(c, msg_row, msg_col, attr);
  2808:         ++msg_row;
  repeat_message():
  2838:     msg_row = Rows - 1;
  2844:     msg_row = Rows - 1;
  2849:     windgoto(msg_row, msg_col); /* put cursor back */
  2853:     if (msg_row == Rows - 1)
  2863:     msg_row = Rows - 1;
  msg_check_screen():
  2879:     if (msg_row >= Rows)
  2880:     msg_row = Rows - 1;
  msg_clr_eos_force():
  2926:         screen_fill(msg_row, msg_row + 1, msg_col, (int)Columns,
  2926:         screen_fill(msg_row, msg_row + 1, msg_col, (int)Columns,
  2928:         screen_fill(msg_row + 1, (int)Rows, 0, (int)Columns, ' ', ' ', 0);
  msg_clr_cmdline():
  2939:     msg_row = cmdline_row;
  msg_check():
  2974:     if (msg_row == Rows - 1 && msg_col >= sc_col)
  verbose_leave_scroll():
  3103:     cmdline_row = msg_row;
misc1.c (5 uses)
  change_warning():
  2981:     if (msg_row == Rows - 1)
  2995:     if (msg_row < Rows - 1)
  get_number():
  3195:     windgoto(msg_row, msg_col);
  3224:         cmdline_row = msg_row;
  prompt_for_number():
  3268:     cmdline_row = msg_row - 1;
misc2.c (1 use)
  get_crypt_key():
  3673:     cmdline_row = msg_row;
os_unix.c (2 uses)
  mch_call_shell():
  4248:                 windgoto(msg_row, msg_col);
  4375:             windgoto(msg_row, msg_col);
screen.c (6 uses)
  screenalloc():
  7585:     if (msg_row >= Rows)        /* Rows got smaller */
  7586:         msg_row = Rows - 1;        /* put cursor at last row */
  7588:         msg_row += Rows - old_Rows; /* put cursor in same place */
  screenclear2():
  7685:     msg_row = cmdline_row;    /* put cursor on last line for messages */
  showmode():
  8879:         length = (Rows - msg_row) * Columns - 3;
  msg_pos_mode():
  9027:     msg_row = Rows - 1;
spell.c (1 use)
  spell_suggest():
  10131:     msg_row = Rows - 1;    /* for when 'cmdheight' > 1 */
version.c (1 use)
  intro_message():
  1823:     msg_row = row;
window.c (6 uses)
  win_split_ins():
  1100:     msg_row = Rows - 1;
  1104:     msg_row = Rows - 1;
  win_setheight_win():
  4664:     msg_row = row;
  command_height():
  5545:         msg_row = cmdline_row;
  5550:     if (msg_row < cmdline_row)
  5551:         msg_row = cmdline_row;
VIsual_mode (90 uses in 10 translation units) defined in translation unit main.c, declared in ./globals.h:640
eval.c (2 uses)
  f_mode():
  12862:         buf[0] = VIsual_mode + 's' - 'v';
  12864:         buf[0] = VIsual_mode;
gui_mac.c (2 uses)
  HandleODocAE():
  1152:         VIsual_mode = 'v';
  1157:         VIsual_mode = 'V';
menu.c (2 uses)
  ex_emenu():
  2207:         VIsual_mode = curbuf->b_visual.vi_mode;
  2215:         VIsual_mode = 'V';
misc2.c (1 use)
  virtual_active():
  39:         || ((ve_flags & VE_BLOCK) && VIsual_active && VIsual_mode == Ctrl_V)
normal.c (52 uses)
  do_pending_operator():
  1413:         VIsual_mode = Ctrl_V;
  1474:         VIsual_mode = redo_VIsual_mode;
  1475:         if (VIsual_mode == 'v')
  1500:         curbuf->b_visual.vi_mode = VIsual_mode;
  1503:         curbuf->b_visual_mode_eval = VIsual_mode;
  1509:         if (VIsual_select && VIsual_mode == 'V')
  1522:         VIsual_mode = 'v';
  1526:         else if (VIsual_mode == 'v')
  1535:         if (VIsual_mode == 'V')
  1592:         if (VIsual_mode == Ctrl_V)    /* block mode */
  1654:         resel_VIsual_mode = VIsual_mode;
  1657:         else if (VIsual_mode == Ctrl_V)
  1703:         if (VIsual_mode == 'V')
  1708:         if (VIsual_mode != Ctrl_V && *ml_get_pos(&(oap->end)) == NUL
  do_mouse():
  2251:     int        old_mode = VIsual_mode;
  2580:                 else if (VIsual_mode == Ctrl_V)
  2756:        VIsual_mode = Ctrl_V;
  2762:     if (VIsual_mode == Ctrl_V)
  2968:             VIsual_mode = Ctrl_V;
  2970:             VIsual_mode = 'v';
  2973:         VIsual_mode = 'V';
  2975:         VIsual_mode = Ctrl_V;
  3001:             && VIsual_mode == 'v'
  3008:             VIsual_mode = 'V';
  3049:         VIsual_mode = Ctrl_V;
  3051:         VIsual_mode = 'v';
  3057:                  && (!old_active || VIsual_mode != old_mode)))
  end_visual_mode():
  3211:     curbuf->b_visual.vi_mode = VIsual_mode;
  3216:     curbuf->b_visual_mode_eval = VIsual_mode;
  clear_showcmd():
  3692:     if (VIsual_mode == Ctrl_V)
  3698:     else if (VIsual_mode == 'V' || VIsual.lnum != curwin->w_cursor.lnum)
  get_visual_text():
  5545:     if (VIsual_mode != 'V')
  5553:     if (VIsual_mode == 'V')
  v_swap_corners():
  6860:     if (cmdchar == 'O' && VIsual_mode == Ctrl_V)
  nv_Replace():
  6915:     VIsual_mode = 'V';
  v_visop():
  7113:     if (VIsual_mode != Ctrl_V)
  7114:         VIsual_mode = 'V';
  nv_subst():
  7134:         VIsual_mode = 'V';
  nv_visual():
  7351:     if (VIsual_mode == cap->cmdchar)    /* stop visual mode */
  7355:         VIsual_mode = cap->cmdchar;
  7393:         VIsual_mode = resel_VIsual_mode;
  7394:         if (VIsual_mode == 'v')
  7407:         else if (VIsual_mode == Ctrl_V)
  n_start_visual_mode():
  7458:     VIsual_mode = c;
  nv_g_cmd():
  7587:         i = VIsual_mode;
  7588:         VIsual_mode = curbuf->b_visual.vi_mode;
  7604:         VIsual_mode = curbuf->b_visual.vi_mode;
  nv_put():
  9085:         if (VIsual_mode == 'V')
  9087:         else if (VIsual_mode == 'v')
  9089:         if (VIsual_mode == Ctrl_V && dir == FORWARD)
  9092:         if ((VIsual_mode != 'V'
  9094:             || (VIsual_mode == 'V'
ops.c (5 uses)
  clip_get_selection():
  5612:     old_visual_mode = VIsual_mode;
  5633:     VIsual_mode = old_visual_mode;
  cursor_pos_info():
  6260:         if (VIsual_mode == Ctrl_V)
  6300:         switch (VIsual_mode)
  6366:         if (VIsual_mode == Ctrl_V && curwin->w_curswant < MAXCOL)
regexp.c (1 use)
  regmatch():
  3942:             mode = VIsual_mode;
screen.c (14 uses)
  update_screen():
  446:             && curwin->w_old_visual_mode == VIsual_mode
  win_update():
  1285:             && (VIsual_mode != wp->w_old_visual_mode
  1353:         if (VIsual_mode == Ctrl_V)
  1457:     wp->w_old_visual_mode = VIsual_mode;
  fold_line():
  2409:         && (VIsual_mode != 'v'
  2418:         if (VIsual_mode == Ctrl_V)
  win_line():
  2787:     if (VIsual_mode == Ctrl_V)    /* block mode */
  2801:         if (VIsual_mode == 'V')    /* linewise */
  2810:         if (VIsual_mode != 'V' && lnum == bot->lnum)
  4102:                 && VIsual_mode != Ctrl_V
  4190:              && (VIsual_mode == Ctrl_V
  4191:                  || VIsual_mode == 'v')
  showmode():
  8958:                 + (VIsual_mode == Ctrl_V) * 2
  8959:                 + (VIsual_mode == 'V'))
search.c (9 uses)
  current_word():
  3320:     if (VIsual_mode == 'V')
  3322:         VIsual_mode = 'v';
  current_sent():
  3500:     VIsual_mode = 'v';
  current_block():
  3648:     VIsual_mode = 'v';
  current_tagblock():
  3931:     VIsual_mode = 'v';
  current_par():
  4111:     if (VIsual_mode == 'V' && start_lnum == curwin->w_cursor.lnum)
  4114:     VIsual_mode = 'V';
  current_quote():
  4443:     if (VIsual_mode == 'V')
  4445:         VIsual_mode = 'v';
ui.c (2 uses)
  clip_update_selection():
  450:         || clip_star.vmode != VIsual_mode)
  455:         clip_star.vmode = VIsual_mode;
mb_ptr2char (89 uses in 15 translation units) defined in translation unit main.c, declared in ./globals.h:808
buffer.c (1 use)
  build_stl_str_hl():
  3746:         num = (*mb_ptr2char)(linecont + wp->w_cursor.col);
charset.c (3 uses)
  transstr():
  351:         c = (*mb_ptr2char)(p);
  384:         c = (*mb_ptr2char)(p);
  getvvcol():
  1401:         int c = (*mb_ptr2char)(ptr + pos->col);
digraph.c (1 use)
  getexactdigraph():
  2184:         retval = (*mb_ptr2char)(to);
edit.c (6 uses)
  ins_compl_longest_match():
  2441:         c1 = mb_ptr2char(p);
  2442:         c2 = mb_ptr2char(s);
  ins_compl_addfrommatch():
  3374:     c = mb_ptr2char(p);
  oneright():
  6566:                 (*mb_ptr2char)(ptr)
  oneleft():
  6644:                 (*mb_ptr2char)(ptr)
  ins_copychar():
  9541:     c = (*mb_ptr2char)(ptr);
eval.c (1 use)
  f_char2nr():
  8252:     rettv->vval.v_number = (*mb_ptr2char)(get_tv_string(&argvars[0]));
ex_docmd.c (2 uses)
  set_one_cmd_context():
  3328:         c = mb_ptr2char(p);
  3356:             c = mb_ptr2char(p);
ex_getln.c (1 use)
  cmdline_paste():
  2987:             if (!vim_iswordc(mb_ptr2char(w - len)))
fold.c (1 use)
  get_foldtext():
  1967:             if (!vim_isprintc((*mb_ptr2char)(p)))
getchar.c (3 uses)
  read_redo():
  747:             c = (*mb_ptr2char)(buf);
  vgetc():
  1728:         c = (*mb_ptr2char)(buf);
  vim_strsave_escape_csi():
  4478:         d = add_char2buf(PTR2CHAR(s), d);
mbyte.c (6 uses)
  mb_init():
  614:     mb_ptr2char = utf_ptr2char;
  625:     mb_ptr2char = dbcs_ptr2char;
  636:     mb_ptr2char = latin_ptr2char;
  mb_ptr2char_adv():
  1432:     c = (*mb_ptr2char)(*pp);
  mb_cptr2char_adv():
  1447:     c = (*mb_ptr2char)(*pp);
  mb_adjustpos():
  2789:         && vim_isprintc((*mb_ptr2char)(p + lp->col))
message.c (3 uses)
  msg_outtrans_len_attr():
  1345:         c = (*mb_ptr2char)(str);
  do_dialog():
  3344:             if ((*mb_ptr2char)(hotkeys + i) == c)
  copy_char():
  3395:         c = MB_TOLOWER((*mb_ptr2char)(from));
misc1.c (3 uses)
  gchar_pos():
  2388:     return (*mb_ptr2char)(ptr);
  gchar_cursor():
  2398:     return (*mb_ptr2char)(ml_get_cursor());
  get_keystroke():
  3153:         n = (*mb_ptr2char)(buf);
ops.c (4 uses)
  do_join():
  4175:         endcurr1 = (*mb_ptr2char)(next);
  4179:         endcurr2 = (*mb_ptr2char)(next);
  4199:             || (mb_ptr2char(next) < 0x100 && endcurr1 < 0x100))
  4201:             || mb_ptr2char(next) < 0x100 || endcurr1 < 0x100)
regexp.c (15 uses)
  get_equi_class():
  722:         c = mb_ptr2char(p + 2);
  get_coll_element():
  841:         c = mb_ptr2char(p + 2);
  vim_regcomp():
  1067:         r->regstart = (*mb_ptr2char)(OPERAND(scan));
  1081:         r->regstart = (*mb_ptr2char)(OPERAND(regnext(scan)));
  regatom():
  2266:                 startc = mb_ptr2char(regparse);
  peekchr():
  2731:             curchr = (*mb_ptr2char)(regparse + 1);
  2742:         curchr = (*mb_ptr2char)(regparse);
  vim_regexec_both():
  3444:         c = (*mb_ptr2char)(prog->regmust);
  3495:         c = (*mb_ptr2char)(regline + col);
  regmatch():
  3853:           c = (*mb_ptr2char)(reginput);
  4325:             opndc = mb_ptr2char(opnd);
  4333:             inpc = mb_ptr2char(reginput + i);
  regrepeat():
  5722:         if ((cstrchr(opnd, (*mb_ptr2char)(scan)) == NULL) == testval)
  vim_regsub_both():
  7049:         c = mb_ptr2char(src - 1);
  7147:                 c = mb_ptr2char(s);
spell.c (39 uses)
  spell_check():
  1068:         c = PTR2CHAR(ptr);
  count_syllables():
  3719:         c = mb_ptr2char(p);
  use_midword():
  4434:         c = mb_ptr2char(p);
  captype():
  4519:         c = PTR2CHAR(p);
  badword_captype():
  4563:         c = PTR2CHAR(p);
  spell_read_aff():
  5657:                 c = PTR2CHAR(aff_entry->ae_chop);
  5661:                     || PTR2CHAR(aff_entry->ae_cond) == c))
  5666:                 if (PTR2CHAR(p) == c_up)
  spell_iswordp():
  9781:         c = mb_ptr2char(p);
  9791:     c = mb_ptr2char(s);
  spell_iswordp_nmw():
  9814:     c = mb_ptr2char(p);
  spell_find_suggest():
  10525:     c = PTR2CHAR(su->su_badptr);
  suggest_trie_walk():
  11946:                         mb_ptr2char(tword
  11950:                         mb_ptr2char(fword
  11960:                         mb_ptr2char(tword
  11963:                         mb_ptr2char(fword
  11972:                 c = mb_ptr2char(p);
  11987:                     if (c == mb_ptr2char(p))
  12058:             c = mb_ptr2char(fword + sp->ts_fidx);
  12062:             else if (c == mb_ptr2char(fword + stack[depth].ts_fidx))
  12201:         c = mb_ptr2char(p);
  12207:             c2 = mb_ptr2char(p + n);
  12272:         c = mb_ptr2char(p + n);
  12293:         c = mb_ptr2char(p);
  12295:         c2 = mb_ptr2char(p + n);
  12299:             c3 = mb_ptr2char(p + n + fl);
  12361:         c2 = mb_ptr2char(p + n);
  12363:         c = mb_ptr2char(p + n + fl);
  12405:             c = mb_ptr2char(p);
  12434:         c = mb_ptr2char(p + n);
  12467:             c = mb_ptr2char(p + n);
  12493:         c = mb_ptr2char(p);
  add_sound_suggest():
  13332:         gc = PTR2CHAR(p);
  13335:             bc = PTR2CHAR(su->su_badword);
  similar_chars():
  13575:         m1 = mb_ptr2char(hi->hi_key + STRLEN(hi->hi_key) + 1);
  13592:         m2 = mb_ptr2char(hi->hi_key + STRLEN(hi->hi_key) + 1);
  add_suggestion():
  13641:         if (mb_ptr2char(pgood) != mb_ptr2char(pbad))
  13641:         if (mb_ptr2char(pgood) != mb_ptr2char(pbad))
  dump_prefixes():
  15774:     c = PTR2CHAR(word);
e_invarg (87 uses in 12 translation units) defined in translation unit main.c, declared in ./globals.h:1381
digraph.c (1 use)
  putdigraph():
  2246:         EMSG(_(e_invarg));
eval.c (12 uses)
  var_redir_start():
  931:     EMSG(_(e_invarg));
  958:         EMSG(_(e_invarg));
  ex_let():
  1718:         EMSG(_(e_invarg));
  f_complete():
  8375:     EMSG(_(e_invarg));
  f_count():
  8548:             EMSG(_(e_invarg));
  f_deepcopy():
  8675:     EMSG(_(e_invarg));
  f_setmatches():
  14771:         EMSG(_(e_invarg));
  14779:         EMSG(_(e_invarg));
  f_setpos():
  14831:             EMSG(_(e_invarg));
  14840:         EMSG(_(e_invarg));
  f_str2nr():
  15467:         EMSG(_(e_invarg));
  f_winrestview():
  16686:     EMSG(_(e_invarg));
ex_cmds.c (2 uses)
  ex_sort():
  435:     EMSG(_(e_invarg));
  ex_file():
  2434:     EMSG(_(e_invarg));
ex_cmds2.c (1 use)
  ex_argdelete():
  2247:         EMSG(_(e_invarg));
ex_docmd.c (5 uses)
  do_one_cmd():
  2297:         errormsg = (char_u *)_(e_invarg);
  ex_hide():
  6534:     eap->errmsg = e_invarg;
  do_exmap():
  7992:     case 1: EMSG(_(e_invarg));
  ex_wincmd():
  8033:         EMSG(_(e_invarg));
  8045:     EMSG(_(e_invarg));
getchar.c (1 use)
  map_clear():
  3703:     EMSG(_(e_invarg));
mark.c (1 use)
  ex_delmarks():
  816:     EMSG(_(e_invarg));
mbyte.c (1 use)
  mb_init():
  579:     return e_invarg;
menu.c (1 use)
  ex_menutranslate():
  2386:         EMSG(_(e_invarg));
option.c (60 uses)
  do_set():
  4028:             errmsg = e_invarg;
  4236:             errmsg = e_invarg;
  4286:             errmsg = e_invarg;
  4319:                 errmsg = e_invarg;
  4340:                 errmsg = e_invarg;
  check_cedit():
  4826:         return e_invarg;
  did_set_string_option():
  5446:     errmsg = e_invarg;
  5471:         errmsg = e_invarg;
  5478:         errmsg = e_invarg;
  5503:         errmsg = e_invarg;        /* error in value */
  5532:         errmsg = e_invarg;
  5545:         errmsg = e_invarg;    /* invalid flags */
  5552:         errmsg = e_invarg;
  5560:         errmsg = e_invarg;
  5565:         errmsg = e_invarg;
  5572:         errmsg = e_invarg;
  5581:         errmsg = e_invarg;
  5590:         errmsg = e_invarg;
  5621:         errmsg = e_invarg;
  5628:         errmsg = e_invarg;
  5636:         errmsg = e_invarg;
  5666:         errmsg = e_invarg;
  5681:         errmsg = e_invarg;
  5805:         errmsg = e_invarg;
  5825:         errmsg = e_invarg;
  5854:         errmsg = e_invarg;
  5922:         errmsg = e_invarg;
  6168:         errmsg = e_invarg;
  6182:         errmsg = e_invarg;
  6189:         errmsg = e_invarg;
  6199:         errmsg = e_invarg;
  6208:         errmsg = e_invarg;
  6221:         errmsg = e_invarg;
  6234:         errmsg = e_invarg;
  6241:         errmsg = e_invarg;
  6248:         errmsg = e_invarg;
  6259:         errmsg = e_invarg;
  6282:         errmsg = e_invarg;
  6306:         errmsg = e_invarg;
  6312:         errmsg = e_invarg;
  6321:         errmsg = e_invarg;
  6328:         errmsg = e_invarg;
  6419:         errmsg = e_invarg;
  6476:         errmsg = e_invarg;
  6479:         errmsg = e_invarg;
  6487:         errmsg = e_invarg;
  6496:         errmsg = e_invarg;
  6506:         errmsg = e_invarg;
  6525:         errmsg = e_invarg;
  6539:         errmsg = e_invarg;
  6545:         errmsg = e_invarg;
  6560:         errmsg = e_invarg;
  set_chars_option():
  6858:         return e_invarg;
  check_clipboard_option():
  6978:         errmsg = e_invarg;
  6983:         errmsg = e_invarg;
  compile_cap_prog():
  7028:         return e_invarg;
  set_num_option():
  7755:         errmsg = e_invarg;
  7784:         errmsg = e_invarg;
  7808:         errmsg = e_invarg;
  7885:         errmsg = e_invarg;
quickfix.c (1 use)
  ex_cbuffer():
  3683:     EMSG(_(e_invarg));
spell.c (1 use)
  mkspell():
  9076:     EMSG(_(e_invarg));    /* need at least output and input names */
spats (86 uses in 1 translation unit) defined static in translation unit search.c, declared in search.c:84
search.c (86 uses)
  search_regcomp():
  157:     if (spats[i].pat == NULL)    /* pattern was never defined */
  166:     pat = spats[i].pat;
  167:     magic = spats[i].magic;
  168:     no_smartcase = spats[i].no_scs;
  save_re_pat():
  280:     if (spats[idx].pat != pat)
  282:     vim_free(spats[idx].pat);
  283:     spats[idx].pat = vim_strsave(pat);
  284:     spats[idx].magic = magic;
  285:     spats[idx].no_scs = no_smartcase;
  save_search_patterns():
  308:     saved_spats[0] = spats[0];
  309:     if (spats[0].pat != NULL)
  310:         saved_spats[0].pat = vim_strsave(spats[0].pat);
  311:     saved_spats[1] = spats[1];
  312:     if (spats[1].pat != NULL)
  313:         saved_spats[1].pat = vim_strsave(spats[1].pat);
  restore_search_patterns():
  326:     vim_free(spats[0].pat);
  327:     spats[0] = saved_spats[0];
  328:     vim_free(spats[1].pat);
  329:     spats[1] = saved_spats[1];
  last_search_pat():
  401:     return spats[last_idx].pat;
  reset_search_dir():
  410:     spats[0].off.dir = '/';
  set_last_search_pat():
  425:     vim_free(spats[idx].pat);
  428:     spats[idx].pat = NULL;
  430:     spats[idx].pat = vim_strsave(s);
  431:     spats[idx].magic = magic;
  432:     spats[idx].no_scs = FALSE;
  433:     spats[idx].off.dir = '/';
  434:     spats[idx].off.line = FALSE;
  435:     spats[idx].off.end = FALSE;
  436:     spats[idx].off.off = 0;
  442:     saved_spats[idx] = spats[0];
  443:     if (spats[idx].pat == NULL)
  446:         saved_spats[idx].pat = vim_strsave(spats[idx].pat);
  last_pat_prog():
  467:     if (spats[last_idx].pat == NULL)
  do_search():
  1039:     if (spats[0].off.line && vim_strchr(p_cpo, CPO_LINEOFF) != NULL)
  1041:     spats[0].off.line = FALSE;
  1042:     spats[0].off.off = 0;
  1049:     old_off = spats[0].off;
  1057:     dirc = spats[0].off.dir;
  1059:     spats[0].off.dir = dirc;
  1110:         if (spats[RE_SEARCH].pat == NULL)        /* no previous pattern */
  1140:         spats[0].off.line = FALSE;
  1141:         spats[0].off.end = FALSE;
  1142:         spats[0].off.off = 0;
  1150:         spats[0].off.line = TRUE;
  1155:             spats[0].off.end = SEARCH_END;
  1162:             spats[0].off.off = atol((char *)p);
  1164:             spats[0].off.off = -1;
  1166:             spats[0].off.off = 1;
  1185:         p = spats[last_idx].pat;
  1202:         if (spats[0].off.line || spats[0].off.end || spats[0].off.off)
  1202:         if (spats[0].off.line || spats[0].off.end || spats[0].off.off)
  1202:         if (spats[0].off.line || spats[0].off.end || spats[0].off.off)
  1206:             if (spats[0].off.end)
  1208:             else if (!spats[0].off.line)
  1210:             if (spats[0].off.off > 0 || spats[0].off.line)
  1210:             if (spats[0].off.off > 0 || spats[0].off.line)
  1212:             if (spats[0].off.off != 0 || spats[0].off.line)
  1212:             if (spats[0].off.off != 0 || spats[0].off.line)
  1213:             sprintf((char *)p, "%ld", spats[0].off.off);
  1262:     if (!spats[0].off.line && spats[0].off.off && pos.col < MAXCOL - 2)
  1262:     if (!spats[0].off.line && spats[0].off.off && pos.col < MAXCOL - 2)
  1264:         if (spats[0].off.off > 0)
  1266:         for (c = spats[0].off.off; c; --c)
  1277:         for (c = spats[0].off.off; c; ++c)
  1294:         searchstr, count, spats[0].off.end + (options &
  1307:     if (spats[0].off.end && oap != NULL)
  1317:         if (spats[0].off.line)    /* Add the offset to the line number. */
  1319:         c = pos.lnum + spats[0].off.off;
  1333:         if (spats[0].off.off > 0)
  1335:             for (c = spats[0].off.off; c; --c)
  1342:             if ((c = pos.col + spats[0].off.off) >= 0)
  1345:             for (c = spats[0].off.off; c; ++c)
  1380:     spats[0].off = old_off;
  read_viminfo_search_pattern():
  5310:     if (force || spats[idx].pat == NULL)
  5318:         spats[idx].no_scs = no_scs;
  5319:         spats[idx].off.line = off_line;
  5320:         spats[idx].off.end = off_end;
  5321:         spats[idx].off.off = off;
  wvsp_one():
  5354:     if (spats[idx].pat != NULL)
  5359:         spats[idx].magic    ? 'M' : 'm',    /* magic */
  5360:         spats[idx].no_scs   ? 's' : 'S',    /* smartcase */
  5361:         spats[idx].off.line ? 'L' : 'l',    /* line offset */
  5362:         spats[idx].off.end  ? 'E' : 'e',    /* offset from end */
  5363:         spats[idx].off.off,            /* offset */
  5366:     viminfo_writestring(fp, spats[idx].pat);
did_emsg (84 uses in 9 translation units) defined in translation unit main.c, declared in ./globals.h:177
edit.c (1 use)
  ins_compl_add_list():
  3763:     else if (did_emsg)
eval.c (27 uses)
  var_redir_start():
  965:     save_emsg = did_emsg;
  966:     did_emsg = FALSE;
  973:     err = did_emsg;
  974:     did_emsg |= save_emsg;
  filter_map():
  9336:     save_did_emsg = did_emsg;
  9337:     did_emsg = FALSE;
  9357:                                   || did_emsg)
  9376:                                   || did_emsg)
  9385:     did_emsg |= save_did_emsg;
  f_printf():
  12998:     int    saved_did_emsg = did_emsg;
  13002:     did_emsg = FALSE;
  13005:     if (!did_emsg)
  13014:     did_emsg |= saved_did_emsg;
  ex_execute():
  18720:         save_did_emsg = did_emsg;
  18723:         did_emsg = save_did_emsg;
  ex_function():
  18908:     saved_did_emsg = did_emsg;
  18909:     did_emsg = FALSE;
  19075:     else if (*p != NUL && *p != '"' && !eap->skip && !did_emsg)
  19094:     if (!eap->skip && did_emsg)
  19256:     if (eap->skip || did_emsg)
  19413:     did_emsg |= saved_did_emsg;
  call_user_func():
  20419:     save_did_emsg = did_emsg;
  20420:     did_emsg = FALSE;
  20429:     if ((did_emsg && (fp->uf_flags & FC_ABORT)) || rettv->v_type == VAR_UNKNOWN)
  20508:     did_emsg |= save_did_emsg;
  get_func_line():
  20740:     if (((fp->uf_flags & FC_ABORT) && did_emsg && !aborted_in_try())
  func_has_ended():
  20855:     return (((fcp->func->uf_flags & FC_ABORT) && did_emsg && !aborted_in_try())
ex_cmds2.c (3 uses)
  do_debug():
  90:     int        save_did_emsg = did_emsg;
  130:     did_emsg = FALSE;        /* don't use error from debugged stuff */
  285:     did_emsg = save_did_emsg;
ex_docmd.c (16 uses)
  save_dbg_stuff():
  566:     dsp->did_emsg    = did_emsg;        did_emsg     = FALSE;
  566:     dsp->did_emsg    = did_emsg;        did_emsg     = FALSE;
  restore_dbg_stuff():
  584:     did_emsg = dsp->did_emsg;
  do_cmdline():
  855:     did_emsg = FALSE;
  885:         did_emsg = FALSE;
  1142:     if (did_emsg && !force_abort
  1145:         did_emsg = FALSE;
  1165:         if (!did_emsg && !got_int && !did_throw
  1234:         did_emsg = got_int = did_throw = FALSE;
  1249:     if (trylevel == 0 && !did_emsg && !got_int && !did_throw)
  1268:             || (did_emsg && force_abort) || did_throw
  1275:         && !(did_emsg && used_getline
  1415:     else if (got_int || (did_emsg && force_abort))
  1481:         || (did_endif && KeyTyped && !did_emsg)
  do_one_cmd():
  1916:     ea.skip = did_emsg || got_int || did_throw || (cstack->cs_idx >= 0
  2655:     if (errormsg != NULL && *errormsg != NUL && !did_emsg)
ex_eval.c (20 uses)
  aborting():
  96:     return (did_emsg && force_abort) || got_int || did_throw;
  cause_errthrow():
  175:     if (!did_emsg)
  ex_if():
  881:     skip = did_emsg || got_int || did_throw || (cstack->cs_idx > 0
  ex_else():
  944:     skip = did_emsg || got_int || did_throw || (cstack->cs_idx > 0
  ex_while():
  1054:     skip = did_emsg || got_int || did_throw || (cstack->cs_idx > 0
  do_throw():
  1323:     if (did_emsg && !THROW_ON_ERROR)
  1326:     did_emsg = FALSE;
  ex_try():
  1405:     skip = did_emsg || got_int || did_throw || (cstack->cs_idx > 0
  ex_catch():
  1583:         did_emsg = got_int = did_throw = FALSE;
  ex_finally():
  1701:         if (pending == CSTP_ERROR || did_emsg || got_int || did_throw)
  1709:         if (pending == CSTP_ERROR && !did_emsg)
  1713:         pending |= did_emsg  ? CSTP_ERROR     : 0;
  ex_endtry():
  1770:     skip = did_emsg || got_int || did_throw ||
  1907:             did_emsg = TRUE;
  enter_cleanup():
  1954:     if (did_emsg || got_int || did_throw || need_rethrow)
  1956:     csp->pending = (did_emsg     ? CSTP_ERROR     : 0)
  1973:         if (did_emsg)
  1979:     did_emsg = got_int = did_throw = need_rethrow = FALSE;
  leave_cleanup():
  2066:         did_emsg = TRUE;
  cleanup_conditionals():
  2114:         if (did_emsg || got_int || (cstack->cs_flags[idx] & CSF_FINALLY))
if_python.c (1 use)
  VimErrorCheck():
  2979:     else if (did_emsg && !PyErr_Occurred())
main.c (6 uses)
  main():
  630:     if (did_emsg || msg_didout)
  739:     if ((did_emsg || msg_didout) && *T_TI != NUL)
  main_loop():
  1139:         did_emsg = FALSE;
  getout():
  1294:     if (did_emsg
  create_windows():
  2467:             did_emsg = FALSE;   /* avoid hit-enter prompt */
  edit_buffers():
  2581:             did_emsg = FALSE;   /* avoid hit-enter prompt */
message.c (2 uses)
  emsg():
  597:         did_emsg = TRUE;
  641:     did_emsg = TRUE;        /* flag for DoOneCmd() */
screen.c (8 uses)
  win_line():
  2717:     save_did_emsg = did_emsg;
  2718:     did_emsg = FALSE;
  2720:     if (did_emsg)
  2724:         did_emsg = save_did_emsg;
  3893:             save_did_emsg = did_emsg;
  3894:             did_emsg = FALSE;
  3902:             if (did_emsg)
  3908:             did_emsg = save_did_emsg;
mod_mask (84 uses in 7 translation units) defined in translation unit main.c, declared in ./globals.h:83
edit.c (14 uses)
  edit():
  1157:         if (mod_mask & (MOD_MASK_SHIFT|MOD_MASK_CTRL))
  1169:         if (mod_mask & (MOD_MASK_SHIFT|MOD_MASK_CTRL))
  1185:         if (mod_mask & MOD_MASK_SHIFT)
  1206:         if (mod_mask & MOD_MASK_SHIFT)
  insert_special():
  5401:     if (mod_mask & MOD_MASK_CMD)
  5404:     if (IS_SPECIAL(c) || (mod_mask && allow_modmask))
  5406:     p = get_special_key_name(c, mod_mask);
  ins_start_select():
  8057:         if (!(mod_mask & MOD_MASK_SHIFT))
  8072:         if (mod_mask)
  8078:             buf[2] = mod_mask;
  ins_mousescroll():
  8727:     if (mod_mask & (MOD_MASK_SHIFT | MOD_MASK_CTRL))
  ins_pageup():
  9031:     if (mod_mask & MOD_MASK_CTRL)
  ins_pagedown():
  9094:     if (mod_mask & MOD_MASK_CTRL)
  ins_digraph():
  9459:     if (IS_SPECIAL(c) || mod_mask)        /* special key */
eval.c (4 uses)
  f_getchar():
  9974:     if (IS_SPECIAL(n) || mod_mask != 0)
  9980:     if (mod_mask != 0)
  9984:         temp[i++] = mod_mask;
  f_getcharmod():
  10060:     rettv->vval.v_number = mod_mask;
ex_getln.c (7 uses)
  getcmdline():
  1185:                    || (mod_mask & (MOD_MASK_SHIFT|MOD_MASK_CTRL)))
  1210:                    || (mod_mask & (MOD_MASK_SHIFT|MOD_MASK_CTRL)))
  1294:                            && (mod_mask & MOD_MASK_SHIFT))
  1298:             mod_mask &= ~MOD_MASK_SHIFT;
  1650:             mod_mask = 0x0;
  1670:     if (IS_SPECIAL(c) || mod_mask != 0)
  1671:         put_on_cmdline(get_special_key_name(c, mod_mask), -1, TRUE);
getchar.c (14 uses)
  vgetc():
  1539:     mod_mask = old_mod_mask;
  1543:       mod_mask = 0x0;
  1547:     if (mod_mask)        /* no mapping after modifier has been read */
  1553:     if (mod_mask)
  1576:         mod_mask = c;
  1665:         case K_ZHOME:    if (mod_mask == MOD_MASK_SHIFT)
  1668:                     mod_mask = 0;
  1670:                 else if (mod_mask == MOD_MASK_CTRL)
  1673:                     mod_mask = 0;
  1679:         case K_ZEND:    if (mod_mask == MOD_MASK_SHIFT)
  1682:                     mod_mask = 0;
  1684:                 else if (mod_mask == MOD_MASK_CTRL)
  1687:                     mod_mask = 0;
  vungetc():
  1849:     old_mod_mask = mod_mask;
misc1.c (1 use)
  get_keystroke():
  3139:             mod_mask = buf[2];
normal.c (42 uses)
  normal_cmd():
  821:         && !(mod_mask & MOD_MASK_SHIFT))
  842:                            && (mod_mask & MOD_MASK_SHIFT))
  844:         mod_mask &= ~MOD_MASK_SHIFT;
  1139:                        && (mod_mask & MOD_MASK_SHIFT))
  1142:         mod_mask &= ~MOD_MASK_SHIFT;
  do_mouse():
  2328:     if (is_click && (mod_mask & MOD_MASK_CTRL) && which_button == MOUSE_RIGHT)
  2342:     if ((mod_mask & MOD_MASK_CTRL) && which_button != MOUSE_LEFT)
  2350:     if ((mod_mask & (MOD_MASK_SHIFT | MOD_MASK_CTRL | MOD_MASK_ALT
  2353:         || (mod_mask & MOD_MASK_MULTI_CLICK)
  2355:         && !((mod_mask & (MOD_MASK_SHIFT|MOD_MASK_ALT))
  2358:         && !((mod_mask & MOD_MASK_ALT)
  2479:         if ((mod_mask & MOD_MASK_MULTI_CLICK) == MOD_MASK_2CLICK)
  2528:                 && !(mod_mask & (MOD_MASK_SHIFT | MOD_MASK_CTRL)))
  2617:                 && (mod_mask & (MOD_MASK_SHIFT|MOD_MASK_ALT)))
  2620:         mod_mask &= ~MOD_MASK_SHIFT;
  2626:                 && !(mod_mask & (MOD_MASK_SHIFT | MOD_MASK_CTRL)))
  2709:     if (mod_mask == 0
  2755:        if (mod_mask & MOD_MASK_ALT)
  2877:     else if (((mod_mask & MOD_MASK_CTRL)
  2878:         || (mod_mask & MOD_MASK_MULTI_CLICK) == MOD_MASK_2CLICK)
  2895:     else if ((mod_mask & MOD_MASK_CTRL) || (curbuf->b_help
  2896:              && (mod_mask & MOD_MASK_MULTI_CLICK) == MOD_MASK_2CLICK))
  2908:     else if ((mod_mask & MOD_MASK_SHIFT))
  2946:     else if ((mod_mask & MOD_MASK_MULTI_CLICK) && (State & (NORMAL | INSERT))
  2964:         if ((mod_mask & MOD_MASK_MULTI_CLICK) == MOD_MASK_2CLICK)
  2967:         if (mod_mask & MOD_MASK_ALT)
  2972:         else if ((mod_mask & MOD_MASK_MULTI_CLICK) == MOD_MASK_3CLICK)
  2974:         else if ((mod_mask & MOD_MASK_MULTI_CLICK) == MOD_MASK_4CLICK)
  2985:     if ((mod_mask & MOD_MASK_MULTI_CLICK) == MOD_MASK_2CLICK)
  3048:     if (mod_mask & MOD_MASK_ALT)
  unshift_special():
  3639:     cap->cmdchar = simplify_key(cap->cmdchar, &mod_mask);
  nv_page():
  4101:     if (mod_mask & MOD_MASK_CTRL)
  nv_mousescroll():
  4444:     if (mod_mask & (MOD_MASK_SHIFT | MOD_MASK_CTRL))
  nv_right():
  5708:     if (mod_mask & (MOD_MASK_SHIFT | MOD_MASK_CTRL))
  5711:     if (mod_mask & MOD_MASK_CTRL)
  nv_left():
  5821:     if (mod_mask & (MOD_MASK_SHIFT | MOD_MASK_CTRL))
  5824:     if (mod_mask & MOD_MASK_CTRL)
  nv_up():
  5888:     if (mod_mask & MOD_MASK_SHIFT)
  nv_down():
  5912:     if (mod_mask & MOD_MASK_SHIFT)
  nv_end():
  6000:     if (cap->arg || (mod_mask & MOD_MASK_CTRL))    /* CTRL-END = goto last line */
  nv_g_cmd():
  8023:     mod_mask = MOD_MASK_CTRL;
  nv_home():
  8285:     if (mod_mask & MOD_MASK_CTRL)
ui.c (2 uses)
  clip_modeless():
  600:                           && (mod_mask & MOD_MASK_2CLICK))
  602:                          && (mod_mask & MOD_MASK_3CLICK));
restart_edit (84 uses in 17 translation units) defined in translation unit main.c, declared in ./globals.h:885
buffer.c (1 use)
  fileinfo():
  3007:     if (restart_edit != 0 || (msg_scrolled && !need_wait_return))
edit.c (11 uses)
  edit():
  323:     did_restart_edit = restart_edit;
  393:     if (cmdchar != NUL && restart_edit == 0)
  481:     if (restart_edit != 0 && stuff_empty())
  493:     restart_edit = 0;
  ins_esc():
  7907:     if (restart_edit == NUL && (colnr_T)temp == curwin->w_cursor.col)
  7924:         && (restart_edit == NUL
  7939:         if (restart_edit != NUL)
  7978:     if (Recording || restart_edit != NUL)
  ins_ctrl_o():
  8135:     restart_edit = 'V';
  8139:     restart_edit = 'R';
  8141:     restart_edit = 'I';
ex_cmds.c (1 use)
  ex_help():
  5615:     restart_edit = 0;        /* don't want insert mode in help file */
ex_docmd.c (8 uses)
  ex_normal():
  8910:     int        save_restart_edit = restart_edit;
  8935:     restart_edit = 0;        /* don't go to Insert mode */
  9040:     restart_edit = save_restart_edit;
  ex_startinsert():
  9073:     restart_edit = 'a';
  9075:     restart_edit = 'R';
  9077:     restart_edit = 'V';
  9082:         restart_edit = 'i';
  ex_stopinsert():
  9095:     restart_edit = 0;
ex_getln.c (5 uses)
  getcmdline():
  714:         if (c == Ctrl_G && p_im && restart_edit == 0)
  715:             restart_edit = 'a';
  ex_window():
  5964:     int            save_restart_edit = restart_edit;
  6089:     if (restart_edit != 0)    /* autocmd with ":startinsert" */
  6192:     restart_edit = save_restart_edit;
fileio.c (1 use)
  readfile():
  2417:         if (read_stdin || read_buffer || restart_edit != 0
getchar.c (4 uses)
  get_recorded():
  211:     if (len > 0 && restart_edit != 0 && p[len - 1] == Ctrl_O)
  openscript():
  1399:     int    save_restart_edit = restart_edit;
  1406:     restart_edit = 0;    /* don't go to Insert mode */
  1422:     restart_edit = save_restart_edit;
main.c (1 use)
  main():
  926:     if (restart_edit != 0)
menu.c (1 use)
  ex_emenu():
  2183:     if (restart_edit
misc1.c (1 use)
  del_bytes():
  2255:     if (col > 0 && fixpos && restart_edit == 0
misc2.c (2 uses)
  coladvance2():
  155:             || restart_edit != NUL
  check_cursor_col():
  514:     if ((State & INSERT) || restart_edit
normal.c (33 uses)
  normal_cmd():
  637:     if (restart_edit == 0)
  661:     if (restart_edit != 0)
  1114:     if (restart_edit == 0 && goto_im())
  1115:         restart_edit = 'a';
  1194:             && (restart_edit != 0
  1206:         || (restart_edit != 0
  1223:     if (restart_edit != 0)
  1305:         && ((restart_edit != 0 && !VIsual_active && old_mapped_len == 0)
  1322:     if (restart_edit != 0
  1327:         (void)edit(restart_edit, FALSE, 1L);
  do_pending_operator():
  1907:             restart_edit_save = restart_edit;
  1910:         restart_edit = 0;
  1915:         if (restart_edit == 0)
  1916:             restart_edit = restart_edit_save;
  2000:         restart_edit_save = restart_edit;
  2001:         restart_edit = 0;
  2009:         if (restart_edit == 0)
  2010:             restart_edit = restart_edit_save;
  do_mouse():
  2867:     if (restart_edit != 0)
  nv_colon():
  5186:         restart_edit = 'i';
  5188:         restart_edit = 0;
  nv_dot():
  8144:     if (start_redo(cap->count0, restart_edit != 0 && !arrow_used) == FAIL)
  nv_normal():
  8600:     if (restart_edit != 0 && mode_displayed)
  8602:     restart_edit = 0;
  8616:         restart_edit = 'a';
  nv_esc():
  8640:     if (restart_edit == 0
  8653:         restart_edit = 0;
  8680:     if (restart_edit == 0 && goto_im()
  8685:     restart_edit = 'a';
  invoke_edit():
  8804:     restart_edit_save = restart_edit;
  8809:     restart_edit = 0;
  8814:     if (restart_edit == 0)
  8815:     restart_edit = restart_edit_save;
ops.c (7 uses)
  put_reedit_in_typebuf():
  1263:     if (restart_edit != NUL)
  1265:     if (restart_edit == 'V')
  1273:         buf[0] = restart_edit == 'I' ? 'i' : restart_edit;
  1273:         buf[0] = restart_edit == 'I' ? 'i' : restart_edit;
  1277:         restart_edit = NUL;
  do_put():
  3672:         if (totlen && (restart_edit != 0 || (flags & PUT_CURSEND)))
  adjust_cursor_eol():
  3846:         && !(restart_edit || (State & INSERT)))
option.c (2 uses)
  set_bool_option():
  7208:         if (restart_edit != 0 && mode_displayed)
  7210:         restart_edit = 0;
quickfix.c (1 use)
  qf_jump():
  1571:         restart_edit = 0;        /* don't want insert mode in help file */
screen.c (4 uses)
  showmode():
  8823:         || restart_edit
  8922:         else if (restart_edit == 'I')
  8924:         else if (restart_edit == 'R')
  8926:         else if (restart_edit == 'V')
window.c (1 use)
  win_enter_ext():
  4047:     if (restart_edit)
enc_dbcs (78 uses in 14 translation units) defined in translation unit main.c, declared in ./globals.h:765
charset.c (10 uses)
  buf_init_chartab():
  107:         else if (enc_dbcs == DBCS_JPNU && c == 0x8e)
  110:         else if (enc_dbcs != 0 && MB_BYTE2LEN(c) == 2)
  121:         if ((enc_dbcs != 0 && MB_BYTE2LEN(c) > 1)
  122:             || (enc_dbcs == DBCS_JPNU && c == 0x8e)
  133:     if (enc_dbcs != 0)
  240:                 && !(enc_dbcs && MB_BYTE2LEN(c) == 2)
  char2cells():
  724:     if (enc_dbcs != 0 && c >= 0x100)
  726:         if (enc_dbcs == DBCS_JPNU && ((unsigned)c >> 8) == 0x8e)
  vim_iswordc():
  886:     if (enc_dbcs != 0)
  vim_isprintc_strict():
  976:     if (enc_dbcs != 0 && c < 0x100 && MB_BYTE2LEN(c) > 1)
edit.c (1 use)
  get_literal():
  5364:     if (enc_dbcs && (cc & 0xff) == 0)
ex_cmds.c (1 use)
  do_ascii():
  72:     if (!has_mbyte || (enc_dbcs != 0 && c < 0x100) || c < 0x80)
fileio.c (2 uses)
  file_pat_to_reg_pat():
  9538:         if (enc_dbcs != 0 && (*mb_ptr2len)(p) > 1)
  9675:         if (enc_dbcs != 0 && (*mb_ptr2len)(p) > 1)
gui.c (6 uses)
  gui_screenchar():
  1871:     if (enc_dbcs == DBCS_JPNU && ScreenLines[off] == 0x8e)
  1880:         enc_dbcs ? (*mb_ptr2len)(ScreenLines + off) : 1,
  gui_outstr_nowrap():
  2296:     if (enc_dbcs == DBCS_JPNU)
  gui_redraw_block():
  2455:     if (enc_dbcs != 0)
  2503:         else if (enc_dbcs == DBCS_JPNU && ScreenLines[off] == 0x8e)
  2532:             if (enc_dbcs == DBCS_JPNU)
mbyte.c (14 uses)
  mb_init():
  591:     enc_dbcs = enc_dbcs_new;
  592:     has_mbyte = (enc_dbcs != 0 || enc_utf8);
  617:     else if (enc_dbcs != 0)
  665:     else if (enc_dbcs == 0)
  mb_get_class():
  831:     if (enc_dbcs != 0 && p[0] != NUL && p[1] != NUL)
  dbcs_class():
  847:     switch (enc_dbcs)
  dbcs_ptr2cells():
  1286:     if (enc_dbcs == DBCS_JPNU && *p == 0x8e)
  dbcs_char2cells():
  1310:     if (enc_dbcs == DBCS_JPNU && ((unsigned)c >> 8) == 0x8e)
  dbcs_off2cells():
  1341:     if (enc_dbcs == DBCS_JPNU && ScreenLines[off] == 0x8e)
  dbcs_screen_head_off():
  2456:         || (enc_dbcs == DBCS_JPNU && p[-1] == 0x8e)
  2467:     if (enc_dbcs == DBCS_JPNU && *q == 0x8e)
  mb_tail_off():
  2619:     if (enc_dbcs == 0 || p[1] == NUL || MB_BYTE2LEN(*p) == 1)
  dbcs_screen_tail_off():
  2746:         || (enc_dbcs == DBCS_JPNU && *p == 0x8e)
  mb_fix_col():
  2938:         && ((enc_dbcs
message.c (2 uses)
  msg_strtrunc():
  220:         else if (enc_dbcs == DBCS_JPNU)
  trunc_string():
  280:     if (enc_dbcs != 0)
misc2.c (2 uses)
  vim_strchr():
  1758:     if (enc_dbcs != 0 && c > 255)
  extract_modifiers():
  2713:         && !enc_dbcs        /* avoid creating a lead byte */
ops.c (1 use)
  swapchar():
  2376:     if (enc_dbcs != 0 && c >= 0x100)    /* No lower/uppercase letter */
screen.c (26 uses)
  fold_line():
  2331:         if (enc_dbcs == DBCS_JPNU && *p == 0x8e)
  win_line():
  4582:         if (enc_dbcs == DBCS_JPNU)
  char_needs_redraw():
  4879:         || (enc_dbcs != 0
  4881:             && (enc_dbcs == DBCS_JPNU && ScreenLines[off_from] == 0x8e
  screen_line():
  5061:         if (enc_dbcs != 0)
  5088:         if (enc_dbcs == DBCS_JPNU)
  5153:         if (enc_dbcs != 0 && char_cells == 2)
  5236:             else if (enc_dbcs != 0)
  5250:             if (enc_dbcs != 0 && prev_cells > 1)
  screen_getbytes():
  6177:     else if (enc_dbcs == DBCS_JPNU && ScreenLines[off] == 0x8e)
  6183:     else if (enc_dbcs && MB_BYTE2LEN(bytes[0]) > 1)
  screen_puts_len():
  6282:         if (enc_dbcs == DBCS_JPNU && c == 0x8e)
  6284:         else if (enc_dbcs != 0)
  6332:             && ScreenLines[off + 1] != (enc_dbcs ? ptr[1] : 0))
  6333:         || (enc_dbcs == DBCS_JPNU
  6402:         if (enc_dbcs
  6441:         else if (enc_dbcs == DBCS_JPNU && c == 0x8e)
  screen_char():
  6953:     if (enc_dbcs == DBCS_JPNU && ScreenLines[off] == 0x8e)
  screen_draw_rectangle():
  7029:         if (enc_dbcs != 0 && dbcs_off2cells(off + c, max_off) > 1)
  screenalloc():
  7337:         && (enc_dbcs == DBCS_JPNU) == (ScreenLines2 != NULL)
  7391:     if (enc_dbcs == DBCS_JPNU)
  7423:         || (enc_dbcs == DBCS_JPNU && new_ScreenLines2 == NULL)
  7495:         if (enc_dbcs == DBCS_JPNU)
  7530:             if (enc_dbcs == DBCS_JPNU && ScreenLines2 != NULL)
  linecopy():
  7748:     if (enc_dbcs == DBCS_JPNU)
  windgoto():
  8011:                 if (enc_dbcs == DBCS_JPNU
search.c (3 uses)
  cls():
  2786:     if (enc_dbcs != 0 && c > 0xFF)
  2789:     if (enc_dbcs == DBCS_KOR && cls_bigword)
  in_html_tag():
  3689:     if (enc_dbcs)
spell.c (2 uses)
  init_spell_chartab():
  9561:     if (enc_dbcs)
  spell_iswordp_w():
  9858:     if (enc_dbcs)
term.c (1 use)
  out_flush_check():
  2557:     if (enc_dbcs != 0 && out_pos >= OUT_SIZE - MB_MAXBYTES)
ui.c (7 uses)
  clip_copy_modeless_selection():
  1170:     if (enc_dbcs != 0)
  1179:     if (enc_dbcs != 0)
  1223:         if (enc_dbcs != 0)
  1229:             if (enc_dbcs == DBCS_JPNU && p[i] == 0x8e)
  clip_get_word_boundaries():
  1334:     if (enc_dbcs != 0)
  1344:     if (enc_dbcs != 0
  1360:     if (enc_dbcs != 0 && dbcs_ptr2cells(p + temp_col) == 2)
first_tabpage (77 uses in 16 translation units) defined in translation unit main.c, declared in ./globals.h:548
buffer.c (9 uses)
  buf_freeall():
  569:     FOR_ALL_TAB_WINDOWS(tp, win)
  do_buffer():
  1112:            && (firstwin != lastwin || first_tabpage->tp_next != NULL))
  do_arg_all():
  4311:     goto_tabpage_tp(first_tabpage);
  4380:             if (firstwin == lastwin && first_tabpage->tp_next == NULL)
  4405:         tpnext = first_tabpage;    /* start all over...*/
  ex_buffer_all():
  4559:     goto_tabpage_tp(first_tabpage);
  4583:         tpnext = first_tabpage;    /* start all over...*/
  write_viminfo_bufferlist():
  4994:     FOR_ALL_TAB_WINDOWS(tp, win)
  buf_spname():
  5043:     FOR_ALL_TAB_WINDOWS(tp, win)
diff.c (5 uses)
  diff_buf_delete():
  69:     for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
  diff_invalidate():
  184:     for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
  diff_mark_adjust():
  210:     for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
  diffopt_changed():
  1809:     for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
  diff_mode_buf():
  2378:     for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
edit.c (2 uses)
  ins_pageup():
  9034:     if (first_tabpage->tp_next != NULL)
  ins_pagedown():
  9097:     if (first_tabpage->tp_next != NULL)
eval.c (2 uses)
  garbage_collect():
  6151:     FOR_ALL_TAB_WINDOWS(tp, wp)
  6156:     for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
ex_cmds.c (2 uses)
  do_ecmd():
  3606:         FOR_ALL_TAB_WINDOWS(tp, win)
  ex_drop():
  7112:     FOR_ALL_TAB_WINDOWS(tp, wp)
ex_cmds2.c (2 uses)
  alist_check_arg_idx():
  1879:     FOR_ALL_TAB_WINDOWS(tp, win)
  ex_listdo():
  2313:     tp = first_tabpage;
ex_docmd.c (5 uses)
  ex_tabclose():
  6385:     if (first_tabpage->tp_next == NULL)
  ex_tabonly():
  6427:     if (first_tabpage->tp_next == NULL)
  6435:         for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
  6445:         if (first_tabpage->tp_next == NULL)
  ex_tabs():
  7237:     for (tp = first_tabpage; tp != NULL && !got_int; tp = tp->tp_next)
gui.c (1 use)
  gui_has_tabline():
  3381:         || (p_stal == 1 && first_tabpage->tp_next == NULL))
gui_mac.c (2 uses)
  getTabCount():
  6556:     for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
  gui_mch_update_tabline():
  6873:     for (tp = first_tabpage; tp != NULL; tp = tp->tp_next, ++nr)
main.c (3 uses)
  main():
  915:     if (first_tabpage->tp_next != NULL)
  getout():
  1246:     for (tp = first_tabpage; tp != NULL; tp = next_tp)
  1259:         next_tp = first_tabpage;
mark.c (1 use)
  write_viminfo_marks():
  1563:     FOR_ALL_TAB_WINDOWS(tp, win)
normal.c (1 use)
  do_mouse():
  2508:             if (first_tabpage->tp_next != NULL)
option.c (1 use)
  set_options_default():
  3485:     FOR_ALL_TAB_WINDOWS(tp, wp)
quickfix.c (2 uses)
  qf_jump():
  1605:         FOR_ALL_TAB_WINDOWS(tp, wp)
  qf_find_buf():
  2478:     FOR_ALL_TAB_WINDOWS(tp, win)
screen.c (5 uses)
  screenalloc():
  7376:     FOR_ALL_TAB_WINDOWS(tp, wp)
  7404:     FOR_ALL_TAB_WINDOWS(tp, wp)
  draw_tabline():
  9120:     for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
  9130:     for (tp = first_tabpage; tp != NULL && col < Columns - 4;
  9226:     if (first_tabpage->tp_next != NULL)
window.c (34 uses)
  close_windows():
  2012:     for (tp = first_tabpage; tp != NULL; tp = nexttp)
  2023:             nexttp = first_tabpage;
  last_window():
  2041:     return (lastwin == firstwin && first_tabpage->tp_next == NULL);
  win_close_othertab():
  2249:     for (ptp = first_tabpage; ptp != NULL && ptp != tp; ptp = ptp->tp_next)
  2266:     if (tp == first_tabpage)
  2267:         first_tabpage = tp->tp_next;
  2270:         for (ptp = first_tabpage; ptp != NULL && ptp->tp_next != tp;
  alt_tabpage():
  2540:     for (tp = first_tabpage; tp->tp_next != curtab; tp = tp->tp_next)
  win_alloc_first():
  3176:     first_tabpage = alloc_tabpage();
  3177:     if (first_tabpage == NULL)
  3179:     first_tabpage->tp_topframe = topframe;
  3180:     curtab = first_tabpage;
  win_new_tabpage():
  3332:         newtp->tp_next = first_tabpage;
  3333:         first_tabpage = newtp;
  3341:         for (tp = first_tabpage; tp->tp_next != NULL
  valid_tabpage():
  3442:     for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
  find_tabpage():
  3458:     for (tp = first_tabpage; tp != NULL && i != n; tp = tp->tp_next)
  tabpage_index():
  3474:     for (tp = first_tabpage; tp != NULL && tp != ftp; tp = tp->tp_next)
  goto_tabpage():
  3619:     if (first_tabpage->tp_next == NULL)
  3630:         tp = first_tabpage;
  3641:         for (tp = first_tabpage; tp->tp_next != ttp && tp->tp_next != NULL;
  3650:     for (tp = first_tabpage; tp->tp_next != NULL; tp = tp->tp_next)
  tabpage_move():
  3719:     if (first_tabpage->tp_next == NULL)
  3723:     if (curtab == first_tabpage)
  3724:     first_tabpage = curtab->tp_next;
  3727:     for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
  3738:     curtab->tp_next = first_tabpage;
  3739:     first_tabpage = curtab;
  3743:     for (tp = first_tabpage; tp->tp_next != NULL && n > 1; tp = tp->tp_next)
  buf_jump_open_tab():
  4115:     for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
  tabline_height():
  5678:     case 1: return (first_tabpage->tp_next == NULL) ? 0 : 1;
  min_rows():
  6014:     for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
  only_one_window():
  6040:     if (first_tabpage->tp_next != NULL)
  check_lnums():
  6071:     FOR_ALL_TAB_WINDOWS(tp, wp)
regparse (77 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:576
regexp.c (77 uses)
  regatom():
  1764:             for (p = regparse; *p != NUL; ++p)
  2012:         lp = skip_anyof(regparse);
  2022:         if (*regparse == '^')        /* Complement of range. */
  2025:             regparse++;
  2031:         if (*regparse == ']' || *regparse == '-')
  2031:         if (*regparse == ']' || *regparse == '-')
  2033:             startc = *regparse;
  2034:             regc(*regparse++);
  2037:         while (*regparse != NUL && *regparse != ']')
  2037:         while (*regparse != NUL && *regparse != ']')
  2039:             if (*regparse == '-')
  2041:             ++regparse;
  2044:             if (*regparse == ']' || *regparse == NUL
  2044:             if (*regparse == ']' || *regparse == NUL
  2046:                 || (regparse[0] == '\\' && regparse[1] == 'n'))
  2046:                 || (regparse[0] == '\\' && regparse[1] == 'n'))
  2055:                 if (*regparse == '[')
  2056:                 endc = get_coll_element(&regparse);
  2061:                     endc = mb_ptr2char_adv(&regparse);
  2064:                     endc = *regparse++;
  2109:             else if (*regparse == '\\'
  2111:                 && (vim_strchr(REGEXP_INRANGE, regparse[1]) != NULL
  2114:                                regparse[1]) != NULL)))
  2116:             regparse++;
  2117:             if (*regparse == 'n')
  2129:                 regparse++;
  2132:             else if (*regparse == 'd'
  2133:                 || *regparse == 'o'
  2134:                 || *regparse == 'x'
  2135:                 || *regparse == 'u'
  2136:                 || *regparse == 'U')
  2150:                 startc = backslash_trans(*regparse++);
  2154:             else if (*regparse == '[')
  2159:             c_class = get_char_class(&regparse);
  2165:                 c_class = get_equi_class(&regparse);
  2172:                         get_coll_element(&regparse)) != 0)
  2180:                     startc = *regparse++;
  2266:                 startc = mb_ptr2char(regparse);
  2267:                 len = (*mb_ptr2len)(regparse);
  2271:                 regc(*regparse++);
  2276:                 startc = *regparse++;
  2283:         if (*regparse != ']')
  2340:                 l = utf_ptr2len(regparse);
  2341:                 if (!UTF_COMPOSINGLIKE(regparse, regparse + l))
  2343:                 regmbc(utf_ptr2char(regparse));
  initchr():
  2584:     regparse = str;
  peekchr():
  2598:     switch (curchr = regparse[0])
  2669:         char_u *p = regparse + 1;
  2685:         int c = regparse[1];
  2707:             ++regparse;
  2710:             --regparse;
  2731:             curchr = (*mb_ptr2char)(regparse + 1);
  2742:         curchr = (*mb_ptr2char)(regparse);
  skipchr():
  2757:     if (*regparse == '\\')
  2761:     if (regparse[prevchr_len] != NUL)
  2766:         prevchr_len += utf_ptr2len(regparse + prevchr_len);
  2768:         prevchr_len += (*mb_ptr2len)(regparse + prevchr_len);
  2773:     regparse += prevchr_len;
  ungetchr():
  2822:     regparse -= prevchr_len;
  gethexchrs():
  2844:     c = regparse[0];
  2849:     ++regparse;
  getdecchrs():
  2870:     c = regparse[0];
  2875:     ++regparse;
  getoctchrs():
  2900:     c = regparse[0];
  2905:     ++regparse;
  coll_get_char():
  2922:     switch (*regparse++)
  2934:     --regparse;
  read_limits():
  2955:     if (*regparse == '-')
  2958:     regparse++;
  2961:     first_char = regparse;
  2962:     *minval = getdigits(&regparse);
  2963:     if (*regparse == ',')        /* There is a comma */
  2965:     if (vim_isdigit(*++regparse))
  2966:         *maxval = getdigits(&regparse);
  2974:     if (*regparse == '\\')
  2975:     regparse++;    /* Allow either \{...} or \{...\} */
  2976:     if (*regparse != '}')
no_wait_return (74 uses in 11 translation units) defined in translation unit main.c, declared in ./globals.h:184
eval.c (6 uses)
  call_user_func():
  20364:         ++no_wait_return;
  20398:         --no_wait_return;
  20455:     ++no_wait_return;
  20484:     --no_wait_return;
  20498:     ++no_wait_return;
  20505:     --no_wait_return;
ex_cmds.c (11 uses)
  do_filter():
  1143:     ++no_wait_return;        /* don't call wait_return() while busy */
  1148:     --no_wait_return;
  1289:     --no_wait_return;
  1310:     --no_wait_return;
  1319:     --no_wait_return;
  do_shell():
  1464:         save_nwr = no_wait_return;
  1466:         no_wait_return = FALSE;
  1472:         no_wait_return = save_nwr;
  getfile():
  3023:     ++no_wait_return;        /* don't wait for autowrite message */
  3034:         --no_wait_return;
  3041:     --no_wait_return;
ex_cmds2.c (5 uses)
  do_debug():
  129:     ++no_wait_return;        /* don't wait for return */
  279:     --no_wait_return;
  check_changed_any():
  1573:         save = no_wait_return;
  1574:         no_wait_return = FALSE;
  1576:         no_wait_return = save;
ex_docmd.c (9 uses)
  do_exmode():
  620:     ++no_wait_return;            /* don't wait for return */
  692:     --no_wait_return;
  do_cmdline():
  1073:         ++no_wait_return;   /* dont wait for return until finished */
  1081:         ++no_wait_return;
  1090:         --no_wait_return;
  1472:     --no_wait_return;
  do_exedit():
  7441:         int    nwr = no_wait_return;
  7456:         no_wait_return = 0;
  7467:         no_wait_return = nwr;
ex_eval.c (8 uses)
  throw_exception():
  528:     ++no_wait_return;
  537:     --no_wait_return;
  discard_exception():
  582:     ++no_wait_return;
  592:     --no_wait_return;
  catch_exception():
  651:     ++no_wait_return;
  660:     --no_wait_return;
  report_pending():
  785:     ++no_wait_return;
  790:     --no_wait_return;
fileio.c (11 uses)
  readfile():
  692:     ++no_wait_return;        /* don't wait for return yet */
  738:         --no_wait_return;
  751:         --no_wait_return;
  2229:     --no_wait_return;            /* may wait for return now */
  buf_write():
  3005:     ++no_wait_return;            /* don't wait for return yet */
  3109:         --no_wait_return;
  3168:             --no_wait_return;
  4500:     --no_wait_return;        /* may wait for return now */
  4663:     --no_wait_return;        /* may wait for return now */
  check_timestamps():
  6261:     ++no_wait_return;
  6282:     --no_wait_return;
main.c (7 uses)
  main():
  543:     no_wait_return = TRUE;
  684:     no_wait_return = FALSE;
  793:     no_wait_return = TRUE;
  879:     no_wait_return = FALSE;
  getout():
  1301:     no_wait_return = FALSE;
  read_stdin():
  2334:     no_wait_return = TRUE;
  2338:     no_wait_return = FALSE;
memline.c (6 uses)
  ml_open_file():
  587:     ++no_wait_return;
  592:     --no_wait_return;
  ml_recover():
  1328:     ++no_wait_return;
  1331:     --no_wait_return;
  attention_message():
  3712:     ++no_wait_return;
  3745:     --no_wait_return;
message.c (7 uses)
  msg_source():
  503:     ++no_wait_return;
  527:     --no_wait_return;
  wait_return():
  884:     if (no_wait_return)
  give_warning():
  3202:     ++no_wait_return;
  3219:     --no_wait_return;
  do_dialog():
  3314:     ++no_wait_return;
  3369:     --no_wait_return;
misc1.c (2 uses)
  ask_yesno():
  3019:     ++no_wait_return;
  3043:     --no_wait_return;
option.c (2 uses)
  do_set():
  4729:         ++no_wait_return;    /* wait_return done later */
  4731:         --no_wait_return;
sourcing_name (74 uses in 12 translation units) defined in translation unit main.c, declared in ./globals.h:219
buffer.c (3 uses)
  chk_modeline():
  4853:     save_sourcing_name = sourcing_name;
  4855:     sourcing_name = (char_u *)"modelines";
  4908:     sourcing_name = save_sourcing_name;
eval.c (18 uses)
  ex_function():
  19331:         if (sourcing_name != NULL)
  19338:             slen = (int)STRLEN(sourcing_name);
  19339:             if (slen > plen && fnamecmp(p,
  call_user_func():
  20348:     save_sourcing_name = sourcing_name;
  20351:     sourcing_name = alloc((unsigned)((save_sourcing_name == NULL ? 0
  20353:     if (sourcing_name != NULL)
  20357:         sprintf((char *)sourcing_name, "%s..", save_sourcing_name);
  20359:         STRCPY(sourcing_name, "function ");
  20360:     cat_func_name(sourcing_name + STRLEN(sourcing_name), fp);
  20360:     cat_func_name(sourcing_name + STRLEN(sourcing_name), fp);
  20367:         smsg((char_u *)_("calling %s"), sourcing_name);
  20459:         smsg((char_u *)_("%s aborted"), sourcing_name);
  20461:         smsg((char_u *)_("%s returning #%ld"), sourcing_name,
  20477:         smsg((char_u *)_("%s returning %s"), sourcing_name, buf);
  20487:     vim_free(sourcing_name);
  20488:     sourcing_name = save_sourcing_name;
  20496:     if (p_verbose >= 12 && sourcing_name != NULL)
  20501:     smsg((char_u *)_("continuing in %s"), sourcing_name);
ex_cmds2.c (9 uses)
  do_debug():
  143:     if (sourcing_name != NULL)
  144:     msg(sourcing_name);
  do_source():
  2939:         if (sourcing_name == NULL)
  2957:     if (sourcing_name == NULL)
  3021:     save_sourcing_name = sourcing_name;
  3022:     sourcing_name = fname_exp;
  3142:     sourcing_name = save_sourcing_name;
  3148:     if (sourcing_name != NULL)
  3149:         smsg((char_u *)_("continuing in %s"), sourcing_name);
ex_docmd.c (7 uses)
  do_cmdline():
  819:     fname = sourcing_name;
  1079:     if (p_verbose >= 15 && sourcing_name != NULL)
  1376:         saved_sourcing_name = sourcing_name;
  1378:         sourcing_name = current_exception->throw_name;
  1403:         vim_free(sourcing_name);
  1404:         sourcing_name = saved_sourcing_name;
  eval_vars():
  9552:         result = sourcing_name;
ex_eval.c (2 uses)
  throw_exception():
  510:     excp->throw_name = vim_strsave(sourcing_name == NULL
  511:                           ? (char_u *)"" : sourcing_name);
fileio.c (10 uses)
  apply_autocmds_group():
  8704:     save_sourcing_name = sourcing_name;
  8705:     sourcing_name = NULL;    /* don't free this one */
  8799:     vim_free(sourcing_name);
  8800:     sourcing_name = save_sourcing_name;
  auto_next_pat():
  8905:     vim_free(sourcing_name);
  8906:     sourcing_name = NULL;
  8926:         sourcing_name = alloc((unsigned)(STRLEN(s)
  8928:         if (sourcing_name != NULL)
  8930:             sprintf((char *)sourcing_name, s,
  8935:             smsg((char_u *)_("Executing %s"), sourcing_name);
getchar.c (3 uses)
  check_map_keycodes():
  4832:     save_name = sourcing_name;
  4833:     sourcing_name = (char_u *)"mappings"; /* avoids giving error messages */
  4900:     sourcing_name = save_name;
main.c (7 uses)
  exe_pre_commands():
  2628:     sourcing_name = (char_u *)_("pre-vimrc command line");
  2634:     sourcing_name = NULL;
  exe_commands():
  2659:     sourcing_name = (char_u *)"command line";
  2669:     sourcing_name = NULL;
  process_env():
  2877:     save_sourcing_name = sourcing_name;
  2879:     sourcing_name = env;
  2886:     sourcing_name = save_sourcing_name;
message.c (10 uses)
  other_sourcing_name():
  437:     if (sourcing_name != NULL)
  440:         return STRCMP(sourcing_name, last_sourcing_name) != 0;
  get_emsg_source():
  456:     if (sourcing_name != NULL && other_sourcing_name())
  459:     Buf = alloc((unsigned)(STRLEN(sourcing_name) + STRLEN(p)));
  461:         sprintf((char *)Buf, (char *)p, sourcing_name);
  get_emsg_lnum():
  479:     if (sourcing_name != NULL
  msg_source():
  519:     if (sourcing_name == NULL || other_sourcing_name())
  522:     if (sourcing_name == NULL)
  525:         last_sourcing_name = vim_strsave(sourcing_name);
  inc_msg_scrolled():
  2107:     char_u        *p = sourcing_name;
spell.c (3 uses)
  spell_load_file():
  2617:     char_u    *save_sourcing_name = sourcing_name;
  2661:     sourcing_name = fname;
  2845:     sourcing_name = save_sourcing_name;
syntax.c (1 use)
  do_highlight():
  6633:         if (sourcing_name == NULL && !dodefault)
term.c (1 use)
  add_termcap_entry():
  2333:     if (sourcing_name == NULL)
cmdline_row (72 uses in 17 translation units) defined in translation unit main.c, declared in ./globals.h:94
buffer.c (1 use)
  handle_swap_exists():
  773:     cmdline_row = msg_row;
eval.c (2 uses)
  get_user_input():
  11640:     cmdline_row = msg_row;
  ex_function():
  19098:     cmdline_row = msg_row;
ex_cmds2.c (2 uses)
  do_debug():
  188:     cmdline_row = msg_row;
  check_changed_any():
  1565:         msg_row = cmdline_row;
ex_docmd.c (1 use)
  do_exmode():
  652:         cmdline_row = msg_row;
ex_eval.c (4 uses)
  throw_exception():
  536:         cmdline_row = msg_row;
  discard_exception():
  591:         cmdline_row = msg_row;
  catch_exception():
  659:         cmdline_row = msg_row;
  report_pending():
  789:     cmdline_row = msg_row;
ex_getln.c (13 uses)
  getcmdline():
  459:             cmdline_row--;
  1284:         if (mouse_row < cmdline_row && clip_star.available)
  1310:             if (mouse_row <= cmdline_row + ccline.cmdspos / Columns
  put_on_cmdline():
  2801:         i = cmdline_row;
  2804:         if (cmdline_row != i || ccline.overstrike)
  redrawcmdprompt():
  3093:     ccline.cmdindent = msg_col + (msg_row - cmdline_row) * Columns;
  redrawcmd():
  3115:     windgoto(cmdline_row, 0);
  compute_cmdrow():
  3146:     cmdline_row = Rows - 1;
  3148:     cmdline_row = W_WINROW(lastwin) + lastwin->w_height
  cursorcmd():
  3169:     msg_row = cmdline_row + (ccline.cmdspos / (int)Columns);
  gotocmdline():
  3197:     windgoto(cmdline_row, 0);
  showmatches():
  3819:     cmdline_row = msg_row;
  3930:     cmdline_row = msg_row;    /* will put it back later */
gui.c (1 use)
  gui_send_mouse_event():
  2855:         if (Y_2_ROW(y) < cmdline_row && button != MOUSE_MIDDLE)
main.c (2 uses)
  main():
  536:     cmdline_row = Rows - p_ch;
  537:     msg_row = cmdline_row;
memline.c (2 uses)
  ml_recover():
  1341:     cmdline_row = msg_row;
  attention_message():
  3744:     cmdline_row = msg_row;
message.c (14 uses)
  msg_attr_keep():
  180:     if (keep && retval && vim_strsize(s) < (int)(Rows - cmdline_row - 1)
  msg_may_trunc():
  725:     room = (int)(Rows - cmdline_row - 1) * Columns + sc_col - 1;
  msg_end_prompt():
  848:     cmdline_row = msg_row;
  wait_return():
  888:         cmdline_row = msg_row;
  1023:         cmdline_row = msg_row;
  1054:                   (Rows - cmdline_row - 1) * Columns + sc_col)
  msg_start():
  1136:     msg_row = cmdline_row;
  1148:         cmdline_row = msg_row;
  msg_starthere():
  1169:     lines_left = cmdline_row;
  msg_puts_display():
  1928:         if (cmdline_row > 0 && !exmode_active)
  1929:         --cmdline_row;
  do_more_prompt():
  2523:         cmdline_row = Rows - 1;        /* put ':' on this line */
  msg_clr_cmdline():
  2939:     msg_row = cmdline_row;
  verbose_leave_scroll():
  3103:     cmdline_row = msg_row;
misc1.c (5 uses)
  get_number():
  3224:         cmdline_row = msg_row;
  prompt_for_number():
  3258:     save_cmdline_row = cmdline_row;
  3259:     cmdline_row = 0;
  3268:     cmdline_row = msg_row - 1;
  3273:     cmdline_row = save_cmdline_row;
misc2.c (1 use)
  get_crypt_key():
  3673:     cmdline_row = msg_row;
option.c (2 uses)
  set_num_option():
  7947:         if (cmdline_row > Rows - p_ch && Rows > p_ch)
  7948:         cmdline_row = Rows - p_ch;
os_unix.c (1 use)
  mch_expand_wildcards():
  5403:         cmdline_row = Rows - 1;    /* continue on last line */
popupmnu.c (1 use)
  pum_display():
  61:     int        above_row = cmdline_row;
screen.c (6 uses)
  win_redr_status_matches():
  5648:     row = cmdline_row - 1;
  5657:         if (cmdline_row == Rows - 1)
  5664:             ++cmdline_row;
  screenclear2():
  7685:     msg_row = cmdline_row;    /* put cursor on last line for messages */
  win_del_lines():
  8187:     if (wp->w_next || wp->w_status_height || cmdline_row < Rows - 1)
  showmode():
  8848:     if (clear_cmdline && cmdline_row < Rows - 1)
window.c (14 uses)
  win_equal_rec():
  1851:         if (row + height == cmdline_row && p_ls == 0)
  win_setheight_win():
  4661:     if (full_screen && msg_scrolled == 0 && row < cmdline_row)
  4662:     screen_fill(row, cmdline_row, 0, (int)Columns, ' ', ' ', 0);
  4663:     cmdline_row = row;
  win_drag_status_line():
  5141:     room = Rows - cmdline_row;
  5193:     screen_fill(row, cmdline_row, 0, (int)Columns, ' ', ' ', 0);
  5194:     cmdline_row = row;
  5195:     p_ch = Rows - cmdline_row;
  command_height():
  5516:     cmdline_row = Rows - p_ch;
  5527:             cmdline_row = Rows - p_ch;
  5543:         screen_fill((int)(cmdline_row), (int)Rows, 0,
  5545:         msg_row = cmdline_row;
  5550:     if (msg_row < cmdline_row)
  5551:         msg_row = cmdline_row;
msg_silent (72 uses in 18 translation units) defined in translation unit main.c, declared in ./globals.h:917
buffer.c (1 use)
  enter_buffer():
  1415:     if (!msg_silent)
edit.c (3 uses)
  edit():
  549:     if (p_smd && msg_silent == 0)
  ins_compl_get_exp():
  4065:         ++msg_silent;  /* Don't want messages for wrapscan. */
  4078:         --msg_silent;
ex_cmds.c (4 uses)
  do_shell():
  1397:         && msg_silent == 0)
  1435:     if (msg_silent == 0)
  1454:         if (msg_silent == 0)
  1470:         wait_return(msg_silent == 0);
ex_cmds2.c (3 uses)
  do_debug():
  92:     int        save_msg_silent = msg_silent;
  132:     msg_silent = FALSE;        /* display messages */
  287:     msg_silent = save_msg_silent;
ex_docmd.c (6 uses)
  do_cmdline():
  1086:         if (msg_silent == 0)
  do_one_cmd():
  1865:             ++msg_silent;
  2236:         if (msg_silent == 0)
  2696:     msg_silent -= did_silent;
  2697:     if (msg_silent < 0)
  2698:         msg_silent = 0;
ex_eval.c (12 uses)
  throw_exception():
  522:     int    save_msg_silent = msg_silent;
  525:         msg_silent = FALSE;        /* display messages */
  539:         msg_silent = save_msg_silent;
  discard_exception():
  575:     int    save_msg_silent = msg_silent;
  579:         msg_silent = FALSE;        /* display messages */
  594:         msg_silent = save_msg_silent;
  catch_exception():
  645:     int    save_msg_silent = msg_silent;
  648:         msg_silent = FALSE;        /* display messages */
  662:         msg_silent = save_msg_silent;
  report_pending():
  782:     save_msg_silent = msg_silent;
  784:     msg_silent = FALSE;    /* display messages */
  792:     msg_silent = save_msg_silent;
fileio.c (2 uses)
  filemess():
  162:     if (msg_silent != 0)
  check_mtime():
  4925:     msg_silent = 0;            /* must give this prompt */
getchar.c (2 uses)
  vgetorpeek():
  2785:     if (advance && p_smd && msg_silent == 0 && (State & INSERT))
  showmap():
  3802:     if (msg_didout || msg_silent != 0)
memline.c (1 use)
  findswapname():
  4224:             if (msg_silent == 0)
message.c (17 uses)
  msg_strtrunc():
  204:                    && !exmode_active && msg_silent == 0) || force)
  emsg():
  631:     msg_silent = 0;
  add_msg_hist():
  760:     if (msg_hist_off || msg_silent != 0)
  wait_return():
  874:     if (msg_silent != 0)
  set_keep_msg():
  1102:     if (s != NULL && msg_silent == 0)
  msg_start():
  1152:     if (msg_silent == 0)
  msg_puts_attr_len():
  1790:     if (msg_silent != 0)
  msg_clr_eos():
  2893:     if (msg_silent == 0)
  redir_write():
  3050:     if (msg_silent != 0)    /* should update msg_col */
  verbose_enter():
  3063:     ++msg_silent;
  verbose_leave():
  3074:     if (--msg_silent < 0)
  3075:         msg_silent = 0;
  verbose_enter_scroll():
  3085:     ++msg_silent;
  verbose_leave_scroll():
  3099:     if (--msg_silent < 0)
  3100:         msg_silent = 0;
  give_warning():
  3198:     if (msg_silent != 0)
  msg_advance():
  3229:     if (msg_silent != 0)    /* nothing to advance to */
misc1.c (3 uses)
  ins_char_bytes():
  2077:         && msg_silent == 0
  change_warning():
  2988:     if (msg_silent == 0 && !silent_mode)
  get_number():
  3185:     if (msg_silent != 0)
normal.c (6 uses)
  normal_cmd():
  1193:             && msg_silent == 0
  do_mouse():
  3056:         || (VIsual_active && p_smd && msg_silent == 0
  add_to_showcmd():
  3752:     if (!p_sc || msg_silent != 0)
  nv_replace():
  6815:         if (p_sm && msg_silent == 0)
  nv_visual():
  7380:         if (p_smd && msg_silent == 0)
  n_start_visual_mode():
  7477:     if (p_smd && msg_silent == 0)
ops.c (3 uses)
  op_delete():
  1708:         int msg_silent_save = msg_silent;
  1710:         msg_silent = 0;    /* must display the prompt */
  1712:         msg_silent = msg_silent_save;
screen.c (3 uses)
  showmode():
  8821:     do_mode = ((p_smd && msg_silent == 0)
  8835:     if (!redrawing() || (char_avail() && !KeyTyped) || msg_silent != 0)
  8994:     else if (clear_cmdline && msg_silent == 0)
search.c (2 uses)
  do_search():
  1179:                         && !cmd_silent && msg_silent == 0)
  show_pat_in_path():
  5196:     else if (!msg_silent)
tag.c (2 uses)
  do_tag():
  1007:         if (ic && !msg_scrolled && msg_silent == 0)
  jumpto_tag():
  3244:             if (!msg_scrolled && msg_silent == 0)
ui.c (1 use)
  jump_to_mouse():
  2774:     if (p_smd && msg_silent == 0)
undo.c (1 use)
  u_savecommon():
  644:     msg_silent = 0;    /* must display the prompt */
termcodes (72 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:3528
term.c (72 uses)
  clear_termcodes():
  3539:     vim_free(termcodes[--tc_len].code);
  3540:     vim_free(termcodes);
  3541:     termcodes = NULL;
  add_termcode():
  3607:         new_tc[i] = termcodes[i];
  3608:     vim_free(termcodes);
  3609:     termcodes = new_tc;
  3619:     if (termcodes[i].name[0] < name[0])
  3621:     if (termcodes[i].name[0] == name[0])
  3623:         if (termcodes[i].name[1] < name[1])
  3628:         if (termcodes[i].name[1] == name[1])
  3631:                     termcodes[i].code, termcodes[i].len)) > 0)
  3631:                     termcodes[i].code, termcodes[i].len)) > 0)
  3635:             if (len == termcodes[i].len - j
  3636:                 && STRNCMP(s, termcodes[i].code, len - 1) == 0
  3638:                    == termcodes[i].code[termcodes[i].len - 1])
  3638:                    == termcodes[i].code[termcodes[i].len - 1])
  3648:             vim_free(termcodes[i].code);
  3658:         termcodes[j] = termcodes[j - 1];
  3658:         termcodes[j] = termcodes[j - 1];
  3662:     termcodes[i].name[0] = name[0];
  3663:     termcodes[i].name[1] = name[1];
  3664:     termcodes[i].code = s;
  3665:     termcodes[i].len = len;
  3669:     termcodes[i].modlen = 0;
  3672:     termcodes[i].modlen = len - 1 - j;
  find_termcode():
  3704:     if (termcodes[i].name[0] == name[0] && termcodes[i].name[1] == name[1])
  3704:     if (termcodes[i].name[0] == name[0] && termcodes[i].name[1] == name[1])
  3705:         return termcodes[i].code;
  get_termcode():
  3716:     return &termcodes[i].name[0];
  del_termcode():
  3726:     if (termcodes == NULL)    /* nothing there yet */
  3732:     if (termcodes[i].name[0] == name[0] && termcodes[i].name[1] == name[1])
  3732:     if (termcodes[i].name[0] == name[0] && termcodes[i].name[1] == name[1])
  del_termcode_idx():
  3746:     vim_free(termcodes[idx].code);
  3749:     termcodes[i] = termcodes[i + 1];
  3749:     termcodes[i] = termcodes[i + 1];
  switch_to_8bit():
  3768:         c = term_7to8bit(termcodes[i].code);
  3771:         mch_memmove(termcodes[i].code + 1, termcodes[i].code + 2,
  3771:         mch_memmove(termcodes[i].code + 1, termcodes[i].code + 2,
  3771:         mch_memmove(termcodes[i].code + 1, termcodes[i].code + 2,
  3773:         termcodes[i].code[0] = c;
  check_termcode():
  3958:         slen = termcodes[idx].len;
  3961:         if (STRNCMP(termcodes[idx].code, tp,
  3973:             if (termcodes[idx].name[0] == 'K'
  3974:                        && VIM_ISDIGIT(termcodes[idx].name[1]))
  3974:                        && VIM_ISDIGIT(termcodes[idx].name[1]))
  3977:                 if (termcodes[j].len == slen &&
  3978:                     STRNCMP(termcodes[idx].code,
  3978:                     STRNCMP(termcodes[idx].code,
  3986:             key_name[0] = termcodes[idx].name[0];
  3987:             key_name[1] = termcodes[idx].name[1];
  3998:         if (termcodes[idx].modlen > 0)
  4000:             modslen = termcodes[idx].modlen;
  4003:             if (STRNCMP(termcodes[idx].code, tp,
  4011:             if (tp[modslen] == termcodes[idx].code[slen - 1])
  4024:                 if (tp[j - 1] != termcodes[idx].code[slen - 1])
  4040:             key_name[0] = termcodes[idx].name[0];
  4041:             key_name[1] = termcodes[idx].name[1];
  4242:             j = termcodes[idx].len;
  replace_termcodes():
  5071:         result[dlen++] = termcodes[i].name[0];
  5072:         result[dlen++] = termcodes[i].name[1];
  5073:         src += termcodes[i].len;
  find_term_bykeys():
  5191:     slen = termcodes[i].len;
  5192:     if (slen > 1 && STRNCMP(termcodes[i].code, src, (size_t)slen) == 0)
  gather_termleader():
  5220:     if (vim_strchr(termleader, termcodes[i].code[0]) == NULL)
  5222:         termleader[len++] = termcodes[i].code[0];
  show_termcodes():
  5272:         len = show_one_termcode(termcodes[i].name,
  5273:                             termcodes[i].code, FALSE);
  5301:         show_one_termcode(termcodes[items[i]].name,
  5302:                           termcodes[items[i]].code, TRUE);
  translate_mapping():
  5580:             if (termcodes[i].name[0] == str[1]
  5581:                         && termcodes[i].name[1] == str[2])
  5585:             ga_concat(&ga, termcodes[i].code);
LineOffset (69 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:44
gui.c (8 uses)
  gui_update_cursor():
  981:     attr = ScreenAttrs[LineOffset[gui.row] + gui.col];
  1058:         (void)gui_screenchar(LineOffset[gui.row] + gui.col,
  1083:         if (has_mbyte && (*mb_off2cells)(LineOffset[gui.row] + gui.col,
  1084:                     LineOffset[gui.row] + screen_Columns) > 1)
  1109:         gui.highlight_mask = ScreenAttrs[LineOffset[gui.row] + gui.col];
  1110:         (void)gui_screenchar(LineOffset[gui.row] + gui.col,
  gui_redraw_block():
  2454:     off = LineOffset[gui.row];
  2474:     off = LineOffset[gui.row] + gui.col;
mbyte.c (6 uses)
  mb_lefthalve():
  2920:     return (*mb_off2cells)(LineOffset[row] + col,
  2921:                     LineOffset[row] + screen_Columns) > 1;
  mb_fix_col():
  2939:             && ScreenLines[LineOffset[row] + col] != NUL
  2940:             && dbcs_screen_head_off(ScreenLines + LineOffset[row],
  2941:                      ScreenLines + LineOffset[row] + col))
  2942:         || (enc_utf8 && ScreenLines[LineOffset[row] + col] == 0)))
message.c (1 use)
  msg_scroll_up():
  2092:     if (ScreenAttrs[LineOffset[Rows - 2] + Columns - 1] == (sattr_T)-1)
screen.c (46 uses)
  win_line():
  4755:                  && ((*mb_off2cells)(LineOffset[screen_row],
  4756:                      LineOffset[screen_row] + screen_Columns)
  4758:                  || (*mb_off2cells)(LineOffset[screen_row - 1]
  4760:                      LineOffset[screen_row] + screen_Columns)
  4770:             screen_char(LineOffset[screen_row - 1]
  4777:             if (has_mbyte && MB_BYTE2LEN(ScreenLines[LineOffset[
  4782:             out_char(ScreenLines[LineOffset[screen_row - 1]
  4785:             ScreenAttrs[LineOffset[screen_row]] = (sattr_T)-1;
  screen_line():
  4953:     off_to = LineOffset[row] + coloff;
  4956:     max_off_to = LineOffset[row] + screen_Columns;
  5240:             unsigned off = LineOffset[row];
  5241:             unsigned max_off = LineOffset[row] + screen_Columns;
  screen_getbytes():
  6169:     off = LineOffset[row] + col;
  screen_puts_len():
  6265:     off = LineOffset[row] + col;
  6267:     max_off = LineOffset[row] + screen_Columns;
  screen_draw_rectangle():
  7022:     off = LineOffset[r];
  screen_fill():
  7141:         off = LineOffset[row] + col;
  7142:         end_off = LineOffset[row] + end_col;
  7157:         col = off - LineOffset[row];
  7177:     off = LineOffset[row] + start_col;
  screenalloc():
  7514:             mch_memmove(new_ScreenLines + new_LineOffset[new_row],
  7521:             mch_memmove(new_ScreenLinesUC + new_LineOffset[new_row],
  7525:                 mch_memmove(new_ScreenLinesC[i]
  7531:             mch_memmove(new_ScreenLines2 + new_LineOffset[new_row],
  7535:             mch_memmove(new_ScreenAttrs + new_LineOffset[new_row],
  7556:     LineOffset = new_LineOffset;
  free_screenlines():
  7616:     vim_free(LineOffset);
  screenclear2():
  7657:     lineclear(LineOffset[i], (int)Columns);
  7671:         lineinvalid(LineOffset[i], (int)Columns);
  linecopy():
  7732:     unsigned    off_to = LineOffset[to] + wp->w_wincol;
  7733:     unsigned    off_from = LineOffset[from] + wp->w_wincol;
  windgoto():
  7919:         p = ScreenAttrs + LineOffset[row] + wouldbe_col;
  7941:             if (ScreenLinesUC[LineOffset[row] + i] != 0)
  8001:             off = LineOffset[row] + screen_cur_col;
  screen_ins_lines():
  8476:         lineclear(LineOffset[j] + wp->w_wincol, wp->w_width);
  8478:         lineinvalid(LineOffset[j] + wp->w_wincol, wp->w_width);
  8485:         temp = LineOffset[j];
  8488:         LineOffset[j + line_count] = LineOffset[j];
  8488:         LineOffset[j + line_count] = LineOffset[j];
  8491:         LineOffset[j + line_count] = temp;
  screen_del_lines():
  8704:         lineclear(LineOffset[j] + wp->w_wincol, wp->w_width);
  8706:         lineinvalid(LineOffset[j] + wp->w_wincol, wp->w_width);
  8714:         temp = LineOffset[j];
  8717:         LineOffset[j - line_count] = LineOffset[j];
  8717:         LineOffset[j - line_count] = LineOffset[j];
  8720:         LineOffset[j - line_count] = temp;
ui.c (8 uses)
  clip_copy_modeless_selection():
  1169:     p = ScreenLines + LineOffset[row1];
  1227:         p = ScreenLines + LineOffset[row];
  1233:             *bufp++ = ScreenLines2[LineOffset[row] + i];
  1248:         off = LineOffset[row];
  1275:         STRNCPY(bufp, ScreenLines + LineOffset[row] + start_col,
  clip_get_word_boundaries():
  1331:     p = ScreenLines + LineOffset[row];
  clip_get_line_end():
  1386:     if (ScreenLines[LineOffset[row] + i - 1] != ' ')
  jump_to_mouse():
  2459:     mouse_char = ScreenLines[LineOffset[row] + col];
compl_col (68 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:123
edit.c (68 uses)
  edit():
  736:         && curwin->w_cursor.col >= compl_col
  742:             && curwin->w_cursor.col > compl_col
  755:                       > curwin->w_cursor.col - compl_col))
  ins_compl_longest_match():
  2419:         had_match = (curwin->w_cursor.col > compl_col);
  2421:         ins_bytes(compl_leader + curwin->w_cursor.col - compl_col);
  2471:         had_match = (curwin->w_cursor.col > compl_col);
  2473:         ins_bytes(compl_leader + curwin->w_cursor.col - compl_col);
  set_completion():
  2555:     compl_col = startcol;
  2558:     compl_orig_text = vim_strnsave(ml_get_curline() + compl_col, compl_length);
  ins_compl_show_pum():
  2796:     curwin->w_cursor.col = compl_col;
  ins_compl_bs():
  3181:     if ((int)(p - line) - (int)compl_col < 0
  3182:         || ((int)(p - line) - (int)compl_col == 0
  3188:     if (curwin->w_cursor.col <= compl_col + compl_length
  3193:     compl_leader = vim_strnsave(line + compl_col, (int)(p - line) - compl_col);
  3193:     compl_leader = vim_strnsave(line + compl_col, (int)(p - line) - compl_col);
  ins_compl_new_leader():
  3212:     ins_bytes(compl_leader + curwin->w_cursor.col - compl_col);
  ins_compl_addleader():
  3294:     compl_leader = vim_strnsave(ml_get_curline() + compl_col,
  3295:                         curwin->w_cursor.col - compl_col);
  ins_compl_addfrommatch():
  3343:     int        len = curwin->w_cursor.col - compl_col;
  ins_compl_prep():
  3626:             ins_bytes(compl_leader + curwin->w_cursor.col - compl_col);
  3629:                       + curwin->w_cursor.col - compl_col);
  ins_compl_delete():
  4250:     i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0);
  ins_compl_insert():
  4259:     ins_bytes(compl_shown_match->cp_str + curwin->w_cursor.col - compl_col);
  ins_compl_next():
  4428:         ins_bytes(compl_leader + curwin->w_cursor.col - compl_col);
  ins_complete():
  4670:             compl_col = (colnr_T)(skipwhite(line) - line);
  4671:             compl_startpos.col = compl_col;
  4687:             compl_col = compl_startpos.col;
  4689:         compl_length = curwin->w_cursor.col - (int)compl_col;
  4697:             compl_col = curwin->w_cursor.col - compl_length;
  4719:         compl_col = 0;
  4732:             compl_col += ++startcol;
  4736:             compl_pattern = str_foldcase(line + compl_col,
  4739:             compl_pattern = vim_strnsave(line + compl_col,
  4750:         compl_pattern = alloc(quote_meta(NULL, line + compl_col,
  4754:         if (!vim_iswordp(line + compl_col)
  4755:             || (compl_col > 0
  4758:                 vim_iswordp(mb_prevptr(line, line + compl_col))
  4766:                           line + compl_col, compl_length);
  4780:         compl_col += curs_col;
  4808:         compl_col += ++startcol;
  4820:             (void)quote_meta(compl_pattern + 2, line + compl_col, 1);
  4825:             compl_pattern = alloc(quote_meta(NULL, line + compl_col,
  4830:             (void)quote_meta(compl_pattern + 2, line + compl_col,
  4837:         compl_col = (colnr_T)(skipwhite(line) - line);
  4838:         compl_length = (int)curs_col - (int)compl_col;
  4842:         compl_pattern = str_foldcase(line + compl_col, compl_length,
  4845:         compl_pattern = vim_strnsave(line + compl_col, compl_length);
  4853:         compl_col += ++startcol;
  4855:         compl_pattern = addstar(line + compl_col, compl_length,
  4871:         compl_col = curs_col;
  4873:         compl_col = (int)(compl_xp.xp_pattern - compl_pattern);
  4874:         compl_length = curs_col - compl_col;
  4907:         compl_col = col;
  4908:         if ((colnr_T)compl_col > curs_col)
  4909:         compl_col = curs_col;
  4914:         compl_length = curs_col - compl_col;
  4915:         compl_pattern = vim_strnsave(line + compl_col, compl_length);
  4924:         compl_col = curs_col - spell_bad_len;
  4926:         compl_col = spell_word_start(startcol);
  4927:         if (compl_col >= (colnr_T)startcol)
  4930:         compl_col = curs_col;
  4934:         spell_expand_check_cap(compl_col);
  4935:         compl_length = (int)curs_col - compl_col;
  4939:         compl_pattern = vim_strnsave(line + compl_col, compl_length);
  4962:         compl_startpos.col = compl_col;
  4968:         compl_col = curwin->w_cursor.col;
  4974:         compl_startpos.col = compl_col;
  4984:     compl_orig_text = vim_strnsave(line + compl_col, compl_length);
current_lnum (68 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:354
syntax.c (68 uses)
  syntax_start():
  498:         && current_lnum < lnum
  499:         && current_lnum < syn_buf->b_ml.ml_line_count)
  504:         ++current_lnum;
  513:     if (current_lnum != lnum)
  548:     first_stored = current_lnum + syn_buf->b_syn_sync_minlines;
  551:     first_stored = current_lnum;
  561:     while (current_lnum < lnum)
  565:     ++current_lnum;
  569:     if (current_lnum >= first_stored)
  575:         prev = syn_stack_find_entry(current_lnum - 1);
  580:         while (sp != NULL && sp->sst_lnum < current_lnum)
  583:             && sp->sst_lnum == current_lnum
  586:         parsed_lnum = current_lnum;
  605:             || current_lnum == lnum
  606:             || current_lnum >= prev->sst_lnum + dist)
  615:         current_lnum = lnum;
  syn_sync():
  727:     current_lnum = start_lnum;
  750:     current_lnum = start_lnum;
  803:         current_lnum = start_lnum;
  825:         for (current_lnum = lnum; current_lnum < end_lnum; ++current_lnum)
  825:         for (current_lnum = lnum; current_lnum < end_lnum; ++current_lnum)
  825:         for (current_lnum = lnum; current_lnum < end_lnum; ++current_lnum)
  841:                 current_lnum = end_lnum;
  856:             found_current_lnum = current_lnum;
  863:             if (found_m_endpos.lnum > current_lnum)
  865:                 current_lnum = found_m_endpos.lnum;
  867:                 if (current_lnum >= end_lnum)
  921:             current_lnum = found_m_endpos.lnum;
  923:             ++current_lnum;
  926:             current_lnum = start_lnum;
  939:         current_lnum = break_lnum + 1;
  syn_update_ends():
  1007:             && cur_si->si_m_endpos.lnum < current_lnum)
  1042:         cur_si->si_h_startpos.lnum = current_lnum;
  store_current_state():
  1365:     synstate_T    *sp = syn_stack_find_entry(current_lnum);
  1374:     if (cur_si->si_h_startpos.lnum >= current_lnum
  1375:         || cur_si->si_m_endpos.lnum >= current_lnum
  1376:         || cur_si->si_h_endpos.lnum >= current_lnum
  1378:             && cur_si->si_eoe_pos.lnum >= current_lnum))
  1402:     else if (sp == NULL || sp->sst_lnum != current_lnum)
  1412:         sp = syn_stack_find_entry(current_lnum);
  1438:         sp->sst_lnum = current_lnum;
  load_current_state():
  1514:     current_lnum = from->sst_lnum;
  syntax_check_changed():
  1647:     if (VALID_STATE(&current_state) && lnum == current_lnum + 1)
  1668:         ++current_lnum;
  syn_current_attr():
  1915:             cur_si->si_h_startpos.lnum = current_lnum;
  1917:             cur_si->si_m_endpos.lnum = current_lnum;
  1919:             cur_si->si_h_endpos.lnum = current_lnum;
  2002:                 if (!syn_regexec(&regmatch, current_lnum,
  2015:                 if (pos.lnum > current_lnum)
  2101:                 if (endpos.lnum == current_lnum
  2120:                 if (hl_startpos.lnum == current_lnum
  2151:             if (next_match_m_endpos.lnum == current_lnum
  2230:         if ((current_lnum > sip->si_h_startpos.lnum
  2231:             || (current_lnum == sip->si_h_startpos.lnum
  2234:             || current_lnum < sip->si_h_endpos.lnum
  2235:             || (current_lnum == sip->si_h_endpos.lnum
  did_match_already():
  2352:         && CUR_STATE(i).si_m_lnum == (int)current_lnum
  push_next_match():
  2388:     cur_si->si_m_lnum = current_lnum;
  2423:         cur_si->si_m_lnum = current_lnum;
  check_state_ends():
  2453:         && (cur_si->si_m_endpos.lnum < current_lnum
  2454:             || (cur_si->si_m_endpos.lnum == current_lnum
  2464:             && (cur_si->si_eoe_pos.lnum > current_lnum
  2465:             || (cur_si->si_eoe_pos.lnum == current_lnum
  update_si_end():
  2674:     if (!force && sip->si_m_endpos.lnum >= current_lnum)
  2682:     startpos.lnum = current_lnum;
  2694:         sip->si_m_endpos.lnum = current_lnum;
  syn_getcurline():
  3086:     return ml_get_buf(syn_buf, current_lnum, FALSE);
  syn_get_id():
  6102:         || lnum != current_lnum
KeyTyped (68 uses in 15 translation units) defined in translation unit main.c, declared in ./globals.h:962
diff.c (1 use)
  ex_diffgetput():
  2331:     if (KeyTyped)
edit.c (7 uses)
  ins_compl_check_keys():
  4528:         if (c != Ctrl_R && KeyTyped)
  ins_left():
  8830:     if ((fdo_flags & FDO_HOR) && KeyTyped)
  ins_home():
  8873:     if ((fdo_flags & FDO_HOR) && KeyTyped)
  ins_end():
  8895:     if ((fdo_flags & FDO_HOR) && KeyTyped)
  ins_s_left():
  8912:     if ((fdo_flags & FDO_HOR) && KeyTyped)
  ins_right():
  8930:     if ((fdo_flags & FDO_HOR) && KeyTyped)
  ins_s_right():
  8977:     if ((fdo_flags & FDO_HOR) && KeyTyped)
eval.c (2 uses)
  ex_function():
  19081:     if (KeyTyped)
  19126:     if (KeyTyped)
ex_cmds.c (1 use)
  do_sub_msg():
  5130:     if (((sub_nsubs > p_report && (KeyTyped || sub_nlines > 1 || p_report < 1))
ex_docmd.c (5 uses)
  do_cmdline():
  862:     KeyTyped = FALSE;
  1006:         if (KeyTyped && !(flags & DOCMD_REPEAT))
  1481:         || (did_endif && KeyTyped && !did_emsg)
  get_loop_line():
  1542:     KeyTyped = FALSE;
  ex_cd():
  7899:         if (KeyTyped)
ex_getln.c (12 uses)
  getcmdline():
  346:     if (KeyTyped)
  436:         && !(c == p_wc && KeyTyped) && c != p_wcm
  450:         int skt = KeyTyped;
  483:         KeyTyped = skt;
  703:             KeyTyped = FALSE;    /* Don't do p_wc completion. */
  740:             && (!KeyTyped || vim_strchr(p_cpo, CPO_ESC) != NULL)))
  773:     if ((c == p_wc && !gotesc && KeyTyped) || c == p_wcm)
  874:     if (c == K_S_TAB && KeyTyped)
  1143:             KeyTyped = FALSE;    /* Don't do p_wc completion. */
  1173:             if (KeyTyped && ccline.cmdspos + i >= Columns * Rows)
  set_cmdspos_cursor():
  2040:     if (KeyTyped)
  put_on_cmdline():
  2816:         if (KeyTyped)
fold.c (2 uses)
  foldlevelExpr():
  3039:     save_keytyped = KeyTyped;
  3041:     KeyTyped = save_keytyped;
getchar.c (5 uses)
  ins_char_typebuf():
  1069:     (void)ins_typebuf(buf, KeyNoremap, 0, !KeyTyped, cmd_silent);
  vgetorpeek():
  2307:                     KeyTyped = FALSE;
  2310:                     KeyTyped = TRUE;
  2789:         if (typebuf.tb_len && !KeyTyped)
  2796:         if (typebuf.tb_len && !KeyTyped)
misc1.c (1 use)
  prompt_for_number():
  3264:     if (KeyTyped)
normal.c (21 uses)
  normal_cmd():
  1205:             && KeyTyped)
  do_pending_operator():
  1906:         if (p_im || !KeyTyped)
  nv_gd():
  4131:     else if ((fdo_flags & FDO_SEARCH) && KeyTyped && oap->op_type == OP_NOP)
  nv_colon():
  5173:     if (KeyTyped)
  nv_right():
  5804:     if (n != cap->count1 && (fdo_flags & FDO_HOR) && KeyTyped
  nv_left():
  5874:     if (n != cap->count1 && (fdo_flags & FDO_HOR) && KeyTyped
  nv_dollar():
  6030:     else if ((fdo_flags & FDO_HOR) && KeyTyped && cap->oap->op_type == OP_NOP)
  normal_search():
  6107:     if (cap->oap->op_type == OP_NOP && (fdo_flags & FDO_SEARCH) && KeyTyped)
  nv_csearch():
  6157:     if ((fdo_flags & FDO_HOR) && KeyTyped && cap->oap->op_type == OP_NOP)
  nv_brackets():
  6358:         if ((fdo_flags & FDO_BLOCK) && KeyTyped
  6389:         if ((fdo_flags & FDO_BLOCK) && KeyTyped && cap->oap->op_type == OP_NOP)
  6480:     if (cap->oap->op_type == OP_NOP && (fdo_flags & FDO_SEARCH) && KeyTyped)
  nv_percent():
  6548:         && KeyTyped)
  nv_brace():
  6577:     if ((fdo_flags & FDO_BLOCK) && KeyTyped && cap->oap->op_type == OP_NOP)
  nv_findpar():
  6617:     if ((fdo_flags & FDO_BLOCK) && KeyTyped && cap->oap->op_type == OP_NOP)
  nv_gomark():
  7214:     int        old_KeyTyped = KeyTyped;    /* getting file may reset it */
  nv_pcmark():
  7260:     int        old_KeyTyped = KeyTyped;    /* getting file may reset it */
  nv_bck_word():
  8332:     else if ((fdo_flags & FDO_HOR) && KeyTyped && cap->oap->op_type == OP_NOP)
  nv_wordcmd():
  8422:     if ((fdo_flags & FDO_HOR) && KeyTyped && cap->oap->op_type == OP_NOP)
  nv_beginline():
  8473:     if ((fdo_flags & FDO_HOR) && KeyTyped && cap->oap->op_type == OP_NOP)
  nv_goto():
  8585:     if ((fdo_flags & FDO_JUMP) && KeyTyped && cap->oap->op_type == OP_NOP)
quickfix.c (3 uses)
  qf_jump():
  1425:     int            old_KeyTyped = KeyTyped; /* getting file may reset it */
  qf_fill_buffer():
  2523:     int        old_KeyTyped = KeyTyped;
  2608:     KeyTyped = old_KeyTyped;
screen.c (4 uses)
  showmode():
  8835:     if (!redrawing() || (char_avail() && !KeyTyped) || msg_silent != 0)
  unshowmode():
  9042:     if (!redrawing() || (!force && char_avail() && !KeyTyped))
  redrawing():
  9311:                && !(p_lz && char_avail() && !KeyTyped && !do_redraw));
  messaging():
  9320:     return (!(p_lz && char_avail() && !KeyTyped));
tag.c (2 uses)
  do_tag():
  300:         int    old_KeyTyped = KeyTyped;
  jumpto_tag():
  3011:     int        old_KeyTyped = KeyTyped;    /* getting the file may reset it */
ui.c (1 use)
  im_save_status():
  3099:     if (!p_imdisable && KeyTyped && !KeyStuffed
undo.c (1 use)
  u_undo_end():
  1325:     if ((fdo_flags & FDO_UNDO) && KeyTyped)
lastwin (67 uses in 12 translation units) defined in translation unit main.c, declared in ./globals.h:519
buffer.c (9 uses)
  do_buffer():
  1112:            && (firstwin != lastwin || first_tabpage->tp_next != NULL))
  do_arg_all():
  4380:             if (firstwin == lastwin && first_tabpage->tp_next == NULL)
  4428:     win_enter(lastwin, FALSE);
  ex_buffer_all():
  4577:             ) && firstwin != lastwin)
  4608:     win_enter(lastwin, FALSE);
  4623:         wp = lastwin;        /* buffer has a window, skip it */
  4721:     for (wp = lastwin; open_wins > count; )
  4729:         wp = lastwin;
  4737:         wp = lastwin;
eval.c (1 use)
  get_winnr():
  16132:         twin = (tp == curtab) ? lastwin : tp->tp_lastwin;
ex_cmds.c (1 use)
  ex_z():
  4017:     else if (firstwin == lastwin)
ex_docmd.c (2 uses)
  tabpage_close():
  6460:     if (lastwin != firstwin)
  6462:     if (lastwin == firstwin)
ex_getln.c (3 uses)
  compute_cmdrow():
  3148:     cmdline_row = W_WINROW(lastwin) + lastwin->w_height
  3148:     cmdline_row = W_WINROW(lastwin) + lastwin->w_height
  3149:                            + W_STATUS_HEIGHT(lastwin);
gui.c (3 uses)
  get_tabline_label():
  3449:     curtab->tp_lastwin = lastwin;
  3455:     lastwin = curtab->tp_lastwin;
  3468:     lastwin = curtab->tp_lastwin;
move.c (2 uses)
  onepage():
  2369:         if (firstwin == lastwin && p_window > 0 && p_window < Rows - 1)
  2419:         if (firstwin == lastwin && p_window > 0 && p_window < Rows - 1)
option.c (3 uses)
  set_num_option():
  7636:     if (lastwin != firstwin)
  7676:     if (lastwin != firstwin && curwin->w_width < p_wiw)
  comp_col():
  8879:     int last_has_status = (p_ls == 2 || (p_ls == 1 && firstwin != lastwin));
popupmnu.c (3 uses)
  pum_display():
  87:     if (lastwin->w_p_pvw)
  88:     above_row -= lastwin->w_height + lastwin->w_status_height + 1;
  88:     above_row -= lastwin->w_height + lastwin->w_status_height + 1;
quickfix.c (4 uses)
  qf_jump():
  1620:     if (((firstwin == lastwin) && bt_quickfix(curbuf)) || !usable_win)
  1666:                 win = lastwin;    /* wrap around the top */
  1696:             win = lastwin;    /* wrap around the top */
  ex_copen():
  2304:         win_goto(lastwin);
screen.c (7 uses)
  win_update():
  1238:         if (lastwin == firstwin)
  win_redr_status_matches():
  5674:         if (lastwin->w_status_height == 0)
  showmode():
  9009:         && lastwin->w_status_height == 0
  9012:     win_redr_ruler(lastwin, TRUE);
  fillchar_status():
  9278:             || !is_curwin || firstwin == lastwin)
  win_redr_ruler():
  9411:     if (wp == lastwin && lastwin->w_status_height == 0)
  9411:     if (wp == lastwin && lastwin->w_status_height == 0)
window.c (29 uses)
  do_window():
  254:         if (lastwin == firstwin && Prenum != 1)    /* just one window */
  274:                 wp = lastwin;        /* wrap around */
  338:         if (firstwin == lastwin)
  370:         win_goto(lastwin);
  win_split_ins():
  711:     oldwin = lastwin;
  716:     if (lastwin == firstwin && p_ls == 1 && oldwin->w_status_height == 0)
  win_exchange():
  1336:     if (lastwin == firstwin)        /* just one window */
  win_rotate():
  1441:     if (firstwin == lastwin)        /* nothing to do */
  win_totop():
  1528:     if (lastwin == firstwin)
  win_move_after():
  1582:     if (win1 == lastwin)
  1599:     else if (win2 == lastwin)
  close_windows():
  1998:     for (wp = firstwin; wp != NULL && lastwin != firstwin; )
  last_window():
  2041:     return (lastwin == firstwin && first_tabpage->tp_next == NULL);
  win_close():
  2076:     if (firstwin == lastwin)
  winframe_remove():
  2352:     if (tp == NULL ? firstwin == lastwin : tp->tp_firstwin == tp->tp_lastwin)
  win_altframe():
  2511:     if (tp == NULL ? firstwin == lastwin : tp->tp_firstwin == tp->tp_lastwin)
  close_others():
  3078:     if (lastwin == firstwin)
  3127:     if (message && lastwin != firstwin)
  leave_tabpage():
  3518:     tp->tp_lastwin = lastwin;
  3522:     lastwin = NULL;
  enter_tabpage():
  3541:     lastwin = tp->tp_lastwin;
  win_append():
  4323:     lastwin = wp;
  win_remove():
  4345:     lastwin = wp->w_prev;
  frame_setheight():
  4756:         room_cmdline = Rows - p_ch - (lastwin->w_winrow
  4757:                    + lastwin->w_height + lastwin->w_status_height);
  4757:                    + lastwin->w_height + lastwin->w_status_height);
  command_height():
  5503:     frp = lastwin->w_frame;
  5557:     if (frp != lastwin->w_frame)
  last_status():
  5595:               || (p_ls == 1 && (morewin || lastwin != firstwin))));
hash_removed (66 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:323
eval.c (32 uses)
  restore_vimvar():
  1329:     if (HASHITEM_EMPTY(hi))
  list_hashtable_vars():
  1951:     if (!HASHITEM_EMPTY(hi))
  do_unlet():
  3419:     if (!HASHITEM_EMPTY(hi))
  item_lock():
  3559:             if (!HASHITEM_EMPTY(hi))
  del_menutrans_vars():
  3602:     if (!HASHITEM_EMPTY(hi))
  get_user_var_name():
  3690:     while (HASHITEM_EMPTY(hi))
  3705:     while (HASHITEM_EMPTY(hi))
  3723:     while (HASHITEM_EMPTY(hi))
  3737:     while (HASHITEM_EMPTY(hi))
  dict_equal():
  5554:     if (!HASHITEM_EMPTY(hi))
  set_ref_in_ht():
  6224:     if (!HASHITEM_EMPTY(hi))
  dict_free():
  6345:     if (!HASHITEM_EMPTY(hi))
  dictitem_remove():
  6414:     if (HASHITEM_EMPTY(hi))
  dict_copy():
  6463:         if (!HASHITEM_EMPTY(hi))
  dict_find():
  6594:     if (HASHITEM_EMPTY(hi))
  dict2string():
  6665:     if (!HASHITEM_EMPTY(hi))
  f_count():
  8554:         if (!HASHITEM_EMPTY(hi))
  f_extend():
  9091:         if (!HASHITEM_EMPTY(hi2))
  filter_map():
  9349:         if (!HASHITEM_EMPTY(hi))
  dict_list():
  11990:     if (!HASHITEM_EMPTY(hi))
  max_min():
  12743:         if (!HASHITEM_EMPTY(hi))
  find_var_in_ht():
  17966:     if (HASHITEM_EMPTY(hi))
  17975:     if (HASHITEM_EMPTY(hi))
  find_var_ht():
  18001:     if (!HASHITEM_EMPTY(hi))
  vars_clear_ext():
  18133:     if (!HASHITEM_EMPTY(hi))
  ex_function():
  18820:         if (!HASHITEM_EMPTY(hi))
  18854:             if (!HASHITEM_EMPTY(hi))
  find_func():
  19688:     if (!HASHITEM_EMPTY(hi))
  get_user_func_name():
  20028:     while (HASHITEM_EMPTY(hi))
  func_free():
  20147:     if (HASHITEM_EMPTY(hi))
  write_viminfo_varlist():
  20966:     if (!HASHITEM_EMPTY(hi))
  store_session_globals():
  21002:     if (!HASHITEM_EMPTY(hi))
hashtab.c (7 uses)
  hash_clear_all():
  104:     if (!HASHITEM_EMPTY(hi))
  hash_lookup():
  158:     if (hi->hi_key == HI_KEY_REMOVED)
  184:         && hi->hi_key != HI_KEY_REMOVED
  187:     if (hi->hi_key == HI_KEY_REMOVED && freeitem == NULL)
  hash_add():
  222:     if (!HASHITEM_EMPTY(hi))
  hash_remove():
  287:     hi->hi_key = HI_KEY_REMOVED;
  hash_may_resize():
  444:     if (!HASHITEM_EMPTY(olditem))
if_python.c (1 use)
  VimToPython():
  1207:         if (!HASHITEM_EMPTY(hi))
spell.c (21 uses)
  count_common_word():
  3342:     if (HASHITEM_EMPTY(hi))
  score_wordcount_adj():
  3375:     if (!HASHITEM_EMPTY(hi))
  spell_read_aff():
  5492:         if (!HASHITEM_EMPTY(hi))
  5882:             if (HASHITEM_EMPTY(hash_find(&spin->si_commonwords,
  process_compflags():
  6187:         if (!HASHITEM_EMPTY(hi))
  spell_free_aff():
  6398:         if (!HASHITEM_EMPTY(hi))
  spell_read_dic():
  6561:     if (!HASHITEM_EMPTY(hi))
  get_pfxlist():
  6692:         if (!HASHITEM_EMPTY(hi))
  get_compflags():
  6732:         if (!HASHITEM_EMPTY(hi))
  store_aff_word():
  6787:     if (!HASHITEM_EMPTY(hi))
  node_compress():
  7725:         if (!HASHITEM_EMPTY(hi))
  write_vim_spell():
  8144:         if (!HASHITEM_EMPTY(hi))
  suggest_trie_walk():
  11529:                 && WAS_BANNED(su, preword + sp->ts_prewordlen))
  11530:                            || WAS_BANNED(su, preword))
  suggest_try_soundalike_finish():
  13151:         if (!HASHITEM_EMPTY(hi))
  add_sound_suggest():
  13202:     if (HASHITEM_EMPTY(hi))
  set_map_str():
  13536:         if (HASHITEM_EMPTY(hi))
  similar_chars():
  13572:     if (HASHITEM_EMPTY(hi))
  13589:     if (HASHITEM_EMPTY(hi))
  add_banned():
  13793:     if (HASHITEM_EMPTY(hi))
  dump_word():
  15723:         if (!HASHITEM_EMPTY(hi))
syntax.c (5 uses)
  check_keyword_id():
  3176:     if (!HASHITEM_EMPTY(hi))
  syn_list_keywords():
  4009:     if (!HASHITEM_EMPTY(hi))
  syn_clear_keyword():
  4097:     if (!HASHITEM_EMPTY(hi))
  clear_keywtab():
  4146:     if (!HASHITEM_EMPTY(hi))
  add_keyword():
  4205:     if (HASHITEM_EMPTY(hi))
mb_bytelen_tab (66 uses in 13 translation units) defined in translation unit main.c, declared in ./globals.h:786
charset.c (11 uses)
  buf_init_chartab():
  110:         else if (enc_dbcs != 0 && MB_BYTE2LEN(c) == 2)
  121:         if ((enc_dbcs != 0 && MB_BYTE2LEN(c) > 1)
  137:         if (MB_BYTE2LEN(c) == 2)
  240:                 && !(enc_dbcs && MB_BYTE2LEN(c) == 2)
  str_foldcase():
  448:     if (enc_utf8 || (has_mbyte && MB_BYTE2LEN(STR_CHAR(i)) > 1))
  vim_iswordp():
  903:     if (has_mbyte && MB_BYTE2LEN(*p) > 1)
  vim_iswordc_buf():
  916:     if (has_mbyte && MB_BYTE2LEN(*p) > 1)
  vim_isprintc_strict():
  976:     if (enc_dbcs != 0 && c < 0x100 && MB_BYTE2LEN(c) > 1)
  win_lbr_chartabsize():
  1122:     else if (has_mbyte && size == 2 && MB_BYTE2LEN(*s) > 1
  win_nolbr_chartabsize():
  1186:     if (n == 2 && MB_BYTE2LEN(*s) > 1 && in_win_border(wp, col))
  getvcol():
  1293:             if (incr == 2 && wp->w_p_wrap && MB_BYTE2LEN(*ptr) > 1
edit.c (4 uses)
  get_literal():
  5283:         && MB_BYTE2LEN_CHECK(nc) == 1
  insertchar():
  5616:         && (!has_mbyte || MB_BYTE2LEN_CHECK(c) == 1)
  mb_replace_pop_ins():
  7065:     if (has_mbyte && (n = MB_BYTE2LEN(cc)) > 1)
  7082:         if ((n = MB_BYTE2LEN(c)) == 1)
ex_docmd.c (1 use)
  getargopt():
  4750:     else if (MB_BYTE2LEN(*p) == 1 && p[1] == NUL)
getchar.c (3 uses)
  read_redo():
  722:         n = MB_BYTE2LEN_CHECK(c);
  vgetc():
  1704:     if (has_mbyte && (n = MB_BYTE2LEN_CHECK(c)) > 1)
  vgetorpeek():
  2126:                 if (has_mbyte && MB_BYTE2LEN(c1)
gui_mac.c (3 uses)
  draw_string_QD():
  3996:         for (n = 0; n < len; n += MB_BYTE2LEN(s[n]))
  draw_string_ATSUI():
  4100:         for (n = 0; n < len; n += MB_BYTE2LEN(s[n]))
  4152:         for (n = 0; n < len; n += MB_BYTE2LEN(s[n]))
mbyte.c (13 uses)
  mb_init():
  496:         mb_bytelen_tab[i] = 1;
  731:     mb_bytelen_tab[i] = n;
  mb_get_class():
  823:     if (MB_BYTE2LEN(p[0]) == 1)
  latin_ptr2len():
  1079:     return MB_BYTE2LEN(*p);
  dbcs_ptr2len():
  1089:     len = MB_BYTE2LEN(*p);
  dbcs_ptr2cells():
  1288:     return MB_BYTE2LEN(*p);
  dbcs_char2cells():
  1313:     return MB_BYTE2LEN((unsigned)c >> 8);
  dbcs_off2cells():
  1343:     return MB_BYTE2LEN(ScreenLines[off]);
  dbcs_ptr2char():
  1369:     if (MB_BYTE2LEN(*p) > 1 && p[1] != NUL)
  dbcs_head_off():
  2427:     if (p <= base || MB_BYTE2LEN(p[-1]) == 1)
  dbcs_screen_head_off():
  2457:         || MB_BYTE2LEN(p[-1]) == 1)
  mb_tail_off():
  2619:     if (enc_dbcs == 0 || p[1] == NUL || MB_BYTE2LEN(*p) == 1)
  dbcs_screen_tail_off():
  2747:         || MB_BYTE2LEN(*p) == 1)
message.c (1 use)
  str2special():
  1510:     if (has_mbyte && MB_BYTE2LEN(*str) > (*mb_ptr2len)(str))
misc1.c (1 use)
  get_keystroke():
  3150:         if (MB_BYTE2LEN(n) > len)
normal.c (2 uses)
  normal_cmd():
  1076:                  && (c >= 0x100 || MB_BYTE2LEN(vpeekc()) > 1))
  get_mouse_class():
  3143:     if (has_mbyte && MB_BYTE2LEN(p[0]) > 1)
os_unix.c (1 use)
  mch_call_shell():
  4342:                 else if (MB_BYTE2LEN(*p) != l)
screen.c (5 uses)
  win_line():
  3616:             mb_l = MB_BYTE2LEN(c);
  3770:             mb_l = MB_BYTE2LEN(c);
  4777:             if (has_mbyte && MB_BYTE2LEN(ScreenLines[LineOffset[
  char_needs_redraw():
  4880:             && MB_BYTE2LEN(ScreenLines[off_from]) > 1
  screen_getbytes():
  6183:     else if (enc_dbcs && MB_BYTE2LEN(bytes[0]) > 1)
spell.c (20 uses)
  init_spell_chartab():
  9565:         if (MB_BYTE2LEN(i) == 2)
  spell_iswordp():
  9768:     l = MB_BYTE2LEN(*p);
  9776:         l = MB_BYTE2LEN(*s);
  9787:         l = MB_BYTE2LEN(*s);
  suggest_trie_walk():
  11773:                 l = MB_BYTE2LEN(fword[sp->ts_fidx]);
  11921:                 sp->ts_tcharlen = MB_BYTE2LEN(c);
  11938:                         + MB_BYTE2LEN(
  12059:             stack[depth].ts_fidx += MB_BYTE2LEN(fword[sp->ts_fidx]);
  12147:             fl = MB_BYTE2LEN(c);
  12271:         n = MB_BYTE2LEN(*p);
  12273:         mch_memmove(p + MB_BYTE2LEN(p[n]), p, n);
  12360:         n = MB_BYTE2LEN(*p);
  12362:         fl = MB_BYTE2LEN(p[n]);
  12364:         tl = MB_BYTE2LEN(p[n + fl]);
  12432:         n = MB_BYTE2LEN(*p);
  12433:         n += MB_BYTE2LEN(p[n]);
  12435:         tl = MB_BYTE2LEN(p[n]);
  12494:         tl = MB_BYTE2LEN(*p);
  12495:         n = MB_BYTE2LEN(p[tl]);
  12496:         n += MB_BYTE2LEN(p[tl + n]);
ui.c (1 use)
  clip_copy_modeless_selection():
  1238:             if (MB_BYTE2LEN(p[i]) == 2)
ScreenAttrs (66 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:43
gui.c (7 uses)
  gui_update_cursor():
  981:     attr = ScreenAttrs[LineOffset[gui.row] + gui.col];
  1109:         gui.highlight_mask = ScreenAttrs[LineOffset[gui.row] + gui.col];
  gui_redraw_block():
  2480:         if (ScreenAttrs[off - 1 - back] != ScreenAttrs[off]
  2480:         if (ScreenAttrs[off - 1 - back] != ScreenAttrs[off]
  2483:     retval = (col1 > 0 && ScreenAttrs[off - 1] != 0 && back == 0
  2490:         first_attr = ScreenAttrs[off];
  2525:         for (idx = 0; idx < len && ScreenAttrs[off + idx] == first_attr;
message.c (1 use)
  msg_scroll_up():
  2092:     if (ScreenAttrs[LineOffset[Rows - 2] + Columns - 1] == (sattr_T)-1)
screen.c (58 uses)
  fold_line():
  2126:     ScreenAttrs[off] = hl_attr(HLF_AT);
  2174:     RL_MEMSET(col, hl_attr(HLF_FL), W_WIDTH(wp) - col);
  2427:             RL_MEMSET(wp->w_old_cursor_fcol + txtcol, hl_attr(HLF_V),
  2434:         RL_MEMSET(txtcol, hl_attr(HLF_V), W_WIDTH(wp) - txtcol);
  2443:     ScreenAttrs[off + wp->w_virtcol + txtcol] = hl_combine_attr(
  2444:          ScreenAttrs[off + wp->w_virtcol + txtcol], hl_attr(HLF_CUC));
  copy_text_attr():
  2483:     ScreenAttrs[off + i] = attr;
  win_line():
  4425:         ScreenAttrs[off] = char_attr;
  4488:             ScreenAttrs[off] = hl_attr(HLF_CUC);
  4491:             ScreenAttrs[off++] = 0;
  4605:         ScreenAttrs[off] = multi_attr;
  4610:         ScreenAttrs[off] = char_attr;
  4785:             ScreenAttrs[LineOffset[screen_row]] = (sattr_T)-1;
  char_needs_redraw():
  4876:             || ScreenAttrs[off_from] != ScreenAttrs[off_to])
  4876:             || ScreenAttrs[off_from] != ScreenAttrs[off_to])
  screen_line():
  5008:         hl = ScreenAttrs[off_to + CHAR_CELLS];
  5035:             && ScreenAttrs[off_to] != 0
  5036:             && ScreenAttrs[off_from] != ScreenAttrs[off_to])
  5036:             && ScreenAttrs[off_from] != ScreenAttrs[off_to])
  5051:         if (col + coloff > 0 && ScreenAttrs[off_to - 1] != 0)
  5053:             screen_attr = ScreenAttrs[off_to - 1];
  5139:         hl = ScreenAttrs[off_to];
  5146:         ScreenAttrs[off_to] = ScreenAttrs[off_from];
  5146:         ScreenAttrs[off_to] = ScreenAttrs[off_from];
  5151:         ScreenAttrs[off_to + 1] = ScreenAttrs[off_from];
  5151:         ScreenAttrs[off_to + 1] = ScreenAttrs[off_from];
  5165:         if (ScreenAttrs[off_to] == ScreenAttrs[off_to - 1])
  5165:         if (ScreenAttrs[off_to] == ScreenAttrs[off_to - 1])
  5206:                           && ScreenAttrs[off_to] == 0
  5227:         hl = ScreenAttrs[off_to];
  5283:             || ScreenAttrs[off_to] != hl)
  5286:         ScreenAttrs[off_to] = hl;
  screen_getbytes():
  6170:     *attrp = ScreenAttrs[off];
  screen_puts_len():
  6340:         || ScreenAttrs[off] != attr
  6368:         n = ScreenAttrs[off];
  6374:             ScreenAttrs[off + mbyte_cells] = attr + 1;
  6410:         ScreenAttrs[off] = attr;
  6431:             ScreenAttrs[off + 1] = attr;
  6438:         ScreenAttrs[off + 1] = attr;
  screen_char():
  6910:     ScreenAttrs[off] = (sattr_T)-1;
  6922:     attr = ScreenAttrs[off];
  screen_char_2():
  6983:     ScreenAttrs[off] = (sattr_T)-1;
  screen_fill():
  7148:               && ScreenAttrs[off] == 0 && ScreenLinesUC[off] == 0)
  7153:                              && ScreenAttrs[off] == 0)
  7170:             ScreenAttrs[off] = 0;
  7186:             || ScreenAttrs[off] != attr
  7210:                 && (ScreenAttrs[off] > HL_ALL
  7211:                 || ScreenAttrs[off] & HL_BOLD))
  7230:         ScreenAttrs[off] = attr;
  screenalloc():
  7535:             mch_memmove(new_ScreenAttrs + new_LineOffset[new_row],
  7555:     ScreenAttrs = new_ScreenAttrs;
  free_screenlines():
  7615:     vim_free(ScreenAttrs);
  lineclear():
  7707:     (void)vim_memset(ScreenAttrs + off, 0, (size_t)width * sizeof(sattr_T));
  lineinvalid():
  7719:     (void)vim_memset(ScreenAttrs + off, -1, (size_t)width * sizeof(sattr_T));
  linecopy():
  7752:     mch_memmove(ScreenAttrs + off_to, ScreenAttrs + off_from,
  7752:     mch_memmove(ScreenAttrs + off_to, ScreenAttrs + off_from,
  windgoto():
  7919:         p = ScreenAttrs + LineOffset[row] + wouldbe_col;
  8004:                 if (ScreenAttrs[off] != screen_attr)
topframe (66 uses in 7 translation units) defined in translation unit main.c, declared in ./globals.h:541
ex_docmd.c (4 uses)
  ex_tabonly():
  6436:             if (tp->tp_topframe != topframe)
  makeopens():
  9883:     tab_topframe = topframe;
  9897:         tab_topframe = topframe;
  ses_winsizes():
  10074:         if (wp->w_height + wp->w_status_height < topframe->fr_height
ex_getln.c (1 use)
  getcmdline():
  477:             win_redraw_last_status(topframe);
gui.c (3 uses)
  gui_send_mouse_event():
  2872:         && Y_2_ROW(y) >= topframe->fr_height
  get_tabline_label():
  3453:     topframe = curtab->tp_topframe;
  3466:     topframe = curtab->tp_topframe;
screen.c (3 uses)
  win_redr_status_matches():
  5697:     win_redraw_last_status(topframe);
  draw_tabline():
  9135:         if (tp->tp_topframe == topframe)
  9140:         if (tp->tp_topframe != topframe)
ui.c (1 use)
  mouse_find_win():
  2908:     fp = topframe;
version.c (1 use)
  intro_message():
  1764:     blanklines -= Rows - topframe->fr_height;
window.c (53 uses)
  win_split_ins():
  746:         available = topframe->fr_width;
  747:         needed += frame_minwidth(topframe, NULL);
  807:         available = topframe->fr_height;
  808:         needed += frame_minheight(topframe, NULL);
  916:     if ((topframe->fr_layout == FR_COL && (flags & WSP_VERT) == 0)
  917:         || (topframe->fr_layout == FR_ROW && (flags & WSP_VERT) != 0))
  922:         curfrp = topframe->fr_child;
  928:         curfrp = topframe;
  win_equal():
  1646:               topframe, dir, 0, tabline_height(),
  1647:                        (int)Columns, topframe->fr_height);
  win_alloc_first():
  3179:     first_tabpage->tp_topframe = topframe;
  win_alloc_firstwin():
  3224:     topframe = (frame_T *)alloc_clear((unsigned)sizeof(frame_T));
  3225:     if (topframe == NULL)
  3227:     topframe->fr_layout = FR_LEAF;
  3229:     topframe->fr_width = Columns;
  3231:     topframe->fr_height = Rows - p_ch;
  3232:     topframe->fr_win = curwin;
  3233:     curwin->w_frame = topframe;
  win_init_size():
  3245:     topframe->fr_height = ROWS_AVAIL;
  3248:     topframe->fr_width = Columns;
  win_new_tabpage():
  3352:     newtp->tp_topframe = topframe;
  enter_tabpage():
  3542:     topframe = tp->tp_topframe;
  win_goto_ver():
  3833:         if (fr == topframe)
  win_goto_hor():
  3896:         if (fr == topframe)
  shell_new_rows():
  4435:     if (h < frame_minheight(topframe, NULL))
  4436:     h = frame_minheight(topframe, NULL);
  4440:     frame_new_height(topframe, h, FALSE, TRUE);
  4441:     if (topframe->fr_height != h)
  4442:     frame_new_height(topframe, h, FALSE, FALSE);
  shell_new_columns():
  4474:     frame_new_width(topframe, (int)Columns, FALSE, TRUE);
  4475:     if (topframe->fr_width != Columns)
  4476:     frame_new_width(topframe, (int)Columns, FALSE, FALSE);
  win_comp_pos():
  4545:     frame_comp_pos(topframe, &row, &col);
  frame_setheight():
  4800:         topframe->fr_height += room_cmdline;
  win_drag_status_line():
  5089:     if (fr != topframe)        /* more than one window */
  5097:         if (fr != topframe)    /* only a row of windows, may drag statusline */
  5104:     while (curfr != topframe && curfr->fr_next == NULL)
  5106:     if (fr != topframe)
  5109:     if (fr != topframe)
  win_drag_vsep_line():
  5219:     if (fr == topframe)        /* only one window (cannot happen?) */
  5226:     if (fr == topframe)    /* only a column of windows (cannot happen?) */
  5236:     if (fr == topframe)
  5240:     if (fr != topframe)
  last_status():
  5594:     last_status_rec(topframe, (p_ls == 2
  last_status_rec():
  5622:         if (fp == topframe)
  make_snapshot():
  6107:     make_snapshot_rec(topframe, &curtab->tp_snapshot);
  restore_snapshot():
  6167:         && curtab->tp_snapshot->fr_width == topframe->fr_width
  6169:         && curtab->tp_snapshot->fr_height == topframe->fr_height
  6170:         && check_snapshot_rec(curtab->tp_snapshot, topframe) == OK)
  6172:     wp = restore_snapshot_rec(curtab->tp_snapshot, topframe);
  win_hasvertsplit():
  6252:     if (topframe->fr_layout == FR_ROW)
  6255:     if (topframe->fr_layout == FR_COL)
  6256:     for (fr = topframe->fr_child; fr != NULL; fr = fr->fr_next)
mb_head_off (65 uses in 19 translation units) defined in translation unit main.c, declared in ./globals.h:809
diff.c (2 uses)
  diff_find_change():
  1913:         si_org -= (*mb_head_off)(line_org, line_org + si_org);
  1914:         si_new -= (*mb_head_off)(line_new, line_new + si_new);
edit.c (5 uses)
  display_dollar():
  1633:     curwin->w_cursor.col -= (*mb_head_off)(p, p + col);
  ins_compl_bs():
  3177:     mb_ptr_back(line, p);
  ins_compl_prep():
  3570:             temp -= (*mb_head_off)(compl_orig_text, p + temp);
  ins_complete():
  4793:             startcol -= (*mb_head_off)(line, line + startcol);
  4797:             head_off = (*mb_head_off)(line, line + startcol);
eval.c (3 uses)
  set_context_for_expression():
  3057:         mb_ptr_back(arg, p);
  modify_fname():
  21479:         mb_ptr_back(*fnamep, tail);
  21498:         mb_ptr_back(*fnamep, tail);
ex_getln.c (6 uses)
  getcmdline():
  567:             j -= (*mb_head_off)(ccline.cmdbuff, ccline.cmdbuff + j);
  595:             j -= (*mb_head_off)(ccline.cmdbuff, ccline.cmdbuff + j);
  1203:             ccline.cmdpos -= (*mb_head_off)(ccline.cmdbuff,
  put_on_cmdline():
  2761:         i = (*mb_head_off)(ccline.cmdbuff,
  cmdline_paste():
  2986:             len = (*mb_head_off)(ccline.cmdbuff, w - 1) + 1;
  ExpandRTDir():
  4869:         for (s = e - 4; s > all; mb_ptr_back(all, s))
fileio.c (1 use)
  buf_modname():
  5857:     for (ptr = retval + fnamelen; ptr > retval; mb_ptr_back(retval, ptr))
getchar.c (1 use)
  vgetorpeek():
  2588:                 col -= (*mb_head_off)(ptr, ptr + col);
mbyte.c (6 uses)
  mb_init():
  615:     mb_head_off = utf_head_off;
  626:     mb_head_off = dbcs_head_off;
  637:     mb_head_off = latin_head_off;
  mb_off_next():
  2585:     return (*mb_head_off)(base, p);
  mb_adjustpos():
  2783:     lp->col -= (*mb_head_off)(p, p + lp->col);
  mb_prevptr():
  2805:     mb_ptr_back(line, p);
message.c (1 use)
  trunc_string():
  299:         half = half - (*mb_head_off)(s, s + half - 1) - 1;
misc1.c (3 uses)
  open_line():
  1060:                 mb_ptr_back(leader, p);
  1083:                 int l = mb_head_off(leader, p);
  del_bytes():
  2268:                 (*mb_head_off)(oldp, oldp + curwin->w_cursor.col);
misc2.c (3 uses)
  dec():
  441:         lp->col -= (*mb_head_off)(p, p + lp->col);
  453:         lp->col -= (*mb_head_off)(p, p + lp->col);
  after_pathsep():
  3073:                  && (!has_mbyte || (*mb_head_off)(b, p - 1) == 0);
normal.c (3 uses)
  find_start_of_word():
  3083:     col -= (*mb_head_off)(line, line + col);
  find_end_of_word():
  3108:     pos->col -= (*mb_head_off)(line, line + pos->col);
  find_ident_at_pos():
  3416:         prevcol = col - 1 - (*mb_head_off)(ptr, ptr + col - 1);
ops.c (4 uses)
  op_yank():
  2948:                     && (*mb_head_off)(p, p + endcol) == 0
  do_put():
  3515:             bd.textcol -= (*mb_head_off)(oldp, oldp + bd.textcol);
  do_join():
  4174:         mb_ptr_back(curr, next);
  4178:         mb_ptr_back(curr, next);
regexp.c (2 uses)
  reg_prev_class():
  3731:                      - (*mb_head_off)(regline, reginput - 1));
  regmatch():
  5253:                 mb_ptr_back(regline, reginput);
search.c (7 uses)
  searchit():
  867:                 pos->col -= (*mb_head_off)(ptr, ptr + pos->col);
  searchc():
  1553:             col -= (*mb_head_off)(p, p + col - 1) + 1;
  1592:         col -= (*mb_head_off)(p, p + col);
  check_prevcol():
  1635:     col -= (*mb_head_off)(linep, linep + col);
  findmatchlimit():
  2012:             pos.col -= (*mb_head_off)(linep, linep + pos.col);
  in_html_tag():
  3715:         mb_ptr_back(line, p);
  find_prev_quote():
  4187:     col_start -= (*mb_head_off)(line, line + col_start);
spell.c (14 uses)
  find_word():
  1394:     if ((*mb_head_off)(ptr, ptr + wlen) > 0)
  1555:             mb_ptr_back(mip->mi_word, p);
  spell_read_aff():
  5665:                 mb_ptr_back(aff_entry->ae_add, p);
  store_aff_word():
  6861:                     mb_ptr_back(newword, p);
  spell_suggest():
  10078:         mb_ptr_back(line, p);
  check_need_cap():
  10311:         mb_ptr_back(line, p);
  suggest_trie_walk():
  11480:             mb_ptr_back(preword, p);
  11582:             mb_ptr_back(fword, p);
  11586:             mb_ptr_back(preword, p);
  11986:                     mb_ptr_back(tword, p);
  add_suggestion():
  13636:     mb_ptr_back(goodword, pgood);
  13637:     mb_ptr_back(su->su_badptr, pbad);
  spell_word_start():
  15899:     mb_ptr_back(line, p);
  15908:     mb_ptr_back(line, p);
syntax.c (1 use)
  syn_current_attr():
  1902:                   ? (*mb_head_off)(line, line + current_col - 1)
tag.c (1 use)
  simplify_filename():
  3507:             mb_ptr_back(start, p);
ui.c (1 use)
  clip_copy_modeless_selection():
  1171:     col1 -= (*mb_head_off)(p, p + col1);
window.c (1 use)
  file_name_in_line():
  5773:     if (has_mbyte && (len = (*mb_head_off)(line, ptr - 1)) > 0)
p_enc (63 uses in 13 translation units) defined in translation unit main.c, declared in ./option.h:363
digraph.c (1 use)
  getexactdigraph():
  2178:     if (convert_setup(&vc, (char_u *)"utf-8", p_enc) == OK)
eval.c (2 uses)
  f_strftime():
  15510:     convert_setup(&conv, p_enc, enc);
  15523:     convert_setup(&conv, enc, p_enc);
ex_cmds.c (3 uses)
  do_viminfo():
  2076:     fprintf(fp_out, "*encoding=%s\n\n", p_enc);
  viminfo_encoding():
  2219:         convert_setup(&virp->vir_conv, p, p_enc);
  fix_help_buffer():
  6043:                               : "latin1"), p_enc);
ex_cmds2.c (2 uses)
  do_source():
  3011:         convert_setup(&cookie.conv, (char_u *)"utf-8", p_enc);
  ex_scriptencoding():
  3678:     convert_setup(&sp->conv, name, p_enc);
fileio.c (10 uses)
  readfile():
  1005:     converted = (*fenc != NUL && !same_encoding(p_enc, fenc));
  1023:     else if (enc_utf8 || STRCMP(p_enc, "latin1") == 0)
  1051:                   enc_utf8 ? (char_u *)"utf-8" : p_enc, fenc);
  readfile_charconvert():
  2677:     if (eval_charconvert(fenc, enc_utf8 ? (char_u *)"utf-8" : p_enc,
  buf_write():
  3932:     converted = (*fenc != NUL && !same_encoding(p_enc, fenc));
  3939:     if (converted && (enc_utf8 || STRCMP(p_enc, "latin1") == 0))
  3988:                     enc_utf8 ? (char_u *)"utf-8" : p_enc);
  4420:         if (eval_charconvert(enc_utf8 ? (char_u *)"utf-8" : p_enc, fenc,
  get_fio_flags():
  5450:     ptr = p_enc;
  get_mac_fio_flags():
  5520:     if ((enc_utf8 || STRCMP(p_enc, "latin1") == 0)
hardcopy.c (5 uses)
  mch_print_init():
  2506:     p_encoding = enc_skip(p_enc);
  mch_print_begin():
  2984:         p_encoding = enc_skip(p_enc);
  3011:         p_encoding = enc_skip(p_enc);
  3029:     if (!(enc_canon_props(p_enc) & enc_canon_props(p_encoding) & ENC_8BIT)) {
  3031:     if (FAIL == convert_setup(&prt_conv, p_enc, p_encoding))
mbyte.c (9 uses)
  mb_init():
  492:     if (p_enc == NULL)
  533:     else if (STRNCMP(p_enc, "8bit-", 5) == 0
  534:         || STRNCMP(p_enc, "iso-8859-", 9) == 0)
  540:     else if (STRNCMP(p_enc, "2byte-", 6) == 0)
  552:     else if ((idx = enc_canon_search(p_enc)) >= 0)
  600:     enc_latin1like = (enc_utf8 || STRCMP(p_enc, "latin1") == 0
  601:                     || STRCMP(p_enc, "iso-8859-15") == 0);
  753:                       enc_utf8 ? "utf-8" : (char *)p_enc);
  utf_find_illegal():
  2644:     convert_setup(&vimconv, p_enc, curbuf->b_p_fenc);
ops.c (1 use)
  swapchar():
  2363:               && (enc_latin1like || STRCMP(p_enc, "iso-8859-2") == 0))
option.c (13 uses)
  set_init_1():
  3304:     save_enc = p_enc;
  3305:     p_enc = p;
  3306:     if (STRCMP(p_enc, "gb18030") == 0)
  3311:         p_enc = vim_strsave((char_u *)"cp936");
  3319:         options[opt_idx].def_val[VI_DEFAULT] = p_enc;
  3325:         if (STRCMP(p_enc, "latin1") == 0
  3379:         vim_free(p_enc);
  3380:         p_enc = save_enc;
  did_set_string_option():
  5672:     else if (varp == &p_enc || gvarp == &p_fenc || varp == &p_tenc)
  5701:         if (varp == &p_enc)
  5731:         if (((varp == &p_enc && *p_tenc != NUL) || varp == &p_tenc))
  5733:         convert_setup(&input_conv, p_tenc, p_enc);
  5734:         convert_setup(&output_conv, p_enc, p_tenc);
os_mac_conv.c (6 uses)
  mac_utf16_to_enc():
  346:     if ((enc_canon_props(p_enc) & ENC_UNICODE) == 0)
  348:             p_enc? p_enc: (char_u *)"macroman");
  348:             p_enc? p_enc: (char_u *)"macroman");
  mac_enc_to_utf16():
  393:     if ((enc_canon_props(p_enc) & ENC_UNICODE) == 0 &&
  394:         convert_setup(&conv, p_enc ? p_enc : (char_u *)"macroman",
  394:         convert_setup(&conv, p_enc ? p_enc : (char_u *)"macroman",
regexp.c (2 uses)
  reg_equi_class():
  742:     if (enc_utf8 || STRCMP(p_enc, "latin1") == 0
  743:                      || STRCMP(p_enc, "iso-8859-15") == 0)
spell.c (7 uses)
  spell_enc():
  2387:     if (STRLEN(p_enc) < 60 && STRCMP(p_enc, "iso-8859-15") != 0)
  2387:     if (STRLEN(p_enc) < 60 && STRCMP(p_enc, "iso-8859-15") != 0)
  2388:     return p_enc;
  spell_read_aff():
  5220:                                    p_enc) == FAIL)
  5222:                            fname, aff->af_enc, p_enc);
  spell_read_wordfile():
  7112:                                    p_enc) == FAIL)
  7114:                               fname, line, p_enc);
tag.c (2 uses)
  find_tags():
  1847:         convert_setup(&vimconv, p_enc, lbuf + 20);
  1861:         convert_setup(&vimconv, lbuf + 20, p_enc);
prt_line_buffer (63 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1444
hardcopy.c (63 uses)
  prt_write_string():
  1500:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer), "%s", s);
  1500:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer), "%s", s);
  1501:     prt_write_file(prt_line_buffer);
  prt_write_int():
  1511:     sprintf((char *)prt_line_buffer, "%d ", i);
  1512:     prt_write_file(prt_line_buffer);
  prt_write_boolean():
  1522:     sprintf((char *)prt_line_buffer, "%s ", (b ? "T" : "F"));
  1523:     prt_write_file(prt_line_buffer);
  prt_def_font():
  1536:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  1536:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  1538:     prt_write_file(prt_line_buffer);
  1541:     sprintf((char *)prt_line_buffer, "/%s %d %f /_%s sffs\n",
  1545:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  1545:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  1547:     prt_write_file(prt_line_buffer);
  prt_def_cidfont():
  1560:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  1560:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  1562:     prt_write_file(prt_line_buffer);
  1563:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  1563:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  1565:     prt_write_file(prt_line_buffer);
  prt_dup_cidfont():
  1576:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  1576:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  1578:     prt_write_file(prt_line_buffer);
  prt_write_real():
  1624:     sprintf((char *)prt_line_buffer, "%d", integer);
  1625:     prt_write_file(prt_line_buffer);
  1636:     sprintf((char *)prt_line_buffer, ".%0*d", prec, fraction);
  1637:     prt_write_file(prt_line_buffer);
  1639:     sprintf((char *)prt_line_buffer, " ");
  1640:     prt_write_file(prt_line_buffer);
  prt_def_var():
  1652:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  1652:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  1654:     prt_write_file(prt_line_buffer);
  1656:     sprintf((char *)prt_line_buffer, "d\n");
  1657:     prt_write_file(prt_line_buffer);
  prt_dsc_noarg():
  2076:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  2076:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  2078:     prt_write_file(prt_line_buffer);
  prt_dsc_textline():
  2086:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  2086:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  2088:     prt_write_file(prt_line_buffer);
  prt_dsc_text():
  2097:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  2097:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  2099:     prt_write_file(prt_line_buffer);
  prt_dsc_ints():
  2112:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  2112:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  2114:     prt_write_file(prt_line_buffer);
  2118:     sprintf((char *)prt_line_buffer, " %d", ints[i]);
  2119:     prt_write_file(prt_line_buffer);
  prt_dsc_resources():
  2132:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  2132:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  2135:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  2135:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  2137:     prt_write_file(prt_line_buffer);
  2139:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  2139:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  2141:     prt_write_file(prt_line_buffer);
  prt_dsc_requirements():
  2172:     sprintf((char *)prt_line_buffer, "%%%%Requirements:");
  2173:     prt_write_file(prt_line_buffer);
  2189:     sprintf((char *)prt_line_buffer, "%d", num_copies);
  2190:     prt_write_file(prt_line_buffer);
  prt_dsc_docmedia():
  2205:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  2205:     vim_snprintf((char *)prt_line_buffer, sizeof(prt_line_buffer),
  2207:     prt_write_file(prt_line_buffer);
no_mapping (62 uses in 11 translation units) defined in translation unit main.c, declared in ./globals.h:879
digraph.c (4 uses)
  get_digraph():
  2084:     ++no_mapping;
  2087:     --no_mapping;
  2106:     ++no_mapping;
  2109:     --no_mapping;
edit.c (12 uses)
  edit():
  794:         ++no_mapping;
  797:         --no_mapping;
  get_literal():
  5274:     ++no_mapping;        /* don't map the next key hits */
  5369:     --no_mapping;
  ins_reg():
  7647:     ++no_mapping;
  7664:     --no_mapping;
  ins_ctrl_g():
  7749:     ++no_mapping;
  7751:     --no_mapping;
  ins_digraph():
  9454:     ++no_mapping;
  9457:     --no_mapping;
  9486:     ++no_mapping;
  9489:     --no_mapping;
eval.c (2 uses)
  f_getchar():
  9946:     ++no_mapping;
  9966:     --no_mapping;
ex_cmds.c (2 uses)
  do_sub():
  4702:                 ++no_mapping;    /* don't map this key */
  4706:                 --no_mapping;
ex_getln.c (6 uses)
  getcmdline():
  649:         ++no_mapping;
  652:         --no_mapping;
  1100:         ++no_mapping;
  1106:         --no_mapping;
  getexmodeline():
  2162:     ++no_mapping;
  2333:     --no_mapping;
getchar.c (14 uses)
  vgetc():
  1549:         ++no_mapping;
  1555:         --no_mapping;
  1568:         ++no_mapping;
  1572:         --no_mapping;
  1706:         ++no_mapping;
  1727:         --no_mapping;
  vpeekc_nomap():
  1802:     ++no_mapping;
  1805:     --no_mapping;
  char_avail():
  1838:     ++no_mapping;
  1840:     --no_mapping;
  vgetorpeek():
  2036:             if (no_mapping == 0 && maphash_valid
  2247:             if ((no_mapping == 0 || allow_keys != 0)
  2495:             && !no_mapping
  2787:     if (c == ESC && !mode_deleted && !no_mapping && mode_displayed)
message.c (2 uses)
  wait_return():
  929:         ++no_mapping;
  934:         --no_mapping;
misc1.c (4 uses)
  ask_yesno():
  3027:     ++no_mapping;
  3048:     --no_mapping;
  get_number():
  3191:     ++no_mapping;
  3232:     --no_mapping;
normal.c (12 uses)
  normal_cmd():
  706:         ++no_mapping;
  717:         --no_mapping;
  733:         ++no_mapping;
  739:         --no_mapping;
  901:     ++no_mapping;
  956:         --no_mapping;
  976:         ++no_mapping;
  1091:     --no_mapping;
  nv_zet():
  4576:         ++no_mapping;
  4582:         --no_mapping;
  4934:         ++no_mapping;
  4940:         --no_mapping;
term.c (2 uses)
  check_for_codes_from_term():
  5501:     ++no_mapping;
  5522:     --no_mapping;
window.c (2 uses)
  do_window():
  584:         ++no_mapping;
  591:         --no_mapping;
current_SID (61 uses in 12 translation units) defined in translation unit main.c, declared in ./globals.h:317
buffer.c (3 uses)
  chk_modeline():
  4894:         save_SID = current_SID;
  4895:         current_SID = SID_MODELINE;
  4899:         current_SID = save_SID;
eval.c (15 uses)
  list_script_vars():
  2030:     if (current_SID > 0 && current_SID <= ga_scripts.ga_len)
  2030:     if (current_SID > 0 && current_SID <= ga_scripts.ga_len)
  2031:     list_hashtable_vars(&SCRIPT_VARS(current_SID),
  call_func():
  7525:         if (current_SID <= 0)
  7529:         sprintf((char *)fname_buf + 3, "%ld_", (long)current_SID);
  find_var_in_ht():
  17949:         case 's': return &SCRIPT_SV(current_SID).sv_var;
  find_var_ht():
  18031:         && current_SID > 0 && current_SID <= ga_scripts.ga_len)
  18031:         && current_SID > 0 && current_SID <= ga_scripts.ga_len)
  18032:     return &SCRIPT_VARS(current_SID);
  ex_function():
  19403:     fp->uf_script_ID = current_SID;
  trans_function_name():
  19574:         if (current_SID <= 0)
  19579:         sprintf((char *)sid_buf, "%ld_", (long)current_SID);
  call_user_func():
  20417:     save_current_SID = current_SID;
  20418:     current_SID = fp->uf_script_ID;
  20490:     current_SID = save_current_SID;
ex_cmds2.c (12 uses)
  do_source():
  3044:     save_current_SID = current_SID;
  3048:     for (current_SID = script_items.ga_len; current_SID > 0; --current_SID)
  3048:     for (current_SID = script_items.ga_len; current_SID > 0; --current_SID)
  3048:     for (current_SID = script_items.ga_len; current_SID > 0; --current_SID)
  3050:     si = &SCRIPT_ITEM(current_SID);
  3064:     if (current_SID == 0)
  3066:     current_SID = ++last_current_SID;
  3067:     if (ga_grow(&script_items, (int)(current_SID - script_items.ga_len))
  3070:     while (script_items.ga_len < current_SID)
  3078:     si = &SCRIPT_ITEM(current_SID);
  3092:     new_script_vars(current_SID);
  3170:     current_SID = save_current_SID;
ex_docmd.c (4 uses)
  uc_add_command():
  5158:     cmd->uc_scriptID = current_SID;
  do_ucmd():
  5924:     scid_T    save_current_SID = current_SID;
  5988:     current_SID = cmd->uc_scriptID;
  5993:     current_SID = save_current_SID;
ex_getln.c (3 uses)
  call_user_expand_func():
  4697:     int        save_current_SID = current_SID;
  4728:     current_SID = xp->xp_scriptID;
  4733:     current_SID = save_current_SID;
fileio.c (4 uses)
  do_autocmd_event():
  8138:         ac->scriptID = current_SID;
  apply_autocmds_group():
  8710:     save_current_SID = current_SID;
  8807:     current_SID = save_current_SID;
  getnextac():
  9012:     current_SID = ac->scriptID;
getchar.c (2 uses)
  do_map():
  3503:                 mp->m_script_ID = current_SID;
  3589:     mp->m_script_ID = current_SID;
main.c (7 uses)
  exe_pre_commands():
  2630:     current_SID = SID_CMDARG;
  2636:     current_SID = 0;
  exe_commands():
  2661:     current_SID = SID_CARG;
  2671:     current_SID = 0;
  process_env():
  2882:     save_sid = current_SID;
  2883:     current_SID = SID_ENV;
  2889:     current_SID = save_sid;;
menu.c (2 uses)
  ex_emenu():
  2185:         && !current_SID
  2250:     if (current_SID != 0)
option.c (5 uses)
  set_option_default():
  3462:     set_option_scriptID_idx(opt_idx, opt_flags, current_SID);
  set_string_option_direct():
  5345:                     set_sid == 0 ? current_SID : set_sid);
  did_set_string_option():
  6652:     set_option_scriptID_idx(opt_idx, opt_flags, current_SID);
  set_bool_option():
  7091:     set_option_scriptID_idx(opt_idx, opt_flags, current_SID);
  set_num_option():
  7601:     set_option_scriptID_idx(opt_idx, opt_flags, current_SID);
syntax.c (2 uses)
  do_highlight():
  6642:         HL_TABLE()[from_id - 1].sg_scriptID = current_SID;
  7394:     HL_TABLE()[idx].sg_scriptID = current_SID;
term.c (2 uses)
  replace_termcodes():
  5035:         if (current_SID <= 0)
  5043:             sprintf((char *)result + dlen, "%ld", (long)current_SID);
firstbuf (61 uses in 18 translation units) defined in translation unit main.c, declared in ./globals.h:557
buffer.c (17 uses)
  open_buffer():
  92:     for (curbuf = firstbuf; curbuf != NULL; curbuf = curbuf->b_next)
  buf_valid():
  290:     for (bp = firstbuf; bp != NULL; bp = bp->b_next)
  close_buffer():
  460:         firstbuf = buf->b_next;
  do_buffer():
  950:     case DOBUF_FIRST:   buf = firstbuf; break;
  962:             buf = firstbuf;
  990:             buf = firstbuf;
  1076:     for (bp = firstbuf; bp != NULL; bp = bp->b_next)
  1217:         for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  buflist_new():
  1633:     if (firstbuf == NULL)        /* buffer list is empty */
  1636:         firstbuf = buf;
  buflist_findname_stat():
  2003:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  buflist_findpat():
  2086:         for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  ExpandBufnames():
  2184:         for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  buflist_findnr():
  2299:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  buflist_list():
  2495:     for (buf = firstbuf; buf != NULL && !got_int; buf = buf->b_next)
  ex_buffer_all():
  4612:     for (buf = firstbuf; buf != NULL && open_wins < count; buf = buf->b_next)
  write_viminfo_bufferlist():
  5001:     for (buf = firstbuf; buf != NULL ; buf = buf->b_next)
edit.c (2 uses)
  ins_compl_next_buf():
  3700:     while ((buf = (buf->b_next != NULL ? buf->b_next : firstbuf)) != curbuf
  ins_compl_get_exp():
  3848:     for (ins_buf = firstbuf; ins_buf != NULL; ins_buf = ins_buf->b_next)
eval.c (3 uses)
  garbage_collect():
  6147:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  find_buffer():
  7926:         for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  f_last_buffer_nr():
  12112:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
ex_cmds.c (4 uses)
  do_shell():
  1398:     for (buf = firstbuf; buf; buf = buf->b_next)
  read_viminfo_up_to_marks():
  2189:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  do_wqall():
  2864:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  2903:             buf = firstbuf;
ex_cmds2.c (8 uses)
  autowrite_all():
  1335:     for (buf = firstbuf; buf; buf = buf->b_next)
  1342:         buf = firstbuf;
  check_changed():
  1371:         for (buf2 = firstbuf; buf2 != NULL; buf2 = buf2->b_next)
  dialog_changed():
  1466:     for (buf2 = firstbuf; buf2 != NULL; buf2 = buf2->b_next)
  1485:             buf2 = firstbuf;
  1495:     for (buf2 = firstbuf; buf2 != NULL; buf2 = buf2->b_next)
  check_changed_any():
  1538:         for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  ex_listdo():
  2388:         for (buf = firstbuf; buf != NULL; buf = buf->b_next)
ex_docmd.c (1 use)
  makeopens():
  9835:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
fileio.c (4 uses)
  shorten_fnames():
  5709:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  check_timestamps():
  6264:     for (buf = firstbuf; buf != NULL; )
  6276:             buf = firstbuf;
  ex_doautoall():
  8227:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
getchar.c (1 use)
  check_map_keycodes():
  4838:     for (bp = firstbuf; ; bp = bp->b_next)
gui_mac.c (3 uses)
  Handle_KAHL_SRCH_AE():
  634:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  Handle_KAHL_MOD_AE():
  726:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  Handle_KAHL_GTTX_AE():
  808:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
if_python.c (2 uses)
  BufListLength():
  1884:     buf_T    *b = firstbuf;
  BufListItem():
  1902:     for (b = firstbuf; b; b = b->b_next, --n)
main.c (1 use)
  getout():
  1269:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
mark.c (2 uses)
  write_viminfo_marks():
  1571:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  copy_viminfo_marks():
  1699:         for (buf = firstbuf; buf != NULL; buf = buf->b_next)
memfile.c (2 uses)
  mf_release():
  867:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  mf_release_all():
  932:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
memline.c (4 uses)
  ml_open_files():
  511:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  ml_close_all():
  649:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  ml_close_notmod():
  666:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  ml_sync_all():
  1900:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
misc1.c (1 use)
  preserve_exit():
  8359:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
option.c (3 uses)
  paste_option_changed():
  10278:         for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  10307:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  10341:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
spell.c (2 uses)
  spell_free_all():
  4601:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
  spell_reload():
  4648:     for (buf = firstbuf; buf != NULL; buf = buf->b_next)
term.c (1 use)
  set_termname():
  2040:         for (curbuf = firstbuf; curbuf != NULL; curbuf = curbuf->b_next)
hislen (60 uses in 1 translation unit) defined static in translation unit ex_getln.c, declared in ex_getln.c:60
ex_getln.c (60 uses)
  getcmdline():
  316:     hiscnt = hislen;        /* set hiscnt to impossible history value */
  1447:         if (hislen == 0 || firstc == NUL)    /* no history */
  1467:             if (hiscnt == hislen)    /* first time */
  1469:             else if (hiscnt == 0 && hisidx[histype] != hislen - 1)
  1470:                 hiscnt = hislen - 1;
  1484:                 hiscnt = hislen;
  1489:             if (hiscnt == hislen)
  1491:             if (hiscnt == hislen - 1)   /* wrap around */
  1515:             if (hiscnt == hislen)
  init_history():
  5015:     if (newlen != hislen)            /* history length changed */
  5027:             newlen = hislen;
  5049:         else if (newlen > hislen)    /* array becomes bigger */
  5054:             for ( ; i <= newlen - (hislen - hisidx[type]); ++i)
  5059:             for ( ; j < hislen; ++i, ++j)
  5072:                 j = hislen - 1;
  5082:     hislen = newlen;
  in_history():
  5114:         i = hislen - 1;
  5122:         if (++i >= hislen)
  add_to_history():
  5177:     if (hislen == 0)        /* no history */
  5196:         hisidx[HIST_SEARCH] = hislen - 1;
  5202:     if (++hisidx[histype] == hislen)
  get_history_idx():
  5229:     if (hislen == 0 || histype < 0 || histype >= HIST_COUNT
  calc_hist_idx():
  5341:     if (hislen == 0 || histype < 0 || histype >= HIST_COUNT
  5353:         i += hislen;
  5359:     else if (-num <= hislen)
  5363:         i += hislen;
  clr_history():
  5397:     if (hislen != 0 && histype >= 0 && histype < HIST_COUNT)
  5400:     for (i = hislen; i--;)
  del_history_entry():
  5431:     if (hislen != 0
  5461:             last += hislen;
  5464:         i += hislen;
  del_history_idx():
  5498:     j = (i + 1) % hislen;
  5505:     i += hislen;
  ex_history():
  5607:     if (hislen == 0)
  5658:         j = (-j > hislen) ? 0 : hist[(hislen+j+idx+1) % hislen].hisnum;
  5658:         j = (-j > hislen) ? 0 : hist[(hislen+j+idx+1) % hislen].hisnum;
  5658:         j = (-j > hislen) ? 0 : hist[(hislen+j+idx+1) % hislen].hisnum;
  5660:         k = (-k > hislen) ? 0 : hist[(hislen+k+idx+1) % hislen].hisnum;
  5660:         k = (-k > hislen) ? 0 : hist[(hislen+k+idx+1) % hislen].hisnum;
  5660:         k = (-k > hislen) ? 0 : hist[(hislen+k+idx+1) % hislen].hisnum;
  5664:         if (i == hislen)
  prepare_viminfo_history():
  5732:     if (asklen > hislen)
  5733:     asklen = hislen;
  5741:     for (i = 0, num = 0; i < hislen; i++)
  finish_viminfo_history():
  5821:     if (idx >= hislen)
  5822:         idx -= hislen;
  5824:         idx = hislen - 1;
  5830:         hisidx[type] = hislen - 1;
  5835:         if (++idx == hislen)
  5839:         idx = hislen - 1;
  5846:         idx = hislen - 1;
  5849:     idx %= hislen;
  5853:         idx %= hislen;
  write_viminfo_history():
  5871:     if (hislen == 0)
  5879:         num_saved = hislen;
  5885:     if (num_saved > hislen)
  5886:         num_saved = hislen;
  5905:             i = hislen - 1;
  ex_window():
  6044:     if (hislen > 0)
  6052:         if (++i == hislen)
cmdwin_type (59 uses in 10 translation units) defined in translation unit main.c, declared in ./globals.h:1146
edit.c (3 uses)
  edit():
  890:         if (c == Ctrl_C && cmdwin_type != 0)
  1261:         if (cmdwin_type != 0)
  comp_textwidth():
  6154:     if (cmdwin_type != 0)
ex_docmd.c (7 uses)
  do_one_cmd():
  2188:         if (cmdwin_type != 0)
  ex_quit():
  6191:     if (cmdwin_type != 0)
  ex_quit_all():
  6260:     if (cmdwin_type != 0)
  ex_close():
  6296:     if (cmdwin_type != 0)
  ex_tabclose():
  6381:     if (cmdwin_type != 0)
  ex_tabonly():
  6423:     if (cmdwin_type != 0)
  ex_exit():
  6600:     if (cmdwin_type != 0)
ex_getln.c (8 uses)
  text_locked():
  1969:     if (cmdwin_type != 0)
  text_locked_msg():
  1983:     if (cmdwin_type != 0)
  ex_window():
  5972:     if (cmdwin_type != 0
  6001:     cmdwin_type = ccline.cmdfirstc;
  6002:     if (cmdwin_type == NUL)
  6003:     cmdwin_type = '-';
  6086:     typestr[0] = cmdwin_type;
  6111:     cmdwin_type = 0;
getchar.c (1 use)
  vgetorpeek():
  2639:                 || (cmdwin_type > 0 && tc == ESC)
gui.c (2 uses)
  send_tabline_event():
  3523:         || cmdwin_type != 0
  gui_drag_scrollbar():
  3689:     if (cmdwin_type != 0 && sb->wp != curwin)
move.c (1 use)
  win_col_off():
  916:         + (cmdwin_type == 0 || wp != curwin ? 0 : 1)
normal.c (5 uses)
  do_mouse():
  2472:         && cmdwin_type == 0
  nv_down():
  5931:     if (cmdwin_type != 0 && cap->cmdchar == CAR)
  nv_normal():
  8604:     if (cmdwin_type != 0)
  nv_esc():
  8642:         && cmdwin_type == 0
  8655:     if (cmdwin_type != 0)
screen.c (6 uses)
  win_draw_end():
  2039:     if (cmdwin_type != 0 && wp == curwin)
  2047:             cmdwin_type, ' ', hl_attr(HLF_AT));
  fold_line():
  2123:     if (cmdwin_type != 0 && wp == curwin)
  2125:     ScreenLines[off] = cmdwin_type;
  win_line():
  3204:         if (cmdwin_type != 0 && wp == curwin)
  3208:             c_extra = cmdwin_type;
ui.c (5 uses)
  jump_to_mouse():
  2442:     if (cmdwin_type != 0 && row < W_WINROW(curwin))
  2525:                   + (cmdwin_type == 0 && wp == curwin ? 0 : 1)
  2536:     if (cmdwin_type != 0 && wp != curwin)
  2642:     if (cmdwin_type != 0 && row < W_WINROW(curwin))
  2753:                 + (cmdwin_type == 0 ? 0 : 1)
window.c (21 uses)
  do_window():
  135:         CHECK_CMDWIN
  155:         CHECK_CMDWIN
  169:         CHECK_CMDWIN
  182:         CHECK_CMDWIN
  219:         CHECK_CMDWIN
  241:         CHECK_CMDWIN
  253:         CHECK_CMDWIN
  291:         CHECK_CMDWIN
  306:         CHECK_CMDWIN
  323:         CHECK_CMDWIN
  331:         CHECK_CMDWIN
  385:         CHECK_CMDWIN
  392:         CHECK_CMDWIN
  401:         CHECK_CMDWIN
  415:         CHECK_CMDWIN
  483:         CHECK_CMDWIN
  492:         CHECK_CMDWIN
  512:         CHECK_CMDWIN
  549:         CHECK_CMDWIN
  580:         CHECK_CMDWIN
  goto_tabpage():
  3610:     if (cmdwin_type != 0)
exmode_active (56 uses in 12 translation units) defined in translation unit main.c, declared in ./globals.h:873
ex_cmds.c (2 uses)
  do_ecmd():
  3728:         if (exmode_active)
  do_sub():
  4633:             if (exmode_active)
ex_docmd.c (11 uses)
  do_exmode():
  608:     exmode_active = EXMODE_VIM;
  610:     exmode_active = EXMODE_NORMAL;
  630:     while (exmode_active)
  636:         exmode_active = FALSE;
  do_one_cmd():
  1734:     if (*ea.cmd == NUL && exmode_active
  2051:     if (*ea.cmd == '|' || (exmode_active && ea.line1 != ea.line2))
  2238:         if (sourcing || exmode_active)
  do_exedit():
  7426:     int        exmode_was = exmode_active;
  7431:     if (exmode_active && (eap->cmdidx == CMD_visual
  7434:     exmode_active = FALSE;
  ex_read():
  7776:         if (empty && exmode_active)
ex_getln.c (8 uses)
  getcmdline():
  224:     alloc_cmdbuff(exmode_active ? 250 : indent + 1);
  743:         if (exmode_active
  963:             if (exmode_active
  1084:         if (exmode_active
  compute_cmdrow():
  3145:     if (exmode_active || msg_scrolled != 0)
  ex_window():
  5966:     int            save_exmode = exmode_active;
  6077:     exmode_active = 0;
  6113:     exmode_active = save_exmode;
fileio.c (1 use)
  readfile():
  2444:     if (exmode_active)
getchar.c (1 use)
  vgetorpeek():
  2675:         if (typebuf.tb_len > 0 && advance && !exmode_active)
gui.c (1 use)
  gui_send_mouse_event():
  2895:     if (exmode_active)
main.c (20 uses)
  main():
  685:     if (!exmode_active)
  773:     if (exmode_active
  808:     if (exmode_active)
  main_loop():
  1028:         if (noexmode && global_busy && !exmode_active && previous_got_int)
  1032:         exmode_active = EXMODE_NORMAL;
  1035:         else if (!global_busy || !exmode_active)
  1046:     if (!exmode_active)
  1055:     if (skip_redraw || exmode_active)
  1174:     if (exmode_active)
  1178:         do_exmode(exmode_active == EXMODE_VIM);
  getout():
  1225:     if (exmode_active)
  parse_command_name():
  1489:         exmode_active = EXMODE_VIM;
  1491:         exmode_active = EXMODE_NORMAL;
  command_line_scan():
  1642:         if (exmode_active)
  1758:         exmode_active = EXMODE_NORMAL;
  1762:         exmode_active = EXMODE_VIM;
  1899:         if (exmode_active)    /* "-s" silent (batch) mode */
  1946:         exmode_active = 0;
  check_tty():
  2285:     if (exmode_active)
  exe_commands():
  2676:     if (!exmode_active)
message.c (8 uses)
  msg_strtrunc():
  204:                    && !exmode_active && msg_silent == 0) || force)
  msg_may_trunc():
  726:     if ((force || (shortmess(SHM_TRUNC) && !exmode_active))
  wait_return():
  887:     if (!exmode_active)
  900:     else if (exmode_active)
  1022:     if (!exmode_active)
  msg_start():
  1147:     if (exmode_active != EXMODE_NORMAL)
  msg_puts_display():
  1928:         if (cmdline_row > 0 && !exmode_active)
  1938:                         && !msg_no_more && !exmode_active)
misc1.c (1 use)
  get_number():
  3223:         if (!exmode_active)
screen.c (1 use)
  screen_puts_len():
  6341:         || exmode_active
term.c (1 use)
  set_shellsize():
  3136:                                  || exmode_active)
ui.c (1 use)
  ui_focus_change():
  3058:         || State == EXTERNCMD || State == CONFIRM || exmode_active)
sourcing_lnum (56 uses in 9 translation units) defined in translation unit main.c, declared in ./globals.h:220
buffer.c (3 uses)
  chk_modeline():
  4852:     save_sourcing_lnum = sourcing_lnum;
  4854:     sourcing_lnum = lnum;        /* prepare for emsg() */
  4907:     sourcing_lnum = save_sourcing_lnum;
eval.c (11 uses)
  ex_function():
  19107:     sourcing_lnum_off = sourcing_lnum;
  19135:     if (sourcing_lnum > sourcing_lnum_off + 1)
  19136:         sourcing_lnum_off = sourcing_lnum - sourcing_lnum_off - 1;
  call_user_func():
  20349:     save_sourcing_lnum = sourcing_lnum;
  20350:     sourcing_lnum = 1;
  20489:     sourcing_lnum = save_sourcing_lnum;
  get_func_line():
  20731:                                    sourcing_lnum);
  20754:         sourcing_lnum = fcp->linenr;
  20763:     if (fcp->breakpoint != 0 && fcp->breakpoint <= sourcing_lnum)
  20765:     dbg_breakpoint(fp->uf_name, sourcing_lnum);
  20768:                                    sourcing_lnum);
ex_cmds2.c (15 uses)
  do_debug():
  145:     if (sourcing_lnum != 0)
  146:     smsg((char_u *)_("line %ld: %s"), (long)sourcing_lnum, cmd);
  do_source():
  2943:                             sourcing_lnum, fname);
  2961:                             sourcing_lnum, fname);
  3023:     save_sourcing_lnum = sourcing_lnum;
  3024:     sourcing_lnum = 0;
  3143:     sourcing_lnum = save_sourcing_lnum;
  getsourceline():
  3335:     sp->breakpoint = dbg_find_breakpoint(TRUE, sp->fname, sourcing_lnum);
  3355:     ++sourcing_lnum;
  3367:     --sourcing_lnum;
  3402:     if (sp->breakpoint != 0 && sp->breakpoint <= sourcing_lnum)
  3404:     dbg_breakpoint(sp->fname, sourcing_lnum);
  3406:     sp->breakpoint = dbg_find_breakpoint(TRUE, sp->fname, sourcing_lnum);
  get_one_sourceline():
  3436:     sourcing_lnum++;
  3543:         sourcing_lnum++;
ex_docmd.c (12 uses)
  do_cmdline():
  935:                             fname, sourcing_lnum);
  940:         sourcing_lnum = ((wcmd_T *)(lines_ga.ga_data))[current_line].lnum;
  944:                           && *breakpoint <= sourcing_lnum)
  946:         dbg_breakpoint(fname, sourcing_lnum);
  950:                             fname, sourcing_lnum);
  1085:                        (long)sourcing_lnum, cmdline_copy);
  1214:         sourcing_lnum =
  1377:         saved_sourcing_lnum = sourcing_lnum;
  1379:         sourcing_lnum = current_exception->throw_lnum;
  1405:         sourcing_lnum = saved_sourcing_lnum;
  get_loop_line():
  1545:     sourcing_lnum = wp->lnum;
  store_loop_line():
  1560:     ((wcmd_T *)(gap->ga_data))[gap->ga_len].lnum = sourcing_lnum;
ex_eval.c (1 use)
  throw_exception():
  518:     excp->throw_lnum = sourcing_lnum;
fileio.c (3 uses)
  apply_autocmds_group():
  8706:     save_sourcing_lnum = sourcing_lnum;
  8707:     sourcing_lnum = 0;        /* no line number here */
  8801:     sourcing_lnum = save_sourcing_lnum;
main.c (3 uses)
  process_env():
  2878:     save_sourcing_lnum = sourcing_lnum;
  2880:     sourcing_lnum = 0;
  2887:     sourcing_lnum = save_sourcing_lnum;
message.c (5 uses)
  get_emsg_lnum():
  480:         && (other_sourcing_name() || sourcing_lnum != last_sourcing_lnum)
  481:         && sourcing_lnum != 0)
  486:         sprintf((char *)Buf, (char *)p, (long)sourcing_lnum);
  msg_source():
  515:     last_sourcing_lnum = sourcing_lnum;  /* only once for each line */
  inc_msg_scrolled():
  2122:                               p, (long)sourcing_lnum);
spell.c (3 uses)
  spell_load_file():
  2618:     linenr_T    save_sourcing_lnum = sourcing_lnum;
  2662:     sourcing_lnum = 0;
  2846:     sourcing_lnum = save_sourcing_lnum;
compl_cont_status (55 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:129
edit.c (47 uses)
  edit():
  1337:             && !(compl_cont_status & CONT_LOCAL))
  1342:         compl_cont_status = 0;
  ins_ctrl_x():
  1965:     if (compl_cont_status & CONT_N_ADDS)
  1966:         compl_cont_status |= CONT_INTRPT;
  1968:         compl_cont_status = 0;
  set_completion():
  2570:     compl_cont_status = 0;
  ins_compl_clear():
  3141:     compl_cont_status = 0;
  ins_compl_new_leader():
  3239:         compl_cont_status = 0;
  ins_compl_restart():
  3310:     compl_cont_status = 0;
  ins_compl_prep():
  3487:         if (!(compl_cont_status & CONT_INTRPT))
  3488:             compl_cont_status |= CONT_LOCAL;
  3490:             compl_cont_status &= ~CONT_LOCAL;
  3506:             compl_cont_status = 0;
  3659:     compl_cont_status = 0;
  ins_compl_get_exp():
  3852:     e_cpt = (compl_cont_status & CONT_LOCAL)
  3964:                   && !(compl_cont_status & CONT_SOL))
  4070:             || (compl_cont_status & CONT_SOL))
  4097:         if (    (compl_cont_status & CONT_ADDING) && ins_buf == curbuf
  4104:             if (compl_cont_status & CONT_ADDING)
  4118:             if (compl_cont_status & CONT_ADDING)
  4131:             if ((compl_cont_status & CONT_ADDING)
  ins_compl_delete():
  4250:     i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0);
  ins_complete():
  4654:     if ((compl_cont_status & CONT_INTRPT) == CONT_INTRPT
  4660:         compl_cont_status &= ~CONT_INTRPT;    /* remove INTRPT */
  4673:             compl_cont_status &= ~CONT_SOL;   /* clear SOL if present */
  4680:             if (compl_cont_status & CONT_S_IPOS)
  4682:             compl_cont_status |= CONT_SOL;
  4695:             compl_cont_status &= ~CONT_SOL;
  4699:         compl_cont_status |= CONT_ADDING | CONT_N_ADDS;
  4701:             compl_cont_status &= CONT_LOCAL;
  4704:         compl_cont_status = CONT_ADDING | CONT_N_ADDS;
  4706:         compl_cont_status = 0;
  4709:         compl_cont_status &= CONT_LOCAL;
  4711:     if (!(compl_cont_status & CONT_ADDING))    /* normal expansion */
  4715:         compl_cont_status = 0;
  4716:         compl_cont_status |= CONT_N_ADDS;
  4725:         if ((compl_cont_status & CONT_SOL)
  4728:         if (!(compl_cont_status & CONT_ADDING))
  4744:         else if (compl_cont_status & CONT_ADDING)
  4950:     if (compl_cont_status & CONT_ADDING)
  4977:     if (compl_cont_status & CONT_LOCAL)
  5033:     edit_submode_extra = (compl_cont_status & CONT_ADDING)
  5042:         || (compl_cont_status & CONT_ADDING)
  5046:         compl_cont_status &= ~CONT_N_ADDS;
  5050:     compl_cont_status |= CONT_S_IPOS;
  5052:     compl_cont_status &= ~CONT_S_IPOS;
  5061:     else if (compl_cont_status & CONT_S_IPOS)
getchar.c (1 use)
  vgetorpeek():
  2048:                     || ((compl_cont_status & CONT_LOCAL)
search.c (7 uses)
  search_for_exact_line():
  1450:     if ((compl_cont_status & CONT_ADDING)
  1451:                        && !(compl_cont_status & CONT_SOL))
  find_pattern_in_path():
  4551:         && !(compl_cont_status & CONT_SOL)
  4817:             || (compl_cont_status & CONT_SOL)
  4895:         if (compl_cont_status & CONT_ADDING)
  4905:         if ((compl_cont_status & CONT_ADDING) && i == compl_length)
  5085:             && !(compl_cont_status & CONT_SOL)
compl_shown_match (55 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:91
edit.c (55 uses)
  edit():
  737:         && (compl_shown_match == NULL
  738:             || compl_shown_match != compl_shown_match->cp_next))
  738:             || compl_shown_match != compl_shown_match->cp_next))
  754:                 || STRLEN(compl_shown_match->cp_str)
  ins_compl_show_pum():
  2712:         if (compl_shown_match->cp_flags & ORIGINAL_TEXT)
  2725:             if (compl == compl_shown_match || did_find_shown_match)
  2729:                 compl_shown_match = compl;
  2754:         if (compl == compl_shown_match)
  2767:             compl_shown_match = shown_compl;
  2782:         if (compl_match_array[i].pum_text == compl_shown_match->cp_str
  2784:                       == compl_shown_match->cp_text[CPT_ABBR])
  ins_compl_addfrommatch():
  3347:     p = compl_shown_match->cp_str;
  3352:     if (compl_shown_match->cp_flags & ORIGINAL_TEXT)
  3355:         for (cp = compl_shown_match->cp_next; cp != NULL
  ins_compl_insert():
  4259:     ins_bytes(compl_shown_match->cp_str + curwin->w_cursor.col - compl_col);
  4260:     if (compl_shown_match->cp_flags & ORIGINAL_TEXT)
  ins_compl_next():
  4297:             && (compl_shown_match->cp_flags & ORIGINAL_TEXT) == 0)
  4301:     while (!ins_compl_equal(compl_shown_match,
  4303:         && compl_shown_match->cp_next != NULL
  4304:         && compl_shown_match->cp_next != compl_first_match)
  4305:         compl_shown_match = compl_shown_match->cp_next;
  4305:         compl_shown_match = compl_shown_match->cp_next;
  4310:         && !ins_compl_equal(compl_shown_match,
  4312:         && (compl_shown_match->cp_next == NULL
  4313:             || compl_shown_match->cp_next == compl_first_match))
  4315:         while (!ins_compl_equal(compl_shown_match,
  4317:             && compl_shown_match->cp_prev != NULL
  4318:             && compl_shown_match->cp_prev != compl_first_match)
  4319:         compl_shown_match = compl_shown_match->cp_prev;
  4319:         compl_shown_match = compl_shown_match->cp_prev;
  4343:     if (compl_shows_dir == FORWARD && compl_shown_match->cp_next != NULL)
  4345:         compl_shown_match = compl_shown_match->cp_next;
  4345:         compl_shown_match = compl_shown_match->cp_next;
  4347:                && (compl_shown_match->cp_next == compl_first_match
  4348:                    || compl_shown_match == compl_first_match));
  4351:                     && compl_shown_match->cp_prev != NULL)
  4353:         found_end = (compl_shown_match == compl_first_match);
  4354:         compl_shown_match = compl_shown_match->cp_prev;
  4354:         compl_shown_match = compl_shown_match->cp_prev;
  4355:         found_end |= (compl_shown_match == compl_first_match);
  4386:         if (compl_pending > 0 && compl_shown_match->cp_next != NULL)
  4388:             compl_shown_match = compl_shown_match->cp_next;
  4388:             compl_shown_match = compl_shown_match->cp_next;
  4391:         if (compl_pending < 0 && compl_shown_match->cp_prev != NULL)
  4393:             compl_shown_match = compl_shown_match->cp_prev;
  4393:             compl_shown_match = compl_shown_match->cp_prev;
  4401:     if ((compl_shown_match->cp_flags & ORIGINAL_TEXT) == 0
  4403:         && !ins_compl_equal(compl_shown_match,
  4408:         found_compl = compl_shown_match;
  4415:         compl_shown_match = found_compl;
  4466:     if (compl_shown_match->cp_fname != NULL)
  4469:     i = (vim_strsize(compl_shown_match->cp_fname) + 16) - sc_col;
  4474:     STRCAT(IObuff, compl_shown_match->cp_fname + i);
  ins_complete():
  5006:     compl_shown_match = compl_curr_match;
  5019:     compl_curr_match = compl_shown_match;
current_col (54 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:355
syntax.c (54 uses)
  syn_sync():
  857:             found_current_col = current_col;
  866:                 current_col = found_m_endpos.col;
  870:             else if (found_m_endpos.col > current_col)
  871:                 current_col = found_m_endpos.col;
  873:                 ++current_col;
  878:             prev_current_col = current_col;
  879:             if (syn_getcurline()[current_col] != NUL)
  880:                 ++current_col;
  882:             current_col = prev_current_col;
  917:             update_si_end(cur_si, (int)current_col, TRUE);
  920:             current_col = found_m_endpos.col;
  syn_start_line():
  971:     current_col = 0;
  syn_update_ends():
  1045:         update_si_end(cur_si, (int)current_col, !startofline);
  syn_finish_line():
  1711:         prev_current_col = current_col;
  1712:         if (syn_getcurline()[current_col] != NUL)
  1713:             ++current_col;
  1715:         current_col = prev_current_col;
  1717:         ++current_col;
  get_syntax_attr():
  1769:     while (current_col <= col)
  1772:                      current_col == col ? keep_state : FALSE);
  1773:     ++current_col;
  syn_current_attr():
  1823:     if (line[current_col] == NUL && current_col != 0)
  1823:     if (line[current_col] == NUL && current_col != 0)
  1828:     if (next_match_idx >= 0 && next_match_col >= (int)current_col
  1838:     if (line[current_col] == NUL || line[current_col + 1] == NUL)
  1838:     if (line[current_col] == NUL || line[current_col + 1] == NUL)
  1897:           if (vim_iswordc_buf(line + current_col, syn_buf)
  1898:               && (current_col == 0
  1899:               || !vim_iswordc_buf(line + current_col - 1
  1902:                   ? (*mb_head_off)(line, line + current_col - 1)
  1907:         syn_id = check_keyword_id(line, (int)current_col,
  1914:             cur_si->si_m_startcol = current_col;
  1962:         if (next_match_idx < 0 || next_match_col < (int)current_col)
  1996:                 lc_col = current_col - spp->sp_offsets[SPO_LC_OFF];
  2144:         if (next_match_idx >= 0 && next_match_col == (int)current_col)
  2152:                 && next_match_m_endpos.col == current_col
  2191:                 && vim_iswhite(line[current_col]))
  2191:                 && vim_iswhite(line[current_col]))
  2232:                 && current_col >= sip->si_h_startpos.col))
  2236:                 && current_col < sip->si_h_endpos.col)))
  2307:                       && syn_getcurline()[current_col] != NUL)
  2309:         ++current_col;
  2311:         --current_col;
  2324:         && syn_getcurline()[current_col + 1] == NUL
  did_match_already():
  2351:     if (CUR_STATE(i).si_m_startcol == (int)current_col
  push_next_match():
  2387:     cur_si->si_m_startcol = current_col;
  2422:         cur_si->si_m_startcol = current_col;
  check_state_ends():
  2455:             && cur_si->si_m_endpos.col <= current_col)))
  2466:                 && cur_si->si_eoe_pos.col > current_col)))
  2487:             && syn_getcurline()[current_col] == NUL)
  2523:             update_si_end(cur_si, (int)current_col, TRUE);
  2527:                 && syn_getcurline()[current_col] == NUL)
  syn_get_id():
  6103:         || col < current_col)
  syn_get_stack_item():
  6126:     current_col = MAXCOL;
mb_char2bytes (54 uses in 15 translation units) defined in translation unit main.c, declared in ./globals.h:804
digraph.c (1 use)
  printdigraph():
  2370:         p += (*mb_char2bytes)(dp->result, p);
edit.c (4 uses)
  ins_compl_add_infercase():
  2251:             p += (*mb_char2bytes)(wca[i++], p);
  ins_compl_addleader():
  3281:     (*mb_char2bytes)(c, buf);
  insertchar():
  5662:         (*mb_char2bytes)(c, buf);
  add_char2buf():
  6483:     len = (*mb_char2bytes)(c, temp);
eval.c (3 uses)
  get_string_tv():
  5186:                   name += (*mb_char2bytes)(nr, name);
  f_getchar():
  9994:         i += (*mb_char2bytes)(n, temp + i);
  f_nr2char():
  12922:     buf[(*mb_char2bytes)((int)get_tv_number(&argvars[0]), buf)] = NUL;
ex_cmds.c (1 use)
  do_ascii():
  120:     len += (*mb_char2bytes)(c, IObuff + len);
ex_getln.c (1 use)
  getcmdline():
  1677:         j = (*mb_char2bytes)(c, IObuff);
getchar.c (3 uses)
  add_char_buff():
  321:     len = (*mb_char2bytes)(c, bytes);
  ins_char_typebuf():
  1063:     buf[(*mb_char2bytes)(c, buf)] = NUL;
  check_abbr():
  4364:             j += (*mb_char2bytes)(c, tb + j);
mbyte.c (3 uses)
  mb_init():
  610:     mb_char2bytes = utf_char2bytes;
  621:     mb_char2bytes = dbcs_char2bytes;
  632:     mb_char2bytes = latin_char2bytes;
message.c (2 uses)
  msg_putchar_attr():
  1201:     buf[(*mb_char2bytes)(c, buf)] = NUL;
  copy_char():
  3396:         return (*mb_char2bytes)(c, to);
misc1.c (1 use)
  ins_char():
  1915:     n = (*mb_char2bytes)(c, buf);
misc2.c (2 uses)
  get_special_key_name():
  2484:         idx += (*mb_char2bytes)(c, string + idx);
  trans_special():
  2543:     dlen += (*mb_char2bytes)(key, dst + dlen);
ops.c (2 uses)
  op_replace():
  2074:             n += (*mb_char2bytes)(c, newp + n);
  fex_format():
  4467:     buf[(*mb_char2bytes)(c, buf)] = NUL;
regexp.c (3 uses)
  regmbc():
  2427:     regcode += (*mb_char2bytes)(c, regcode);
  vim_regsub_both():
  7064:             mb_char2bytes(cc, dst);
  7173:                     mb_char2bytes(cc, dst);
screen.c (3 uses)
  win_redr_custom():
  6077:     len += (*mb_char2bytes)(fillchar, buf + len);
  screen_putchar():
  6144:     buf[(*mb_char2bytes)(c, buf)] = NUL;
  win_redr_ruler():
  9532:             i += (*mb_char2bytes)(fillchar, buffer + i);
search.c (3 uses)
  searchc():
  1504:         bytelen = (*mb_char2bytes)(c, bytes);
  1507:         bytelen += (*mb_char2bytes)(cap->ncharC1, bytes + bytelen);
  1509:             bytelen += (*mb_char2bytes)(cap->ncharC2, bytes + bytelen);
spell.c (22 uses)
  can_compound():
  1758:         p += mb_char2bytes(flags[i], p);
  read_compound():
  3588:         pp += mb_char2bytes(c, pp);
  write_vim_spell():
  7986:         l += mb_char2bytes(spelltab.st_fold[i], folchars + l);
  spell_casefold():
  9943:         outi += mb_char2bytes(SPELL_TOFOLD(c), buf + outi);
  onecap_copy():
  11024:     l = mb_char2bytes(c, wcopy);
  allcap_copy():
  11076:         d += mb_char2bytes(c, d);
  suggest_trie_walk():
  12249:             mb_char2bytes(c, p + fl);
  12274:         mb_char2bytes(c, p);
  12338:             mb_char2bytes(c2, p + tl);
  12339:             mb_char2bytes(c, p + fl + tl);
  12366:         mb_char2bytes(c, p);
  12367:         mb_char2bytes(c2, p + tl);
  12409:             mb_char2bytes(c, p + fl);
  12437:         mb_char2bytes(c, p);
  12470:             mb_char2bytes(c, p);
  12498:         mb_char2bytes(c, p + n);
  set_map_str():
  13530:         mb_char2bytes(c, b);
  13532:         mb_char2bytes(headc, b + cl + 1);
  similar_chars():
  13570:     buf[mb_char2bytes(c1, buf)] = 0;
  13587:     buf[mb_char2bytes(c2, buf)] = 0;
  spell_soundfold_sofo():
  14037:         ri += mb_char2bytes(c, res + ri);
  spell_soundfold_wsal():
  14645:     l += mb_char2bytes(wres[n], res + l);
vimvars (54 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:290
eval.c (54 uses)
  eval_init():
  775:     p = &vimvars[i];
  prepare_vimvar():
  1309:     *save_tv = vimvars[idx].vv_tv;
  1310:     if (vimvars[idx].vv_type == VAR_UNKNOWN)
  1311:     hash_add(&vimvarht, vimvars[idx].vv_di.di_key);
  restore_vimvar():
  1325:     vimvars[idx].vv_tv = *save_tv;
  1326:     if (vimvars[idx].vv_type == VAR_UNKNOWN)
  1328:     hi = hash_find(&vimvarht, vimvars[idx].vv_di.di_key);
  eval_spell_expr():
  1353:     vimvars[VV_VAL].vv_type = VAR_STRING;
  1354:     vimvars[VV_VAL].vv_str = badword;
  get_user_var_name():
  3745:     return cat_prefix_varname('v', (char_u *)vimvars[vidx++].vv_name);
  filter_map():
  9342:         vimvars[VV_KEY].vv_type = VAR_STRING;
  9355:             vimvars[VV_KEY].vv_str = vim_strsave(di->di_key);
  9361:             clear_tv(&vimvars[VV_KEY].vv_tv);
  filter_map_one():
  9402:     copy_tv(tv, &vimvars[VV_VAL].vv_tv);
  9432:     clear_tv(&vimvars[VV_VAL].vv_tv);
  f_foldtext():
  9607:     if ((linenr_T)vimvars[VV_FOLDSTART].vv_nr > 0
  9608:         && (linenr_T)vimvars[VV_FOLDEND].vv_nr
  9610:         && vimvars[VV_FOLDDASHES].vv_str != NULL)
  9613:     lnum = (linenr_T)vimvars[VV_FOLDSTART].vv_nr;
  9614:     while (lnum < (linenr_T)vimvars[VV_FOLDEND].vv_nr)
  9628:                 && lnum + 1 < (linenr_T)vimvars[VV_FOLDEND].vv_nr)
  9637:             + STRLEN(vimvars[VV_FOLDDASHES].vv_str)    /* for %s */
  9642:         sprintf((char *)r, txt, vimvars[VV_FOLDDASHES].vv_str,
  9643:             (long)((linenr_T)vimvars[VV_FOLDEND].vv_nr
  9644:                 - (linenr_T)vimvars[VV_FOLDSTART].vv_nr + 1));
  f_getchar():
  9969:     vimvars[VV_MOUSE_WIN].vv_nr = 0;
  9970:     vimvars[VV_MOUSE_LNUM].vv_nr = 0;
  9971:     vimvars[VV_MOUSE_COL].vv_nr = 0;
  10042:         vimvars[VV_MOUSE_WIN].vv_nr = n;
  10043:         vimvars[VV_MOUSE_LNUM].vv_nr = lnum;
  10044:         vimvars[VV_MOUSE_COL].vv_nr = col + 1;
  f_getreg():
  10491:     strregname = vimvars[VV_REG].vv_str;
  f_getregtype():
  10526:     strregname = vimvars[VV_REG].vv_str;
  set_vim_var_nr():
  17318:     vimvars[idx].vv_nr = val;
  get_vim_var_nr():
  17328:     return vimvars[idx].vv_nr;
  get_vim_var_str():
  17339:     return get_tv_string(&vimvars[idx].vv_tv);
  set_vcount():
  17351:     vimvars[VV_PREVCOUNT].vv_nr = vimvars[VV_COUNT].vv_nr;
  17351:     vimvars[VV_PREVCOUNT].vv_nr = vimvars[VV_COUNT].vv_nr;
  17352:     vimvars[VV_COUNT].vv_nr = count;
  17353:     vimvars[VV_COUNT1].vv_nr = count1;
  set_vim_var_string():
  17367:     vimvars[VV_VERSION].vv_nr = VIM_VERSION_100;
  17369:     vim_free(vimvars[idx].vv_str);
  17371:     vimvars[idx].vv_str = NULL;
  17373:     vimvars[idx].vv_str = vim_strsave(val);
  17375:     vimvars[idx].vv_str = vim_strnsave(val, len);
  set_reg_var():
  17392:     if (vimvars[VV_REG].vv_str == NULL || vimvars[VV_REG].vv_str[0] != c)
  17392:     if (vimvars[VV_REG].vv_str == NULL || vimvars[VV_REG].vv_str[0] != c)
  v_exception():
  17407:     return vimvars[VV_EXCEPTION].vv_str;
  17409:     vimvars[VV_EXCEPTION].vv_str = oldval;
  v_throwpoint():
  17424:     return vimvars[VV_THROWPOINT].vv_str;
  17426:     vimvars[VV_THROWPOINT].vv_str = oldval;
  set_cmdarg():
  17446:     oldval = vimvars[VV_CMDARG].vv_str;
  17450:     vimvars[VV_CMDARG].vv_str = oldarg;
  17498:     vimvars[VV_CMDARG].vv_str = newval;
compl_pattern (51 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:118
edit.c (51 uses)
  ins_compl_free():
  3111:     vim_free(compl_pattern);
  3112:     compl_pattern = NULL;
  ins_compl_clear():
  3144:     vim_free(compl_pattern);
  3145:     compl_pattern = NULL;
  ins_compl_get_exp():
  3961:         find_pattern_in_path(compl_pattern, compl_direction,
  3962:                  (int)STRLEN(compl_pattern), FALSE, FALSE,
  3981:                 compl_pattern,
  3990:         p_ic = ignorecase(compl_pattern);
  3994:         if (find_tags(compl_pattern, &num_matches, &matches,
  4005:         if (expand_wildcards(1, &compl_pattern, &num_matches, &matches,
  4010:         tilde_replace(compl_pattern, num_matches, matches);
  4022:         if (expand_cmdline(&compl_xp, compl_pattern,
  4023:             (int)STRLEN(compl_pattern),
  4031:         expand_by_function(type, compl_pattern);
  4038:                  first_match_pos.col, compl_pattern, &matches);
  4072:                           compl_direction, compl_pattern);
  4076:                  compl_pattern, 1L, SEARCH_KEEP + SEARCH_NFMSG,
  ins_complete():
  4736:             compl_pattern = str_foldcase(line + compl_col,
  4739:             compl_pattern = vim_strnsave(line + compl_col,
  4741:         if (compl_pattern == NULL)
  4750:         compl_pattern = alloc(quote_meta(NULL, line + compl_col,
  4752:         if (compl_pattern == NULL)
  4764:         STRCPY((char *)compl_pattern, prefix);
  4765:         (void)quote_meta(compl_pattern + STRLEN(prefix),
  4777:         compl_pattern = vim_strsave((char_u *)"\\<\\k\\k");
  4778:         if (compl_pattern == NULL)
  4816:             compl_pattern = alloc(7);
  4817:             if (compl_pattern == NULL)
  4819:             STRCPY((char *)compl_pattern, "\\<");
  4820:             (void)quote_meta(compl_pattern + 2, line + compl_col, 1);
  4821:             STRCAT((char *)compl_pattern, "\\k");
  4825:             compl_pattern = alloc(quote_meta(NULL, line + compl_col,
  4827:             if (compl_pattern == NULL)
  4829:             STRCPY((char *)compl_pattern, "\\<");
  4830:             (void)quote_meta(compl_pattern + 2, line + compl_col,
  4842:         compl_pattern = str_foldcase(line + compl_col, compl_length,
  4845:         compl_pattern = vim_strnsave(line + compl_col, compl_length);
  4846:         if (compl_pattern == NULL)
  4855:         compl_pattern = addstar(line + compl_col, compl_length,
  4857:         if (compl_pattern == NULL)
  4862:         compl_pattern = vim_strnsave(line, curs_col);
  4863:         if (compl_pattern == NULL)
  4865:         set_cmd_context(&compl_xp, compl_pattern,
  4866:                      (int)STRLEN(compl_pattern), curs_col);
  4873:         compl_col = (int)(compl_xp.xp_pattern - compl_pattern);
  4915:         compl_pattern = vim_strnsave(line + compl_col, compl_length);
  4916:         if (compl_pattern == NULL)
  4939:         compl_pattern = vim_strnsave(line + compl_col, compl_length);
  4940:         if (compl_pattern == NULL)
  4988:         vim_free(compl_pattern);
  4989:         compl_pattern = NULL;
empty_option (51 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:1057
option.c (27 uses)
  set_helplang_default():
  3829:         p_hlg = empty_option;
  do_set():
  4403:                 newval = empty_option;
  free_string_option():
  5186:     if (p != empty_option)
  clear_string_option():
  5194:     if (*pp != empty_option)
  5196:     *pp = empty_option;
  check_string_option():
  5204:     *pp = empty_option;
  set_string_option_direct():
  5340:         *varp = empty_option;
  did_set_string_option():
  6000:         T_CCO = empty_option;
  6673:         *(char_u **)p = empty_option;
  set_bool_option():
  7353:         T_XS = empty_option;
  free_termoptions():
  8821:         *(char_u **)(p->var) = empty_option;
  8822:         p->def_val[VI_DEFAULT] = empty_option;
  buf_copy_options():
  9409:         buf->b_p_bh = empty_option;
  9410:         buf->b_p_bt = empty_option;
  9468:         buf->b_p_ft = empty_option;
  9482:         buf->b_p_syn = empty_option;
  9517:         buf->b_p_gp = empty_option;
  9518:         buf->b_p_mp = empty_option;
  9519:         buf->b_p_efm = empty_option;
  9521:         buf->b_p_ep = empty_option;
  9522:         buf->b_p_kp = empty_option;
  9523:         buf->b_p_path = empty_option;
  9524:         buf->b_p_tags = empty_option;
  9526:         buf->b_p_def = empty_option;
  9527:         buf->b_p_inc = empty_option;
  9533:         buf->b_p_dict = empty_option;
  9534:         buf->b_p_tsr = empty_option;
quickfix.c (2 uses)
  qf_jump():
  1627:         p_swb = empty_option;    /* don't split again */
  1868:     if (p_swb == empty_option)
tag.c (1 use)
  jumpto_tag():
  3079:         nofile_fname = empty_option;
term.c (21 uses)
  parse_builtin_tcap():
  1512:                  || term_strings[p->bt_entry] == empty_option)
  set_termname():
  1687:                 || term_str(string_names[i].dest) == empty_option)
  1694:         if ((T_MS == NULL || T_MS == empty_option)
  1697:         if ((T_XS == NULL || T_XS == empty_option)
  1700:         if ((T_DB == NULL || T_DB == empty_option)
  1703:         if ((T_DA == NULL || T_DA == empty_option)
  1706:         if ((T_UT == NULL || T_UT == empty_option)
  1738:             || term_str(KS_CCO) == empty_option)
  1868:     T_CCS = empty_option;
  ttest():
  2831:         T_ME = T_MR = T_MD = T_MB = empty_option;
  2833:         T_SO = T_SE = empty_option;
  2835:         T_US = T_UE = empty_option;
  2837:         T_CZH = T_CZR = empty_option;
  2841:         T_VI = empty_option;
  2874:         T_CSB = empty_option;
  2875:         T_CSF = empty_option;
  2881:         T_CAB = empty_option;
  2882:         T_CAF = empty_option;
  2887:         T_CCO = empty_option;
  clear_termcodes():
  3545:     BC = (char *)empty_option;
  3546:     UP = (char *)empty_option;
p_verbose (51 uses in 16 translation units) defined in translation unit main.c, declared in ./option.h:836
eval.c (8 uses)
  eval_spell_expr():
  1355:     if (p_verbose == 0)
  1366:     if (p_verbose == 0)
  f_inputrestore():
  11800:     else if (p_verbose > 1)
  list_func_head():
  19673:     if (p_verbose > 0)
  call_user_func():
  20362:     if (p_verbose >= 12)
  20368:         if (p_verbose >= 14)
  20453:     if (p_verbose >= 12)
  20496:     if (p_verbose >= 12 && sourcing_name != NULL)
ex_cmds.c (3 uses)
  read_viminfo():
  1695:     if (p_verbose > 0)
  write_viminfo():
  1959:     if (p_verbose > 0)
  do_ecmd():
  3753:     if (shortmess(SHM_OVERALL) && !exiting && p_verbose == 0)
ex_cmds2.c (6 uses)
  do_in_runtimepath():
  2617:     if (p_verbose > 1)
  2644:             if (p_verbose > 2)
  2670:     if (p_verbose > 0 && !did_one)
  do_source():
  2936:     if (p_verbose > 0)
  2954:     if (p_verbose > 1)
  3144:     if (p_verbose > 1)
ex_docmd.c (6 uses)
  do_cmdline():
  1079:     if (p_verbose >= 15 && sourcing_name != NULL)
  do_one_cmd():
  1904:                 verbose_save = p_verbose;
  1906:                 p_verbose = atoi((char *)ea.cmd);
  1908:                 p_verbose = 1;
  2679:     p_verbose = verbose_save;
  uc_list():
  5314:         if (p_verbose > 0)
ex_eval.c (6 uses)
  throw_exception():
  520:     if (p_verbose >= 13 || debug_break_level > 0)
  discard_exception():
  573:     if (p_verbose >= 13 || debug_break_level > 0)
  catch_exception():
  643:     if (p_verbose >= 13 || debug_break_level > 0)
  report_make_pending():
  809:     if (p_verbose >= 14 || debug_break_level > 0)
  report_resume_pending():
  828:     if (p_verbose >= 14 || debug_break_level > 0)
  report_discard_pending():
  847:     if (p_verbose >= 14 || debug_break_level > 0)
fileio.c (6 uses)
  filemess():
  175:     if (shortmess(SHM_OVERALL) && !exiting && p_verbose == 0)
  readfile():
  376:     if ((shortmess(SHM_OVER) || curbuf->b_help) && p_verbose == 0)
  show_autocmd():
  7302:         if (p_verbose > 0)
  aubuflocal_remove():
  7425:         if (p_verbose >= 6)
  auto_next_pat():
  8932:             if (p_verbose >= 8)
  getnextac():
  9002:     if (p_verbose >= 9)
getchar.c (1 use)
  showmap():
  3878:     if (p_verbose > 0)
main.c (2 uses)
  getout():
  1296:         || (gui.in_use && msg_didany && p_verbose > 0)
  command_line_scan():
  1936:         p_verbose = get_number_arg((char_u *)argv[0], &argv_idx, 10);
message.c (1 use)
  msg_puts_printf():
  2357:     if (!(silent_mode && p_verbose == 0))
misc2.c (1 use)
  call_shell():
  2968:     if (p_verbose > 3)
option.c (1 use)
  do_set():
  4199:             if (p_verbose > 0)
search.c (1 use)
  find_pattern_in_path():
  4776:              if (p_verbose >= 5)
spell.c (6 uses)
  spell_load_file():
  2628:     else if (p_verbose > 2)
  2636:     if (p_verbose > 2)
  spell_read_dic():
  6563:         if (p_verbose > 0)
  wordtree_compress():
  7666:     if (spin->si_verbose || p_verbose > 2)
  spell_message():
  9253:     if (spin->si_verbose || p_verbose > 2)
  spell_suggest():
  10178:         if (p_verbose > 0)
syntax.c (1 use)
  highlight_list_one():
  8209:     if (p_verbose > 0)
tag.c (1 use)
  find_tags():
  1543:         if (p_verbose >= 5)
ui.c (1 use)
  ui_write():
  37:     if (!(silent_mode && p_verbose == 0))
printer_opts (51 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1210
hardcopy.c (51 uses)
  parse_printoptions():
  162:     return parse_list_options(p_popt, printer_opts, OPT_PRINT_NUM_OPTIONS);
  prt_header_height():
  405:     if (printer_opts[OPT_PRINT_HEADERHEIGHT].present)
  406:     return printer_opts[OPT_PRINT_HEADERHEIGHT].number;
  prt_use_number():
  416:     return (printer_opts[OPT_PRINT_NUMBER].present
  417:         && TOLOWER_ASC(printer_opts[OPT_PRINT_NUMBER].string[0]) == 'y');
  417:         && TOLOWER_ASC(printer_opts[OPT_PRINT_NUMBER].string[0]) == 'y');
  417:         && TOLOWER_ASC(printer_opts[OPT_PRINT_NUMBER].string[0]) == 'y');
  417:         && TOLOWER_ASC(printer_opts[OPT_PRINT_NUMBER].string[0]) == 'y');
  prt_get_unit():
  432:     if (printer_opts[idx].present)
  434:         if (STRNICMP(printer_opts[idx].string, units[i], 2) == 0)
  ex_hardcopy():
  622:     else if (printer_opts[OPT_PRINT_SYNTAX].present
  623:         && TOLOWER_ASC(printer_opts[OPT_PRINT_SYNTAX].string[0]) != 'a')
  623:         && TOLOWER_ASC(printer_opts[OPT_PRINT_SYNTAX].string[0]) != 'a')
  623:         && TOLOWER_ASC(printer_opts[OPT_PRINT_SYNTAX].string[0]) != 'a')
  623:         && TOLOWER_ASC(printer_opts[OPT_PRINT_SYNTAX].string[0]) != 'a')
  625:            (TOLOWER_ASC(printer_opts[OPT_PRINT_SYNTAX].string[0]) == 'y');
  625:            (TOLOWER_ASC(printer_opts[OPT_PRINT_SYNTAX].string[0]) == 'y');
  625:            (TOLOWER_ASC(printer_opts[OPT_PRINT_SYNTAX].string[0]) == 'y');
  625:            (TOLOWER_ASC(printer_opts[OPT_PRINT_SYNTAX].string[0]) == 'y');
  677:     jobsplit = (printer_opts[OPT_PRINT_JOBSPLIT].present
  678:        && TOLOWER_ASC(printer_opts[OPT_PRINT_JOBSPLIT].string[0]) == 'y');
  678:        && TOLOWER_ASC(printer_opts[OPT_PRINT_JOBSPLIT].string[0]) == 'y');
  678:        && TOLOWER_ASC(printer_opts[OPT_PRINT_JOBSPLIT].string[0]) == 'y');
  678:        && TOLOWER_ASC(printer_opts[OPT_PRINT_JOBSPLIT].string[0]) == 'y');
  hardcopy_line():
  919:         && printer_opts[OPT_PRINT_FORMFEED].present
  920:         && TOLOWER_ASC(printer_opts[OPT_PRINT_FORMFEED].string[0])
  920:         && TOLOWER_ASC(printer_opts[OPT_PRINT_FORMFEED].string[0])
  920:         && TOLOWER_ASC(printer_opts[OPT_PRINT_FORMFEED].string[0])
  920:         && TOLOWER_ASC(printer_opts[OPT_PRINT_FORMFEED].string[0])
  947:         || (printer_opts[OPT_PRINT_WRAP].present
  948:             && TOLOWER_ASC(printer_opts[OPT_PRINT_WRAP].string[0])
  948:             && TOLOWER_ASC(printer_opts[OPT_PRINT_WRAP].string[0])
  948:             && TOLOWER_ASC(printer_opts[OPT_PRINT_WRAP].string[0])
  948:             && TOLOWER_ASC(printer_opts[OPT_PRINT_WRAP].string[0])
  to_device_units():
  2279:     nr = printer_opts[idx].number;
  mch_print_init():
  2633:     prt_portrait = (!printer_opts[OPT_PRINT_PORTRAIT].present
  2634:        || TOLOWER_ASC(printer_opts[OPT_PRINT_PORTRAIT].string[0]) == 'y');
  2634:        || TOLOWER_ASC(printer_opts[OPT_PRINT_PORTRAIT].string[0]) == 'y');
  2634:        || TOLOWER_ASC(printer_opts[OPT_PRINT_PORTRAIT].string[0]) == 'y');
  2634:        || TOLOWER_ASC(printer_opts[OPT_PRINT_PORTRAIT].string[0]) == 'y');
  2635:     if (printer_opts[OPT_PRINT_PAPER].present)
  2637:     paper_name = (char *)printer_opts[OPT_PRINT_PAPER].string;
  2638:     paper_strlen = printer_opts[OPT_PRINT_PAPER].strlen;
  2712:     prt_collate = (!printer_opts[OPT_PRINT_COLLATE].present
  2713:         || TOLOWER_ASC(printer_opts[OPT_PRINT_COLLATE].string[0]) == 'y');
  2713:         || TOLOWER_ASC(printer_opts[OPT_PRINT_COLLATE].string[0]) == 'y');
  2713:         || TOLOWER_ASC(printer_opts[OPT_PRINT_COLLATE].string[0]) == 'y');
  2713:         || TOLOWER_ASC(printer_opts[OPT_PRINT_COLLATE].string[0]) == 'y');
  2736:     if (printer_opts[OPT_PRINT_DUPLEX].present)
  2738:     if (STRNICMP(printer_opts[OPT_PRINT_DUPLEX].string, "off", 3) == 0)
  2743:     else if (STRNICMP(printer_opts[OPT_PRINT_DUPLEX].string, "short", 5)
RedrawingDisabled (51 uses in 12 translation units) defined in translation unit main.c, declared in ./globals.h:938
buffer.c (3 uses)
  buflist_getfile():
  1895:     ++RedrawingDisabled;
  1899:     --RedrawingDisabled;
  1913:     --RedrawingDisabled;
edit.c (5 uses)
  ins_complete():
  5163:     n = RedrawingDisabled;
  5164:     RedrawingDisabled = 0;
  5167:     RedrawingDisabled = n;
  ins_esc():
  7864:     --RedrawingDisabled;
  7897:         ++RedrawingDisabled;
eval.c (5 uses)
  f_complete_check():
  8407:     int        saved = RedrawingDisabled;
  8409:     RedrawingDisabled = 0;
  8412:     RedrawingDisabled = saved;
  call_user_func():
  20347:     ++RedrawingDisabled;
  20426:     --RedrawingDisabled;
ex_cmds.c (5 uses)
  do_ecmd():
  3572:     ++RedrawingDisabled;
  3774:     --RedrawingDisabled;
  do_sub():
  4665:                 temp = RedrawingDisabled;
  4666:                 RedrawingDisabled = 0;
  4697:                 RedrawingDisabled = temp;
ex_cmds2.c (2 uses)
  do_debug():
  128:     ++RedrawingDisabled;    /* don't redisplay the window */
  278:     --RedrawingDisabled;
ex_docmd.c (13 uses)
  do_exmode():
  619:     ++RedrawingDisabled;        /* don't redisplay the window */
  691:     --RedrawingDisabled;
  do_cmdline():
  1074:         ++RedrawingDisabled;
  1471:     --RedrawingDisabled;
  do_exedit():
  7440:         int    rd = RedrawingDisabled;
  7455:         RedrawingDisabled = 0;
  7466:         RedrawingDisabled = rd;
  ex_redraw():
  8525:     int        r = RedrawingDisabled;
  8528:     RedrawingDisabled = 0;
  8540:     RedrawingDisabled = r;
  ex_redrawstatus():
  8559:     int        r = RedrawingDisabled;
  8562:     RedrawingDisabled = 0;
  8573:     RedrawingDisabled = r;
ex_getln.c (6 uses)
  getcmdline():
  451:         int old_RedrawingDisabled = RedrawingDisabled;
  454:             RedrawingDisabled = 0;
  486:             RedrawingDisabled = old_RedrawingDisabled;
  ex_window():
  6093:     i = RedrawingDisabled;
  6094:     RedrawingDisabled = 0;
  6102:     RedrawingDisabled = i;
fileio.c (2 uses)
  apply_autocmds_group():
  8703:     ++RedrawingDisabled;
  8795:     --RedrawingDisabled;
main.c (2 uses)
  main():
  426:     ++RedrawingDisabled;
  877:     RedrawingDisabled = 0;
screen.c (3 uses)
  screenalloc():
  7359:     ++RedrawingDisabled;
  7595:     --RedrawingDisabled;
  redrawing():
  9310:     return (!RedrawingDisabled
tag.c (3 uses)
  jumpto_tag():
  3083:     ++RedrawingDisabled;
  3313:     --RedrawingDisabled;
  3317:     --RedrawingDisabled;
window.c (2 uses)
  close_windows():
  1996:     ++RedrawingDisabled;
  2028:     --RedrawingDisabled;
allow_keys (50 uses in 11 translation units) defined in translation unit main.c, declared in ./globals.h:881
digraph.c (4 uses)
  get_digraph():
  2085:     ++allow_keys;
  2088:     --allow_keys;
  2107:     ++allow_keys;
  2110:     --allow_keys;
edit.c (8 uses)
  edit():
  795:         ++allow_keys;
  798:         --allow_keys;
  get_literal():
  5269:     ++allow_keys;
  5372:     --allow_keys;
  ins_digraph():
  9455:     ++allow_keys;
  9458:     --allow_keys;
  9487:     ++allow_keys;
  9490:     --allow_keys;
eval.c (2 uses)
  f_getchar():
  9947:     ++allow_keys;
  9967:     --allow_keys;
ex_cmds.c (2 uses)
  do_sub():
  4703:                 ++allow_keys;    /* allow special keys */
  4705:                 --allow_keys;
ex_getln.c (4 uses)
  getcmdline():
  650:         ++allow_keys;
  653:         --allow_keys;
  getexmodeline():
  2163:     ++allow_keys;
  2334:     --allow_keys;
getchar.c (8 uses)
  vgetc():
  1550:         ++allow_keys;
  1556:         --allow_keys;
  1566:         int        save_allow_keys = allow_keys;
  1569:         allow_keys = 0;        /* make sure BS is not found */
  1573:         allow_keys = save_allow_keys;
  vpeekc_nomap():
  1803:     ++allow_keys;
  1806:     --allow_keys;
  vgetorpeek():
  2247:             if ((no_mapping == 0 || allow_keys != 0)
message.c (2 uses)
  wait_return():
  930:         ++allow_keys;
  935:         --allow_keys;
misc1.c (4 uses)
  ask_yesno():
  3028:     ++allow_keys;        /* no mapping here, but recognize keys */
  3049:     --allow_keys;
  get_number():
  3192:     ++allow_keys;        /* no mapping here, but recognize keys */
  3233:     --allow_keys;
normal.c (12 uses)
  normal_cmd():
  707:         ++allow_keys;        /* no mapping for nchar, but keys */
  718:         --allow_keys;
  734:         ++allow_keys;        /* no mapping for nchar, but keys */
  740:         --allow_keys;
  902:     ++allow_keys;        /* no mapping for nchar, but allow key codes */
  957:         --allow_keys;
  977:         ++allow_keys;
  1092:     --allow_keys;
  nv_zet():
  4577:         ++allow_keys;   /* no mapping for nchar, but allow key codes */
  4583:         --allow_keys;
  4935:         ++allow_keys;   /* no mapping for nchar, but allow key codes */
  4941:         --allow_keys;
term.c (2 uses)
  check_for_codes_from_term():
  5502:     ++allow_keys;
  5523:     --allow_keys;
window.c (2 uses)
  do_window():
  585:         ++allow_keys;   /* no mapping for xchar, but allow key codes */
  592:         --allow_keys;
reg_match (50 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3133
regexp.c (50 uses)
  vim_regexec():
  3282:     reg_match = rmp;
  vim_regexec_nl():
  3306:     reg_match = rmp;
  vim_regexec_multi():
  3340:     reg_match = NULL;
  vim_regexec_both():
  3396:     if (REG_MULTI)
  3405:     prog = reg_match->regprog;
  3406:     reg_startp = reg_match->startp;
  3407:     reg_endp = reg_match->endp;
  regtry():
  3661:     if (REG_MULTI)
  3697:         if (REG_MULTI)
  regmatch():
  3838:     if (!reg_line_lbr && WITH_NL(op) && REG_MULTI
  3874:                       || (REG_MULTI && reg_firstlnum > 1))
  3995:         if (!REG_MULTI || !re_num_cmp((long_u)(reglnum + reg_firstlnum),
  4423:             save_se(&rp->rs_un.sesave, &reg_startpos[no],
  4456:             save_se(&rp->rs_un.sesave, &reg_startzpos[no],
  4483:             save_se(&rp->rs_un.sesave, &reg_endpos[no], &reg_endp[no]);
  4508:             save_se(&rp->rs_un.sesave, &reg_endzpos[no],
  4533:         if (!REG_MULTI)        /* Single-line regexp */
  4909:         if (REG_MULTI)
  4920:         if ((c != NUL || !REG_MULTI || reglnum > reg_maxline
  4969:         restore_se(&rp->rs_un.sesave, &reg_startpos[rp->rs_no],
  4978:         restore_se(&rp->rs_un.sesave, &reg_startzpos[rp->rs_no],
  4987:         restore_se(&rp->rs_un.sesave, &reg_endpos[rp->rs_no],
  4996:         restore_se(&rp->rs_un.sesave, &reg_endzpos[rp->rs_no],
  5145:         if (REG_MULTI)
  regrepeat():
  5402:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5427:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5457:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5487:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5513:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5544:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5709:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5740:                 && REG_MULTI) || (*scan == '\n' && reg_line_lbr)))
  prog_magic_wrong():
  5795:     if (UCHARAT(REG_MULTI
  5795:     if (UCHARAT(REG_MULTI
  cleanup_subexpr():
  5815:     if (REG_MULTI)
  cleanup_zsubexpr():
  5836:     if (REG_MULTI)
  save_subexpr():
  5869:         if (REG_MULTI)
  restore_subexpr():
  5898:         if (REG_MULTI)
  reg_save():
  5931:     if (REG_MULTI)
  reg_restore():
  5949:     if (REG_MULTI)
  reg_save_equal():
  5972:     if (REG_MULTI)
  vim_regsub():
  6846:     reg_match = rmp;
  vim_regsub_multi():
  6863:     reg_match = NULL;
  vim_regsub_both():
  6939:         submatch_match = reg_match;
  6962:         reg_match = submatch_match;
  7075:         if (REG_MULTI)
  7092:         s = reg_match->startp[no];
  7093:         if (reg_match->endp[no] == NULL)
  7096:             len = (int)(reg_match->endp[no] - s);
  7104:             if (REG_MULTI)
regline (49 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3007
regexp.c (49 uses)
  vim_regexec_both():
  3485:     regline = line;
  3495:         c = (*mb_ptr2char)(regline + col);
  3498:         c = regline[col];
  3528:             s = vim_strbyte(regline + col, prog->regstart);
  3530:             s = cstrchr(regline + col, prog->regstart);
  3536:         col = (int)(s - regline);
  3554:         regline = reg_getline((linenr_T)0);
  3556:         if (regline[col] == NUL)
  3560:         col += (*mb_ptr2len)(regline + col);
  regtry():
  3649:     reginput = regline + col;
  3671:         reg_endpos[0].col = (int)(reginput - regline);
  3680:         reg_startp[0] = regline + col;
  reg_prev_class():
  3729:     if (reginput > regline)
  3731:                      - (*mb_head_off)(regline, reginput - 1));
  regmatch():
  3860:         if (reginput != regline)
  3873:         if (reglnum != 0 || reginput != regline
  3888:             || ((colnr_T)(reginput - regline) != reg_win->w_cursor.col))
  3904:                 ? (pos->col == (colnr_T)(reginput - regline)
  3906:                     : (pos->col < (colnr_T)(reginput - regline)
  3959:         col = (colnr_T)(reginput - regline);
  3984:                       regline, (colnr_T)(reginput - regline));
  3984:                       regline, (colnr_T)(reginput - regline));
  4001:         if (!re_num_cmp((long_u)(reginput - regline) + 1, scan))
  4008:                 regline, (colnr_T)(reginput - regline)) + 1, scan))
  4008:                 regline, (colnr_T)(reginput - regline)) + 1, scan))
  4031:             || (reginput > regline && vim_iswordc(reginput[-1])))
  4037:         if (reginput == regline)    /* Can't match at start of line */
  4563:                 if (cstrncmp(regline + reg_startpos[no].col,
  4577:                 if (regline != reg_tofree)
  4579:                     len = (int)STRLEN(regline);
  4593:                     STRCPY(reg_tofree, regline);
  4595:                                + (reginput - regline);
  4596:                     regline = reg_tofree;
  4911:         if (behind_pos.rs_u.pos.col != (colnr_T)(reginput - regline)
  5159:                          (colnr_T)STRLEN(regline);
  5167:             if (rp->rs_un.regsave.rs_u.ptr == regline)
  5240:                 if (reginput == regline)
  5244:                 regline = reg_getline(reglnum);
  5247:                 if (regline == NULL)
  5249:                 reginput = regline + STRLEN(regline);
  5249:                 reginput = regline + STRLEN(regline);
  5253:                 mb_ptr_back(regline, reginput);
  reg_nextline():
  5918:     regline = reg_getline(++reglnum);
  5919:     reginput = regline;
  reg_save():
  5933:     save->rs_u.pos.col = (colnr_T)(reginput - regline);
  reg_restore():
  5956:         regline = reg_getline(reglnum);
  5958:     reginput = regline + save->rs_u.pos.col;
  reg_save_equal():
  5974:                   && reginput == regline + save->rs_u.pos.col;
  save_se_multi():
  5992:     posp->col = (colnr_T)(reginput - regline);
need_mouse_correct (48 uses in 16 translation units) defined in translation unit main.c, declared in ./globals.h:402
buffer.c (3 uses)
  do_buffer():
  1029:     need_mouse_correct = TRUE;
  do_arg_all():
  4300:     need_mouse_correct = TRUE;
  ex_buffer_all():
  4550:     need_mouse_correct = TRUE;
diff.c (2 uses)
  ex_diffpatch():
  992:     need_mouse_correct = TRUE;
  ex_diffsplit():
  1053:     need_mouse_correct = TRUE;
edit.c (1 use)
  edit():
  620:     if (need_mouse_correct)
ex_cmds.c (2 uses)
  prepare_tagpreview():
  5394:     need_mouse_correct = TRUE;
  ex_help():
  5541:     need_mouse_correct = TRUE;
ex_cmds2.c (1 use)
  do_argfile():
  2095:     need_mouse_correct = TRUE;
ex_docmd.c (9 uses)
  ex_quit():
  6232:     need_mouse_correct = TRUE;
  ex_win_close():
  6360:     need_mouse_correct = TRUE;
  tabpage_close():
  6465:     need_mouse_correct = TRUE;
  ex_only():
  6510:     need_mouse_correct = TRUE;
  ex_hide():
  6543:         need_mouse_correct = TRUE;
  ex_exit():
  6638:     need_mouse_correct = TRUE;
  ex_splitview():
  7061:     need_mouse_correct = TRUE;
  ex_resize():
  7304:     need_mouse_correct = TRUE;
  do_exedit():
  7542:             need_mouse_correct = TRUE;
fileio.c (2 uses)
  buf_check_timestamp():
  6369:     int        save_mouse_correct = need_mouse_correct;
  6603:     need_mouse_correct = save_mouse_correct;
gui.c (2 uses)
  gui_mouse_moved():
  4573:         && !need_mouse_correct    /* not moving the pointer */
  gui_mouse_correct():
  4635:     need_mouse_correct = FALSE;
if_python.c (2 uses)
  WindowSetattr():
  2079:     need_mouse_correct = TRUE;
  2102:     need_mouse_correct = TRUE;
main.c (2 uses)
  main():
  921:     need_mouse_correct = TRUE;
  main_loop():
  1150:     if (need_mouse_correct)
normal.c (1 use)
  nv_zet():
  4594:         need_mouse_correct = TRUE;
option.c (2 uses)
  set_bool_option():
  7095:     need_mouse_correct = TRUE;
  set_num_option():
  7604:     need_mouse_correct = TRUE;
quickfix.c (1 use)
  ex_copen():
  2285:     need_mouse_correct = TRUE;
search.c (1 use)
  find_pattern_in_path():
  5013:             need_mouse_correct = TRUE;
tag.c (1 use)
  jumpto_tag():
  3086:     need_mouse_correct = TRUE;
window.c (16 uses)
  do_window():
  146:         need_mouse_correct = TRUE;
  160:         need_mouse_correct = TRUE;
  424:         need_mouse_correct = TRUE;
  432:         need_mouse_correct = TRUE;
  440:         need_mouse_correct = TRUE;
  449:         need_mouse_correct = TRUE;
  458:         need_mouse_correct = TRUE;
  466:         need_mouse_correct = TRUE;
  474:         need_mouse_correct = TRUE;
  518:             need_mouse_correct = TRUE;
  win_exchange():
  1343:     need_mouse_correct = TRUE;
  win_rotate():
  1448:     need_mouse_correct = TRUE;
  win_totop():
  1558:     need_mouse_correct = TRUE;
  win_new_tabpage():
  3363:     need_mouse_correct = TRUE;
  enter_tabpage():
  3588:     need_mouse_correct = TRUE;
  win_goto():
  3784:     need_mouse_correct = TRUE;
ScreenLinesUC (48 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:55
gui.c (3 uses)
  gui_screenchar():
  1866:     if (enc_utf8 && ScreenLinesUC[off] != 0)
  gui_redraw_block():
  2493:         if (enc_utf8 && ScreenLinesUC[off] != 0)
  2530:             if (enc_utf8 && ScreenLinesUC[off + idx] != 0)
mbyte.c (1 use)
  utfc_char2bytes():
  1604:     len = utf_char2bytes(ScreenLinesUC[off], buf);
screen.c (42 uses)
  fold_line():
  2129:         ScreenLinesUC[off] = 0;
  2273:             ScreenLinesUC[idx] = 0;
  2318:             ScreenLinesUC[idx] = u8c;
  2375:         ScreenLinesUC[off + col] = fill_fold;
  2379:         ScreenLinesUC[off + col] = 0;
  copy_text_attr():
  2480:     vim_memset(ScreenLinesUC + off, 0, sizeof(u8char_T) * (size_t)len);
  win_line():
  4395:             ScreenLinesUC[off] = 0;
  4483:             ScreenLinesUC[off] = 0;
  4590:             ScreenLinesUC[off] = mb_c;
  4601:             ScreenLinesUC[off] = 0;
  char_needs_redraw():
  4886:             && (ScreenLinesUC[off_from] != ScreenLinesUC[off_to]
  4886:             && (ScreenLinesUC[off_from] != ScreenLinesUC[off_to]
  4887:             || (ScreenLinesUC[off_from] != 0
  screen_line():
  5109:         ScreenLinesUC[off_to] = ScreenLinesUC[off_from];
  5109:         ScreenLinesUC[off_to] = ScreenLinesUC[off_from];
  5110:         if (ScreenLinesUC[off_from] != 0)
  5189:         ScreenLinesUC[off_to] = 0;
  5208:                   && (!enc_utf8 || ScreenLinesUC[off_to] == 0)
  5280:             || (enc_utf8 && (int)ScreenLinesUC[off_to]
  5292:             ScreenLinesUC[off_to] = c;
  5296:             ScreenLinesUC[off_to] = 0;
  screen_getbytes():
  6175:     if (enc_utf8 && ScreenLinesUC[off] != 0)
  screen_puts_len():
  6337:             && (ScreenLinesUC[off] != (u8char_T)u8c
  6415:             ScreenLinesUC[off] = 0;
  6420:             ScreenLinesUC[off] = u8c;
  screen_char():
  6932:     if (enc_utf8 && ScreenLinesUC[off] != 0)
  6941:     if (utf_char2cells(ScreenLinesUC[off]) > 1)
  screen_fill():
  7148:               && ScreenAttrs[off] == 0 && ScreenLinesUC[off] == 0)
  7168:             ScreenLinesUC[off] = 0;
  7183:             || (enc_utf8 && (int)ScreenLinesUC[off]
  7223:             ScreenLinesUC[off] = c;
  7227:             ScreenLinesUC[off] = 0;
  screenalloc():
  7336:         && enc_utf8 == (ScreenLinesUC != NULL)
  7511:             if (!(enc_utf8 && ScreenLinesUC == NULL)
  7518:             if (enc_utf8 && ScreenLinesUC != NULL
  7521:             mch_memmove(new_ScreenLinesUC + new_LineOffset[new_row],
  7549:     ScreenLinesUC = new_ScreenLinesUC;
  free_screenlines():
  7609:     vim_free(ScreenLinesUC);
  lineclear():
  7704:     (void)vim_memset(ScreenLinesUC + off, 0,
  linecopy():
  7742:     mch_memmove(ScreenLinesUC + off_to, ScreenLinesUC + off_from,
  7742:     mch_memmove(ScreenLinesUC + off_to, ScreenLinesUC + off_from,
  windgoto():
  7941:             if (ScreenLinesUC[LineOffset[row] + i] != 0)
ui.c (2 uses)
  clip_copy_modeless_selection():
  1253:             if (ScreenLinesUC[off + i] == 0)
  1257:             bufp += utf_char2bytes(ScreenLinesUC[off + i], bufp);
spelltab (48 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:745
spell.c (48 uses)
  spell_check():
  1069:         if (!SPELL_ISUPPER(c))
  captype():
  4510:     firstcap = allcap = SPELL_ISUPPER(c);
  4520:         if (!SPELL_ISUPPER(c))
  badword_captype():
  4564:         if (SPELL_ISUPPER(c))
  spell_read_aff():
  5658:                 c_up = SPELL_TOUPPER(c);
  write_vim_spell():
  7986:         l += mb_char2bytes(spelltab.st_fold[i], folchars + l);
  7989:         folchars[l++] = spelltab.st_fold[i];
  7997:         if (spelltab.st_isw[i])
  7999:         if (spelltab.st_isu[i])
  init_spell_chartab():
  9559:     clear_spell_chartab(&spelltab);
  9566:         spelltab.st_isw[i] = TRUE;
  9572:         spelltab.st_isu[i] = utf_isupper(i);
  9573:         spelltab.st_isw[i] = spelltab.st_isu[i] || utf_islower(i);
  9573:         spelltab.st_isw[i] = spelltab.st_isu[i] || utf_islower(i);
  9574:         spelltab.st_fold[i] = utf_fold(i);
  9575:         spelltab.st_upper[i] = utf_toupper(i);
  9586:         spelltab.st_isw[i] = TRUE;
  9587:         spelltab.st_isu[i] = TRUE;
  9588:         spelltab.st_fold[i] = MB_TOLOWER(i);
  9592:         spelltab.st_isw[i] = TRUE;
  9593:         spelltab.st_upper[i] = MB_TOUPPER(i);
  set_spell_finish():
  9730:         if (spelltab.st_isw[i] != new_st->st_isw[i]
  9731:             || spelltab.st_isu[i] != new_st->st_isu[i]
  9732:             || spelltab.st_fold[i] != new_st->st_fold[i]
  9733:             || spelltab.st_upper[i] != new_st->st_upper[i])
  9743:     spelltab = *new_st;
  spell_iswordp():
  9794:     return spelltab.st_isw[c];
  9798:     return spelltab.st_isw[buf->b_spell_ismw[*p] ? p[1] : p[0]];
  spell_iswordp_nmw():
  9817:     return spelltab.st_isw[c];
  9820:     return spelltab.st_isw[*p];
  spell_iswordp_w():
  9862:     return spelltab.st_isw[*s];
  spell_casefold():
  9943:         outi += mb_char2bytes(SPELL_TOFOLD(c), buf + outi);
  9952:         buf[i] = spelltab.st_fold[str[i]];
  spell_find_suggest():
  10526:     if (!SPELL_ISUPPER(c) && attr == HLF_COUNT)
  onecap_copy():
  11019:     c = SPELL_TOUPPER(c);
  11021:     c = SPELL_TOFOLD(c);
  allcap_copy():
  11069:         c = SPELL_TOUPPER(c);
  add_sound_suggest():
  13333:         if (SPELL_ISUPPER(gc))
  13336:             if (!SPELL_ISUPPER(bc)
  13337:                       && SPELL_TOFOLD(bc) != SPELL_TOFOLD(gc))
  13337:                       && SPELL_TOFOLD(bc) != SPELL_TOFOLD(gc))
  spell_edit_score():
  14954:         if (SPELL_TOFOLD(bc) == SPELL_TOFOLD(gc))
  14954:         if (SPELL_TOFOLD(bc) == SPELL_TOFOLD(gc))
  spell_edit_score_limit():
  15152:         if (SPELL_TOFOLD(bc) == SPELL_TOFOLD(gc))
  15152:         if (SPELL_TOFOLD(bc) == SPELL_TOFOLD(gc))
  spell_edit_score_limit_w():
  15342:         if (SPELL_TOFOLD(bc) == SPELL_TOFOLD(gc))
  15342:         if (SPELL_TOFOLD(bc) == SPELL_TOFOLD(gc))
  dump_prefixes():
  15775:     if (SPELL_TOUPPER(c) != c)
compl_length (46 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:122
edit.c (41 uses)
  ins_compl_add_infercase():
  2160:         actual_compl_length = compl_length;
  set_completion():
  2556:     compl_length = curwin->w_cursor.col - startcol;
  2558:     compl_orig_text = vim_strnsave(ml_get_curline() + compl_col, compl_length);
  ins_compl_bs():
  3188:     if (curwin->w_cursor.col <= compl_col + compl_length
  ins_compl_get_exp():
  4120:             tmp_ptr += compl_length;
  4132:                                && len == compl_length)
  4173:             if (len == compl_length)
  ins_compl_delete():
  4250:     i = compl_col + (compl_cont_status & CONT_ADDING ? compl_length : 0);
  ins_complete():
  4684:                         line + compl_length
  4689:         compl_length = curwin->w_cursor.col - (int)compl_col;
  4693:         if (compl_length > (IOSIZE - MIN_SPACE))
  4696:             compl_length = (IOSIZE - MIN_SPACE);
  4697:             compl_col = curwin->w_cursor.col - compl_length;
  4700:         if (compl_length < 1)
  4733:             compl_length = curs_col - startcol;
  4737:                                compl_length, NULL, 0);
  4740:                                 compl_length);
  4751:                                compl_length) + 3);
  4766:                           line + compl_col, compl_length);
  4781:         compl_length = 0;
  4809:         compl_length = (int)curs_col - startcol;
  4810:         if (compl_length == 1)
  4826:                                compl_length) + 3);
  4831:                                 compl_length);
  4838:         compl_length = (int)curs_col - (int)compl_col;
  4839:         if (compl_length < 0)    /* cursor in indent: empty pattern */
  4840:         compl_length = 0;
  4842:         compl_pattern = str_foldcase(line + compl_col, compl_length,
  4845:         compl_pattern = vim_strnsave(line + compl_col, compl_length);
  4854:         compl_length = (int)curs_col - startcol;
  4855:         compl_pattern = addstar(line + compl_col, compl_length,
  4874:         compl_length = curs_col - compl_col;
  4914:         compl_length = curs_col - compl_col;
  4915:         compl_pattern = vim_strnsave(line + compl_col, compl_length);
  4929:         compl_length = 0;
  4935:         compl_length = (int)curs_col - compl_col;
  4939:         compl_pattern = vim_strnsave(line + compl_col, compl_length);
  4967:         compl_length = 0;
  4984:     compl_orig_text = vim_strnsave(line + compl_col, compl_length);
  5034:             && compl_length > 1
  5041:     if (       compl_length > 1
search.c (5 uses)
  search_for_exact_line():
  1458:         if ((p_ic ? MB_STRNICMP(p, pat, compl_length)
  1459:                    : STRNCMP(p, pat, compl_length)) == 0)
  find_pattern_in_path():
  4897:             p += compl_length;
  4905:         if ((compl_cont_status & CONT_ADDING) && i == compl_length)
  4953:             if (i == compl_length)
dumdi (46 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:42
eval.c (46 uses)
  list_hashtable_vars():
  1954:         di = HI2DI(hi);
  1954:         di = HI2DI(hi);
  do_unlet():
  3421:         di = HI2DI(hi);
  3421:         di = HI2DI(hi);
  item_lock():
  3562:                 item_lock(&HI2DI(hi)->di_tv, deep - 1, lock);
  3562:                 item_lock(&HI2DI(hi)->di_tv, deep - 1, lock);
  del_menutrans_vars():
  3605:         if (STRNCMP(HI2DI(hi)->di_key, "menutrans_", 10) == 0)
  3605:         if (STRNCMP(HI2DI(hi)->di_key, "menutrans_", 10) == 0)
  dict_lookup():
  5529:     return HI2DI(hi);
  5529:     return HI2DI(hi);
  dict_equal():
  5559:         if (!tv_equal(&HI2DI(hi)->di_tv, &item2->di_tv, ic))
  5559:         if (!tv_equal(&HI2DI(hi)->di_tv, &item2->di_tv, ic))
  set_ref_in_ht():
  6227:         set_ref_in_item(&HI2DI(hi)->di_tv, copyID);
  6227:         set_ref_in_item(&HI2DI(hi)->di_tv, copyID);
  dict_free():
  6349:         di = HI2DI(hi);
  6349:         di = HI2DI(hi);
  dict_copy():
  6472:             if (item_copy(&HI2DI(hi)->di_tv, &di->di_tv, deep,
  6472:             if (item_copy(&HI2DI(hi)->di_tv, &di->di_tv, deep,
  6480:             copy_tv(&HI2DI(hi)->di_tv, &di->di_tv);
  6480:             copy_tv(&HI2DI(hi)->di_tv, &di->di_tv);
  dict_find():
  6596:     return HI2DI(hi);
  6596:     return HI2DI(hi);
  dict2string():
  6681:         s = tv2string(&HI2DI(hi)->di_tv, &tofree, numbuf, copyID);
  6681:         s = tv2string(&HI2DI(hi)->di_tv, &tofree, numbuf, copyID);
  f_count():
  8557:             if (tv_equal(&HI2DI(hi)->di_tv, &argvars[1], ic))
  8557:             if (tv_equal(&HI2DI(hi)->di_tv, &argvars[1], ic))
  f_extend():
  9097:             di1 = dictitem_copy(HI2DI(hi2));
  9097:             di1 = dictitem_copy(HI2DI(hi2));
  9109:             copy_tv(&HI2DI(hi2)->di_tv, &di1->di_tv);
  9109:             copy_tv(&HI2DI(hi2)->di_tv, &di1->di_tv);
  filter_map():
  9352:             di = HI2DI(hi);
  9352:             di = HI2DI(hi);
  dict_list():
  11993:         di = HI2DI(hi);
  11993:         di = HI2DI(hi);
  max_min():
  12746:             i = get_tv_number_chk(&HI2DI(hi)->di_tv, &error);
  12746:             i = get_tv_number_chk(&HI2DI(hi)->di_tv, &error);
  find_var_in_ht():
  17978:     return HI2DI(hi);
  17978:     return HI2DI(hi);
  vars_clear_ext():
  18140:         v = HI2DI(hi);
  18140:         v = HI2DI(hi);
  delete_var():
  18160:     dictitem_T    *di = HI2DI(hi);
  18160:     dictitem_T    *di = HI2DI(hi);
  write_viminfo_varlist():
  20969:         this_var = HI2DI(hi);
  20969:         this_var = HI2DI(hi);
  store_session_globals():
  21005:         this_var = HI2DI(hi);
  21005:         this_var = HI2DI(hi);
msg_scrolled (46 uses in 13 translation units) defined in translation unit main.c, declared in ./globals.h:151
buffer.c (1 use)
  fileinfo():
  3007:     if (restart_edit != 0 || (msg_scrolled && !need_wait_return))
edit.c (2 uses)
  edit_unputchar():
  1597:     if (pc_status != PC_STATUS_UNSET && pc_row >= msg_scrolled)
  1606:         screen_puts(pc_bytes, pc_row - msg_scrolled, pc_col, pc_attr);
ex_cmds.c (1 use)
  global_exe():
  5340:     if (msg_col == 0 && msg_scrolled == 0)
ex_docmd.c (1 use)
  ex_sleep():
  7945:     n = W_WINROW(curwin) + curwin->w_wrow - msg_scrolled;
ex_getln.c (7 uses)
  getcmdline():
  253:     i = msg_scrolled;
  254:     msg_scrolled = 0;        /* avoid wait_return message */
  256:     msg_scrolled += i;
  1346:         if (msg_scrolled == 0)
  1354:         if (msg_scrolled == 0)
  1882:         if (msg_scrolled == 0)
  compute_cmdrow():
  3145:     if (exmode_active || msg_scrolled != 0)
fileio.c (5 uses)
  readfile():
  704:     int    n = msg_scrolled;
  732:     if (msg_scrolled == n)
  2418:             || (msg_scrolled != 0 && !need_wait_return))
  2495:     int n = msg_scrolled;
  2517:     if (msg_scrolled == n)
gui.c (4 uses)
  gui_init():
  463:     msg_scrolled = 0;
  gui_drag_scrollbar():
  3783:         if (msg_scrolled == 0)
  3822:         if (msg_scrolled == 0)
  gui_mouse_moved():
  4572:         && msg_scrolled == 0    /* no scrolled message */
memline.c (1 use)
  findswapname():
  4186:             msg_scrolled = 0;
message.c (9 uses)
  msg_strtrunc():
  207:     if (msg_scrolled != 0)
  emsg():
  647:     if (msg_scrolled != 0)
  wait_return():
  972:         else if (msg_scrolled > Rows - 2
  1066:         && (redraw == TRUE || (msg_scrolled != 0 && redraw != -1)))
  set_keep_msg_from_hist():
  1118:     if (keep_msg == NULL && last_msg_hist != NULL && msg_scrolled == 0
  msg_puts_attr_len():
  1806:     if (msg_scrolled != 0 && !msg_scrolled_ign)
  inc_msg_scrolled():
  2130:     ++msg_scrolled;
  do_more_prompt():
  2606:                 ++msg_scrolled;
  give_warning():
  3213:     if (msg_attr(message, keep_msg_attr) && msg_scrolled == 0)
quickfix.c (1 use)
  qf_jump():
  1835:         else if (!msg_scrolled && shortmess(SHM_OVERALL))
screen.c (11 uses)
  update_screen():
  364:     if (msg_scrolled)
  367:     if (msg_scrolled > Rows - 5)        /* clearing is faster */
  372:         if (screen_ins_lines(0, 0, msg_scrolled, (int)Rows, NULL) == FAIL)
  376:         if (W_WINROW(wp) < msg_scrolled)
  378:             if (W_WINROW(wp) + wp->w_height > msg_scrolled
  383:             wp->w_upd_rows = msg_scrolled - W_WINROW(wp);
  391:                 <= msg_scrolled)
  402:     msg_scrolled = 0;
  win_redr_status_matches():
  5653:         if (msg_scrolled > 0)
  5660:             ++msg_scrolled;
  screenclear2():
  7688:     msg_scrolled = 0;        /* can't scroll back */
tag.c (2 uses)
  do_tag():
  1007:         if (ic && !msg_scrolled && msg_silent == 0)
  jumpto_tag():
  3244:             if (!msg_scrolled && msg_silent == 0)
window.c (1 use)
  win_setheight_win():
  4661:     if (full_screen && msg_scrolled == 0 && row < cmdline_row)
namedfm (46 uses in 1 translation unit) defined static in translation unit mark.c, declared in mark.c:28
mark.c (46 uses)
  setmark_pos():
  115:     namedfm[i].fmark.mark = *pos;
  116:     namedfm[i].fmark.fnum = fnum;
  117:     vim_free(namedfm[i].fname);
  118:     namedfm[i].fname = NULL;
  getmark_fnum():
  418:     posp = &(namedfm[c].fmark.mark);
  420:     if (namedfm[c].fmark.fnum == 0)
  421:         fname2fnum(&namedfm[c]);
  424:         *fnum = namedfm[c].fmark.fnum;
  425:     else if (namedfm[c].fmark.fnum != curbuf->b_fnum)
  430:         if (namedfm[c].fmark.mark.lnum != 0
  431:                        && changefile && namedfm[c].fmark.fnum)
  433:         if (buflist_getfile(namedfm[c].fmark.fnum,
  437:             curwin->w_cursor = namedfm[c].fmark.mark;
  fmarks_check_names():
  563:     fmarks_check_one(&namedfm[i], name, buf);
  clrallmarks():
  635:         namedfm[i].fmark.mark.lnum = 0;
  636:         namedfm[i].fname = NULL;
  do_marks():
  718:     if (namedfm[i].fmark.fnum != 0)
  719:         name = fm_getname(&namedfm[i].fmark, 15);
  721:         name = namedfm[i].fname;
  725:             arg, &namedfm[i].fmark.mark, name,
  726:             namedfm[i].fmark.fnum == curbuf->b_fnum);
  727:         if (namedfm[i].fmark.fnum != 0)
  ex_delmarks():
  857:             namedfm[n].fmark.mark.lnum = 0;
  858:             vim_free(namedfm[n].fname);
  859:             namedfm[n].fname = NULL;
  mark_adjust():
  1033:         if (namedfm[i].fmark.fnum == fnum)
  1034:         one_adjust_nodel(&(namedfm[i].fmark.mark.lnum));
  1038:         if (namedfm[i].fmark.fnum == fnum)
  1039:         one_adjust_nodel(&(namedfm[i].fmark.mark.lnum));
  mark_col_adjust():
  1208:     if (namedfm[i].fmark.fnum == fnum)
  1209:         col_adjust(&(namedfm[i].fmark.mark));
  1213:     if (namedfm[i].fmark.fnum == fnum)
  1214:         col_adjust(&(namedfm[i].fmark.mark));
  read_viminfo_filemark():
  1399:         fm = &namedfm[*str - '0' + NMARKS];
  1401:         fm = &namedfm[*str - 'A'];
  write_viminfo_filemarks():
  1445:         if (namedfm[i].fmark.mark.lnum == curwin->w_cursor.lnum
  1446:             && (namedfm[i].fname == NULL
  1447:                 ? namedfm[i].fmark.fnum == curbuf->b_fnum
  1449:                     && STRCMP(name, namedfm[i].fname) == 0)))
  1453:     vim_free(namedfm[i].fname);
  1455:         namedfm[i] = namedfm[i - 1];
  1455:         namedfm[i] = namedfm[i - 1];
  1456:     namedfm[NMARKS].fmark.mark = curwin->w_cursor;
  1457:     namedfm[NMARKS].fmark.fnum = curbuf->b_fnum;
  1458:     namedfm[NMARKS].fname = NULL;
  1463:     write_one_filemark(fp, &namedfm[i], '\'',
need_wait_return (45 uses in 15 translation units) defined in translation unit main.c, declared in ./globals.h:185
buffer.c (1 use)
  fileinfo():
  3007:     if (restart_edit != 0 || (msg_scrolled && !need_wait_return))
eval.c (2 uses)
  get_user_input():
  11676:     need_wait_return = FALSE;
  ex_function():
  19106:     need_wait_return = FALSE;
ex_cmds.c (4 uses)
  do_shell():
  1456:         need_wait_return = FALSE;
  ex_append():
  3871:     need_wait_return = FALSE;
  3967:     need_wait_return = FALSE;    /* don't use wait_return() now */
  do_sub():
  4714:             need_wait_return = FALSE; /* no hit-return prompt */
ex_cmds2.c (2 uses)
  do_debug():
  156:     need_wait_return = FALSE;
  281:     need_wait_return = FALSE;
ex_docmd.c (6 uses)
  do_exmode():
  641:     need_wait_return = FALSE;
  694:     need_wait_return = FALSE;
  do_cmdline():
  1007:             need_wait_return = FALSE;
  1485:         need_wait_return = FALSE;
  1488:     else if (need_wait_return)
  do_exedit():
  7457:         need_wait_return = FALSE;
ex_getln.c (3 uses)
  getcmdline():
  1900:     need_wait_return = FALSE;
  redrawcmdline():
  3075:     need_wait_return = FALSE;
  ex_window():
  6025:     need_wait_return = FALSE;
fileio.c (2 uses)
  readfile():
  2418:             || (msg_scrolled != 0 && !need_wait_return))
  check_timestamps():
  6284:     if (need_wait_return && didit == 2)
gui.c (3 uses)
  gui_init():
  438:             need_wait_return = TRUE;
  443:     if (need_wait_return || msg_didany)
  465:     need_wait_return = FALSE;
main.c (3 uses)
  main():
  754:     if (need_wait_return || msg_didany)
  main_loop():
  1005:         if (need_wait_return)    /* if wait_return still needed ... */
  source_startup_scripts():
  2833:         need_wait_return = TRUE;
memline.c (2 uses)
  ml_open_file():
  586:     need_wait_return = TRUE;    /* call wait_return later */
  findswapname():
  4226:                 need_wait_return = TRUE;
message.c (10 uses)
  msg_strtrunc():
  203:     if ((!msg_scroll && !need_wait_return && shortmess(SHM_TRUNCALL)
  emsg():
  648:     need_wait_return = TRUE;    /* needed in case emsg() is called after
  msg_end_prompt():
  846:     need_wait_return = FALSE;
  wait_return():
  886:     need_wait_return = TRUE;
  1048:     need_wait_return = FALSE;
  msg_puts_attr_len():
  1807:     need_wait_return = TRUE;
  msg_puts_display():
  1924:         need_wait_return = TRUE; /* may need wait_return in main() */
  do_more_prompt():
  2525:         need_wait_return = FALSE;    /* don't wait in main() */
  msg_end():
  2958:     if (!exiting && need_wait_return && !(State & CMDLINE))
  msg_check():
  2976:     need_wait_return = TRUE;
misc1.c (2 uses)
  changed():
  2508:         if (need_wait_return && emsg_silent == 0)
  prompt_for_number():
  3269:     need_wait_return = FALSE;
misc2.c (1 use)
  get_crypt_key():
  3706:     need_wait_return = FALSE;
screen.c (3 uses)
  update_screen():
  403:     need_wait_return = FALSE;
  showmode():
  8841:     nwr_save = need_wait_return;
  8992:     need_wait_return = nwr_save;    /* never ask for hit-return for this */
ui.c (1 use)
  ui_focus_change():
  3053:     need_wait_return = FALSE;
debug_break_level (44 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:224
ex_cmds2.c (16 uses)
  do_debug():
  240:             debug_break_level = -1;
  243:             debug_break_level = ex_nesting_level;
  246:             debug_break_level = 9999;
  249:             debug_break_level = ex_nesting_level - 1;
  253:             debug_break_level = -1;
  257:             debug_break_level = 9999;
  266:         n = debug_break_level;
  267:         debug_break_level = -1;
  270:         debug_break_level = n;
  ex_debug():
  303:     int        debug_break_level_save = debug_break_level;
  305:     debug_break_level = 9999;
  307:     debug_break_level = debug_break_level_save;
  dbg_check_breakpoint():
  362:     else if (ex_nesting_level <= debug_break_level)
  do_source():
  2855:     int                save_debug_break_level = debug_break_level;
  3164:         && debug_break_level == ex_nesting_level)
  3165:     ++debug_break_level;
ex_docmd.c (1 use)
  do_cmdline():
  1448:         && ex_nesting_level + 1 <= debug_break_level)
ex_eval.c (26 uses)
  throw_exception():
  520:     if (p_verbose >= 13 || debug_break_level > 0)
  524:     if (debug_break_level > 0)
  529:     if (debug_break_level > 0 || *p_vfile == NUL)
  535:     if (debug_break_level > 0 || *p_vfile == NUL)
  538:     if (debug_break_level > 0)
  discard_exception():
  573:     if (p_verbose >= 13 || debug_break_level > 0)
  578:     if (debug_break_level > 0)
  583:     if (debug_break_level > 0 || *p_vfile == NUL)
  590:     if (debug_break_level > 0 || *p_vfile == NUL)
  593:     if (debug_break_level > 0)
  catch_exception():
  643:     if (p_verbose >= 13 || debug_break_level > 0)
  647:     if (debug_break_level > 0)
  652:     if (debug_break_level > 0 || *p_vfile == NUL)
  658:     if (debug_break_level > 0 || *p_vfile == NUL)
  661:     if (debug_break_level > 0)
  report_pending():
  783:     if (debug_break_level > 0)
  791:     if (debug_break_level > 0)
  report_make_pending():
  809:     if (p_verbose >= 14 || debug_break_level > 0)
  811:     if (debug_break_level <= 0)
  814:     if (debug_break_level <= 0)
  report_resume_pending():
  828:     if (p_verbose >= 14 || debug_break_level > 0)
  830:     if (debug_break_level <= 0)
  833:     if (debug_break_level <= 0)
  report_discard_pending():
  847:     if (p_verbose >= 14 || debug_break_level > 0)
  849:     if (debug_break_level <= 0)
  852:     if (debug_break_level <= 0)
main.c (1 use)
  main():
  552:     debug_break_level = params.use_debug_break_level;
global_alist (44 uses in 6 translation units) defined in translation unit main.c, declared in ./globals.h:569
buffer.c (2 uses)
  do_arg_all():
  4439:     if (alist == &global_alist && i == global_alist.al_ga.ga_len - 1)
  4439:     if (alist == &global_alist && i == global_alist.al_ga.ga_len - 1)
ex_cmds2.c (15 uses)
  check_arg_idx():
  1919:         && ALIST(win) == &global_alist
  1921:         && GARGCOUNT > 0
  1922:         && win->w_arg_idx < GARGCOUNT
  1923:         && (win->w_buffer->b_fnum == GARGLIST[GARGCOUNT - 1].ae_fnum
  1923:         && (win->w_buffer->b_fnum == GARGLIST[GARGCOUNT - 1].ae_fnum
  1925:             && (fullpathcmp(alist_name(&GARGLIST[GARGCOUNT - 1]),
  1925:             && (fullpathcmp(alist_name(&GARGLIST[GARGCOUNT - 1]),
  1936:         && win->w_alist == &global_alist
  ex_args():
  1957:         ALIST(curwin) = &global_alist;
  2006:     if (ga_grow(gap, GARGCOUNT) == OK)
  2007:         for (i = 0; i < GARGCOUNT; ++i)
  2008:         if (GARGLIST[i].ae_fname != NULL)
  2011:                         vim_strsave(GARGLIST[i].ae_fname);
  2013:                               GARGLIST[i].ae_fnum;
  do_argfile():
  2130:         && curwin->w_alist == &global_alist
ex_docmd.c (6 uses)
  alist_unlink():
  6822:     if (al != &global_alist && --al->al_refcount <= 0)
  alist_new():
  6839:     curwin->w_alist = &global_alist;
  6840:     ++global_alist.al_refcount;
  alist_set():
  6935:     if (al == &global_alist)
  makeopens():
  9850:     if (ses_arglist(fd, "args", &global_alist.al_ga,
  put_view():
  10228:     if (wp->w_alist == &global_alist)
gui_mac.c (6 uses)
  HandleODocAE():
  1092:         if (ga_grow(&global_alist.al_ga, 1) == FAIL
  1096:         alist_add(&global_alist, p, 2);
  1098:         fnum = GARGLIST[GARGCOUNT - 1].ae_fnum;
  1098:         fnum = GARGLIST[GARGCOUNT - 1].ae_fnum;
  1112:     if (GARGCOUNT > 0 && vim_chdirfile(alist_name(&GARGLIST[0])) == OK)
  1112:     if (GARGCOUNT > 0 && vim_chdirfile(alist_name(&GARGLIST[0])) == OK)
main.c (14 uses)
  main():
  314:     alist_init(&global_alist);    /* Init the argument list to empty. */
  377:     if (GARGCOUNT > 0)
  393:     fname = alist_name(&GARGLIST[0]);
  509:     if (GARGCOUNT > 1 && !silent_mode)
  510:     printf(_("%d files to edit\n"), GARGCOUNT);
  command_line_scan():
  2186:         if (ga_grow(&global_alist.al_ga, 1) == FAIL
  2190:         if (parmp->diff_mode && mch_isdir(p) && GARGCOUNT > 0
  2191:                       && !mch_isdir(alist_name(&GARGLIST[0])))
  2195:         r = concat_fnames(p, gettail(alist_name(&GARGLIST[0])), TRUE);
  2227:         alist_add(&global_alist, p,
  create_windows():
  2374:     parmp->window_count = GARGCOUNT;
  edit_buffers():
  2573:         (void)do_ecmd(0, arg_idx < GARGCOUNT
  2574:               ? alist_name(&GARGLIST[arg_idx]) : NULL,
  2587:         if (arg_idx == GARGCOUNT - 1)
window.c (1 use)
  win_alloc_firstwin():
  3207:     curwin->w_alist = &global_alist;
Insstart (44 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:718
edit.c (43 uses)
  edit():
  380:     Insstart = where_paste_started;
  384:     Insstart = curwin->w_cursor;
  386:         Insstart.col = 0;
  1374:             && curwin->w_cursor.lnum == Insstart.lnum)
  change_indent():
  1836:     if (curwin->w_cursor.lnum == Insstart.lnum && Insstart.col != 0)
  1836:     if (curwin->w_cursor.lnum == Insstart.lnum && Insstart.col != 0)
  1838:         if ((int)Insstart.col <= insstart_less)
  1839:         Insstart.col = 0;
  1841:         Insstart.col -= insstart_less;
  insertchar():
  5482:             && (curwin->w_cursor.lnum != Insstart.lnum
  internal_format():
  5789:             || curwin->w_cursor.lnum != Insstart.lnum
  5790:             || curwin->w_cursor.col >= Insstart.col)
  stop_arrow():
  6268:     Insstart = curwin->w_cursor;    /* new insertion starts here */
  stop_insert():
  6421:     curbuf->b_op_start = Insstart;
  echeck_abbr():
  6898:         curwin->w_cursor.lnum == Insstart.lnum ? Insstart.col : 0);
  6898:         curwin->w_cursor.lnum == Insstart.lnum ? Insstart.col : 0);
  ins_ctrl_g():
  7772:           Insstart = curwin->w_cursor;
  ins_bs_one():
  8240:     if (curwin->w_cursor.lnum != Insstart.lnum
  8241:         || curwin->w_cursor.col >= Insstart.col)
  ins_bs():
  8283:                 || (curwin->w_cursor.lnum == Insstart.lnum
  8284:                 && curwin->w_cursor.col <= Insstart.col)))
  8335:     lnum = Insstart.lnum;
  8336:     if (curwin->w_cursor.lnum == Insstart.lnum
  8345:         --Insstart.lnum;
  8346:         Insstart.col = MAXCOL;
  8504:         if (curwin->w_cursor.lnum == Insstart.lnum
  8505:                    && curwin->w_cursor.col < Insstart.col)
  8506:             Insstart.col = curwin->w_cursor.col;
  8594:          && (curwin->w_cursor.lnum != Insstart.lnum
  8595:              || curwin->w_cursor.col != Insstart.col)));
  8613:     if (curwin->w_cursor.lnum == Insstart.lnum
  8614:                        && curwin->w_cursor.col < Insstart.col)
  8615:     Insstart.col = curwin->w_cursor.col;
  ins_up():
  9007:         coladvance(getvcol_nolist(&Insstart));
  ins_down():
  9070:         coladvance(getvcol_nolist(&Insstart));
  ins_tab():
  9137:     if (Insstart_blank_vcol == MAXCOL && curwin->w_cursor.lnum == Insstart.lnum)
  9246:         && fpos.lnum == Insstart.lnum
  9247:         && fpos.col < Insstart.col)
  9249:         ptr += Insstart.col - fpos.col;
  9250:         fpos.col = Insstart.col;
  9271:             if (fpos.lnum == Insstart.lnum && fpos.col < Insstart.col)
  9271:             if (fpos.lnum == Insstart.lnum && fpos.col < Insstart.col)
  9272:             Insstart.col = fpos.col;
misc1.c (1 use)
  open_line():
  1340:     if (curwin->w_cursor.lnum >= Insstart.lnum + vr_lines_changed)
compl_leader (43 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:99
edit.c (43 uses)
  ins_compl_longest_match():
  2413:     if (compl_leader == NULL)
  2416:     compl_leader = vim_strsave(match->cp_str);
  2417:     if (compl_leader != NULL)
  2421:         ins_bytes(compl_leader + curwin->w_cursor.col - compl_col);
  2434:     p = compl_leader;
  2473:         ins_bytes(compl_leader + curwin->w_cursor.col - compl_col);
  ins_compl_show_pum():
  2693:     if (compl_leader != NULL)
  2694:         lead_len = (int)STRLEN(compl_leader);
  2698:             && (compl_leader == NULL
  2699:             || ins_compl_equal(compl, compl_leader, lead_len)))
  2720:             && (compl_leader == NULL
  2721:                 || ins_compl_equal(compl, compl_leader, lead_len)))
  ins_compl_free():
  3113:     vim_free(compl_leader);
  3114:     compl_leader = NULL;
  ins_compl_clear():
  3146:     vim_free(compl_leader);
  3147:     compl_leader = NULL;
  ins_compl_bs():
  3192:     vim_free(compl_leader);
  3193:     compl_leader = vim_strnsave(line + compl_col, (int)(p - line) - compl_col);
  3194:     if (compl_leader != NULL)
  ins_compl_new_leader():
  3212:     ins_bytes(compl_leader + curwin->w_cursor.col - compl_col);
  3216:     ins_compl_set_original_text(compl_leader);
  ins_compl_addleader():
  3293:     vim_free(compl_leader);
  3294:     compl_leader = vim_strnsave(ml_get_curline() + compl_col,
  3296:     if (compl_leader != NULL)
  ins_compl_addfrommatch():
  3358:         if (compl_leader == NULL
  3359:             || ins_compl_equal(cp, compl_leader,
  3360:                            (int)STRLEN(compl_leader)))
  ins_compl_prep():
  3543:         if (compl_curr_match != NULL || compl_leader != NULL || c == Ctrl_E)
  3558:         else if (compl_leader != NULL)
  3559:             ptr = compl_leader;
  3625:         if (compl_leader != NULL)
  3626:             ins_bytes(compl_leader + curwin->w_cursor.col - compl_col);
  ins_compl_next():
  4296:     if (compl_leader != NULL
  4302:                       compl_leader, (int)STRLEN(compl_leader))
  4302:                       compl_leader, (int)STRLEN(compl_leader))
  4311:                       compl_leader, (int)STRLEN(compl_leader))
  4311:                       compl_leader, (int)STRLEN(compl_leader))
  4316:                       compl_leader, (int)STRLEN(compl_leader))
  4316:                       compl_leader, (int)STRLEN(compl_leader))
  4402:         && compl_leader != NULL
  4404:                      compl_leader, (int)STRLEN(compl_leader)))
  4404:                      compl_leader, (int)STRLEN(compl_leader)))
  4428:         ins_bytes(compl_leader + curwin->w_cursor.col - compl_col);
history (41 uses in 1 translation unit) defined static in translation unit ex_getln.c, declared in ex_getln.c:56
ex_getln.c (41 uses)
  getcmdline():
  1496:             if (hiscnt < 0 || history[histype][hiscnt].hisstr == NULL)
  1503:                 || STRNCMP(history[histype][hiscnt].hisstr,
  1518:             p = history[histype][hiscnt].hisstr;
  init_history():
  5052:             temp[i] = history[type][i];
  5060:             temp[i] = history[type][j];
  5068:                 temp[i] = history[type][j];
  5070:                 vim_free(history[type][j].hisstr);
  5078:         vim_free(history[type]);
  5079:         history[type] = temp;
  in_history():
  5104:     if (history[type][i].hisstr == NULL)
  5106:     if (STRCMP(str, history[type][i].hisstr) == 0)
  5119:     str = history[type][i].hisstr;
  5124:         history[type][last_i] = history[type][i];
  5124:         history[type][last_i] = history[type][i];
  5127:     history[type][i].hisstr = str;
  5128:     history[type][i].hisnum = ++hisnum[type];
  add_to_history():
  5190:         hisptr = &history[HIST_SEARCH][hisidx[HIST_SEARCH]];
  5204:     hisptr = &history[histype][hisidx[histype]];
  get_history_idx():
  5233:     return history[histype][hisidx[histype]].hisnum;
  calc_hist_idx():
  5345:     hist = history[histype];
  get_history_entry():
  5381:     return history[histype][idx].hisstr;
  clr_history():
  5399:     hisptr = history[histype];
  del_history_entry():
  5442:         hisptr = &history[histype][i];
  5456:             history[histype][last] = *hisptr;
  5466:     if (history[histype][idx].hisstr == NULL)
  del_history_idx():
  5488:     vim_free(history[histype][i].hisstr);
  5499:     history[histype][i] = history[histype][j];
  5499:     history[histype][i] = history[histype][j];
  5502:     history[histype][i].hisstr = NULL;
  5503:     history[histype][i].hisnum = 0;
  remove_key_from_history():
  5526:     p = history[HIST_CMD][i].hisstr;
  ex_history():
  5654:     hist = history[histype1];
  prepare_viminfo_history():
  5742:         if (history[type][i].hisstr == NULL)
  finish_viminfo_history():
  5818:     if (history[type] == NULL)
  5833:         if (history[type][idx].hisstr != NULL)
  5843:         vim_free(history[type][idx].hisstr);
  5844:         history[type][idx].hisstr = viminfo_history[type][i];
  5852:         history[type][idx++].hisnum = ++hisnum[type];
  write_viminfo_history():
  5891:         p = history[type][i].hisstr;
  ex_window():
  6054:         if (history[histtype][i].hisstr != NULL)
  6055:             ml_append(lnum++, history[histtype][i].hisstr,
p_sel (41 uses in 10 translation units) defined in translation unit main.c, declared in ./option.h:666
charset.c (2 uses)
  getvcol():
  1345:                    && (*p_sel == 'e' || ltoreq(*pos, VIsual)))
  getvcols():
  1455:     if (*p_sel == 'e' && from2 - 1 >= to1)
fold.c (1 use)
  foldAdjustVisual():
  1092:     if (end->col > 0 && *p_sel == 'o')
menu.c (1 use)
  ex_emenu():
  2236:     if (*p_sel == 'e' && gchar_cursor() != NUL)
misc2.c (4 uses)
  coladvance2():
  157:             || (VIsual_active && *p_sel != 'o')
  check_cursor_col():
  516:         || (VIsual_active && *p_sel != 'o')
  adjust_cursor_col():
  565:         && (!VIsual_active || *p_sel == 'o')
  get_shape_idx():
  3497:     if (*p_sel == 'e')
normal.c (14 uses)
  do_pending_operator():
  1608:             if (*p_sel == 'e' && start >= 1
  1717:             if (*p_sel != 'o'
  1819:         && (!oap->is_VIsual || *p_sel == 'o')
  do_mouse():
  3009:             else if (*p_sel == 'e')
  3031:             if (*p_sel == 'e' && *ml_get_cursor() != NUL)
  find_end_of_word():
  3104:     if (*p_sel == 'e' && pos->col > 0)
  3121:         if (*p_sel == 'e')
  clear_showcmd():
  3703:             : VIsual.col - curwin->w_cursor.col) + (*p_sel != 'e'));
  nv_right():
  5720:     PAST_LINE = (VIsual_active && *p_sel != 'o');
  v_swap_corners():
  6872:     if (old_cursor.lnum >= VIsual.lnum && *p_sel == 'e')
  6883:         if (old_cursor.lnum <= VIsual.lnum && *p_sel == 'e')
  adjust_cursor():
  8444:         && (!VIsual_active || *p_sel == 'o')
  adjust_for_sel():
  8488:     if (VIsual_active && cap->oap->inclusive && *p_sel == 'e'
  unadjust_for_sel():
  8511:     if (*p_sel == 'e' && !equalpos(VIsual, curwin->w_cursor))
ops.c (2 uses)
  op_yank():
  2848:         && (!oap->is_VIsual || *p_sel == 'o')
  cursor_pos_info():
  6257:         if (*p_sel == 'e' && max_pos.col > 0)
option.c (3 uses)
  did_set_string_option():
  6178:     else if (varp == &p_sel)
  6180:     if (*p_sel == NUL
  6181:         || check_opt_strings(p_sel, p_sel_values, FALSE) != OK)
regexp.c (2 uses)
  regmatch():
  3966:                      && col >= bot.col + (*p_sel != 'e')))
  3985:             if (cols < start || cols > end - (*p_sel == 'e'))
screen.c (3 uses)
  fold_line():
  2415:                 && (bot->col - (*p_sel == 'e'))
  win_line():
  2812:         if (*p_sel == 'e' && bot->col == 0
  2826:             if (*p_sel == 'e')
search.c (9 uses)
  current_word():
  3170:     if (VIsual_active && *p_sel == 'e' && lt(VIsual, curwin->w_cursor))
  3318:     if (*p_sel == 'e' && inclusive && ltoreq(VIsual, curwin->w_cursor))
  current_sent():
  3436:         if (*p_sel == 'e')
  3497:     if (*p_sel == 'e')
  current_block():
  3643:     if (*p_sel == 'e')
  current_tagblock():
  3778:     if (!VIsual_active || *p_sel == 'e')
  3928:     else if (*p_sel == 'e')
  current_quote():
  4228:     if (*p_sel == 'e' && vis_bef_curs)
  4424:         if (*p_sel != 'e')
p_so (41 uses in 9 translation units) defined in translation unit main.c, declared in ./option.h:659
edit.c (1 use)
  edit():
  656:                          + curwin->w_height - 1 - p_so
ex_cmds.c (3 uses)
  do_ecmd():
  3777:     n = p_so;
  3779:         p_so = 999;            /* force cursor halfway the window */
  3784:     p_so = n;
ex_docmd.c (1 use)
  ex_syncbind():
  7666:         y = wp->w_buffer->b_ml.ml_line_count - p_so;
gui.c (1 use)
  gui_do_scroll():
  4186:     if (p_so != 0)
move.c (27 uses)
  update_topline():
  157:     int        save_so = p_so;
  170:     p_so = mouse_dragging - 1;
  233:                       lnum < curwin->w_topline + p_so; ++lnum)
  244:         n = curwin->w_topline + p_so - curwin->w_cursor.lnum;
  285:                          >= (long)curwin->w_botline - p_so
  313:             if (n >= p_so)
  317:         if (n >= p_so)
  331:                      lnum >= curwin->w_botline - p_so; --lnum)
  343:                                    + 1 + p_so;
  376:     p_so = save_so;
  check_top_offset():
  403:     if (curwin->w_cursor.lnum < curwin->w_topline + p_so
  417:     while (n < p_so)
  429:     if (n < p_so)
  curs_columns():
  1115:             || curwin->w_wrow + p_so >= curwin->w_height)
  1139:     if (curwin->w_skipcol + p_so * width > curwin->w_virtcol)
  1146:     if (p_lines > curwin->w_wrow + p_so)
  1147:         n = curwin->w_wrow + p_so;
  1153:     if (extra == 3 || p_lines < p_so * 2)
  1169:         extra = (curwin->w_skipcol + p_so * width - curwin->w_virtcol
  scrolldown_clamp():
  1516:     if (end_row < curwin->w_height - p_so)
  scrollup_clamp():
  1578:     if (start_row >= p_so)
  scroll_cursor_top():
  1738:     int        off = p_so;
  scroll_cursor_bot():
  2000:                 p_so))
  2043:             p_so) || scrolled < min_scroll)
  cursor_correct():
  2209:     above_wanted = p_so;
  2210:     below_wanted = p_so;
  onepage():
  2350:         ? ((curwin->w_topline >= curbuf->b_ml.ml_line_count - p_so)
normal.c (2 uses)
  do_mouse():
  2736:     if (VIsual_active && is_drag && p_so)
  scroll_redraw():
  4504:     if (p_so)
option.c (2 uses)
  set_num_option():
  8007:     if (p_so < 0 && full_screen)
  8010:     p_so = 0;
search.c (3 uses)
  showmatch():
  2433:         save_so = p_so;
  2449:         p_so = 0;            /* don't use 'scrolloff' here */
  2476:         p_so = save_so;
window.c (1 use)
  win_new_height():
  5440:     if (p_so)
shape_table (41 uses in 2 translation units) defined in translation unit misc2.c, declared in misc2.c:3149
gui.c (10 uses)
  gui_update_cursor():
  942:         id = shape_table[idx].id_lm;
  944:         id = shape_table[idx].id;
  950:     gui_mch_set_blinking(shape_table[idx].blinkwait,
  951:                  shape_table[idx].blinkon,
  952:                  shape_table[idx].blinkoff);
  1041:     if (shape_table[idx].shape == SHAPE_BLOCK
  1070:         if (shape_table[idx].shape == SHAPE_VER)
  1073:         cur_width = (gui.char_width * shape_table[idx].percentage
  1078:         cur_height = (gui.char_height * shape_table[idx].percentage
  1087:         if (shape_table[idx].shape != SHAPE_VER)
misc2.c (31 uses)
  parse_shape_opt():
  3264:                 if (STRNICMP(modep, shape_table[idx].name, len)
  3268:                    || (shape_table[idx].used_for & what) == 0)
  3290:             shape_table[idx].shape = SHAPE_BLOCK;
  3291:             shape_table[idx].blinkwait = 700L;
  3292:             shape_table[idx].blinkon = 400L;
  3293:             shape_table[idx].blinkoff = 250L;
  3357:                     shape_table[idx].shape = SHAPE_VER;
  3359:                     shape_table[idx].shape = SHAPE_HOR;
  3360:                     shape_table[idx].percentage = n;
  3366:                     shape_table[idx].blinkwait = n;
  3368:                     shape_table[idx].blinkon = n;
  3370:                     shape_table[idx].blinkoff = n;
  3376:                 shape_table[idx].shape = SHAPE_BLOCK;
  3398:                 shape_table[idx].id = syn_check_group(p,
  3400:                 shape_table[idx].id_lm = shape_table[idx].id;
  3400:                 shape_table[idx].id_lm = shape_table[idx].id;
  3402:                     shape_table[idx].id = i;
  3429:         shape_table[SHAPE_IDX_VE].shape = shape_table[SHAPE_IDX_V].shape;
  3429:         shape_table[SHAPE_IDX_VE].shape = shape_table[SHAPE_IDX_V].shape;
  3430:         shape_table[SHAPE_IDX_VE].percentage =
  3431:                      shape_table[SHAPE_IDX_V].percentage;
  3432:         shape_table[SHAPE_IDX_VE].blinkwait =
  3433:                       shape_table[SHAPE_IDX_V].blinkwait;
  3434:         shape_table[SHAPE_IDX_VE].blinkon =
  3435:                         shape_table[SHAPE_IDX_V].blinkon;
  3436:         shape_table[SHAPE_IDX_VE].blinkoff =
  3437:                        shape_table[SHAPE_IDX_V].blinkoff;
  3438:         shape_table[SHAPE_IDX_VE].id = shape_table[SHAPE_IDX_V].id;
  3438:         shape_table[SHAPE_IDX_VE].id = shape_table[SHAPE_IDX_V].id;
  3439:         shape_table[SHAPE_IDX_VE].id_lm = shape_table[SHAPE_IDX_V].id_lm;
  3439:         shape_table[SHAPE_IDX_VE].id_lm = shape_table[SHAPE_IDX_V].id_lm;
did_throw (40 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:242
ex_docmd.c (14 uses)
  save_dbg_stuff():
  568:     dsp->did_throw    = did_throw;        did_throw    = FALSE;
  568:     dsp->did_throw    = did_throw;        did_throw    = FALSE;
  restore_dbg_stuff():
  586:     did_throw = dsp->did_throw;
  do_cmdline():
  848:     did_throw = FALSE;
  1165:         if (!did_emsg && !got_int && !did_throw
  1233:             did_throw ? (void *)current_exception : NULL);
  1234:         did_emsg = got_int = did_throw = FALSE;
  1249:     if (trylevel == 0 && !did_emsg && !got_int && !did_throw)
  1268:             || (did_emsg && force_abort) || did_throw
  1295:     if (!got_int && !did_throw
  1345:     if (did_throw)
  1427:     if (did_throw)
  1434:     if (!did_throw)
  do_one_cmd():
  1916:     ea.skip = did_emsg || got_int || did_throw || (cstack->cs_idx >= 0
ex_eval.c (24 uses)
  aborting():
  96:     return (did_emsg && force_abort) || got_int || did_throw;
  cause_errthrow():
  189:     if (((trylevel == 0 && !cause_abort) || emsg_silent) && !did_throw)
  220:     if (did_throw)
  do_intthrow():
  371:     if (!got_int || (trylevel == 0 && !did_throw))
  396:     if (did_throw)
  discard_current_exception():
  616:     did_throw = FALSE;
  ex_if():
  881:     skip = did_emsg || got_int || did_throw || (cstack->cs_idx > 0
  ex_else():
  944:     skip = did_emsg || got_int || did_throw || (cstack->cs_idx > 0
  ex_while():
  1054:     skip = did_emsg || got_int || did_throw || (cstack->cs_idx > 0
  do_throw():
  1379:     did_throw = TRUE;
  ex_try():
  1405:     skip = did_emsg || got_int || did_throw || (cstack->cs_idx > 0
  ex_catch():
  1519:     if (!did_throw || !(cstack->cs_flags[idx] & CSF_TRUE))
  1583:         did_emsg = got_int = did_throw = FALSE;
  ex_finally():
  1701:         if (pending == CSTP_ERROR || did_emsg || got_int || did_throw)
  1712:             pending |= did_throw ? CSTP_THROW : 0;
  1724:         if (did_throw && cstack->cs_exception[cstack->cs_idx]
  ex_endtry():
  1770:     skip = did_emsg || got_int || did_throw ||
  1792:         if (did_throw)
  1805:         if (did_throw && (cstack->cs_flags[idx] & CSF_TRUE)
  1833:         if (did_throw && !(cstack->cs_flags[idx] & CSF_FINALLY))
  enter_cleanup():
  1954:     if (did_emsg || got_int || did_throw || need_rethrow)
  1958:              | (did_throw    ? CSTP_THROW     : 0)
  1968:     if (did_throw || need_rethrow)
  1979:     did_emsg = got_int = did_throw = need_rethrow = FALSE;
quickfix.c (2 uses)
  ex_make():
  2722:     if (did_throw || force_abort)
  ex_vimgrep():
  3018:     if (did_throw || force_abort)
msg_didout (40 uses in 15 translation units) defined in translation unit main.c, declared in ./globals.h:163
eval.c (2 uses)
  get_user_input():
  11636:         msg_didout = FALSE;
  11677:     msg_didout = FALSE;
ex_cmds.c (4 uses)
  do_sub():
  4683:                 msg_didout = FALSE;    /* avoid a scroll-up */
  4709:                 msg_didout = FALSE;    /* don't scroll up */
  global_exe():
  5312:     msg_didout = TRUE;
  5341:     msg_didout = FALSE;
ex_cmds2.c (1 use)
  check_changed_any():
  1567:         msg_didout = FALSE;
ex_docmd.c (6 uses)
  do_cmdline():
  994:         msg_didout = TRUE;
  1069:         msg_didout_before_start = msg_didout;
  1495:         msg_didout |= msg_didout_before_start;
  ex_redraw():
  8544:     msg_didout = FALSE;
  ex_normal():
  8911:     int        save_msg_didout = msg_didout;
  9043:     msg_didout |= save_msg_didout;    /* don't reset msg_didout now */
ex_getln.c (2 uses)
  getexmodeline():
  2132:     if ((msg_col || msg_didout) && promptc != '?')
  2337:     msg_didout = FALSE;
getchar.c (1 use)
  showmap():
  3802:     if (msg_didout || msg_silent != 0)
main.c (3 uses)
  main():
  630:     if (did_emsg || msg_didout)
  739:     if ((did_emsg || msg_didout) && *T_TI != NUL)
  command_line_scan():
  1669:             msg_didout = FALSE;
message.c (10 uses)
  hit_return_msg():
  1082:     if (msg_didout)    /* start on a new line */
  msg_start():
  1143:     else if (msg_didout)            /* start message on next line */
  1154:     msg_didout = FALSE;            /* no output on current line yet */
  screen_puts_mbyte():
  1672:     msg_didout = TRUE;        /* remember that line is not empty */
  msg_puts_display():
  1974:         msg_didout = FALSE;        /* remember that line is empty */
  t_puts():
  2303:     msg_didout = TRUE;        /* remember that line is not empty */
  msg_puts_printf():
  2394:     msg_didout = TRUE;        /* assume that line is not empty */
  msg_screen_putchar():
  2791:     msg_didout = TRUE;        /* remember that line is not empty */
  repeat_message():
  2858:         msg_didout = FALSE;
  give_warning():
  3215:     msg_didout = FALSE;        /* overwrite this message */
misc2.c (1 use)
  get_crypt_key():
  3707:     msg_didout = FALSE;
normal.c (2 uses)
  normal_cmd():
  1121:     msg_didout = FALSE;    /* don't scroll screen up for normal command */
  1203:             && (msg_didout || (msg_didany && msg_scroll))
os_unix.c (1 use)
  exit_scroll():
  2942:     if (newline_on_exit || msg_didout)
quickfix.c (2 uses)
  ex_make():
  2763:     msg_didout = FALSE;
  ex_vimgrep():
  3102:         msg_didout = FALSE;        /* overwrite this message */
screen.c (2 uses)
  screenclear2():
  7690:     msg_didout = FALSE;
  showmode():
  8989:     msg_didout = FALSE;        /* overwrite this message */
spell.c (2 uses)
  spell_read_dic():
  6545:         msg_didout = FALSE;
  tree_add_word():
  7520:         msg_didout = FALSE;
tag.c (1 use)
  do_tag():
  618:             msg_didout = FALSE;    /* overwrite previous message */
hisidx (39 uses in 1 translation unit) defined static in translation unit ex_getln.c, declared in ex_getln.c:57
ex_getln.c (39 uses)
  getcmdline():
  1468:                 hiscnt = hisidx[histype];
  1469:             else if (hiscnt == 0 && hisidx[histype] != hislen - 1)
  1471:             else if (hiscnt != hisidx[histype] + 1)
  1482:             if (hiscnt == hisidx[histype])
  init_history():
  5041:         if (hisidx[type] < 0)        /* there are no entries yet */
  5051:             for (i = 0; i <= hisidx[type]; ++i)
  5054:             for ( ; i <= newlen - (hislen - hisidx[type]); ++i)
  5064:             j = hisidx[type];
  5073:             if (j == hisidx[type])
  5076:             hisidx[type] = newlen - 1;
  in_history():
  5099:     if (hisidx[type] < 0)
  5101:     i = hisidx[type];
  5115:     } while (i != hisidx[type]);
  5120:     while (i != hisidx[type])
  add_to_history():
  5190:         hisptr = &history[HIST_SEARCH][hisidx[HIST_SEARCH]];
  5195:         if (--hisidx[HIST_SEARCH] < 0)
  5196:         hisidx[HIST_SEARCH] = hislen - 1;
  5202:     if (++hisidx[histype] == hislen)
  5203:         hisidx[histype] = 0;
  5204:     hisptr = &history[histype][hisidx[histype]];
  get_history_idx():
  5230:             || hisidx[histype] < 0)
  5233:     return history[histype][hisidx[histype]].hisnum;
  calc_hist_idx():
  5342:             || (i = hisidx[histype]) < 0 || num == 0)
  clr_history():
  5406:     hisidx[histype] = -1;    /* mark history as cleared */
  del_history_entry():
  5435:         && (idx = hisidx[histype]) >= 0
  5467:         hisidx[histype] = -1;
  del_history_idx():
  5487:     idx = hisidx[histype];
  5506:     hisidx[histype] = i;
  remove_key_from_history():
  5523:     i = hisidx[HIST_CMD];
  ex_history():
  5653:     idx = hisidx[histype1];
  finish_viminfo_history():
  5820:     idx = hisidx[type] + viminfo_hisidx[type];
  5826:         hisidx[type] = idx;
  5829:         if (hisidx[type] == -1)
  5830:         hisidx[type] = hislen - 1;
  5837:         } while (idx != hisidx[type]);
  5838:         if (idx != hisidx[type] && --idx < 0)
  write_viminfo_history():
  5887:     i = hisidx[type];
  ex_window():
  6046:     i = hisidx[histtype];
  6058:         while (i != hisidx[histtype]);
pum_height (39 uses in 1 translation unit) defined static in translation unit popupmnu.c, declared in popupmnu.c:22
popupmnu.c (39 uses)
  pum_display():
  94:     pum_height = size;
  96:     pum_height = PUM_DEF_HEIGHT;
  97:     if (p_ph > 0 && pum_height > p_ph)
  98:     pum_height = p_ph;
  102:     if (row >= above_row - pum_height
  109:         pum_height = size;
  114:         pum_height = row;
  116:     if (p_ph > 0 && pum_height > p_ph)
  118:         pum_row += pum_height - p_ph;
  119:         pum_height = p_ph;
  127:         pum_height = above_row - pum_row;
  129:         pum_height = size;
  130:     if (p_ph > 0 && pum_height > p_ph)
  131:         pum_height = p_ph;
  135:     if (pum_height < 1 || (pum_height == 1 && size > 1))
  135:     if (pum_height < 1 || (pum_height == 1 && size > 1))
  141:         && pum_height > firstwin->w_height + 4)
  144:     pum_height -= firstwin->w_height;
  179:     if (pum_height < size)
  pum_redraw():
  274:     thumb_heigth = pum_height * pum_height / pum_size;
  274:     thumb_heigth = pum_height * pum_height / pum_size;
  277:     thumb_pos = (pum_first * (pum_height - thumb_heigth)
  278:                 + (pum_size - pum_height) / 2)
  279:                             / (pum_size - pum_height);
  282:     for (i = 0; i < pum_height; ++i)
  pum_set_selected():
  474:     int        context = pum_height / 2;
  486:         pum_first -= pum_height - 2;
  495:     else if (pum_first < pum_selected - pum_height + 5)
  499:         if (pum_first < pum_selected - pum_height + 1 + 2)
  501:         pum_first += pum_height - 2;
  502:         if (pum_first < pum_selected - pum_height + 1)
  503:             pum_first = pum_selected - pum_height + 1;
  506:         pum_first = pum_selected - pum_height + 1;
  512:     if (pum_height > 2)
  521:         else if (pum_first < pum_selected + context - pum_height + 1)
  524:         pum_first = pum_selected + context - pum_height + 1;
  656:     if (pum_first > pum_size - pum_height)
  657:     pum_first = pum_size - pum_height;
  pum_get_height():
  706:     return pum_height;
compl_first_match (38 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:89
edit.c (38 uses)
  ins_compl_add():
  2295:     if (compl_first_match != NULL && !adup)
  2297:     match = compl_first_match;
  2305:     } while (match != NULL && match != compl_first_match);
  2358:     if (compl_first_match == NULL)
  2375:     compl_first_match = match;
  ins_compl_make_cyclic():
  2517:     if (compl_first_match != NULL)
  2522:     match = compl_first_match;
  2524:     while (match->cp_next != NULL && match->cp_next != compl_first_match)
  2529:     match->cp_next = compl_first_match;
  2530:     compl_first_match->cp_prev = match;
  set_completion():
  2572:     compl_curr_match = compl_first_match;
  pum_enough_matches():
  2646:     compl = compl_first_match;
  2654:     } while (compl != compl_first_match);
  ins_compl_show_pum():
  2692:     compl = compl_first_match;
  2702:     } while (compl != NULL && compl != compl_first_match);
  2716:         compl = compl_first_match;
  2772:         } while (compl != NULL && compl != compl_first_match);
  ins_compl_free():
  3116:     if (compl_first_match == NULL)
  3122:     compl_curr_match = compl_first_match;
  3134:     } while (compl_curr_match != NULL && compl_curr_match != compl_first_match);
  3135:     compl_first_match = compl_curr_match = NULL;
  ins_compl_set_original_text():
  3324:     if (compl_first_match->cp_flags & ORIGINAL_TEXT)    /* safety check */
  3329:         vim_free(compl_first_match->cp_str);
  3330:         compl_first_match->cp_str = p;
  ins_compl_addfrommatch():
  3356:                  && cp != compl_first_match; cp = cp->cp_next)
  ins_compl_prep():
  3627:         else if (compl_first_match != NULL)
  ins_compl_next():
  4304:         && compl_shown_match->cp_next != compl_first_match)
  4313:             || compl_shown_match->cp_next == compl_first_match))
  4318:             && compl_shown_match->cp_prev != compl_first_match)
  4346:         found_end = (compl_first_match != NULL
  4347:                && (compl_shown_match->cp_next == compl_first_match
  4348:                    || compl_shown_match == compl_first_match));
  4353:         found_end = (compl_shown_match == compl_first_match);
  4355:         found_end |= (compl_shown_match == compl_first_match);
  ins_complete():
  5031:     if (compl_first_match == compl_first_match->cp_next)
  5031:     if (compl_first_match == compl_first_match->cp_next)
  5085:                 && match != compl_first_match;
  5106:                 && match != compl_first_match;
p_ch (38 uses in 5 translation units) defined in translation unit main.c, declared in ./option.h:376
buffer.c (1 use)
  ex_buffer_all():
  4570:             ? wp->w_height + wp->w_status_height < Rows - p_ch
gui.c (1 use)
  gui_init():
  607:     if (p_ch != 1L)
main.c (1 use)
  main():
  536:     cmdline_row = Rows - p_ch;
option.c (9 uses)
  set_num_option():
  7829:     else if (pp == &p_ch)
  7831:     if (p_ch < 1)
  7834:         p_ch = 1;
  7836:     if (p_ch > Rows - min_rows() + 1)
  7837:         p_ch = Rows - min_rows() + 1;
  7841:     if (p_ch != old_value && full_screen
  7947:         if (cmdline_row > Rows - p_ch && Rows > p_ch)
  7947:         if (cmdline_row > Rows - p_ch && Rows > p_ch)
  7948:         cmdline_row = Rows - p_ch;
window.c (26 uses)
  win_alloc_firstwin():
  3231:     topframe->fr_height = Rows - p_ch;
  win_init_size():
  3244:     firstwin->w_height = ROWS_AVAIL;
  3245:     topframe->fr_height = ROWS_AVAIL;
  alloc_tabpage():
  3279:     tp->tp_ch_used = p_ch;
  enter_tabpage():
  3568:     p_ch = curtab->tp_ch_used;
  shell_new_rows():
  4430:     int        h = (int)ROWS_AVAIL;
  4452:     curtab->tp_ch_used = p_ch;
  frame_setheight():
  4705:     if (height > ROWS_AVAIL)
  4706:         height = ROWS_AVAIL;
  4756:         room_cmdline = Rows - p_ch - (lastwin->w_winrow
  frame_setwidth():
  4959:         if (run == 2 || curfrp->fr_height >= ROWS_AVAIL)
  win_drag_status_line():
  5145:         room -= p_ch;
  5195:     p_ch = Rows - cmdline_row;
  5196:     if (p_ch < 1)
  5197:     p_ch = 1;
  5198:     curtab->tp_ch_used = p_ch;
  command_height():
  5500:     curtab->tp_ch_used = p_ch;
  5516:     cmdline_row = Rows - p_ch;
  5518:     if (p_ch > old_p_ch)            /* p_ch got bigger */
  5520:         while (p_ch > old_p_ch)
  5525:             p_ch = old_p_ch;
  5526:             curtab->tp_ch_used = p_ch;
  5527:             cmdline_row = Rows - p_ch;
  5531:         if (h > p_ch - old_p_ch)
  5532:             h = p_ch - old_p_ch;
  5554:     frame_add_height(frp, (int)(old_p_ch - p_ch));
compl_curr_match (37 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:90
edit.c (37 uses)
  ins_compl_add():
  2333:         && compl_curr_match != NULL
  2334:         && compl_curr_match->cp_fname != NULL
  2335:         && STRCMP(fname, compl_curr_match->cp_fname) == 0)
  2336:     match->cp_fname = compl_curr_match->cp_fname;
  2362:     match->cp_next = compl_curr_match->cp_next;
  2363:     match->cp_prev = compl_curr_match;
  2367:     match->cp_next = compl_curr_match;
  2368:     match->cp_prev = compl_curr_match->cp_prev;
  2376:     compl_curr_match = match;
  set_completion():
  2572:     compl_curr_match = compl_first_match;
  ins_compl_free():
  3122:     compl_curr_match = compl_first_match;
  3125:     match = compl_curr_match;
  3126:     compl_curr_match = compl_curr_match->cp_next;
  3126:     compl_curr_match = compl_curr_match->cp_next;
  3134:     } while (compl_curr_match != NULL && compl_curr_match != compl_first_match);
  3134:     } while (compl_curr_match != NULL && compl_curr_match != compl_first_match);
  3135:     compl_first_match = compl_curr_match = NULL;
  ins_compl_prep():
  3543:         if (compl_curr_match != NULL || compl_leader != NULL || c == Ctrl_E)
  3556:         if (compl_curr_match != NULL && compl_used_match && c != Ctrl_E)
  3557:             ptr = compl_curr_match->cp_str;
  ins_compl_get_exp():
  3857:     old_match = compl_curr_match;    /* remember the last current match */
  4191:     if (type != 0 && compl_curr_match != old_match)
  4233:     compl_curr_match = compl_direction == FORWARD ? old_match->cp_next
  4235:     if (compl_curr_match == NULL)
  4236:     compl_curr_match = old_match;
  ins_complete():
  5006:     compl_shown_match = compl_curr_match;
  5019:     compl_curr_match = compl_shown_match;
  5049:     if (compl_curr_match->cp_flags & CONT_S_IPOS)
  5056:     if (compl_curr_match->cp_flags & ORIGINAL_TEXT)
  5066:     else if (compl_curr_match->cp_next == compl_curr_match->cp_prev)
  5066:     else if (compl_curr_match->cp_next == compl_curr_match->cp_prev)
  5074:         if (compl_curr_match->cp_number == -1)
  5084:             for (match = compl_curr_match->cp_prev; match != NULL
  5105:             for (match = compl_curr_match->cp_next; match != NULL
  5125:         if (compl_curr_match->cp_number != -1)
  5134:                 compl_curr_match->cp_number, compl_matches);
  5138:                 compl_curr_match->cp_number);
e_invarg2 (37 uses in 9 translation units) defined in translation unit main.c, declared in ./globals.h:1382
eval.c (15 uses)
  skip_var_list():
  1890:         EMSG2(_(e_invarg2), p);
  1909:         EMSG2(_(e_invarg2), p);
  list_arg_vars():
  2088:             EMSG2(_(e_invarg2), arg);
  ex_let_one():
  2187:         EMSG2(_(e_invarg2), name - 1);
  2347:     EMSG2(_(e_invarg2), arg);
  get_lval():
  2434:         EMSG2(_(e_invarg2), name);
  f_extend():
  9079:             EMSG2(_(e_invarg2), action);
  f_function():
  9725:     EMSG2(_(e_invarg2), s);
  get_search_arg():
  14027:                   EMSG2(_(e_invarg2), flags);
  search_cmn():
  14105:     EMSG2(_(e_invarg2), get_tv_string(&argvars[1]));
  searchpair_cmn():
  14221:     EMSG2(_(e_invarg2), get_tv_string(&argvars[3]));
  f_tr():
  16399:         EMSG2(_(e_invarg2), fromstr);
  ex_function():
  18995:         emsg_funcname(_(e_invarg2), arg);
  19042:         EMSG2(_(e_invarg2), eap->arg);
  trans_function_name():
  19478:         EMSG2(_(e_invarg2), start);
ex_cmds.c (1 use)
  ex_sort():
  427:         EMSG2(_(e_invarg2), p);
ex_cmds2.c (2 uses)
  dbg_parsearg():
  473:     EMSG2(_(e_invarg2), p);
  498:     EMSG2(_(e_invarg2), arg);
ex_docmd.c (8 uses)
  ex_sleep():
  7955:     default: EMSG2(_(e_invarg2), eap->arg); return;
  ex_later():
  8391:     EMSG2(_(e_invarg2), eap->arg);
  ex_redir():
  8478:         EMSG2(_(e_invarg2), eap->arg);
  8505:         EMSG2(_(e_invarg2), eap->arg);
  ex_behave():
  10720:     EMSG2(_(e_invarg2), eap->arg);
  ex_filetype():
  10817:     EMSG2(_(e_invarg2), arg);
  ex_match():
  10919:         EMSG2(_(e_invarg2), eap->arg);
  10932:         EMSG2(_(e_invarg2), p);
ex_eval.c (1 use)
  ex_catch():
  1560:             EMSG2(_(e_invarg2), pat);
mark.c (2 uses)
  ex_delmarks():
  838:             EMSG2(_(e_invarg2), p);
  876:             default:  EMSG2(_(e_invarg2), p);
menu.c (1 use)
  ex_menu():
  292:     EMSG2(_(e_invarg2), menu_path);
syntax.c (6 uses)
  syn_cmd_keyword():
  4620:     EMSG2(_(e_invarg2), arg);
  syn_cmd_match():
  4724:     EMSG2(_(e_invarg2), arg);
  syn_cmd_region():
  4985:         EMSG2(_(e_invarg2), arg);
  syn_cmd_cluster():
  5302:         EMSG2(_(e_invarg2), rest);
  5320:     EMSG2(_(e_invarg2), arg);
  do_highlight():
  6818:         EMSG2(_(e_invarg2), key_start);
window.c (1 use)
  match_add():
  6313:     EMSG2(_(e_invarg2), pat);
rc_did_emsg (36 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:182
regexp.c (33 uses)
  vim_regcomp():
  1001:     EMSG_RET_NULL(_(e_null));
  reg():
  1189:         EMSG_RET_NULL(_("E50: Too many \\z("));
  1200:         EMSG_M_RET_NULL(_("E51: Too many %s("), reg_magic == MAGIC_ALL);
  1257:         EMSG_RET_NULL(_("E52: Unmatched \\z("));
  1261:         EMSG_M_RET_NULL(_("E53: Unmatched %s%%("), reg_magic == MAGIC_ALL);
  1263:         EMSG_M_RET_NULL(_("E54: Unmatched %s("), reg_magic == MAGIC_ALL);
  1268:         EMSG_M_RET_NULL(_("E55: Unmatched %s)"), reg_magic == MAGIC_ALL);
  1270:         EMSG_RET_NULL(_(e_trailing));    /* "Can't happen". */
  regpiece():
  1484:             EMSG_M_RET_NULL(_("E59: invalid character after %s@"),
  1518:             EMSG_M_RET_NULL(_("E60: Too many complex %s{...}s"),
  1539:     EMSG_RET_NULL(IObuff);
  regatom():
  1657:         EMSG_RET_NULL(_("E63: invalid use of \\_"));
  1690:         EMSG_ONE_RET_NULL;
  1702:         EMSG_ONE_RET_NULL;
  1703:     EMSG_RET_NULL(_(e_internal));    /* Supposed to be caught earlier. */
  1716:     EMSG_RET_NULL(IObuff);
  1737:         EMSG_RET_NULL(_(e_nopresub));
  1769:             EMSG_RET_NULL(_("E65: Illegal back reference"));
  1782:                   EMSG_RET_NULL(_("E66: \\z( not allowed here"));
  1784:                   EMSG_ONE_RET_NULL;
  1801:                   EMSG_RET_NULL(_("E67: \\z1 et al. not allowed here"));
  1813:         default:  EMSG_RET_NULL(_("E68: Invalid character after \\z"));
  1826:             EMSG_ONE_RET_NULL;
  1855:                   EMSG_ONE_RET_NULL;
  1865:                       EMSG_M_RET_NULL(_("E69: Missing ] after %s%%["),
  1881:                   EMSG_M_RET_NULL(_("E70: Empty %s%%[]"),
  1925:                   EMSG_M_RET_NULL(
  1997:               EMSG_M_RET_NULL(_("E71: Invalid character after %s%%"),
  2072:                 EMSG_RET_NULL(_(e_invrange));
  2079:                     EMSG_RET_NULL(_(e_invrange));
  2284:             EMSG_RET_NULL(_(e_toomsbra));    /* Cannot happen? */
  2290:         EMSG_M_RET_NULL(_("E769: Missing ] after %s["),
  read_limits():
  2980:     EMSG_RET_FAIL(IObuff);
search.c (3 uses)
  search_regcomp():
  145:     rc_did_emsg = FALSE;
  163:         rc_did_emsg = TRUE;
  searchit():
  536:     if ((options & SEARCH_MSG) && !rc_did_emsg)
reglnum (36 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3006
regexp.c (36 uses)
  vim_regexec_both():
  3486:     reglnum = 0;
  3551:         if (reglnum != 0)
  3553:         reglnum = 0;
  regtry():
  3670:         reg_endpos[0].lnum = reglnum;
  3675:         reglnum = reg_endpos[0].lnum;
  3717:     return 1 + reglnum;
  regmatch():
  3839:                 && *reginput == NUL && reglnum <= reg_maxline)
  3873:         if (reglnum != 0 || reginput != regline
  3879:         if (reglnum != reg_maxline || c != NUL)
  3887:             || (reglnum + reg_firstlnum != reg_win->w_cursor.lnum)
  3903:             || (pos->lnum == reglnum + reg_firstlnum
  3909:                 : (pos->lnum < reglnum + reg_firstlnum
  3958:         lnum = reglnum + reg_firstlnum;
  3995:         if (!REG_MULTI || !re_num_cmp((long_u)(reglnum + reg_firstlnum),
  4558:             if (reg_startpos[no].lnum == reglnum
  4559:                 && reg_endpos[no].lnum == reglnum)
  4613:                 if (reglnum >= reg_maxline)
  4912:             || behind_pos.rs_u.pos.lnum != reglnum)
  4920:         if ((c != NUL || !REG_MULTI || reglnum > reg_maxline
  5243:                 --reglnum;
  5244:                 regline = reg_getline(reglnum);
  regrepeat():
  5402:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5427:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5457:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5487:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5513:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5544:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5709:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5739:         && ((*scan == NUL && reglnum <= reg_maxline && !reg_line_lbr
  reg_nextline():
  5918:     regline = reg_getline(++reglnum);
  reg_save():
  5934:     save->rs_u.pos.lnum = reglnum;
  reg_restore():
  5951:     if (reglnum != save->rs_u.pos.lnum)
  5955:         reglnum = save->rs_u.pos.lnum;
  5956:         regline = reg_getline(reglnum);
  reg_save_equal():
  5973:     return reglnum == save->rs_u.pos.lnum
  save_se_multi():
  5991:     posp->lnum = reglnum;
must_redraw (35 uses in 13 translation units) defined in translation unit main.c, declared in ./globals.h:973
digraph.c (1 use)
  listdigraphs():
  2330:     must_redraw = CLEAR;    /* clear screen, because some digraphs may be
edit.c (2 uses)
  ins_redraw():
  1466:         if (syntax_present(curbuf) && must_redraw)
  1473:     if (must_redraw)
ex_docmd.c (1 use)
  do_exedit():
  7462:         must_redraw = CLEAR;
getchar.c (1 use)
  vgetorpeek():
  2660:         if ((State & INSERT) && advance && must_redraw != 0)
main.c (2 uses)
  main():
  778:     must_redraw = CLEAR;
  main_loop():
  1109:         if (must_redraw)
message.c (3 uses)
  wait_return():
  870:     must_redraw = CLEAR;
  msg_puts_display():
  1925:         if (must_redraw < VALID)
  1926:         must_redraw = VALID;
misc1.c (4 uses)
  changed_common():
  2890:     if (must_redraw < VALID)
  2891:     must_redraw = VALID;
  check_status():
  2944:         if (must_redraw < VALID)
  2945:         must_redraw = VALID;
move.c (1 use)
  update_topline_redraw():
  134:     if (must_redraw)
normal.c (1 use)
  normal_cmd():
  1228:     if (must_redraw && keep_msg != NULL && !emsg_on_display)
screen.c (13 uses)
  redraw_win_later():
  202:     if (must_redraw < type)    /* must_redraw is the maximum of all windows */
  203:         must_redraw = type;
  update_screen():
  330:     if (must_redraw)
  332:     if (type < must_redraw)        /* use maximal type */
  333:         type = must_redraw;
  339:     must_redraw = 0;
  349:     must_redraw = type;
  win_update():
  1258:         must_redraw = 0;
  1939:         if (must_redraw != 0)
  1945:         must_redraw = 0;
  screenalloc():
  7570:     must_redraw = CLEAR;    /* need to clear the screen later */
  screenclear2():
  7682:     if (must_redraw == CLEAR)    /* no need to clear again */
  7683:     must_redraw = NOT_VALID;
syntax.c (4 uses)
  do_highlight():
  7130:             must_redraw = CLEAR;
  7147:             must_redraw = CLEAR;
  set_normal_colors():
  7518:     must_redraw = CLEAR;
  get_attr_entry():
  7901:     must_redraw = CLEAR;
ui.c (1 use)
  ui_focus_change():
  3062:         if (must_redraw != 0)
window.c (1 use)
  enter_tabpage():
  3559:     must_redraw = CLEAR;    /* need to redraw everything */
p_ic (35 uses in 10 translation units) defined in translation unit main.c, declared in ./option.h:546
edit.c (13 uses)
  ins_compl_add_infercase():
  2126:     if (p_ic && curbuf->b_p_inf && len > 0)
  set_completion():
  2560:             -1, p_ic, NULL, NULL, 0, ORIGINAL_TEXT, FALSE) != OK)
  ins_compl_files():
  2977:                              p_ic, files[i], *dir, 0);
  3017:                     p_ic, files[i], *dir, 0);
  ins_compl_get_exp():
  3989:         save_p_ic = p_ic;
  3990:         p_ic = ignorecase(compl_pattern);
  3999:         ins_compl_add_matches(num_matches, matches, p_ic);
  4001:         p_ic = save_p_ic;
  4040:         ins_compl_add_matches(num_matches, matches, p_ic);
  4177:         if (ins_compl_add_infercase(ptr, len, p_ic,
  ins_complete():
  4735:         if (p_ic)
  4841:         if (p_ic)
  4986:             -1, p_ic, NULL, NULL, 0, ORIGINAL_TEXT, FALSE) != OK)
eval.c (4 uses)
  eval4():
  4136:         ic = p_ic;
  find_some_match():
  12473:     regmatch.rm_ic = p_ic;
  ex_function():
  18849:         regmatch.rm_ic = p_ic;
  do_string_sub():
  21704:     regmatch.rm_ic = p_ic;
ex_cmds.c (1 use)
  ex_sort():
  423:         regmatch.rm_ic = p_ic;
ex_docmd.c (1 use)
  ex_open():
  7386:         regmatch.rm_ic = p_ic;
ex_getln.c (1 use)
  cmdline_paste():
  3000:         if (p_ic ? STRNICMP(w, arg, len) == 0 : STRNCMP(w, arg, len) == 0)
option.c (1 use)
  set_bool_option():
  7215:     else if ((int *)varp == &p_ic && p_hls)
quickfix.c (1 use)
  ex_vimgrep():
  3049:     regmatch.rmm_ic = p_ic;
search.c (5 uses)
  ignorecase():
  358:     ic = p_ic;
  search_for_exact_line():
  1453:         if ((p_ic ? MB_STRICMP(p, pat) : STRCMP(p, pat)) == 0)
  1458:         if ((p_ic ? MB_STRNICMP(p, pat, compl_length)
  find_pattern_in_path():
  4823:             if (p_ic)
  4957:         add_r = ins_compl_add_infercase(aux, i, p_ic,
spell.c (1 use)
  dump_word():
  15737:                       p_ic, NULL, *dir, 0) == OK)
tag.c (7 uses)
  find_tags():
  1461:     pats->regmatch.rm_ic = ((p_ic || !noic)
  1792:             pats->regmatch.rm_ic = (p_ic || !noic);
  2456:       if (stop_searching || linear || (!p_ic && noic) || pats->regmatch.rm_ic)
  jumpto_tag():
  3182:         save_p_ic = p_ic;
  3185:         p_ic = FALSE;    /* don't ignore case now */
  3206:         p_ic = TRUE;
  3254:         p_ic = save_p_ic;
p_magic (35 uses in 10 translation units) defined in translation unit main.c, declared in ./option.h:587
buffer.c (1 use)
  buflist_findpat():
  2079:         prog = vim_regcomp(p, p_magic ? RE_MAGIC : 0);
edit.c (2 uses)
  ins_compl_dictionaries():
  2871:     regmatch.regprog = vim_regcomp(pat, p_magic ? RE_MAGIC : 0);
  quote_meta():
  5200:         if (!p_magic)    /* quote these only if magic is set */
eval.c (3 uses)
  get_buf_tv():
  8003:     save_magic = p_magic;
  8004:     p_magic = TRUE;
  8011:     p_magic = save_magic;
ex_cmds.c (5 uses)
  do_sub():
  4264:         cmd = skip_regexp(cmd, delimiter, p_magic, &eap->arg);
  4445:     sub = regtilde(sub, p_magic);
  4782:                     sub, sub_firstline, FALSE, p_magic, TRUE);
  4853:                        sub, new_end, TRUE, p_magic, TRUE);
  ex_global():
  5243:     cmd = skip_regexp(cmd, delim, p_magic, &eap->arg);
ex_cmds2.c (1 use)
  do_arglist():
  1810:         regmatch.regprog = vim_regcomp(p, p_magic ? RE_MAGIC : 0);
ex_docmd.c (9 uses)
  set_one_cmd_context():
  3478:             arg = skip_regexp(arg + 1, *arg, p_magic, NULL);
  3567:         arg = skip_regexp(arg, delim, p_magic, NULL);
  get_address():
  3911:                 cmd = skip_regexp(cmd, c, (int)p_magic, NULL);
  ex_open():
  7381:     p = skip_regexp(eap->arg, '/', p_magic, NULL);
  7383:     regmatch.regprog = vim_regcomp(eap->arg, p_magic ? RE_MAGIC : 0);
  ex_submagic():
  8255:     int        magic_save = p_magic;
  8257:     p_magic = (eap->cmdidx == CMD_smagic);
  8259:     p_magic = magic_save;
  ex_findpat():
  9191:     p = skip_regexp(eap->arg, '/', p_magic, NULL);
ex_getln.c (2 uses)
  getcmdline():
  1409:                         p_magic ? "\\^$.*[" : "\\^$"), c)
  ExpandFromContext():
  4410:     regmatch.regprog = vim_regcomp(pat, p_magic ? RE_MAGIC : 0);
normal.c (2 uses)
  nv_ident():
  5480:     aux_ptr = (char_u *)(p_magic ? "/.*~[^$\\" : "/^$\\");
  5482:     aux_ptr = (char_u *)(p_magic ? "/?.*~[^$\\" : "/?^$\\");
search.c (5 uses)
  search_regcomp():
  146:     magic = p_magic;
  do_search():
  1127:         p = skip_regexp(pat, dirc, (int)p_magic, &strcopy);
  find_pattern_in_path():
  4561:     regmatch.regprog = vim_regcomp(pat, p_magic ? RE_MAGIC : 0);
  4569:     incl_regmatch.regprog = vim_regcomp(inc_opt, p_magic ? RE_MAGIC : 0);
  4577:                ? p_def : curbuf->b_p_def, p_magic ? RE_MAGIC : 0);
tag.c (5 uses)
  prepare_pats():
  1222:         if (vim_strchr((char_u *)(p_magic ? ".[~*\\$" : "\\$"),
  1230:     pats->regmatch.regprog = vim_regcomp(pats->pat, p_magic ? RE_MAGIC : 0);
  jumpto_tag():
  3151:     save_magic = p_magic;
  3152:     p_magic = FALSE;    /* always execute with 'nomagic' */
  3275:     p_magic = save_magic;
redraw_cmdline (35 uses in 12 translation units) defined in translation unit main.c, declared in ./globals.h:96
edit.c (2 uses)
  ins_redraw():
  1475:     else if (clear_cmdline || redraw_cmdline)
  ins_compl_next():
  4476:     redraw_cmdline = FALSE;        /* don't overwrite! */
ex_getln.c (2 uses)
  getcmdline():
  982:             redraw_cmdline = TRUE;
  1885:         redraw_cmdline = TRUE;
fileio.c (1 use)
  buf_check_timestamp():
  6580:             redraw_cmdline = FALSE;
getchar.c (2 uses)
  vgetorpeek():
  2790:         redraw_cmdline = TRUE;        /* delete mode later */
  2797:         redraw_cmdline = TRUE;        /* show mode later */
main.c (1 use)
  main_loop():
  1111:         else if (redraw_cmdline || clear_cmdline)
message.c (2 uses)
  msg_puts_display():
  1927:         redraw_cmdline = TRUE;
  msg_check():
  2977:     redraw_cmdline = TRUE;
misc1.c (1 use)
  change_warning():
  2994:     redraw_cmdline = FALSE;    /* don't redraw and erase the message */
normal.c (4 uses)
  normal_cmd():
  1202:             || redraw_cmdline)
  do_mouse():
  3058:     redraw_cmdline = TRUE;
  nv_visual():
  7381:         redraw_cmdline = TRUE;        /* show visual mode later */
  n_start_visual_mode():
  7478:     redraw_cmdline = TRUE;    /* show visual mode later */
screen.c (15 uses)
  update_screen():
  397:         redraw_cmdline = TRUE;
  554:     if (clear_cmdline || redraw_cmdline)
  update_finish():
  609:     if (redraw_cmdline)
  win_redr_status():
  5726:     redraw_cmdline = TRUE;
  screen_fill():
  7246:         redraw_cmdline = TRUE;
  screenclear2():
  7678:     redraw_cmdline = TRUE;
  win_ins_lines():
  8124:     redraw_cmdline = TRUE;
  win_del_lines():
  8202:     redraw_cmdline = TRUE;
  win_rest_invalid():
  8311:     redraw_cmdline = TRUE;
  showmode():
  8837:         redraw_cmdline = TRUE;        /* show mode later */
  9014:     redraw_cmdline = FALSE;
  unshowmode():
  9043:     redraw_cmdline = TRUE;        /* delete mode later */
  win_redr_ruler():
  9446:     if (       redraw_cmdline
  9561:     i = redraw_cmdline;
  9567:     redraw_cmdline = i;
search.c (2 uses)
  current_word():
  3323:         redraw_cmdline = TRUE;        /* show mode later */
  current_quote():
  4446:         redraw_cmdline = TRUE;        /* show mode later */
ui.c (1 use)
  jump_to_mouse():
  2775:         redraw_cmdline = TRUE;    /* show visual mode later */
window.c (2 uses)
  command_height():
  5546:         redraw_cmdline = TRUE;
  5552:     redraw_cmdline = TRUE;
reg_magic (35 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:596
regexp.c (35 uses)
  regcomp_start():
  1130:     reg_magic = MAGIC_ON;
  1132:     reg_magic = MAGIC_OFF;
  reg():
  1200:         EMSG_M_RET_NULL(_("E51: Too many %s("), reg_magic == MAGIC_ALL);
  1261:         EMSG_M_RET_NULL(_("E53: Unmatched %s%%("), reg_magic == MAGIC_ALL);
  1263:         EMSG_M_RET_NULL(_("E54: Unmatched %s("), reg_magic == MAGIC_ALL);
  1268:         EMSG_M_RET_NULL(_("E55: Unmatched %s)"), reg_magic == MAGIC_ALL);
  regconcat():
  1364:                 reg_magic = MAGIC_ALL;
  1369:                 reg_magic = MAGIC_ON;
  1374:                 reg_magic = MAGIC_OFF;
  1379:                 reg_magic = MAGIC_NONE;
  regpiece():
  1484:             EMSG_M_RET_NULL(_("E59: invalid character after %s@"),
  1518:             EMSG_M_RET_NULL(_("E60: Too many complex %s{...}s"),
  1535:                         reg_magic >= MAGIC_ON ? "" : "\\");
  1538:         reg_magic == MAGIC_ALL ? "" : "\\", no_Magic(peekchr()));
  regatom():
  1690:         EMSG_ONE_RET_NULL;
  1702:         EMSG_ONE_RET_NULL;
  1714:         (c == '*' ? reg_magic >= MAGIC_ON : reg_magic == MAGIC_ALL)
  1714:         (c == '*' ? reg_magic >= MAGIC_ON : reg_magic == MAGIC_ALL)
  1784:                   EMSG_ONE_RET_NULL;
  1826:             EMSG_ONE_RET_NULL;
  1855:                   EMSG_ONE_RET_NULL;
  1865:                       EMSG_M_RET_NULL(_("E69: Missing ] after %s%%["),
  1881:                   EMSG_M_RET_NULL(_("E70: Empty %s%%[]"),
  1925:                   EMSG_M_RET_NULL(
  1997:               EMSG_M_RET_NULL(_("E71: Invalid character after %s%%"),
  2290:         EMSG_M_RET_NULL(_("E769: Missing ] after %s["),
  peekchr():
  2604:         if (reg_magic >= MAGIC_ON)
  2630:         if (reg_magic == MAGIC_ALL)
  2637:         if (reg_magic >= MAGIC_ON
  2649:         if (reg_magic >= MAGIC_OFF
  2651:             || reg_magic == MAGIC_ALL
  2667:         if (reg_magic >= MAGIC_OFF)
  2679:             || reg_magic == MAGIC_ALL)
  2721:         else if (reg_magic == MAGIC_NONE && (c == '$' || c == '^'))
  read_limits():
  2979:                       reg_magic == MAGIC_ALL ? "" : "\\");
screen_Columns (35 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:77
gui.c (6 uses)
  gui_check_pos():
  878:     if (gui.col >= screen_Columns)
  879:     gui.col = screen_Columns - 1;
  880:     if (gui.cursor_row >= screen_Rows || gui.cursor_col >= screen_Columns)
  gui_update_cursor():
  932:     if (gui.row >= screen_Rows || gui.col >= screen_Columns)
  1084:                     LineOffset[gui.row] + screen_Columns) > 1)
  gui_resize_shell():
  1311:     if (gui.num_rows != screen_Rows || gui.num_cols != screen_Columns
mbyte.c (1 use)
  mb_lefthalve():
  2921:                     LineOffset[row] + screen_Columns) > 1;
screen.c (22 uses)
  win_line():
  4756:                      LineOffset[screen_row] + screen_Columns)
  4760:                      LineOffset[screen_row] + screen_Columns)
  screen_line():
  4955:     max_off_from = off_from + screen_Columns;
  4956:     max_off_to = LineOffset[row] + screen_Columns;
  5241:             unsigned max_off = LineOffset[row] + screen_Columns;
  screen_getbytes():
  6167:     if (ScreenLines != NULL && row < screen_Rows && col < screen_Columns)
  screen_puts_len():
  6267:     max_off = LineOffset[row] + screen_Columns;
  6269:     while (col < screen_Columns
  6370:         if (col + mbyte_cells < screen_Columns
  screen_char():
  6898:     if (row >= screen_Rows || col >= screen_Columns)
  6903:     if (row == screen_Rows - 1 && col == screen_Columns - 1
  screen_char_2():
  6976:     if (off + 1 >= (unsigned)(screen_Rows * screen_Columns))
  6981:     if (row == screen_Rows - 1 && col >= screen_Columns - 2)
  screen_draw_rectangle():
  7024:     max_off = off + screen_Columns;
  screen_fill():
  7105:     if (end_col > screen_Columns)    /* safety check */
  7106:     end_col = screen_Columns;
  screenalloc():
  7334:         && Columns == screen_Columns
  7504:             if (screen_Columns < Columns)
  7505:             len = screen_Columns;
  7568:     screen_Columns = Columns;
  windgoto():
  7821:     if (col >= screen_Columns)
  7822:         col = screen_Columns - 1;
ui.c (6 uses)
  clip_copy_modeless_selection():
  1220:     if (row < screen_Rows && end_col <= screen_Columns)
  clip_get_word_boundaries():
  1328:     if (row >= screen_Rows || col >= screen_Columns || ScreenLines == NULL)
  1358:     for ( ; temp_col < screen_Columns; temp_col++)
  clip_get_line_end():
  1385:     for (i = screen_Columns; i > 0; i--)
  check_col():
  1923:     if (col >= (int)screen_Columns)
  1924:     return (int)screen_Columns - 1;
emsg_off (34 uses in 8 translation units) defined in translation unit main.c, declared in ./globals.h:166
edit.c (2 uses)
  ins_compl_prep():
  3457:         ++emsg_off;    /* Avoid getting the E756 error twice. */
  3459:         --emsg_off;
eval.c (20 uses)
  eval_to_number():
  1285:     ++emsg_off;
  1294:     --emsg_off;
  eval_spell_expr():
  1356:     ++emsg_off;
  1367:     --emsg_off;
  eval_foldexpr():
  1649:     ++emsg_off;
  1674:     --emsg_off;
  f_bufname():
  8032:     ++emsg_off;
  8039:     --emsg_off;
  f_bufnr():
  8055:     ++emsg_off;
  8057:     --emsg_off;
  f_bufwinnr():
  8090:     ++emsg_off;
  8103:     --emsg_off;
  f_expand():
  8983:     ++emsg_off;
  8985:     --emsg_off;
  f_getbufline():
  9868:     ++emsg_off;
  9870:     --emsg_off;
  f_getbufvar():
  9896:     ++emsg_off;
  9929:     --emsg_off;
  getwinvar():
  10668:     ++emsg_off;
  10701:     --emsg_off;
ex_cmds.c (2 uses)
  ex_drop():
  7133:         ++emsg_off;
  7137:         --emsg_off;
ex_docmd.c (2 uses)
  handle_drop():
  6743:     ++emsg_off;
  6745:     --emsg_off;
ex_getln.c (2 uses)
  getcmdline():
  1732:         ++emsg_off;    /* So it doesn't beep if bad expr */
  1745:         --emsg_off;
fold.c (2 uses)
  get_foldtext():
  1947:     ++emsg_off;
  1950:     --emsg_off;
message.c (2 uses)
  emsg_not_now():
  539:     if ((emsg_off > 0 && vim_strchr(p_debug, 'm') == NULL
  emsg():
  584:     if (!emsg_off || vim_strchr(p_debug, 't') != NULL)
search.c (2 uses)
  last_pat_prog():
  472:     ++emsg_off;        /* So it doesn't beep if bad expr */
  474:     --emsg_off;
fdo_flags (34 uses in 7 translation units) defined in translation unit main.c, declared in ./option.h:449
edit.c (8 uses)
  edit():
  626:     if (fdo_flags & FDO_INSERT)
  cursor_up():
  6707:         if (n > 0 || !((State & INSERT) || (fdo_flags & FDO_ALL)))
  ins_left():
  8830:     if ((fdo_flags & FDO_HOR) && KeyTyped)
  ins_home():
  8873:     if ((fdo_flags & FDO_HOR) && KeyTyped)
  ins_end():
  8895:     if ((fdo_flags & FDO_HOR) && KeyTyped)
  ins_s_left():
  8912:     if ((fdo_flags & FDO_HOR) && KeyTyped)
  ins_right():
  8930:     if ((fdo_flags & FDO_HOR) && KeyTyped)
  ins_s_right():
  8977:     if ((fdo_flags & FDO_HOR) && KeyTyped)
main.c (1 use)
  main_loop():
  1092:         if (fdo_flags & FDO_ALL)
normal.c (19 uses)
  nv_gd():
  4131:     else if ((fdo_flags & FDO_SEARCH) && KeyTyped && oap->op_type == OP_NOP)
  nv_screengo():
  4350:         if (!(fdo_flags & FDO_ALL))
  nv_right():
  5804:     if (n != cap->count1 && (fdo_flags & FDO_HOR) && KeyTyped
  nv_left():
  5874:     if (n != cap->count1 && (fdo_flags & FDO_HOR) && KeyTyped
  nv_dollar():
  6030:     else if ((fdo_flags & FDO_HOR) && KeyTyped && cap->oap->op_type == OP_NOP)
  normal_search():
  6107:     if (cap->oap->op_type == OP_NOP && (fdo_flags & FDO_SEARCH) && KeyTyped)
  nv_csearch():
  6157:     if ((fdo_flags & FDO_HOR) && KeyTyped && cap->oap->op_type == OP_NOP)
  nv_brackets():
  6358:         if ((fdo_flags & FDO_BLOCK) && KeyTyped
  6389:         if ((fdo_flags & FDO_BLOCK) && KeyTyped && cap->oap->op_type == OP_NOP)
  6480:     if (cap->oap->op_type == OP_NOP && (fdo_flags & FDO_SEARCH) && KeyTyped)
  nv_percent():
  6547:         && (fdo_flags & FDO_PERCENT)
  nv_brace():
  6577:     if ((fdo_flags & FDO_BLOCK) && KeyTyped && cap->oap->op_type == OP_NOP)
  nv_findpar():
  6617:     if ((fdo_flags & FDO_BLOCK) && KeyTyped && cap->oap->op_type == OP_NOP)
  nv_gomark():
  7243:         && (fdo_flags & FDO_MARK)
  nv_pcmark():
  7290:         && (fdo_flags & FDO_MARK)
  nv_bck_word():
  8332:     else if ((fdo_flags & FDO_HOR) && KeyTyped && cap->oap->op_type == OP_NOP)
  nv_wordcmd():
  8422:     if ((fdo_flags & FDO_HOR) && KeyTyped && cap->oap->op_type == OP_NOP)
  nv_beginline():
  8473:     if ((fdo_flags & FDO_HOR) && KeyTyped && cap->oap->op_type == OP_NOP)
  nv_goto():
  8585:     if ((fdo_flags & FDO_JUMP) && KeyTyped && cap->oap->op_type == OP_NOP)
option.c (2 uses)
  didset_options():
  5038:     (void)opt_strings_flags(p_fdo, p_fdo_values, &fdo_flags, TRUE);
  did_set_string_option():
  6538:     if (opt_strings_flags(p_fdo, p_fdo_values, &fdo_flags, TRUE) != OK)
quickfix.c (1 use)
  qf_jump():
  1814:     if ((fdo_flags & FDO_QUICKFIX) && old_KeyTyped)
tag.c (2 uses)
  do_tag():
  350:         if ((fdo_flags & FDO_TAG) && old_KeyTyped)
  jumpto_tag():
  3298:         if ((fdo_flags & FDO_TAG) && old_KeyTyped)
undo.c (1 use)
  u_undo_end():
  1325:     if ((fdo_flags & FDO_UNDO) && KeyTyped)
mb_char2len (34 uses in 8 translation units) defined in translation unit main.c, declared in ./globals.h:802
buffer.c (1 use)
  build_stl_str_hl():
  3368:     else if (mb_char2len(fillchar) > 1)
edit.c (4 uses)
  ins_compl_addleader():
  3277:     if (has_mbyte && (cc = (*mb_char2len)(c)) > 1)
  insertchar():
  5584:         && (!has_mbyte || (*mb_char2len)(c) == 1)
  5658:     if (has_mbyte && (cc = (*mb_char2len)(c)) > 1)
  internal_format():
  5842:             foundcol += (*mb_char2len)(cc);
mbyte.c (3 uses)
  mb_init():
  609:     mb_char2len = utf_char2len;
  620:     mb_char2len = dbcs_char2len;
  631:     mb_char2len = latin_char2len;
misc2.c (2 uses)
  get_special_key_name():
  2437:         && (*mb_char2len)(c) == 1
  2483:         if (has_mbyte && (*mb_char2len)(c) > 1)
ops.c (5 uses)
  op_replace():
  2052:         numc *= (*mb_char2len)(c);
  2112:         if ((*mb_char2len)(c) > 1 || (*mb_char2len)(n) > 1)
  2112:         if ((*mb_char2len)(c) > 1 || (*mb_char2len)(n) > 1)
  2116:             oap->end.col += (*mb_char2len)(c) - (*mb_char2len)(n);
  2116:             oap->end.col += (*mb_char2len)(c) - (*mb_char2len)(n);
regexp.c (8 uses)
  regatom():
  2074:                 if (has_mbyte && ((*mb_char2len)(startc) > 1
  2075:                          || (*mb_char2len)(endc) > 1))
  use_multibytecode():
  2375:     return has_mbyte && (*mb_char2len)(c) > 1
  regmbc():
  2425:     regsize += (*mb_char2len)(c);
  vim_regexec_both():
  3466:     else if (!ireg_ic || (!enc_utf8 && mb_char2len(c) > 1))
  cstrchr():
  6624:         || (!enc_utf8 && mb_char2len(c) > 1)
  vim_regsub_both():
  7065:         dst += mb_char2len(cc) - 1;
  7174:                 dst += mb_char2len(cc) - 1;
screen.c (7 uses)
  win_line():
  3581:         if (enc_utf8 && (*mb_char2len)(c) > 1)
  3868:         if (enc_utf8 && (*mb_char2len)(c) > 1)
  4044:             if (enc_utf8 && (*mb_char2len)(c) > 1)
  4083:             if (enc_utf8 && (*mb_char2len)(c) > 1)
  4158:             if (enc_utf8 && (*mb_char2len)(c) > 1)
  4300:         if (enc_utf8 && (*mb_char2len)(c) > 1)
  4537:         if (enc_utf8 && (*mb_char2len)(c) > 1)
spell.c (4 uses)
  suggest_trie_walk():
  12247:             fl = mb_char2len(c2);
  12336:             tl = mb_char2len(c3);
  set_map_str():
  13521:         int        cl = mb_char2len(c);
  13522:         int        headcl = mb_char2len(headc);
p_wmh (34 uses in 4 translation units) defined in translation unit main.c, declared in ./option.h:861
ex_getln.c (1 use)
  getcmdline():
  466:             p_wmh = save_p_wmh;
option.c (7 uses)
  set_num_option():
  7624:     if (p_wmh > p_wh)
  7627:         p_wh = p_wmh;
  7646:     else if (pp == &p_wmh)
  7648:     if (p_wmh < 0)
  7651:         p_wmh = 0;
  7653:     if (p_wmh > p_wh)
  7656:         p_wmh = p_wh;
screen.c (2 uses)
  win_redr_status_matches():
  5677:             save_p_wmh = p_wmh;
  5679:             p_wmh = 0;
window.c (24 uses)
  win_split_ins():
  718:     if (oldwin->w_height <= p_wmh && newwin == NULL)
  802:     needed = p_wmh + STATUS_HEIGHT + need_status;
  804:         needed += p_wh - p_wmh;
  813:         needed += p_wmh;
  829:     if (new_size > oldwin_height - p_wmh - STATUS_HEIGHT)
  830:         new_size = oldwin_height - p_wmh - STATUS_HEIGHT;
  831:     if (new_size < p_wmh)
  832:         new_size = p_wmh;
  835:     if (oldwin_height - new_size - STATUS_HEIGHT < p_wmh)
  make_windows():
  1275:                   - (p_wh - p_wmh)) / (p_wmh + STATUS_HEIGHT);
  1275:                   - (p_wh - p_wmh)) / (p_wmh + STATUS_HEIGHT);
  win_equal_rec():
  1855:         totwincount = (n + extra_sep) / (p_wmh + 1);
  1886:                 room += p_wh - p_wmh;
  1894:                           ? extra_sep : 0)) / (p_wmh + 1);
  1915:                        + (totwincount - 1) * p_wmh
  1947:                                 / (p_wmh + 1);
  frame_minheight():
  2980:         m = p_wmh + topfrp->fr_win->w_status_height;
  2982:         if (p_wmh == 0 && topfrp->fr_win == curwin && next_curwin == NULL)
  win_setheight_win():
  4638:     if (height < p_wmh)
  4639:         height = p_wmh;
  frame_setheight():
  4774:         + frame_minheight(curfrp->fr_parent, NOWIN) - (int)p_wmh - 1);
  win_setminheight():
  5053:     while (p_wmh > 0)
  5058:         room += wp->w_height - p_wmh;
  5061:     --p_wmh;
backpos (33 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3213
regexp.c (33 uses)
  vim_regexec_both():
  3389:     if (backpos.ga_data == NULL)
  3391:     ga_init2(&backpos, sizeof(backpos_T), BACKPOS_INITIAL);
  3392:     ga_grow(&backpos, BACKPOS_INITIAL);
  3393:     backpos.ga_growsize = BACKPOS_INITIAL * 8;
  3586:     if (backpos.ga_maxlen > BACKPOS_INITIAL)
  3587:     ga_clear(&backpos);
  regmatch():
  3780:   backpos.ga_len = 0;
  4378:         bp = (backpos_T *)backpos.ga_data;
  4379:         for (i = 0; i < backpos.ga_len; ++i)
  4382:         if (i == backpos.ga_len)
  4385:             if (ga_grow(&backpos, 1) == FAIL)
  4390:             bp = (backpos_T *)backpos.ga_data;
  4392:             ++backpos.ga_len;
  4400:             reg_save(&bp[i].bp_pos, &backpos);
  4736:             reg_save(&rp->rs_un.regsave, &backpos);
  4755:                 reg_save(&rp->rs_un.regsave, &backpos);
  4771:                 reg_save(&rp->rs_un.regsave, &backpos);
  4872:         reg_save(&rp->rs_un.regsave, &backpos);
  4901:             reg_save(&rp->rs_un.regsave, &backpos);
  5011:             reg_restore(&rp->rs_un.regsave, &backpos);
  5024:             reg_save(&rp->rs_un.regsave, &backpos);
  5034:         reg_restore(&rp->rs_un.regsave, &backpos);
  5045:         reg_restore(&rp->rs_un.regsave, &backpos);
  5059:         reg_restore(&rp->rs_un.regsave, &backpos);
  5078:             reg_restore(&rp->rs_un.regsave, &backpos);
  5100:         reg_save(&(((regbehind_T *)rp) - 1)->save_after, &backpos);
  5113:         reg_restore(&rp->rs_un.regsave, &backpos);
  5128:                                     &backpos);
  5157:                 reg_restore(&rp->rs_un.regsave, &backpos);
  5175:             reg_restore(&rp->rs_un.regsave, &backpos);
  5192:                                     &backpos);
  5226:             reg_restore(&rp->rs_un.regsave, &backpos);
  5276:             reg_save(&rp->rs_un.regsave, &backpos);
called_emsg (33 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:179
buffer.c (8 uses)
  maketitle():
  3079:         int    save_called_emsg = called_emsg;
  3084:         called_emsg = FALSE;
  3088:         if (called_emsg)
  3091:         called_emsg |= save_called_emsg;
  3184:         int    save_called_emsg = called_emsg;
  3189:         called_emsg = FALSE;
  3193:         if (called_emsg)
  3196:         called_emsg |= save_called_emsg;
gui.c (4 uses)
  get_tabline_label():
  3434:     int    save_called_emsg = called_emsg;
  3440:     called_emsg = FALSE;
  3472:     if (called_emsg)
  3475:     called_emsg |= save_called_emsg;
message.c (1 use)
  emsg():
  568:     called_emsg = TRUE;
screen.c (14 uses)
  redraw_custum_statusline():
  5870:     int    save_called_emsg = called_emsg;
  5872:     called_emsg = FALSE;
  5874:     if (called_emsg)
  5878:     called_emsg |= save_called_emsg;
  next_search_hl():
  6606:     called_emsg = FALSE;
  6657:     if (called_emsg)
  draw_tabline():
  9106:     int    save_called_emsg = called_emsg;
  9110:     called_emsg = FALSE;
  9112:     if (called_emsg)
  9115:     called_emsg |= save_called_emsg;
  win_redr_ruler():
  9423:     int    save_called_emsg = called_emsg;
  9425:     called_emsg = FALSE;
  9427:     if (called_emsg)
  9430:     called_emsg |= save_called_emsg;
search.c (6 uses)
  searchit():
  526:     int        save_called_emsg = called_emsg;
  564:     called_emsg = FALSE;
  620:         if (called_emsg)
  914:         if (!p_ws || stop_lnum != 0 || got_int || called_emsg
  933:     if (got_int || called_emsg || break_loop)
  940:     called_emsg |= save_called_emsg;
p_im (33 uses in 11 translation units) defined in translation unit main.c, declared in ./option.h:555
edit.c (9 uses)
  edit():
  539:     if (!p_im && did_restart_edit == 0)
  552:     if (!p_im && did_restart_edit == 0)
  805:         else if (c == Ctrl_G && p_im)
  938:         if (!p_im)
  982:         if (p_im)
  1001:                            && c != Ctrl_A && !p_im)
  1268:         if (ins_eol(c) && !p_im)
  1320:         if (p_im)
  ins_esc():
  7875:         AppendToRedobuff(p_im ? (char_u *)"\014" : ESC_STR);
ex_cmds.c (2 uses)
  do_ecmd():
  3788:     if (p_im)
  ex_help():
  5614:     if (!p_im)
ex_docmd.c (3 uses)
  ex_normal():
  8914:     int        save_insertmode = p_im;
  8936:     p_im = FALSE;        /* don't use 'insertmode' */
  9041:     p_im = save_insertmode;
ex_getln.c (1 use)
  getcmdline():
  714:         if (c == Ctrl_G && p_im && restart_edit == 0)
getchar.c (4 uses)
  openscript():
  1400:     int    save_insertmode = p_im;
  1407:     p_im = FALSE;        /* don't use 'insertmode' */
  1423:     p_im = save_insertmode;
  vgetorpeek():
  2635:             if (p_im && (State & INSERT))
main.c (1 use)
  main():
  889:     if (p_im)
misc1.c (1 use)
  goto_im():
  9500:     return (p_im && stuff_empty() && typebuf_typed());
normal.c (8 uses)
  do_pending_operator():
  1906:         if (p_im || !KeyTyped)
  nv_colon():
  5176:     old_p_im = p_im;
  5183:     if (p_im != old_p_im)
  5185:         if (p_im)
  nv_normal():
  8615:     if (cap->nchar == Ctrl_G && p_im)
  nv_esc():
  8636:         && !p_im);
  8652:     if (!p_im)
  nv_edit():
  8720:     else if (!curbuf->b_p_ma && !p_im)
option.c (2 uses)
  set_bool_option():
  7196:     else if ((int *)varp == &p_im)
  7198:     if (p_im)
quickfix.c (1 use)
  qf_jump():
  1570:     if (!p_im)
version.c (1 use)
  intro_message():
  1782:         if (p_im && gui.in_use && gui_lines[i] != NULL)
ssop_flags (33 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:671
ex_docmd.c (28 uses)
  ex_mkrc():
  8690:         flagp = &ssop_flags;
  8744:         if (*dirnow != NUL && (ssop_flags & SSOP_SESDIR))
  8750:             && (ssop_flags & SSOP_CURDIR) && globaldir != NULL)
  8759:         if (*dirnow != NUL && ((ssop_flags & SSOP_SESDIR)
  8760:             || ((ssop_flags & SSOP_CURDIR) && globaldir != NULL)))
  makeopens():
  9773:     if (ssop_flags & SSOP_BUFFERS)
  9783:     if (ssop_flags & SSOP_GLOBALS)
  9797:     if (ssop_flags & SSOP_SESDIR)
  9803:     else if (ssop_flags & SSOP_CURDIR)
  9808:         || ses_put_fname(fd, sname, &ssop_flags) == FAIL
  9838:         && !(buf->b_help && !(ssop_flags & SSOP_HELP))
  9844:             || ses_fname(fd, buf, &ssop_flags) == FAIL)
  9851:                 !(ssop_flags & SSOP_CURDIR), &ssop_flags) == FAIL)
  9851:                 !(ssop_flags & SSOP_CURDIR), &ssop_flags) == FAIL)
  9854:     if (ssop_flags & SSOP_RESIZE)
  9863:     if (gui.in_use && (ssop_flags & SSOP_WINPOS))
  9888:     if ((ssop_flags & SSOP_TABPAGES))
  9924:             || ses_fname(fd, wp->w_buffer, &ssop_flags) == FAIL)
  9987:         if (put_view(fd, wp, wp != edited_win, &ssop_flags,
  10016:     if (!(ssop_flags & SSOP_TABPAGES))
  10020:     if (ssop_flags & SSOP_TABPAGES)
  ses_winsizes():
  10065:     if (restore_size && (ssop_flags & SSOP_WINSIZE))
  ses_do_win():
  10197:     return (ssop_flags & SSOP_BLANK);
  10199:     return (ssop_flags & SSOP_HELP);
  put_view():
  10223:     do_cursor = (flagp == &ssop_flags || *flagp & SSOP_CURSOR);
  10245:                               && flagp == &ssop_flags)
  ses_fname():
  10465:         && flagp == &ssop_flags
  10466:         && (ssop_flags & (SSOP_CURDIR | SSOP_SESDIR))
option.c (5 uses)
  didset_options():
  5034:     (void)opt_strings_flags(p_ssop, p_ssop_values, &ssop_flags, TRUE);
  did_set_string_option():
  5559:     if (opt_strings_flags(p_ssop, p_ssop_values, &ssop_flags, TRUE) != OK)
  5561:     if ((ssop_flags & SSOP_CURDIR) && (ssop_flags & SSOP_SESDIR))
  5561:     if ((ssop_flags & SSOP_CURDIR) && (ssop_flags & SSOP_SESDIR))
  5564:         (void)opt_strings_flags(oldval, p_ssop_values, &ssop_flags, TRUE);
regstack (32 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3212
regexp.c (32 uses)
  vim_regexec_both():
  3380:     if (regstack.ga_data == NULL)
  3384:     ga_init2(&regstack, 1, REGSTACK_INITIAL);
  3385:     ga_grow(&regstack, REGSTACK_INITIAL);
  3386:     regstack.ga_growsize = REGSTACK_INITIAL * 8;
  3584:     if (regstack.ga_maxlen > REGSTACK_INITIAL)
  3585:     ga_clear(&regstack);
  regmatch():
  3779:   regstack.ga_len = 0;
  4836:             if ((long)((unsigned)regstack.ga_len >> 10) >= p_mmp)
  4841:             else if (ga_grow(&regstack, sizeof(regstar_T)) == FAIL)
  4845:             regstack.ga_len += sizeof(regstar_T);
  4881:         if ((long)((unsigned)regstack.ga_len >> 10) >= p_mmp)
  4886:         else if (ga_grow(&regstack, sizeof(regbehind_T)) == FAIL)
  4890:         regstack.ga_len += sizeof(regbehind_T);
  4956:     while (regstack.ga_len > 0 && status != RA_FAIL)
  4958:     rp = (regitem_T *)((char *)regstack.ga_data + regstack.ga_len) - 1;
  4958:     rp = (regitem_T *)((char *)regstack.ga_data + regstack.ga_len) - 1;
  5089:         regstack.ga_len -= sizeof(regbehind_T);
  5138:         regstack.ga_len -= sizeof(regbehind_T);
  5207:             regstack.ga_len -= sizeof(regbehind_T);
  5220:             regstack.ga_len -= sizeof(regstar_T);
  5286:             regstack.ga_len -= sizeof(regstar_T);
  5296:                  ((char *)regstack.ga_data + regstack.ga_len) - 1)
  5296:                  ((char *)regstack.ga_data + regstack.ga_len) - 1)
  5307:     if (regstack.ga_len == 0 || status == RA_FAIL)
  regstack_push():
  5341:     if ((long)((unsigned)regstack.ga_len >> 10) >= p_mmp)
  5346:     if (ga_grow(&regstack, sizeof(regitem_T)) == FAIL)
  5349:     rp = (regitem_T *)((char *)regstack.ga_data + regstack.ga_len);
  5349:     rp = (regitem_T *)((char *)regstack.ga_data + regstack.ga_len);
  5353:     regstack.ga_len += sizeof(regitem_T);
  regstack_pop():
  5366:     rp = (regitem_T *)((char *)regstack.ga_data + regstack.ga_len) - 1;
  5366:     rp = (regitem_T *)((char *)regstack.ga_data + regstack.ga_len) - 1;
  5369:     regstack.ga_len -= sizeof(regitem_T);
t_colors (32 uses in 7 translation units) defined in translation unit main.c, declared in ./globals.h:328
edit.c (1 use)
  pum_wanted():
  2625:     if (t_colors < 8
eval.c (1 use)
  f_synIDattr():
  15820:         if (t_colors > 1)
hardcopy.c (3 uses)
  prt_get_term_color():
  266:     if (t_colors > 8)
  prt_get_attr():
  307:     if (colorindex >= 0 && colorindex < t_colors)
  ex_hardcopy():
  615:     if (t_colors > 1)
option.c (2 uses)
  did_set_string_option():
  5995:         t_colors = atoi((char *)T_CCO);
  5996:         if (t_colors <= 1)
screen.c (9 uses)
  screen_start_highlight():
  6715:         if (t_colors > 1)
  6726:         else if (aep != NULL && t_colors > 1 && aep->ae_u.cterm.fg_color
  6747:         if (t_colors > 1)
  screen_stop_highlight():
  6791:         if (t_colors > 1)
  6846:         if (t_colors > 1)
  reset_cterm_colors():
  6868:     if (t_colors > 1)
  screen_fill():
  7117:                 t_colors <= 1);
  can_clear():
  7765:     return (*p != NUL && (t_colors <= 1
  draw_tabline():
  9077:     int        use_sep_chars = (t_colors < 8
syntax.c (10 uses)
  init_highlight():
  6437:     if (t_colors > 8)
  do_highlight():
  7067:             if (t_colors == 8)
  7089:             else if (t_colors == 16 || t_colors == 88
  7089:             else if (t_colors == 16 || t_colors == 88
  7090:                                || t_colors == 256)
  7102:                 switch (t_colors)
  7150:             if (t_colors < 16)
  hl_combine_attr():
  8038:     if (t_colors > 1)
  syn_attr2attr():
  8126:     if (t_colors > 1)
  syn_id2attr():
  8708:     if (t_colors > 1)
term.c (6 uses)
  set_color_count():
  1559:     t_colors = nr;
  1560:     if (t_colors > 1)
  1561:     sprintf((char *)nr_colors, "%d", t_colors);
  term_color():
  2762:     if (n >= 8 && t_colors >= 16
  ttest():
  2895:     t_colors = atoi((char *)T_CCO);
  got_code_from_term():
  5456:         if (i != t_colors)
y_regs (32 uses in 1 translation unit) defined static in translation unit ops.c, declared in ops.c:63
ops.c (32 uses)
  get_yank_register():
  890:     y_current = &(y_regs[i]);
  op_delete():
  1678:         y_current = &y_regs[9];
  1681:         y_regs[n] = y_regs[n - 1];
  1681:         y_regs[n] = y_regs[n - 1];
  1682:         y_previous = y_current = &y_regs[1];
  1683:         y_regs[1].y_array = NULL;        /* set register one to empty */
  init_yank():
  2724:     y_regs[i].y_array = NULL;
  op_yank():
  3085:         && (curr == &(y_regs[STAR_REGISTER])
  3088:     if (curr != &(y_regs[STAR_REGISTER]))
  3090:         copy_yank_reg(&(y_regs[STAR_REGISTER]));
  ex_display():
  3966:         yb = &(y_regs[0]);
  3969:         yb = &(y_regs[i]);
  write_viminfo_registers():
  5424:     if (y_regs[i].y_array == NULL)
  5437:     num_lines = y_regs[i].y_size;
  5439:         || (num_lines == 1 && y_regs[i].y_type == MCHAR
  5440:                     && STRLEN(y_regs[i].y_array[0]) == 0))
  5448:         len += (long)STRLEN(y_regs[i].y_array[j]) + 1L;
  5453:     switch (y_regs[i].y_type)
  5468:                                 y_regs[i].y_type);
  5473:     if (y_previous == &y_regs[i])
  5478:             (int)y_regs[i].y_width
  5490:         viminfo_writestring(fp, y_regs[i].y_array[j]);
  clip_free_selection():
  5569:     y_current = &y_regs[PLUS_REGISTER];
  5571:     y_current = &y_regs[STAR_REGISTER];
  clip_get_selection():
  5598:     if ((cbd == &clip_plus && y_regs[PLUS_REGISTER].y_array != NULL)
  5599:         || (cbd == &clip_star && y_regs[STAR_REGISTER].y_array != NULL))
  clip_yank_selection():
  5656:     y_ptr = &y_regs[PLUS_REGISTER];
  5658:     y_ptr = &y_regs[STAR_REGISTER];
  clip_convert_selection():
  5683:     y_ptr = &y_regs[PLUS_REGISTER];
  5685:     y_ptr = &y_regs[STAR_REGISTER];
  may_set_selection():
  5742:     if (y_current == &(y_regs[STAR_REGISTER]) && clip_star.available)
  5747:     else if (y_current == &(y_regs[PLUS_REGISTER]) && clip_plus.available)
g_do_tagpreview (31 uses in 6 translation units) defined in translation unit main.c, declared in ./globals.h:1041
ex_cmds.c (2 uses)
  prepare_tagpreview():
  5412:         if (win_split(g_do_tagpreview > 0 ? g_do_tagpreview : 0, 0)
  5412:         if (win_split(g_do_tagpreview > 0 ? g_do_tagpreview : 0, 0)
ex_docmd.c (5 uses)
  ex_psearch():
  9147:     g_do_tagpreview = p_pvh;
  9149:     g_do_tagpreview = 0;
  ex_ptag():
  9222:     g_do_tagpreview = p_pvh;
  ex_pedit():
  9235:     g_do_tagpreview = p_pvh;
  9247:     g_do_tagpreview = 0;
popupmnu.c (2 uses)
  pum_set_selected():
  545:         g_do_tagpreview = 3;
  547:         g_do_tagpreview = 0;
search.c (4 uses)
  find_pattern_in_path():
  4999:                               && g_do_tagpreview == 0
  5017:             if (g_do_tagpreview != 0)
  5037:             if (g_do_tagpreview != 0)
  5065:         if (g_do_tagpreview != 0
tag.c (14 uses)
  do_tag():
  214:     if (g_do_tagpreview)
  232:         if (g_do_tagpreview)
  288:             g_do_tagpreview ? ptag_entry.tagname == NULL :
  371:         if (g_do_tagpreview)
  409:         if (g_do_tagpreview)
  447:     if (g_do_tagpreview)
  502:     else if (g_do_tagpreview)
  589:         g_do_tagpreview = 0;
  630:                 (g_do_tagpreview
  966:         else if (g_do_tagpreview)
  jumpto_tag():
  3090:     if (g_do_tagpreview)
  3130:     if (g_do_tagpreview)
  3304:     if (g_do_tagpreview && curwin != curwin_save && win_valid(curwin_save))
  3329:     g_do_tagpreview = 0; /* For next time */
window.c (4 uses)
  do_window():
  485:             g_do_tagpreview = Prenum;
  487:             g_do_tagpreview = p_pvh;
  602:                 g_do_tagpreview = Prenum;
  604:                 g_do_tagpreview = p_pvh;
prt_resfile (31 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1792
hardcopy.c (31 uses)
  prt_resfile_next_line():
  1800:     idx = prt_resfile.line_end + 1;
  1801:     while (idx < prt_resfile.len)
  1803:     if (prt_resfile.buffer[idx] != PSLF && prt_resfile.buffer[idx] != PSCR)
  1803:     if (prt_resfile.buffer[idx] != PSLF && prt_resfile.buffer[idx] != PSCR)
  1807:     prt_resfile.line_start = idx;
  1809:     while (idx < prt_resfile.len)
  1811:     if (prt_resfile.buffer[idx] == PSLF || prt_resfile.buffer[idx] == PSCR)
  1811:     if (prt_resfile.buffer[idx] == PSLF || prt_resfile.buffer[idx] == PSCR)
  1815:     prt_resfile.line_end = idx;
  1817:     return (idx < prt_resfile.len);
  prt_resfile_strncmp():
  1827:     if (len > (prt_resfile.line_end - (prt_resfile.line_start + offset)))
  1827:     if (len > (prt_resfile.line_end - (prt_resfile.line_start + offset)))
  1830:     return STRNCMP(&prt_resfile.buffer[prt_resfile.line_start + offset],
  1830:     return STRNCMP(&prt_resfile.buffer[prt_resfile.line_start + offset],
  prt_resfile_skip_nonws():
  1840:     idx = prt_resfile.line_start + offset;
  1841:     while (idx < prt_resfile.line_end)
  1843:     if (isspace(prt_resfile.buffer[idx]))
  1844:         return idx - prt_resfile.line_start;
  prt_resfile_skip_ws():
  1856:     idx = prt_resfile.line_start + offset;
  1857:     while (idx < prt_resfile.line_end)
  1859:     if (!isspace(prt_resfile.buffer[idx]))
  1860:         return idx - prt_resfile.line_start;
  prt_next_dsc():
  1909:     p_dsc_line->string = &prt_resfile.buffer[prt_resfile.line_start + offset];
  1909:     p_dsc_line->string = &prt_resfile.buffer[prt_resfile.line_start + offset];
  1910:     p_dsc_line->len = prt_resfile.line_end - (prt_resfile.line_start + offset);
  1910:     p_dsc_line->len = prt_resfile.line_end - (prt_resfile.line_start + offset);
  prt_open_resource():
  1935:     vim_memset(prt_resfile.buffer, NUL, PRT_FILE_BUFFER_LEN);
  1938:     prt_resfile.len = (int)fread((char *)prt_resfile.buffer, sizeof(char_u),
  1938:     prt_resfile.len = (int)fread((char *)prt_resfile.buffer, sizeof(char_u),
  1948:     prt_resfile.line_end = -1;
  1949:     prt_resfile.line_start = 0;
mouse_row (30 uses in 8 translation units) defined in translation unit main.c, declared in ./globals.h:384
edit.c (2 uses)
  ins_mousescroll():
  8703:     if (gui.in_use && mouse_row >= 0 && mouse_col >= 0)
  8707:     row = mouse_row;
eval.c (1 use)
  f_getchar():
  10023:         int        row = mouse_row;
ex_getln.c (2 uses)
  getcmdline():
  1284:         if (mouse_row < cmdline_row && clip_star.available)
  1310:             if (mouse_row <= cmdline_row + ccline.cmdspos / Columns
message.c (1 use)
  wait_return():
  987:                     && mouse_row < msg_row
misc1.c (1 use)
  get_number():
  3216:         n = mouse_row + 1;
normal.c (8 uses)
  do_mouse():
  2465:     if (mouse_row == 0 && firstwin->w_winrow > 0)
  2563:             if (mouse_row < W_WINROW(curwin)
  2564:                  || mouse_row
  2739:     if (mouse_row == 0)
  2746:     if (is_drag && mouse_row < 0 && !in_status_line)
  2749:     mouse_row = 0;
  nv_mousescroll():
  4431:     if (gui.in_use && mouse_row >= 0 && mouse_col >= 0)
  4435:     row = mouse_row;
term.c (6 uses)
  check_termcode():
  4159:         mouse_row = 128 * (bytes[2] - ' ' - 1) + bytes[3] - ' ' - 1;
  4219:             mouse_row = 128 * (bytes[3] - ' ' - 1)
  4230:             mouse_row = bytes[2] - ' ' - 1;
  4703:                 && orig_mouse_row == mouse_row
  4712:                 || (mouse_row == 0 && firstwin->w_winrow > 0)
  4720:             orig_mouse_row = mouse_row;
ui.c (9 uses)
  clip_modeless():
  608:         clip_start_selection(mouse_col, mouse_row, FALSE);
  609:     clip_process_selection(button, mouse_col, mouse_row, repeat);
  612:     clip_start_selection(mouse_col, mouse_row, repeat);
  618:         clip_process_selection(button, mouse_col, mouse_row, repeat);
  621:     clip_process_selection(MOUSE_RELEASE, mouse_col, mouse_row, FALSE);
  jump_to_mouse():
  2401:     int        row = mouse_row;
  2421:         && prev_row == mouse_row
  2448:     prev_row = mouse_row;
  get_fpos_of_mouse():
  2950:     int        row = mouse_row;
VIsual_select (30 uses in 7 translation units) defined in translation unit main.c, declared in ./globals.h:634
eval.c (1 use)
  f_mode():
  12861:     if (VIsual_select)
getchar.c (5 uses)
  start_redo():
  815:     VIsual_select = FALSE;
  vgetorpeek():
  2346:                     if (VIsual_active && VIsual_select
  2349:                     VIsual_select = FALSE;
  2407:             if (VIsual_active && VIsual_select
  2410:                 VIsual_select = FALSE;
gui_mac.c (1 use)
  HandleODocAE():
  1148:     VIsual_select = FALSE;
menu.c (2 uses)
  get_menu_index():
  1590:     if (VIsual_select)
  get_menu_mode():
  1762:     if (VIsual_select)
misc2.c (1 use)
  get_real_state():
  3049:         if (VIsual_select)
normal.c (19 uses)
  normal_cmd():
  652:         && VIsual_select
  675:     if (!(VIsual_active && VIsual_select))
  1317:         VIsual_select = TRUE;
  do_pending_operator():
  1414:         VIsual_select = FALSE;
  1509:         if (VIsual_select && VIsual_mode == 'V')
  do_mouse():
  2402:         if (VIsual_select)
  2912:         || (VIsual_active && VIsual_select)
  check_scrollbind():
  3950:     int        old_VIsual_select = VIsual_select;
  3970:     VIsual_select = VIsual_active = 0;
  4027:     VIsual_select = old_VIsual_select;
  nv_ctrlg():
  5211:     VIsual_select = !VIsual_select;
  5211:     VIsual_select = !VIsual_select;
  nv_ctrlh():
  5229:     if (VIsual_active && VIsual_select)
  nv_ctrlo():
  5273:     if (VIsual_active && VIsual_select)
  5275:     VIsual_select = FALSE;
  nv_visual():
  7348:     VIsual_select = cap->arg;
  may_start_select():
  7446:     VIsual_select = (stuff_empty() && typebuf_typed()
  nv_g_cmd():
  7626:         VIsual_select = TRUE;
  nv_select():
  8547:     VIsual_select = TRUE;
screen.c (1 use)
  showmode():
  8957:             switch ((VIsual_select ? 4 : 0)
curchr (29 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:632
regexp.c (29 uses)
  reg():
  1267:     if (curchr == Magic(')'))
  regconcat():
  1366:                 curchr = -1;
  1371:                 curchr = -1;
  1376:                 curchr = -1;
  1381:                 curchr = -1;
  initchr():
  2586:     curchr = prevprevchr = prevchr = nextchr = -1;
  peekchr():
  2596:     if (curchr == -1)
  2598:     switch (curchr = regparse[0])
  2605:         curchr = Magic(curchr);
  2605:         curchr = Magic(curchr);
  2631:         curchr = Magic(curchr);
  2631:         curchr = Magic(curchr);
  2644:         curchr = Magic('*');
  2659:         curchr = Magic('^');
  2680:             curchr = Magic('$');
  2688:             curchr = '\\';    /* trailing '\' */
  2704:             curchr = -1;
  2712:             curchr = toggle_Magic(curchr);
  2712:             curchr = toggle_Magic(curchr);
  2719:             curchr = backslash_trans(c);
  2722:             curchr = toggle_Magic(c);
  2731:             curchr = (*mb_ptr2char)(regparse + 1);
  2734:             curchr = c;
  2742:         curchr = (*mb_ptr2char)(regparse);
  2747:     return curchr;
  skipchr():
  2777:     prevchr = curchr;
  2778:     curchr = nextchr;        /* use previously unget char, or -1 */
  ungetchr():
  2814:     nextchr = curchr;
  2815:     curchr = prevchr;
full_screen (29 uses in 9 translation units) defined in translation unit main.c, declared in ./globals.h:598
gui.c (2 uses)
  gui_start():
  80:     if (full_screen)
  83:     full_screen = FALSE;
message.c (3 uses)
  msg_start():
  1134:     if (!msg_scroll && full_screen)    /* overwrite last message */
  msg_check_screen():
  2876:     if (!full_screen || !screen_valid(FALSE))
  msg_clr_eos_force():
  2907:     if (full_screen)    /* only when termcap codes are valid */
normal.c (1 use)
  check_visual_highlight():
  3177:     if (full_screen)
option.c (10 uses)
  do_set():
  4686:             if (full_screen)
  did_set_string_option():
  5990:     else if (istermoption(&options[opt_idx]) && full_screen)
  set_num_option():
  7841:     if (p_ch != old_value && full_screen
  7895:     if (Rows < min_rows() && full_screen)
  7905:     if (Columns < MIN_COLUMNS && full_screen)
  7936:     else if (full_screen
  7977:         && full_screen)
  7997:     if ((p_sj < -100 || p_sj >= Rows) && full_screen)
  8007:     if (p_so < 0 && full_screen)
  8012:     if (p_siso < 0 && full_screen)
os_unix.c (2 uses)
  deathtrap():
  1017:     full_screen = FALSE;    /* don't write message to the GUI, it might be
  mch_exit():
  3002:     if (full_screen)
screen.c (2 uses)
  screen_start_highlight():
  6695:     if (full_screen
  screenalloc():
  7343:         || (!full_screen && ScreenLines == NULL))
term.c (6 uses)
  set_termname():
  1989:     full_screen = TRUE;        /* we can use termcap codes from now on */
  settmode():
  3188:     if (full_screen)
  starttermcap():
  3229:     if (full_screen && !termcap_active)
  swapping_screen():
  3315:     return (full_screen && *T_TI != NUL);
  cursor_off():
  3447:     if (full_screen)
  term_cursor_shape():
  3464:     if (!full_screen || *T_CSI == NUL || *T_CEI == NUL)
ui.c (1 use)
  ui_new_shellsize():
  349:     if (full_screen && !exiting)
window.c (2 uses)
  win_setheight_win():
  4661:     if (full_screen && msg_scrolled == 0 && row < cmdline_row)
  command_height():
  5542:         if (full_screen)
inbufcount (29 uses in 1 translation unit) defined static in translation unit ui.c, declared in ui.c:1520
ui.c (29 uses)
  vim_is_input_buf_full():
  1531:     return (inbufcount >= INBUFLEN);
  vim_is_input_buf_empty():
  1537:     return (inbufcount == 0);
  get_input_buf():
  1571:     gap->ga_data = alloc((unsigned)inbufcount + 1);
  1573:         mch_memmove(gap->ga_data, inbuf, (size_t)inbufcount);
  1574:     gap->ga_len = inbufcount;
  set_input_buf():
  1595:         inbufcount = gap->ga_len;
  add_to_input_buf():
  1617:     if (inbufcount + len > INBUFLEN + MAX_KEY_CODE_LEN)
  1627:     inbuf[inbufcount++] = *s++;
  trash_input_buf():
  1678:     inbufcount = 0;
  read_from_input_buf():
  1692:     if (inbufcount == 0)    /* if the buffer is empty, fill it */
  1694:     if (maxlen > inbufcount)
  1695:     maxlen = inbufcount;
  1697:     inbufcount -= maxlen;
  1698:     if (inbufcount)
  1699:     mch_memmove(inbuf, inbuf + maxlen, (size_t)inbufcount);
  fill_input_buf():
  1767:     if (restlen > INBUFLEN - inbufcount)
  1768:         unconverted = INBUFLEN - inbufcount;
  1771:     mch_memmove(inbuf + inbufcount, rest, unconverted);
  1782:     inbufcount += unconverted;
  1796:         (char *)inbuf + inbufcount, (size_t)((INBUFLEN - inbufcount)
  1796:         (char *)inbuf + inbufcount, (size_t)((INBUFLEN - inbufcount)
  1840:     inbufcount = 1;
  1855:         inbufcount -= unconverted;
  1856:         len = convert_input_safe(inbuf + inbufcount,
  1857:                      len + unconverted, INBUFLEN - inbufcount,
  1866:         if (inbuf[inbufcount] == 3 && ctrl_c_interrupts)
  1869:         mch_memmove(inbuf, inbuf + inbufcount, (size_t)(len + 1));
  1870:         inbufcount = 0;
  1873:         ++inbufcount;
p_wh (29 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:860
ex_docmd.c (1 use)
  makeopens():
  10041:                    p_wh, p_wiw, p_shm) < 0 || put_eol(fd) == FAIL)
option.c (10 uses)
  set_num_option():
  7617:     if (pp == &p_wh || pp == &p_hh)
  7619:     if (p_wh < 1)
  7622:         p_wh = 1;
  7624:     if (p_wmh > p_wh)
  7627:         p_wh = p_wmh;
  7638:         if (pp == &p_wh && curwin->w_height < p_wh)
  7638:         if (pp == &p_wh && curwin->w_height < p_wh)
  7639:         win_setheight((int)p_wh);
  7653:     if (p_wmh > p_wh)
  7656:         p_wmh = p_wh;
window.c (18 uses)
  win_split_ins():
  804:         needed += p_wh - p_wmh;
  1137:     i = p_wh;
  1139:         p_wh = size;
  1147:     p_wh = i;
  make_windows():
  1275:                   - (p_wh - p_wmh)) / (p_wmh + STATUS_HEIGHT);
  win_equal_rec():
  1869:         next_curwin_size = p_wh + room;
  1886:                 room += p_wh - p_wmh;
  1888:                 if (new_size < p_wh)
  1889:                 new_size = p_wh;
  1910:                            / (totwincount - 1) > p_wh)
  1914:             next_curwin_size = (room + p_wh
  1917:             room -= next_curwin_size - p_wh;
  1920:             next_curwin_size = p_wh;
  1962:             next_curwin_size -= p_wh - (m - n);
  frame_minheight():
  2976:         m = p_wh + topfrp->fr_win->w_status_height;
  win_enter_ext():
  4051:     if (curwin->w_height < p_wh && !curwin->w_p_wfh)
  4052:     win_setheight((int)p_wh);
  win_setminheight():
  5056:     room = -p_wh;
p_ws (29 uses in 6 translation units) defined in translation unit main.c, declared in ./option.h:867
edit.c (4 uses)
  ins_compl_get_exp():
  4056:         save_p_ws = p_ws;
  4058:         p_ws = FALSE;
  4060:         p_ws = TRUE;
  4186:         p_ws = save_p_ws;
eval.c (7 uses)
  get_search_arg():
  14011:         case 'w': p_ws = TRUE; break;
  14012:         case 'W': p_ws = FALSE; break;
  search_cmn():
  14054:     int        save_p_ws = p_ws;
  14138:     p_ws = save_p_ws;
  searchpair_cmn():
  14193:     int        save_p_ws = p_ws;
  14227:     p_ws = FALSE;
  14258:     p_ws = save_p_ws;
normal.c (3 uses)
  find_decl():
  4169:     save_p_ws = p_ws;
  4171:     p_ws = FALSE;    /* don't wrap around end of file now */
  4262:     p_ws = save_p_ws;
search.c (7 uses)
  searchit():
  914:         if (!p_ws || stop_lnum != 0 || got_int || called_emsg
  948:         if (p_ws)
  search_for_exact_line():
  1414:         if (p_ws)
  1428:         if (p_ws)
  current_tagblock():
  3769:     int        save_p_ws = p_ws;
  3772:     p_ws = FALSE;
  3953:     p_ws = save_p_ws;
spell.c (5 uses)
  spell_move_to():
  2213:         else if (!p_ws)
  2230:         else if (!p_ws)
  ex_spellrepall():
  10342:     int        save_ws = p_ws;
  10356:     p_ws = FALSE;
  10392:     p_ws = save_ws;
tag.c (3 uses)
  jumpto_tag():
  3181:         save_p_ws = p_ws;
  3184:         p_ws = TRUE;    /* need 'wrapscan' for backward searches */
  3253:         p_ws = save_p_ws;
cmd_silent (28 uses in 6 translation units) defined in translation unit main.c, declared in ./globals.h:919
eval.c (3 uses)
  get_user_input():
  11606:     int        cmd_silent_save = cmd_silent;
  11620:     cmd_silent = FALSE;        /* Want to see the prompt. */
  11679:     cmd_silent = cmd_silent_save;
ex_cmds2.c (3 uses)
  do_debug():
  91:     int        save_cmd_silent = cmd_silent;
  131:     cmd_silent = FALSE;        /* display commands */
  286:     cmd_silent = save_cmd_silent;
ex_getln.c (13 uses)
  getcmdline():
  251:     if (!cmd_silent)
  758:         if (!cmd_silent)
  972:             if (!cmd_silent)
  1399:         if (p_is && !cmd_silent && (firstc == '/' || firstc == '?'))
  1592:         if (enc_utf8 && utf_iscomposing(c) && !cmd_silent)
  1709:     if (p_is && !cmd_silent && (firstc == '/' || firstc == '?'))
  putcmdline():
  2657:     if (cmd_silent)
  unputcmdline():
  2673:     if (cmd_silent)
  put_on_cmdline():
  2798:     if (redraw && !cmd_silent)
  redrawcmdline():
  3073:     if (cmd_silent)
  redrawcmdprompt():
  3086:     if (cmd_silent)
  redrawcmd():
  3109:     if (cmd_silent)
  cursorcmd():
  3155:     if (cmd_silent)
getchar.c (7 uses)
  flush_buffers():
  454:     cmd_silent = FALSE;
  ins_typebuf():
  1030:     cmd_silent = TRUE;
  ins_char_typebuf():
  1069:     (void)ins_typebuf(buf, KeyNoremap, 0, !KeyTyped, cmd_silent);
  vgetorpeek():
  2012:             cmd_silent = FALSE;
  2305:                     cmd_silent = (typebuf.tb_silent > 0);
  2381:             cmd_silent = (typebuf.tb_silent > 0);
  2461:                 0, TRUE, cmd_silent || mp->m_silent);
message.c (1 use)
  emsg():
  632:     cmd_silent = FALSE;
search.c (1 use)
  do_search():
  1179:                         && !cmd_silent && msg_silent == 0)
current_funccal (28 uses in 1 translation unit) defined in translation unit eval.c, declared in eval.c:874
eval.c (28 uses)
  current_func_returned():
  882:     return current_funccal->returned;
  save_funccal():
  1579:     funccall_T *fc = current_funccal;
  1581:     current_funccal = NULL;
  restore_funccal():
  1591:     current_funccal = fc;
  list_func_vars():
  2042:     if (current_funccal != NULL)
  2043:     list_hashtable_vars(&current_funccal->l_vars.dv_hashtab,
  garbage_collect():
  6164:     for (fc = current_funccal; fc != NULL; fc = fc->caller)
  find_var_in_ht():
  17957:         case 'l': return current_funccal == NULL
  17958:                     ? NULL : &current_funccal->l_vars_var;
  17959:         case 'a': return current_funccal == NULL
  17960:                        ? NULL : &current_funccal->l_avars_var;
  find_var_ht():
  18004:     if (current_funccal == NULL)
  18006:     return &current_funccal->l_vars.dv_hashtab; /* l: variable */
  18026:     if (*name == 'a' && current_funccal != NULL) /* function argument */
  18027:     return &current_funccal->l_avars.dv_hashtab;
  18028:     if (*name == 'l' && current_funccal != NULL) /* local function variable */
  18029:     return &current_funccal->l_vars.dv_hashtab;
  call_user_func():
  20241:     fc.caller = current_funccal;
  20242:     current_funccal = &fc;
  20509:     current_funccal = fc.caller;
  ex_return():
  20548:     if (current_funccal == NULL)
  do_return():
  20609:     current_funccal->returned = FALSE;
  20632:         rettv = current_funccal->rettv;
  20650:         current_funccal->rettv->v_type = VAR_NUMBER;
  20651:         current_funccal->rettv->vval.v_number = 0;
  20658:     current_funccal->returned = TRUE;
  20665:         clear_tv(current_funccal->rettv);
  20666:         *current_funccal->rettv = *(typval_T *)rettv;
chartab (27 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:970
charset.c (26 uses)
  buf_init_chartab():
  86:         chartab[c++] = (dy_flags & DY_UHEX) ? 4 : 2;
  92:         chartab[c++] = 1 + CT_PRINT_CHAR;
  105:         chartab[c++] = CT_PRINT_CHAR + 1;
  108:         chartab[c++] = CT_PRINT_CHAR + 1;
  111:         chartab[c++] = CT_PRINT_CHAR + 2;
  115:         chartab[c++] = (dy_flags & DY_UHEX) ? 4 : 2;
  124:         chartab[c] |= CT_FNAME_CHAR;
  222:                 chartab[c] &= ~CT_ID_CHAR;
  224:                 chartab[c] |= CT_ID_CHAR;
  246:                 chartab[c] = (chartab[c] & ~CT_CELL_MASK)
  246:                 chartab[c] = (chartab[c] & ~CT_CELL_MASK)
  248:                 chartab[c] &= ~CT_PRINT_CHAR;
  252:                 chartab[c] = (chartab[c] & ~CT_CELL_MASK) + 1;
  252:                 chartab[c] = (chartab[c] & ~CT_CELL_MASK) + 1;
  253:                 chartab[c] |= CT_PRINT_CHAR;
  260:                 chartab[c] &= ~CT_FNAME_CHAR;
  262:                 chartab[c] |= CT_FNAME_CHAR;
  byte2cells():
  702:     return (chartab[b] & CT_CELL_MASK);
  char2cells():
  732:     return (chartab[c & 0xff] & CT_CELL_MASK);
  ptr2cells():
  749:     return (chartab[*p] & CT_CELL_MASK);
  vim_isIDc():
  871:     return (c > 0 && c < 0x100 && (chartab[c] & CT_ID_CHAR));
  vim_isfilec():
  931:     return (c >= 0x100 || (c > 0 && (chartab[c] & CT_FNAME_CHAR)));
  vim_isprintc():
  964:     return (c >= 0x100 || (c > 0 && (chartab[c] & CT_PRINT_CHAR)));
  vim_isprintc_strict():
  981:     return (c >= 0x100 || (c > 0 && (chartab[c] & CT_PRINT_CHAR)));
  getvcol():
  1288:             incr = CHARSIZE(c);
  1302:             incr = CHARSIZE(c);
screen.c (1 use)
  win_line():
  4059:         if (!(chartab[c & 0xff] & CT_PRINT_CHAR))
class_tab (27 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:488
regexp.c (27 uses)
  init_class_tab():
  512:         class_tab[i] = RI_DIGIT + RI_HEX + RI_OCTAL + RI_WORD;
  514:         class_tab[i] = RI_DIGIT + RI_HEX + RI_WORD;
  516:         class_tab[i] = RI_HEX + RI_WORD + RI_HEAD + RI_ALPHA + RI_LOWER;
  523:         class_tab[i] = RI_WORD + RI_HEAD + RI_ALPHA + RI_LOWER;
  525:         class_tab[i] = RI_HEX + RI_WORD + RI_HEAD + RI_ALPHA + RI_UPPER;
  532:         class_tab[i] = RI_WORD + RI_HEAD + RI_ALPHA + RI_UPPER;
  534:         class_tab[i] = RI_WORD + RI_HEAD;
  536:         class_tab[i] = 0;
  538:     class_tab[' '] |= RI_WHITE;
  539:     class_tab['\t'] |= RI_WHITE;
  regmatch():
  4138:         if (!ri_digit(c))
  4145:         if (c == NUL || ri_digit(c))
  4152:         if (!ri_hex(c))
  4159:         if (c == NUL || ri_hex(c))
  4166:         if (!ri_octal(c))
  4173:         if (c == NUL || ri_octal(c))
  4180:         if (!ri_word(c))
  4187:         if (c == NUL || ri_word(c))
  4194:         if (!ri_head(c))
  4201:         if (c == NUL || ri_head(c))
  4208:         if (!ri_alpha(c))
  4215:         if (c == NUL || ri_alpha(c))
  4222:         if (!ri_lower(c))
  4229:         if (c == NUL || ri_lower(c))
  4236:         if (!ri_upper(c))
  4243:         if (c == NUL || ri_upper(c))
  regrepeat():
  5560:         else if ((class_tab[*scan] & mask) == testval)
e_intern2 (27 uses in 8 translation units) defined in translation unit main.c, declared in ./globals.h:1517
edit.c (1 use)
  ins_complete():
  4946:         EMSG2(_(e_intern2), "ins_complete()");
eval.c (18 uses)
  restore_vimvar():
  1330:         EMSG2(_(e_intern2), "restore_vimvar()");
  ex_let_vars():
  1857:         EMSG2(_(e_intern2), "ex_let_vars()");
  tv_equal():
  5618:     EMSG2(_(e_intern2), "tv_equal()");
  dictitem_remove():
  6415:     EMSG2(_(e_intern2), "dictitem_remove()");
  echo_string():
  6902:         EMSG2(_(e_intern2), "echo_string()");
  tv2string():
  6937:         EMSG2(_(e_intern2), "tv2string()");
  f_empty():
  8814:         EMSG2(_(e_intern2), "f_empty()");
  f_type():
  16494:     default: EMSG2(_(e_intern2), "f_type()"); n = 0; break;
  free_tv():
  17691:         EMSG2(_(e_intern2), "free_tv()");
  clear_tv():
  17730:         EMSG2(_(e_intern2), "clear_tv()");
  get_tv_number_chk():
  17790:         EMSG2(_(e_intern2), "get_tv_number()");
  get_tv_string_buf_chk():
  17903:         EMSG2(_(e_intern2), "get_tv_string_buf()");
  set_var():
  18307:         EMSG2(_(e_intern2), "set_var()");
  copy_tv():
  18466:         EMSG2(_(e_intern2), "copy_tv()");
  item_copy():
  18535:         EMSG2(_(e_intern2), "item_copy()");
  func_free():
  20148:     EMSG2(_(e_intern2), "func_free()");
  func_unref():
  20169:         EMSG2(_(e_intern2), "func_unref()");
  func_ref():
  20193:         EMSG2(_(e_intern2), "func_ref()");
getchar.c (2 uses)
  free_typebuf():
  1283:     EMSG2(_(e_intern2), "Free typebuf 1");
  1287:     EMSG2(_(e_intern2), "Free typebuf 2");
hashtab.c (1 use)
  hash_add():
  224:     EMSG2(_(e_intern2), "hash_add()");
option.c (2 uses)
  was_set_insecurely():
  5244:     EMSG2(_(e_intern2), "was_set_insecurely()");
  set_string_option_direct():
  5312:         EMSG2(_(e_intern2), "set_string_option_direct()");
spell.c (1 use)
  add_sound_suggest():
  13227:     EMSG2(_(e_intern2), "add_sound_suggest()");
undo.c (1 use)
  undo_time():
  1032:         EMSG2(_(e_intern2), "undo_time()");
window.c (1 use)
  win_close_othertab():
  2275:         EMSG2(_(e_intern2), "win_close_othertab()");
emsg_silent (27 uses in 14 translation units) defined in translation unit main.c, declared in ./globals.h:918
buffer.c (1 use)
  buflist_new():
  1649:         if (emsg_silent == 0)
edit.c (1 use)
  has_compl_option():
  1996:     if (emsg_silent == 0)
ex_cmds.c (1 use)
  check_overwrite():
  2777:     if (other && !emsg_silent)
ex_cmds2.c (3 uses)
  do_debug():
  93:     int        save_emsg_silent = emsg_silent;
  133:     emsg_silent = FALSE;    /* display error messages */
  288:     emsg_silent = save_emsg_silent;
ex_docmd.c (4 uses)
  do_one_cmd():
  1871:                 ++emsg_silent;
  2699:     emsg_silent -= did_esilent;
  2700:     if (emsg_silent < 0)
  2701:         emsg_silent = 0;
ex_eval.c (6 uses)
  should_abort():
  122:     return ((retcode == FAIL && trylevel != 0 && !emsg_silent) || aborting());
  cause_errthrow():
  189:     if (((trylevel == 0 && !cause_abort) || emsg_silent) && !did_throw)
  ex_try():
  1431:         if (emsg_silent)
  1440:             elem->saved_emsg_silent = emsg_silent;
  1444:             emsg_silent = 0;
  cleanup_conditionals():
  2205:         emsg_silent = elem->saved_emsg_silent;
fileio.c (1 use)
  buf_check_timestamp():
  6570:             if (emsg_silent == 0)
message.c (1 use)
  emsg():
  609:     if (emsg_silent != 0)
misc1.c (3 uses)
  changed():
  2508:         if (need_wait_return && emsg_silent == 0)
  beep_flush():
  3332:     if (emsg_silent == 0)
  vim_beep():
  3345:     if (emsg_silent == 0)
misc2.c (2 uses)
  lalloc():
  834:     emsg_silent = 0;
  do_outofmem_msg():
  948:     emsg_silent = 0;
normal.c (1 use)
  normal_cmd():
  1216:         && emsg_silent == 0
os_unix.c (1 use)
  mch_call_shell():
  4487:         if (retval && !emsg_silent)
screen.c (1 use)
  check_for_delay():
  7265:         && emsg_silent == 0)
term.c (1 use)
  set_termname():
  1819:         if (emsg_silent == 0)
mouse_col (27 uses in 7 translation units) defined in translation unit main.c, declared in ./globals.h:385
edit.c (2 uses)
  ins_mousescroll():
  8703:     if (gui.in_use && mouse_row >= 0 && mouse_col >= 0)
  8708:     col = mouse_col;
eval.c (1 use)
  f_getchar():
  10024:         int        col = mouse_col;
ex_getln.c (1 use)
  getcmdline():
  1311:                   && mouse_col < ccline.cmdspos % Columns + i)
misc2.c (5 uses)
  get_pseudo_mouse_code():
  2838:         if (mouse_col < 0 || mouse_col > MOUSE_COLOFF)
  2838:         if (mouse_col < 0 || mouse_col > MOUSE_COLOFF)
  2840:         if (mouse_col < 0)
  2841:             mouse_col = 0;
  2843:             mouse_col -= MOUSE_COLOFF;
normal.c (4 uses)
  do_mouse():
  2474:         && mouse_col < Columns)
  2476:         c1 = TabPageIdxs[mouse_col];
  nv_mousescroll():
  4431:     if (gui.in_use && mouse_row >= 0 && mouse_col >= 0)
  4436:     col = mouse_col;
term.c (5 uses)
  check_termcode():
  4158:         mouse_col = 128 * (bytes[0] - ' ' - 1) + bytes[1] - ' ' - 1;
  4217:             mouse_col = 128 * (bytes[1] - ' ' - 1)
  4229:             mouse_col = bytes[1] - ' ' - 1;
  4702:                 && orig_mouse_col == mouse_col
  4719:             orig_mouse_col = mouse_col;
ui.c (9 uses)
  clip_modeless():
  608:         clip_start_selection(mouse_col, mouse_row, FALSE);
  609:     clip_process_selection(button, mouse_col, mouse_row, repeat);
  612:     clip_start_selection(mouse_col, mouse_row, repeat);
  618:         clip_process_selection(button, mouse_col, mouse_row, repeat);
  621:     clip_process_selection(MOUSE_RELEASE, mouse_col, mouse_row, FALSE);
  jump_to_mouse():
  2402:     int        col = mouse_col;
  2422:         && prev_col == mouse_col)
  2449:     prev_col = mouse_col;
  get_fpos_of_mouse():
  2951:     int        col = mouse_col;
p_wiw (27 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:865
ex_docmd.c (1 use)
  makeopens():
  10041:                    p_wh, p_wiw, p_shm) < 0 || put_eol(fd) == FAIL)
option.c (9 uses)
  set_num_option():
  7662:     else if (pp == &p_wiw)
  7664:     if (p_wiw < 1)
  7667:         p_wiw = 1;
  7669:     if (p_wmw > p_wiw)
  7672:         p_wiw = p_wmw;
  7676:     if (lastwin != firstwin && curwin->w_width < p_wiw)
  7677:         win_setwidth((int)p_wiw);
  7688:     if (p_wmw > p_wiw)
  7691:         p_wmw = p_wiw;
window.c (17 uses)
  win_split_ins():
  743:         needed += p_wiw - p_wmw;
  1124:     i = p_wiw;
  1126:         p_wiw = size;
  1144:     p_wiw = i;
  make_windows():
  1268:                          - (p_wiw - p_wmw)) / (p_wmw + 1);
  win_equal_rec():
  1724:         next_curwin_size = p_wiw + room;
  1741:                 room += p_wiw - p_wmw;
  1743:                 if (new_size < p_wiw)
  1744:                 new_size = p_wiw;
  1765:                           / (totwincount - 1) > p_wiw)
  1769:             next_curwin_size = (room + p_wiw
  1772:             room -= next_curwin_size - p_wiw;
  1775:             next_curwin_size = p_wiw;
  1817:             next_curwin_size -= p_wiw - (m - n);
  frame_minwidth():
  3028:         m = p_wiw + topfrp->fr_win->w_vsep_width;
  win_enter_ext():
  4058:     if (curwin->w_width < p_wiw && !curwin->w_p_wfw)
  4059:     win_setwidth((int)p_wiw);
screen_attr (27 uses in 1 translation unit) defined static in translation unit screen.c, declared in screen.c:94
screen.c (27 uses)
  redraw_later_clear():
  219:     screen_attr = HL_ALL + 1;
  223:     screen_attr = HL_BOLD | HL_UNDERLINE | HL_INVERSE;
  screen_line():
  5053:             screen_attr = ScreenAttrs[off_to - 1];
  5058:             screen_attr = 0;        /* highlighting has stopped */
  5171:         screen_attr = 0;
  5173:         else if (screen_attr != 0)
  screen_start_highlight():
  6694:     screen_attr = attr;
  screen_stop_highlight():
  6769:     if (screen_attr != 0
  6781:         sprintf(buf, IF_EB("\033|%dH", ESC_STR "|%dH"), screen_attr);
  6787:         if (screen_attr > HL_ALL)            /* special HL attr. */
  6796:             aep = syn_cterm_attr2entry(screen_attr);
  6803:             aep = syn_term_attr2entry(screen_attr);
  6813:             screen_attr = 0;
  6815:             screen_attr = aep->ae_attr;
  6822:         if (screen_attr & HL_STANDOUT)
  6829:         if (screen_attr & (HL_UNDERLINE | HL_UNDERCURL))
  6836:         if (screen_attr & HL_ITALIC)
  6843:         if (do_ME || (screen_attr & (HL_BOLD | HL_INVERSE)))
  6858:     screen_attr = 0;
  reset_cterm_colors():
  6874:         screen_attr = -1;
  6879:         screen_attr = -1;
  screen_char():
  6923:     if (screen_attr != attr)
  6928:     if (screen_attr != attr)
  screenclear2():
  7646:     screen_attr = -1;    /* force setting the Normal colors */
  windgoto():
  7825:     if (screen_attr && *T_MS == NUL)
  7851:         attr = screen_attr;
  8004:                 if (ScreenAttrs[off] != screen_attr)
screen_Rows (27 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:76
gui.c (5 uses)
  gui_check_pos():
  876:     if (gui.row >= screen_Rows)
  877:     gui.row = screen_Rows - 1;
  880:     if (gui.cursor_row >= screen_Rows || gui.cursor_col >= screen_Columns)
  gui_update_cursor():
  932:     if (gui.row >= screen_Rows || gui.col >= screen_Columns)
  gui_resize_shell():
  1311:     if (gui.num_rows != screen_Rows || gui.num_cols != screen_Columns
screen.c (14 uses)
  screen_getbytes():
  6167:     if (ScreenLines != NULL && row < screen_Rows && col < screen_Columns)
  screen_puts_len():
  6262:     if (ScreenLines == NULL || row >= screen_Rows)    /* safety check */
  screen_char():
  6898:     if (row >= screen_Rows || col >= screen_Columns)
  6903:     if (row == screen_Rows - 1 && col == screen_Columns - 1
  screen_char_2():
  6976:     if (off + 1 >= (unsigned)(screen_Rows * screen_Columns))
  6981:     if (row == screen_Rows - 1 && col >= screen_Columns - 2)
  screen_fill():
  7103:     if (end_row > screen_Rows)        /* safety check */
  7104:     end_row = screen_Rows;
  screenalloc():
  7333:         && Rows == screen_Rows
  7501:         old_row = new_row + (screen_Rows - Rows);
  7565:     old_Rows = screen_Rows;
  7567:     screen_Rows = Rows;
  windgoto():
  7819:     if (row >= screen_Rows)
  7820:         row = screen_Rows - 1;
ui.c (8 uses)
  clip_scroll_selection():
  1027:     else if (lnum >= screen_Rows)    /* scrolled off of the screen */
  1035:     else if (lnum >= screen_Rows)
  1036:     clip_star.end.lnum = screen_Rows - 1;
  clip_copy_modeless_selection():
  1220:     if (row < screen_Rows && end_col <= screen_Columns)
  clip_get_word_boundaries():
  1328:     if (row >= screen_Rows || col >= screen_Columns || ScreenLines == NULL)
  clip_get_line_end():
  1383:     if (row >= screen_Rows || ScreenLines == NULL)
  check_row():
  1937:     if (row >= (int)screen_Rows)
  1938:     return (int)screen_Rows - 1;
augroups (26 uses in 1 translation unit) defined static in translation unit fileio.c, declared in fileio.c:7220
fileio.c (26 uses)
  show_autocmd():
  7275:         if (AUGROUP_NAME(ap->group) == NULL)
  7278:         msg_puts_attr(AUGROUP_NAME(ap->group), hl_attr(HLF_T));
  au_new_group():
  7451:     for (i = 0; i < augroups.ga_len; ++i)
  7452:         if (AUGROUP_NAME(i) == NULL)
  7454:     if (i == augroups.ga_len && ga_grow(&augroups, 1) == FAIL)
  7454:     if (i == augroups.ga_len && ga_grow(&augroups, 1) == FAIL)
  7457:     AUGROUP_NAME(i) = vim_strsave(name);
  7458:     if (AUGROUP_NAME(i) == NULL)
  7460:     if (i == augroups.ga_len)
  7461:         ++augroups.ga_len;
  au_del_group():
  7478:     vim_free(AUGROUP_NAME(i));
  7479:     AUGROUP_NAME(i) = NULL;
  au_find_group():
  7493:     for (i = 0; i < augroups.ga_len; ++i)
  7494:     if (AUGROUP_NAME(i) != NULL && STRCMP(AUGROUP_NAME(i), name) == 0)
  7494:     if (AUGROUP_NAME(i) != NULL && STRCMP(AUGROUP_NAME(i), name) == 0)
  do_augroup():
  7537:     for (i = 0; i < augroups.ga_len; ++i)
  7539:         if (AUGROUP_NAME(i) != NULL)
  7541:         msg_puts(AUGROUP_NAME(i));
  get_augroup_name():
  9083:     if (idx == augroups.ga_len)        /* add "END" add the end */
  9085:     if (idx >= augroups.ga_len)        /* end of list */
  9087:     if (AUGROUP_NAME(idx) == NULL)    /* skip deleted entries */
  9089:     return AUGROUP_NAME(idx);        /* return a name */
  get_event_name():
  9152:     if (idx < augroups.ga_len)        /* First list group names, if wanted */
  9154:     if (!include_groups || AUGROUP_NAME(idx) == NULL)
  9156:     return AUGROUP_NAME(idx);    /* return a name */
  9158:     return (char_u *)event_names[idx - augroups.ga_len].name;
cmdwin_result (26 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:1147
edit.c (2 uses)
  edit():
  893:         cmdwin_result = K_IGNORE;
  1264:         cmdwin_result = CAR;
ex_docmd.c (7 uses)
  ex_quit():
  6193:     cmdwin_result = Ctrl_C;
  ex_quit_all():
  6263:         cmdwin_result = K_XF1;    /* ex_window() takes care of this */
  6265:         cmdwin_result = K_XF2;
  ex_close():
  6297:     cmdwin_result = K_IGNORE;
  ex_tabclose():
  6382:     cmdwin_result = K_IGNORE;
  ex_tabonly():
  6424:     cmdwin_result = K_IGNORE;
  ex_exit():
  6602:     cmdwin_result = Ctrl_C;
ex_getln.c (13 uses)
  ex_window():
  6099:     cmdwin_result = 0;
  6119:     cmdwin_result = Ctrl_C;
  6126:     if (aborting() && cmdwin_result != K_IGNORE)
  6127:         cmdwin_result = Ctrl_C;
  6131:     if (cmdwin_result == K_XF1 || cmdwin_result == K_XF2) /* :qa[!] typed */
  6131:     if (cmdwin_result == K_XF1 || cmdwin_result == K_XF2) /* :qa[!] typed */
  6133:         char *p = (cmdwin_result == K_XF2) ? "qa" : "qa!";
  6139:         cmdwin_result = CAR;
  6150:     else if (cmdwin_result == K_XF2)    /* :qa typed */
  6153:         cmdwin_result = CAR;
  6158:         cmdwin_result = Ctrl_C;
  6166:         if (cmdwin_result == K_IGNORE)
  6202:     return cmdwin_result;
main.c (1 use)
  main_loop():
  996:         || cmdwin_result == 0
normal.c (3 uses)
  nv_down():
  5932:         cmdwin_result = CAR;
  nv_normal():
  8605:         cmdwin_result = Ctrl_C;
  nv_esc():
  8657:         cmdwin_result = K_IGNORE;
current_exception (26 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:236
ex_docmd.c (11 uses)
  save_dbg_stuff():
  571:     dsp->current_exception = current_exception;    current_exception = NULL;
  571:     dsp->current_exception = current_exception;    current_exception = NULL;
  restore_dbg_stuff():
  589:     current_exception = dsp->current_exception;
  do_cmdline():
  1233:             did_throw ? (void *)current_exception : NULL);
  1358:         switch (current_exception->type)
  1363:                 current_exception->value);
  1367:             messages = current_exception->messages;
  1368:             current_exception->messages = NULL;
  1378:         sourcing_name = current_exception->throw_name;
  1379:         sourcing_lnum = current_exception->throw_lnum;
  1380:         current_exception->throw_name = NULL;
ex_eval.c (15 uses)
  cause_errthrow():
  225:     if (current_exception->type == ET_INTERRUPT)
  do_intthrow():
  398:         if (current_exception->type == ET_INTERRUPT)
  throw_exception():
  544:     current_exception = excp;
  552:     current_exception = NULL;
  discard_current_exception():
  614:     discard_exception(current_exception, FALSE);
  615:     current_exception = NULL;
  do_throw():
  1360:     cstack->cs_exception[idx] = current_exception;
  ex_catch():
  1570:             caught = vim_regexec_nl(&regmatch, current_exception->value,
  1590:         if (cstack->cs_exception[cstack->cs_idx] != current_exception)
  ex_finally():
  1725:                              != current_exception)
  ex_endtry():
  1851:         current_exception = cstack->cs_exception[idx];
  1873:             (pending & CSTP_THROW) ? (void *)current_exception : NULL);
  enter_cleanup():
  1969:         csp->exception = current_exception;
  leave_cleanup():
  2049:         current_exception = csp->exception;
  2074:            (pending & CSTP_THROW) ? (void *)current_exception : NULL);
e_trailing (26 uses in 10 translation units) defined in translation unit main.c, declared in ./globals.h:1496
buffer.c (1 use)
  do_bufdel():
  827:         return (char_u *)_(e_trailing);
eval.c (10 uses)
  var_redir_start():
  956:         EMSG(_(e_trailing));
  list_arg_vars():
  2072:         EMSG(_(e_trailing));
  get_lval():
  2421:         EMSG(_(e_trailing));
  ex_call():
  3252:         EMSG(_(e_trailing));
  ex_unletlock():
  3321:         EMSG(_(e_trailing));
  f_eval():
  8857:     EMSG(_(e_trailing));
  f_islocked():
  11915:         EMSG(_(e_trailing));
  ex_function():
  18918:         EMSG(_(e_trailing));
  19076:     EMSG(_(e_trailing));
  ex_delfunction():
  20092:     EMSG(_(e_trailing));
ex_cmds.c (1 use)
  do_sub():
  4409:         EMSG(_(e_trailing));
ex_docmd.c (5 uses)
  do_one_cmd():
  2462:     errormsg = (char_u *)_(e_trailing);
  ex_buffer():
  4878:     eap->errmsg = e_trailing;
  ex_mark():
  8876:     EMSG(_(e_trailing));
  ex_findpat():
  9199:         eap->errmsg = e_trailing;
  ex_match():
  10927:         eap->errmsg = e_trailing;
ex_eval.c (1 use)
  ex_catch():
  1532:         EMSG(_(e_trailing));
ex_getln.c (2 uses)
  ex_history():
  5632:         EMSG(_(e_trailing));
  5644:     EMSG(_(e_trailing));
menu.c (1 use)
  ex_menu():
  322:     EMSG(_(e_trailing));
option.c (3 uses)
  do_set():
  4171:             errmsg = e_trailing;
  4228:             errmsg = e_trailing;
  4269:                 errmsg = e_trailing;
quickfix.c (1 use)
  qf_list():
  1914:     EMSG(_(e_trailing));
regexp.c (1 use)
  reg():
  1270:         EMSG_RET_NULL(_(e_trailing));    /* "Can't happen". */
ff_expand_buffer (26 uses in 1 translation unit) defined static in translation unit misc2.c, declared in misc2.c:21
misc2.c (26 uses)
  vim_findfile_init():
  4060:     if (ff_expand_buffer == NULL)
  4062:     ff_expand_buffer = (char_u*)alloc(MAXPATHL);
  4063:     if (ff_expand_buffer == NULL)
  4079:         vim_strncpy(ff_expand_buffer, rel_fname, len);
  4080:         search_ctx->ffsc_start_dir = FullName_save(ff_expand_buffer, FALSE);
  4106:     if (mch_dirname(ff_expand_buffer, MAXPATHL) == FAIL)
  4109:     search_ctx->ffsc_start_dir = vim_strsave(ff_expand_buffer);
  4214:         ff_expand_buffer[len++] = *wc_part++;
  4215:         ff_expand_buffer[len++] = *wc_part++;
  4219:             ff_expand_buffer[len++] = llevel;
  4224:             ff_expand_buffer[len++] = FF_MAX_STAR_STAR_EXPAND;
  4233:         ff_expand_buffer[len++] = *wc_part++;
  4235:     ff_expand_buffer[len] = NUL;
  4236:     search_ctx->ffsc_wc_path = vim_strsave(ff_expand_buffer);
  4256:     STRCPY(ff_expand_buffer, search_ctx->ffsc_start_dir);
  4257:     add_pathsep(ff_expand_buffer);
  4258:     STRCAT(ff_expand_buffer, search_ctx->ffsc_fix_path);
  4259:     add_pathsep(ff_expand_buffer);
  4261:     sptr = ff_create_stack_element(ff_expand_buffer,
  vim_findfile():
  4659:                 if (mch_dirname(ff_expand_buffer, MAXPATHL)
  4663:                                 ff_expand_buffer);
  ff_check_visited():
  4990:     vim_strncpy(ff_expand_buffer, fname, MAXPATHL - 1);
  4997:     ff_expand_buffer[0] = NUL;
  5016:         fnamecmp(vp->ffv_fname, ff_expand_buffer) == 0
  5032:                          + STRLEN(ff_expand_buffer)));
  5048:         STRCPY(vp->ffv_fname, ff_expand_buffer);
p_wmw (26 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:864
option.c (7 uses)
  set_num_option():
  7669:     if (p_wmw > p_wiw)
  7672:         p_wiw = p_wmw;
  7681:     else if (pp == &p_wmw)
  7683:     if (p_wmw < 0)
  7686:         p_wmw = 0;
  7688:     if (p_wmw > p_wiw)
  7691:         p_wmw = p_wiw;
window.c (19 uses)
  win_split_ins():
  741:     needed = p_wmw + 1;
  743:         needed += p_wiw - p_wmw;
  758:     if (new_size > oldwin->w_width - p_wmw - 1)
  759:         new_size = oldwin->w_width - p_wmw - 1;
  760:     if (new_size < p_wmw)
  761:         new_size = p_wmw;
  764:     if (oldwin->w_width - new_size - 1 < p_wmw)
  make_windows():
  1268:                          - (p_wiw - p_wmw)) / (p_wmw + 1);
  1268:                          - (p_wiw - p_wmw)) / (p_wmw + 1);
  win_equal_rec():
  1712:         totwincount = (n + extra_sep) / (p_wmw + 1);
  1741:                 room += p_wiw - p_wmw;
  1749:                           ? extra_sep : 0)) / (p_wmw + 1);
  1770:                         + (totwincount - 1) * p_wmw
  1802:                                 / (p_wmw + 1);
  frame_minwidth():
  3032:         m = p_wmw + topfrp->fr_win->w_vsep_width;
  3034:         if (p_wmw == 0 && topfrp->fr_win == curwin && next_curwin == NULL)
  win_setwidth_win():
  4881:     if (width < p_wmw)
  4882:         width = p_wmw;
  frame_setwidth():
  4966:          + frame_minwidth(curfrp->fr_parent, NOWIN) - (int)p_wmw - 1);
sandbox (26 uses in 10 translation units) defined in translation unit main.c, declared in ./globals.h:620
edit.c (1 use)
  edit():
  331:     if (sandbox != 0)
eval.c (7 uses)
  eval_to_string_safe():
  1262:     ++sandbox;
  1266:     --sandbox;
  call_vim_function():
  1475:     ++sandbox;
  1484:     --sandbox;
  eval_foldexpr():
  1651:     ++sandbox;
  1676:     --sandbox;
  var_check_ro():
  18370:     if ((flags & DI_FLAGS_RO_SBX) && sandbox)
ex_cmds.c (1 use)
  check_secure():
  4160:     if (sandbox != 0)
ex_docmd.c (3 uses)
  do_one_cmd():
  1857:                 ++sandbox;
  2166:     if (sandbox != 0 && !(ea.argt & SBOXOK))
  2709:     --sandbox;
misc1.c (2 uses)
  get_expr_indent():
  8057:     ++sandbox;
  8061:     --sandbox;
ops.c (2 uses)
  fex_format():
  4480:     ++sandbox;
  4483:     --sandbox;
option.c (6 uses)
  do_set():
  4144:         if (sandbox != 0 && (flags & P_SECURE))
  did_set_option():
  4775:         || sandbox != 0
  did_set_string_option():
  5433:         || sandbox != 0
  set_bool_option():
  7083:         || sandbox != 0
  set_num_option():
  7593:         || sandbox != 0
  set_option_value():
  8229:     if (sandbox > 0 && (flags & P_SECURE))
os_unix.c (1 use)
  mch_expand_wildcards():
  5187:     if (sandbox != 0 && check_secure())
tag.c (2 uses)
  jumpto_tag():
  3149:     ++sandbox;
  3277:     --sandbox;
undo.c (1 use)
  undo_allowed():
  305:     if (sandbox != 0)
search_hl (26 uses in 1 translation unit) defined static in translation unit screen.c, declared in screen.c:103
screen.c (26 uses)
  update_screen():
  494:     search_hl.rm.regprog = NULL;
  win_update():
  857:     search_hl.buf = buf;
  858:     search_hl.lnum = 0;
  859:     search_hl.first_lnum = 0;
  922:         if (search_hl.rm.regprog != NULL
  923:                     && re_multiline(search_hl.rm.regprog))
  win_line():
  3117:         shl = &search_hl;
  3164:     if (shl != &search_hl && cur != NULL)
  3444:             shl = &search_hl;
  3496:             if (shl != &search_hl && cur != NULL)
  3502:         search_attr = search_hl.attr_cur;
  3512:             shl = &search_hl;
  3519:             if (shl != &search_hl && cur != NULL)
  4340:         if (prevcol == (long)search_hl.startcol)
  4403:             char_attr = search_hl.attr;
  4413:                 shl = &search_hl;
  4420:             if (shl != &search_hl && cur != NULL)
  start_search_hl():
  6478:     last_pat_prog(&search_hl.rm);
  6479:     search_hl.attr = hl_attr(HLF_L);
  6482:     profile_setlimit(p_rdt, &search_hl.tm);
  end_search_hl():
  6493:     if (search_hl.rm.regprog != NULL)
  6495:     vim_free(search_hl.rm.regprog);
  6496:     search_hl.rm.regprog = NULL;
  prepare_search_hl():
  6525:         shl = &search_hl;
  6564:     if (shl != &search_hl && cur != NULL)
  next_search_hl():
  6660:         if (shl == &search_hl)
finish_op (25 uses in 7 translation units) defined in translation unit main.c, declared in ./globals.h:868
ex_docmd.c (3 uses)
  ex_normal():
  8915:     int        save_finish_op = finish_op;
  9042:     finish_op = save_finish_op;
  exec_normal_cmd():
  9118:     finish_op = FALSE;
getchar.c (3 uses)
  openscript():
  1401:     int    save_finish_op = finish_op;
  1409:     finish_op = FALSE;
  1424:     finish_op = save_finish_op;
gui.c (2 uses)
  gui_mouse_moved():
  4597:     if (finish_op)
  gui_update_screen():
  4860:     if (!finish_op && has_cursormoved()
main.c (1 use)
  main_loop():
  1061:         if (!finish_op && has_cursormoved()
menu.c (2 uses)
  get_menu_index():
  1598:     else if (finish_op)
  get_menu_mode():
  1771:     if (finish_op)
misc2.c (2 uses)
  get_real_state():
  3055:         if (finish_op)
  get_shape_idx():
  3492:     if (finish_op)
normal.c (12 uses)
  normal_cmd():
  597:     c = finish_op;
  599:     finish_op = (oap->op_type != OP_NOP);
  601:     if (finish_op != c)
  610:     if (!finish_op && !oap->regname)
  1158:     if (!finish_op
  1262:     c = finish_op;
  1264:     finish_op = FALSE;
  do_pending_operator():
  1387:     if ((finish_op
  1912:         finish_op = FALSE;
  nv_zet():
  4791:             finish_op = TRUE;
  nv_optrans():
  7188:         finish_op = TRUE;
  nv_visual():
  7344:     finish_op = FALSE;    /* operator doesn't finish now but later */
keep_msg (25 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:158
fileio.c (2 uses)
  readfile():
  2406:         vim_free(keep_msg);
  2407:         keep_msg = NULL;
main.c (3 uses)
  main_loop():
  1121:         if (keep_msg != NULL)
  1127:         p = keep_msg;
  1128:         keep_msg = NULL;
message.c (15 uses)
  msg_attr_keep():
  158:     if (s != keep_msg
  167:     if (s == keep_msg)
  168:     keep_msg = NULL;
  wait_return():
  1053:     if (keep_msg != NULL && vim_strsize(keep_msg) >=
  1053:     if (keep_msg != NULL && vim_strsize(keep_msg) >=
  1056:     vim_free(keep_msg);
  1057:     keep_msg = NULL;        /* don't redisplay message, it's too long */
  set_keep_msg():
  1101:     vim_free(keep_msg);
  1103:     keep_msg = vim_strsave(s);
  1105:     keep_msg = NULL;
  set_keep_msg_from_hist():
  1118:     if (keep_msg == NULL && last_msg_hist != NULL && msg_scrolled == 0
  msg_start():
  1132:     vim_free(keep_msg);
  1133:     keep_msg = NULL;            /* don't display old message now */
  give_warning():
  3207:     vim_free(keep_msg);
  3208:     keep_msg = NULL;
misc1.c (1 use)
  msgmore():
  3292:     if (keep_msg != NULL && !keep_msg_more)
normal.c (4 uses)
  normal_cmd():
  1228:     if (must_redraw && keep_msg != NULL && !emsg_on_display)
  1232:         kmsg = keep_msg;
  1233:         keep_msg = NULL;
  1237:         keep_msg = kmsg;
mb_ptr2cells (25 uses in 8 translation units) defined in translation unit main.c, declared in ./globals.h:805
ex_getln.c (1 use)
  correct_cmdspos():
  2081:         && (*mb_ptr2cells)(ccline.cmdbuff + idx) > 1
getchar.c (1 use)
  vgetorpeek():
  2589:                 if ((*mb_ptr2cells)(ptr + col) > 1)
gui.c (2 uses)
  gui_outstr():
  1813:         cells += (*mb_ptr2cells)(s + this_len);
  gui_outstr_nowrap():
  2304:         clen += (*mb_ptr2cells)(s + i);
gui_mac.c (3 uses)
  draw_string_QD():
  3997:         cell_len += (*mb_ptr2cells)(s + n);
  draw_string_ATSUI():
  4101:         cell_len += (*mb_ptr2cells)(s + n);
  4154:         width_in_cell = (*mb_ptr2cells)(s + n);
hardcopy.c (2 uses)
  hardcopy_line():
  931:         print_pos += (*mb_ptr2cells)(line + col);
  mch_print_text_out():
  3431:     half_width = ((*mb_ptr2cells)(p) == 1);
mbyte.c (4 uses)
  mb_init():
  611:     mb_ptr2cells = utf_ptr2cells;
  622:     mb_ptr2cells = dbcs_ptr2cells;
  633:     mb_ptr2cells = latin_ptr2cells;
  iconv_string():
  3306:         if ((*mb_ptr2cells)((char_u *)from) > 1)
message.c (7 uses)
  msg_may_trunc():
  740:         size -= (*mb_ptr2cells)(s + n);
  msg_outtrans_len_attr():
  1348:         retval += (*mb_ptr2cells)(str);
  msg_prt_line():
  1596:         col += (*mb_ptr2cells)(s);
  screen_puts_mbyte():
  1673:     cw = (*mb_ptr2cells)(s);
  msg_puts_display():
  1869:                || (has_mbyte && (*mb_ptr2cells)(s) > 1
  1959:             || (has_mbyte && (*mb_ptr2cells)(s) > 1
  2006:         cw = (*mb_ptr2cells)(s);
screen.c (5 uses)
  fold_line():
  2259:         cells = (*mb_ptr2cells)(p);
  win_line():
  3413:             && (*mb_ptr2cells)(ptr) > 1)
  win_redr_status():
  5806:             clen += (*mb_ptr2cells)(p + i);
  5811:             clen -= (*mb_ptr2cells)(p + i);
  win_redr_ruler():
  9547:         o += (*mb_ptr2cells)(buffer + i);
prt_out_mbyte (25 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1451
hardcopy.c (25 uses)
  prt_def_font():
  1540:     if (prt_out_mbyte)
  prt_flush_buffer():
  1715:     if (prt_out_mbyte)
  1722:     if (prt_out_mbyte)
  mch_print_cleanup():
  2227:     if (prt_out_mbyte)
  prt_get_cpl():
  2338:     if (prt_out_mbyte)
  mch_print_init():
  2533:     prt_out_mbyte = (p_mbenc != NULL);
  2534:     if (prt_out_mbyte)
  2780:     if (prt_out_mbyte)
  mch_print_begin():
  2928:     if (!prt_out_mbyte || prt_use_courier)
  2932:     if (prt_out_mbyte)
  2952:     if (prt_out_mbyte)
  2973:     if (!prt_out_mbyte)
  3041:     if (prt_out_mbyte && prt_custom_cmap)
  3061:     if (prt_out_mbyte)
  3076:     if (!prt_out_mbyte || prt_use_courier)
  3100:     if (!prt_out_mbyte || prt_use_courier)
  3104:     if (prt_out_mbyte)
  3127:     if (prt_out_mbyte)
  3138:     if (!prt_out_mbyte || prt_use_courier)
  3167:     if (!prt_out_mbyte || prt_use_courier)
  3192:     if (prt_out_mbyte)
  mch_print_begin_page():
  3327:     prt_in_ascii = !prt_out_mbyte;
  3328:     if (prt_out_mbyte)
  mch_print_text_out():
  3429:     if (prt_out_mbyte)
  3528:     if (prt_out_mbyte)
pum_first (25 uses in 1 translation unit) defined static in translation unit popupmnu.c, declared in popupmnu.c:20
popupmnu.c (25 uses)
  pum_redraw():
  277:     thumb_pos = (pum_first * (pum_height - thumb_heigth)
  284:     idx = i + pum_first;
  pum_set_selected():
  480:     if (pum_first > pum_selected - 4)
  484:         if (pum_first > pum_selected - 2)
  486:         pum_first -= pum_height - 2;
  487:         if (pum_first < 0)
  488:             pum_first = 0;
  489:         else if (pum_first > pum_selected)
  490:             pum_first = pum_selected;
  493:         pum_first = pum_selected;
  495:     else if (pum_first < pum_selected - pum_height + 5)
  499:         if (pum_first < pum_selected - pum_height + 1 + 2)
  501:         pum_first += pum_height - 2;
  502:         if (pum_first < pum_selected - pum_height + 1)
  503:             pum_first = pum_selected - pum_height + 1;
  506:         pum_first = pum_selected - pum_height + 1;
  514:         if (pum_first > pum_selected - context)
  517:         pum_first = pum_selected - context;
  518:         if (pum_first < 0)
  519:             pum_first = 0;
  521:         else if (pum_first < pum_selected + context - pum_height + 1)
  524:         pum_first = pum_selected + context - pum_height + 1;
  656:     if (pum_first > pum_size - pum_height)
  657:     pum_first = pum_size - pum_height;
  pum_clear():
  686:     pum_first = 0;
virtual_op (25 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:1306
ex_docmd.c (2 uses)
  ex_operators():
  8138:     virtual_op = FALSE;
  8172:     virtual_op = MAYBE;
misc2.c (2 uses)
  virtual_active():
  35:     if (virtual_op != MAYBE)
  36:     return virtual_op;
normal.c (4 uses)
  do_pending_operator():
  1586:     virtual_op = virtual_active();
  1710:             && (include_line_break || !virtual_op)
  1786:             && !(virtual_op && oap->start.coladd != oap->end.coladd)
  2061:     virtual_op = MAYBE;
ops.c (17 uses)
  op_delete():
  1641:     if (virtual_op)
  1815:     if (virtual_op)
  1871:         if (virtual_op)
  1892:         (void)del_bytes((long)n, !virtual_op, oap->op_type == OP_DELETE
  1916:                     !virtual_op, oap->op_type == OP_DELETE
  op_replace():
  2003:         if (bd.textlen == 0 && (!virtual_op || bd.is_MAX))
  2013:         if (virtual_op && bd.is_short && *bd.textstart == NUL)
  2034:         if (bd.is_short && (!virtual_op || bd.is_MAX))
  2148:         else if (virtual_op && curwin->w_cursor.lnum == oap->end.lnum)
  op_change():
  2604:                              && !virtual_op)
  2614:     if (virtual_op && (curwin->w_cursor.coladd > 0
  2663:             if (!bd.is_short || virtual_op)
  op_yank():
  2921:             if (virtual_op)
  2940:             if (virtual_op)
  block_prep():
  4975:         if (oap->op_type == OP_APPEND || virtual_op)
  cursor_pos_info():
  6304:             virtual_op = virtual_active();
  6308:             virtual_op = MAYBE;
global_busy (24 uses in 11 translation units) defined in translation unit main.c, declared in ./globals.h:1010
edit.c (1 use)
  ins_complete():
  5024:     if (got_int && !global_busy)
ex_cmds.c (8 uses)
  do_move():
  796:     if (!global_busy && num_lines > p_report)
  do_sub():
  4216:     if (!global_busy)
  5086:     if (!global_busy)
  5100:     else if (!global_busy)
  ex_global():
  5197:     if (global_busy)
  global_exe():
  5315:     global_busy = 1;
  5317:     while (!got_int && (lnum = ml_firstmarked()) != 0 && global_busy == 1)
  5328:     global_busy = 0;
ex_cmds2.c (1 use)
  cmd_source():
  2739:     openscript(fname, global_busy || listcmd_busy || eap->nextcmd != NULL
ex_docmd.c (4 uses)
  do_exmode():
  615:     if (global_busy)
  do_one_cmd():
  2234:     if (!global_busy && ea.line1 > ea.line2)
  2261:     if (((ea.argt & WHOLEFOLD) || ea.addr_count >= 2) && !global_busy)
  do_exedit():
  7438:         if (global_busy)
ex_getln.c (1 use)
  getcmdline():
  391:         && !global_busy)
fileio.c (1 use)
  check_timestamps():
  6253:     if (!stuff_empty() || global_busy || !typebuf_typed()
main.c (2 uses)
  main_loop():
  1028:         if (noexmode && global_busy && !exmode_active && previous_got_int)
  1035:         else if (!global_busy || !exmode_active)
mark.c (1 use)
  setpcmark():
  140:     if (global_busy || listcmd_busy || cmdmod.keepjumps)
message.c (3 uses)
  emsg():
  634:     if (global_busy)        /* break :global command */
  635:         ++global_busy;
  wait_return():
  932:         if (had_got_int && !global_busy)
misc1.c (1 use)
  msgmore():
  3285:     if (global_busy        /* no messages now, wait until global is finished */
undo.c (1 use)
  u_undo_end():
  1329:     if (global_busy        /* no messages now, wait until global is finished */
msg_buf (24 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:935
ex_cmds.c (17 uses)
  do_filter():
  1295:         vim_snprintf((char *)msg_buf, sizeof(msg_buf),
  1295:         vim_snprintf((char *)msg_buf, sizeof(msg_buf),
  1297:         if (msg(msg_buf) && !msg_scroll)
  1299:             set_keep_msg(msg_buf, 0);
  do_sub_msg():
  5136:         STRCPY(msg_buf, _("(Interrupted) "));
  5137:         len = (int)STRLEN(msg_buf);
  5140:         vim_snprintf((char *)msg_buf + len, sizeof(msg_buf) - len,
  5140:         vim_snprintf((char *)msg_buf + len, sizeof(msg_buf) - len,
  5143:         vim_snprintf((char *)msg_buf + len, sizeof(msg_buf) - len,
  5143:         vim_snprintf((char *)msg_buf + len, sizeof(msg_buf) - len,
  5146:     len = (int)STRLEN(msg_buf);
  5148:         vim_snprintf((char *)msg_buf + len, sizeof(msg_buf) - len,
  5148:         vim_snprintf((char *)msg_buf + len, sizeof(msg_buf) - len,
  5151:         vim_snprintf((char *)msg_buf + len, sizeof(msg_buf) - len,
  5151:         vim_snprintf((char *)msg_buf + len, sizeof(msg_buf) - len,
  5153:     if (msg(msg_buf))
  5155:         set_keep_msg(msg_buf, 0);
misc1.c (7 uses)
  msgmore():
  3305:         STRCPY(msg_buf, _("1 more line"));
  3307:         STRCPY(msg_buf, _("1 line less"));
  3312:         sprintf((char *)msg_buf, _("%ld more lines"), pn);
  3314:         sprintf((char *)msg_buf, _("%ld fewer lines"), pn);
  3317:         STRCAT(msg_buf, _(" (Interrupted)"));
  3318:     if (msg(msg_buf))
  3320:         set_keep_msg(msg_buf, 0);
reg_line_lbr (24 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3143
regexp.c (24 uses)
  vim_regexec():
  3285:     reg_line_lbr = FALSE;
  vim_regexec_nl():
  3309:     reg_line_lbr = TRUE;
  vim_regexec_multi():
  3346:     reg_line_lbr = FALSE;
  regmatch():
  3838:     if (!reg_line_lbr && WITH_NL(op) && REG_MULTI
  3843:     else if (reg_line_lbr && WITH_NL(op) && *reginput == '\n')
  4921:                  || reg_line_lbr) && (c != '\n' || !reg_line_lbr))
  4921:                  || reg_line_lbr) && (c != '\n' || !reg_line_lbr))
  4923:         else if (reg_line_lbr)
  regrepeat():
  5403:                      || reg_line_lbr || count == maxcount)
  5428:                                   || reg_line_lbr)
  5435:         else if (reg_line_lbr && *scan == '\n' && WITH_NL(OP(p)))
  5458:                                   || reg_line_lbr)
  5465:         else if (reg_line_lbr && *scan == '\n' && WITH_NL(OP(p)))
  5488:                                   || reg_line_lbr)
  5495:         else if (reg_line_lbr && *scan == '\n' && WITH_NL(OP(p)))
  5514:                                   || reg_line_lbr)
  5525:         else if (reg_line_lbr && *scan == '\n' && WITH_NL(OP(p)))
  5545:                                   || reg_line_lbr)
  5562:         else if (reg_line_lbr && *scan == '\n' && WITH_NL(OP(p)))
  5710:                                   || reg_line_lbr)
  5717:         else if (reg_line_lbr && *scan == '\n' && WITH_NL(OP(p)))
  5739:         && ((*scan == NUL && reglnum <= reg_maxline && !reg_line_lbr
  5740:                 && REG_MULTI) || (*scan == '\n' && reg_line_lbr)))
  5743:         if (reg_line_lbr)
regcode (24 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:584
regexp.c (24 uses)
  vim_regcomp():
  1009:     regcode = JUST_CALC_SIZE;
  1029:     regcode = r->program;
  regatom():
  1971:                       *regcode++ = c;
  1972:                       *regcode++ = cmp;
  1990:                       regcode = re_put_long(regcode, n);
  1990:                       regcode = re_put_long(regcode, n);
  1991:                       *regcode++ = cmp;
  regnode():
  2391:     ret = regcode;
  2396:     *regcode++ = op;
  2397:     *regcode++ = NUL;        /* Null "next" pointer. */
  2398:     *regcode++ = NUL;
  regc():
  2410:     if (regcode == JUST_CALC_SIZE)
  2413:     *regcode++ = b;
  regmbc():
  2424:     if (regcode == JUST_CALC_SIZE)
  2427:     regcode += (*mb_char2bytes)(c, regcode);
  2427:     regcode += (*mb_char2bytes)(c, regcode);
  reginsert():
  2445:     if (regcode == JUST_CALC_SIZE)
  2450:     src = regcode;
  2451:     regcode += 3;
  2452:     dst = regcode;
  reginsert_limits():
  2479:     if (regcode == JUST_CALC_SIZE)
  2484:     src = regcode;
  2485:     regcode += 11;
  2486:     dst = regcode;
swap_exists_action (24 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:924
buffer.c (11 uses)
  goto_buffer():
  690:     swap_exists_action = SEA_DIALOG;
  695:     if (swap_exists_action == SEA_QUIT && *eap->cmd == 's')
  707:     swap_exists_action = SEA_NONE;
  handle_swap_exists():
  735:     if (swap_exists_action == SEA_QUIT)
  746:     swap_exists_action = SEA_NONE;    /* don't want it again */
  761:     else if (swap_exists_action == SEA_RECOVER)
  782:     swap_exists_action = SEA_NONE;
  ex_buffer_all():
  4652:         swap_exists_action = SEA_DIALOG;
  4659:         swap_exists_action = SEA_NONE;
  4665:         if (swap_exists_action == SEA_QUIT)
  4678:         swap_exists_action = SEA_NONE;
ex_cmds.c (2 uses)
  do_ecmd():
  3627:         swap_exists_action = SEA_DIALOG;
  3642:         if (swap_exists_action == SEA_QUIT)
fileio.c (1 use)
  readfile():
  684:     if (swap_exists_action == SEA_QUIT)
main.c (5 uses)
  read_stdin():
  2332:     swap_exists_action = SEA_DIALOG;
  create_windows():
  2456:         swap_exists_action = SEA_DIALOG;
  2462:         if (swap_exists_action == SEA_QUIT)
  2475:             swap_exists_action = SEA_NONE;
  check_swap_exists_action():
  3171:     if (swap_exists_action == SEA_QUIT)
memline.c (5 uses)
  findswapname():
  4130:             if (swap_exists_action != SEA_NONE
  4154:             if (swap_exists_action != SEA_NONE && choice == 0)
  4202:                 swap_exists_action = SEA_RECOVER;
  4208:                 swap_exists_action = SEA_QUIT;
  4211:                 swap_exists_action = SEA_QUIT;
ve_flags (24 uses in 6 translation units) defined in translation unit main.c, declared in ./option.h:827
edit.c (3 uses)
  edit():
  955:         if (ve_flags & VE_ONEMORE)
  oneright():
  6594:         && (ve_flags & VE_ONEMORE) == 0
  ins_esc():
  7936:     if (curwin->w_cursor.coladd > 0 || ve_flags == VE_ALL)
misc1.c (1 use)
  del_bytes():
  2257:                           && (ve_flags & VE_ONEMORE) == 0
misc2.c (6 uses)
  virtual_active():
  37:     return (ve_flags == VE_ALL
  39:         || ((ve_flags & VE_BLOCK) && VIsual_active && VIsual_mode == Ctrl_V)
  41:         || ((ve_flags & VE_INSERT) && (State & INSERT)));
  coladvance2():
  160:             || ((ve_flags & VE_ONEMORE) && wcol < MAXCOL)
  check_cursor_col():
  519:         || (ve_flags & VE_ONEMORE)
  540:     else if (ve_flags == VE_ALL)
normal.c (3 uses)
  n_start_visual_mode():
  7465:     if (c == Ctrl_V && (ve_flags & VE_BLOCK) && gchar_cursor() == TAB)
  adjust_cursor():
  8447:         && !virtual_active() && (ve_flags & VE_ONEMORE) == 0
  nv_edit():
  8733:         if (ve_flags == VE_ALL)
ops.c (9 uses)
  op_insert():
  2444:         int        old_ve_flags = ve_flags;
  2446:         ve_flags = VE_ALL;
  2453:         ve_flags = old_ve_flags;
  do_put():
  3399:     if (ve_flags == VE_ALL && y_type == MCHAR)
  3432:         if (ve_flags == VE_ALL)
  3445:         if (c != TAB || ve_flags != VE_ALL)
  3455:     if (ve_flags == VE_ALL
  adjust_cursor_eol():
  3844:         && (ve_flags & VE_ONEMORE) == 0
  3852:     if (ve_flags == VE_ALL)
option.c (2 uses)
  didset_options():
  5042:     (void)opt_strings_flags(p_ve, p_ve_values, &ve_flags, TRUE);
  did_set_string_option():
  6559:     if (opt_strings_flags(p_ve, p_ve_values, &ve_flags, TRUE) != OK)
dont_scroll (23 uses in 10 translation units) defined in translation unit main.c, declared in ./globals.h:910
edit.c (5 uses)
  edit():
  702:     dont_scroll = FALSE;        /* allow scrolling here */
  get_literal():
  5272:     dont_scroll = TRUE;        /* disallow scrolling here */
  insertchar():
  5579:     dont_scroll = FALSE;        /* allow scrolling here */
  ins_reg():
  7640:     dont_scroll = TRUE;        /* disallow scrolling here */
  ins_digraph():
  9449:     dont_scroll = TRUE;        /* disallow scrolling here */
ex_cmds.c (1 use)
  do_sub():
  4700:                 dont_scroll = FALSE; /* allow scrolling here */
ex_docmd.c (1 use)
  ex_at():
  8298:     dont_scroll = TRUE;        /* disallow scrolling here */
ex_getln.c (3 uses)
  getcmdline():
  333:     dont_scroll = FALSE;    /* allow scrolling here */
  1097:         dont_scroll = TRUE;    /* disallow scrolling here */
  1608:         dont_scroll = TRUE;        /* disallow scrolling here */
gui.c (1 use)
  gui_drag_scrollbar():
  3736:     if (dont_scroll)
gui_mac.c (6 uses)
  gui_mac_drag_thumb():
  1563:     int            dont_scroll_save = dont_scroll;
  1578:     dont_scroll = !allow_scrollbar;
  1580:     dont_scroll = dont_scroll_save;
  gui_mac_scroll_action():
  1593:     int        dont_scroll_save = dont_scroll;
  1637:     dont_scroll = !allow_scrollbar;
  1639:     dont_scroll = dont_scroll_save;
message.c (1 use)
  wait_return():
  917:     dont_scroll = TRUE;        /* disallow scrolling here */
misc1.c (2 uses)
  ask_yesno():
  3021:     dont_scroll = TRUE;        /* disallow scrolling here */
  get_number():
  3189:     dont_scroll = TRUE;        /* disallow scrolling here */
normal.c (2 uses)
  normal_cmd():
  619:     dont_scroll = FALSE;    /* allow scrolling here */
  nv_zet():
  4574:         dont_scroll = TRUE;        /* disallow scrolling here */
window.c (1 use)
  do_window():
  582:         dont_scroll = TRUE;        /* disallow scrolling here */
e_cmdwin (23 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1355
ex_docmd.c (1 use)
  do_one_cmd():
  2189:         errormsg = (char_u *)_(e_cmdwin);
ex_getln.c (1 use)
  text_locked_msg():
  1984:     EMSG(_(e_cmdwin));
window.c (21 uses)
  do_window():
  135:         CHECK_CMDWIN
  155:         CHECK_CMDWIN
  169:         CHECK_CMDWIN
  182:         CHECK_CMDWIN
  219:         CHECK_CMDWIN
  241:         CHECK_CMDWIN
  253:         CHECK_CMDWIN
  291:         CHECK_CMDWIN
  306:         CHECK_CMDWIN
  323:         CHECK_CMDWIN
  331:         CHECK_CMDWIN
  385:         CHECK_CMDWIN
  392:         CHECK_CMDWIN
  401:         CHECK_CMDWIN
  415:         CHECK_CMDWIN
  483:         CHECK_CMDWIN
  492:         CHECK_CMDWIN
  512:         CHECK_CMDWIN
  549:         CHECK_CMDWIN
  580:         CHECK_CMDWIN
  goto_tabpage():
  3611:         EMSG(_(e_cmdwin));
mbfont_opts (23 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:114
hardcopy.c (23 uses)
  parse_printmbfont():
  173:     return parse_list_options(p_pmfn, mbfont_opts, OPT_MBFONT_NUM_OPTIONS);
  mch_print_init():
  2578:     if (!mbfont_opts[OPT_MBFONT_REGULAR].present)
  2586:                     mbfont_opts[OPT_MBFONT_REGULAR].string,
  2587:                     mbfont_opts[OPT_MBFONT_REGULAR].strlen))
  2589:     if (mbfont_opts[OPT_MBFONT_BOLD].present)
  2591:                     mbfont_opts[OPT_MBFONT_BOLD].string,
  2592:                     mbfont_opts[OPT_MBFONT_BOLD].strlen))
  2594:     if (mbfont_opts[OPT_MBFONT_OBLIQUE].present)
  2596:                     mbfont_opts[OPT_MBFONT_OBLIQUE].string,
  2597:                     mbfont_opts[OPT_MBFONT_OBLIQUE].strlen))
  2599:     if (mbfont_opts[OPT_MBFONT_BOLDOBLIQUE].present)
  2601:                    mbfont_opts[OPT_MBFONT_BOLDOBLIQUE].string,
  2602:                   mbfont_opts[OPT_MBFONT_BOLDOBLIQUE].strlen))
  2607:     prt_use_courier = mbfont_opts[OPT_MBFONT_USECOURIER].present &&
  2608:         (TOLOWER_ASC(mbfont_opts[OPT_MBFONT_USECOURIER].string[0]) == 'y');
  2608:         (TOLOWER_ASC(mbfont_opts[OPT_MBFONT_USECOURIER].string[0]) == 'y');
  2608:         (TOLOWER_ASC(mbfont_opts[OPT_MBFONT_USECOURIER].string[0]) == 'y');
  2608:         (TOLOWER_ASC(mbfont_opts[OPT_MBFONT_USECOURIER].string[0]) == 'y');
  2612:         if (mbfont_opts[OPT_MBFONT_ASCII].present &&
  2613:         (TOLOWER_ASC(mbfont_opts[OPT_MBFONT_ASCII].string[0]) == 'y'))
  2613:         (TOLOWER_ASC(mbfont_opts[OPT_MBFONT_ASCII].string[0]) == 'y'))
  2613:         (TOLOWER_ASC(mbfont_opts[OPT_MBFONT_ASCII].string[0]) == 'y'))
  2613:         (TOLOWER_ASC(mbfont_opts[OPT_MBFONT_ASCII].string[0]) == 'y'))
nv_cmds (23 uses in 1 translation unit) defined static in translation unit normal.c, declared in normal.c:226
normal.c (23 uses)
  nv_compare():
  476:     c1 = nv_cmds[*(const short *)s1].cmd_char;
  477:     c2 = nv_cmds[*(const short *)s2].cmd_char;
  init_normal_cmds():
  494:     for (i = 0; i < NV_CMDS_SIZE; ++i)
  498:     qsort((void *)&nv_cmd_idx, (size_t)NV_CMDS_SIZE, sizeof(short), nv_compare);
  501:     for (i = 0; i < NV_CMDS_SIZE; ++i)
  502:     if (i != nv_cmds[nv_cmd_idx[i]].cmd_char)
  find_command():
  538:     top = NV_CMDS_SIZE - 1;
  543:     c = nv_cmds[nv_cmd_idx[i]].cmd_char;
  normal_cmd():
  800:     if (text_locked() && (nv_cmds[idx].cmd_flags & NV_NCW))
  808:     if ((nv_cmds[idx].cmd_flags & NV_NCW) && curbuf_locked())
  820:         && (nv_cmds[idx].cmd_flags & NV_STS)
  830:         if (nv_cmds[idx].cmd_flags & NV_SS)
  841:         else if ((nv_cmds[idx].cmd_flags & NV_SSS)
  877:     if ((nv_cmds[idx].cmd_flags & NV_NCH)
  878:         && (((nv_cmds[idx].cmd_flags & NV_NCH_NOP) == NV_NCH_NOP
  880:         || (nv_cmds[idx].cmd_flags & NV_NCH_ALW) == NV_NCH_ALW
  939:     lang = (repl || (nv_cmds[idx].cmd_flags & NV_LANG));
  1001:             && ((nv_cmds[idx].cmd_flags & NV_LANG)
  1132:     if (nv_cmds[idx].cmd_flags & NV_SS)
  1138:     else if ((nv_cmds[idx].cmd_flags & NV_SSS)
  1151:     ca.arg = nv_cmds[idx].cmd_arg;
  1152:     (nv_cmds[idx].cmd_func)(&ca);
  1160:         && (idx < 0 || !(nv_cmds[idx].cmd_flags & NV_KEEPREG)))
ql_info (23 uses in 1 translation unit) defined static in translation unit quickfix.c, declared in quickfix.c:75
quickfix.c (23 uses)
  qf_init():
  157:     qf_info_T        *qi = &ql_info;
  qf_free_all():
  923:     qf_info_T    *qi = &ql_info;
  qf_jump():
  1431:     qi = &ql_info;
  1561:         if (qi != &ql_info)        /* not a quickfix list */
  qf_list():
  1894:     qf_info_T    *qi = &ql_info;
  qf_age():
  2026:     qf_info_T    *qi = &ql_info;
  qf_mark_adjust():
  2115:     qf_info_T    *qi = &ql_info;
  ex_cwindow():
  2199:     qf_info_T    *qi = &ql_info;
  ex_cclose():
  2237:     qf_info_T    *qi = &ql_info;
  ex_copen():
  2260:     qf_info_T    *qi = &ql_info;
  qf_current_entry():
  2372:     qf_info_T    *qi = &ql_info;
  is_qf_win():
  2443:     if ((qi == &ql_info && win->w_llist_ref == NULL)
  2444:         || (qi != &ql_info && win->w_llist_ref == qi))
  ex_make():
  2702:     qf_info_T    *qi = &ql_info;
  ex_cc():
  2863:     qf_info_T    *qi = &ql_info;
  ex_cnext():
  2898:     qf_info_T    *qi = &ql_info;
  ex_cfile():
  2935:     qf_info_T    *qi = &ql_info;
  ex_vimgrep():
  2982:     qf_info_T    *qi = &ql_info;
  get_errorlist():
  3488:     qf_info_T    *qi = &ql_info;
  set_errorlist():
  3559:     qf_info_T    *qi = &ql_info;
  ex_cbuffer():
  3668:     qf_info_T    *qi = &ql_info;
  ex_cexpr():
  3719:     qf_info_T    *qi = &ql_info;
  ex_helpgrep():
  3771:     qf_info_T    *qi = &ql_info;
secure (23 uses in 7 translation units) defined in translation unit main.c, declared in ./globals.h:604
ex_cmds.c (2 uses)
  check_secure():
  4149:     if (secure)
  4151:     secure = 2;
ex_docmd.c (4 uses)
  ex_map():
  4781:     if (secure)
  4783:     secure = 2;
  ex_autocmd():
  4829:     if (secure)
  4831:     secure = 2;
gui.c (3 uses)
  gui_init():
  414:             secure = p_secure;
  437:         if (secure == 2)
  439:         secure = 0;
main.c (5 uses)
  source_startup_scripts():
  2793:         secure = p_secure;
  2818:             secure = p_secure;
  2820:             secure = 0;
  2832:     if (secure == 2)
  2834:     secure = 0;
option.c (4 uses)
  did_set_option():
  4773:     if (secure
  did_set_string_option():
  5431:     if ((secure
  set_bool_option():
  7081:     if ((secure
  set_num_option():
  7591:     if ((secure
os_unix.c (1 use)
  mch_expand_wildcards():
  5194:     if (secure || restricted)
tag.c (4 uses)
  jumpto_tag():
  3146:     save_secure = secure;
  3147:     secure = 1;
  3272:     if (secure == 2)
  3274:     secure = save_secure;
stuffbuff (23 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:943
getchar.c (23 uses)
  read_stuff():
  369:     if (stuffbuff.bh_first.b_next == NULL)  /* buffer is empty */
  372:     curr = stuffbuff.bh_first.b_next;
  373:     c = curr->b_str[stuffbuff.bh_index];
  377:     if (curr->b_str[++stuffbuff.bh_index] == NUL)
  379:         stuffbuff.bh_first.b_next = curr->b_next;
  381:         stuffbuff.bh_index = 0;
  start_stuff():
  393:     if (stuffbuff.bh_first.b_next != NULL)
  395:     stuffbuff.bh_curr = &(stuffbuff.bh_first);
  395:     stuffbuff.bh_curr = &(stuffbuff.bh_first);
  396:     stuffbuff.bh_space = 0;
  stuff_empty():
  406:     return (stuffbuff.bh_first.b_next == NULL);
  stuffReadbuff():
  623:     add_buff(&stuffbuff, s, -1L);
  stuffReadbuffLen():
  631:     add_buff(&stuffbuff, s, len);
  stuffcharReadbuff():
  669:     add_char_buff(&stuffbuff, c);
  stuffnumReadbuff():
  679:     add_num_buff(&stuffbuff, n);
  start_redo():
  800:     add_buff(&stuffbuff, (char_u *)"\"", 1L);
  806:     add_char_buff(&stuffbuff, c);
  827:     add_num_buff(&stuffbuff, count);
  831:     add_char_buff(&stuffbuff, c);
  save_typeahead():
  1326:     tp->save_stuffbuff = stuffbuff;
  1327:     stuffbuff.bh_first.b_next = NULL;
  restore_typeahead():
  1347:     free_buff(&stuffbuff);
  1348:     stuffbuff = tp->save_stuffbuff;
tc_len (23 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:3531
term.c (23 uses)
  clear_termcodes():
  3538:     while (tc_len > 0)
  3539:     vim_free(termcodes[--tc_len].code);
  add_termcode():
  3596:     if (tc_len == tc_max_len)
  3606:     for (i = 0; i < tc_len; ++i)
  3617:     for (i = 0; i < tc_len; ++i)
  3649:             --tc_len;
  3657:     for (j = tc_len; j > i; --j)
  3673:     ++tc_len;
  find_termcode():
  3703:     for (i = 0; i < tc_len; ++i)
  get_termcode():
  3714:     if (i >= tc_len)
  del_termcode():
  3731:     for (i = 0; i < tc_len; ++i)
  del_termcode_idx():
  3747:     --tc_len;
  3748:     for (i = idx; i < tc_len; ++i)
  switch_to_8bit():
  3766:     for (i = 0; i < tc_len; ++i)
  check_termcode():
  3950:         for (idx = 0; idx < tc_len; ++idx)
  3976:             for (j = idx + 1; j < tc_len; ++j)
  find_term_bykeys():
  5189:     for (i = 0; i < tc_len; ++i)
  gather_termleader():
  5219:     for (i = 0; i < tc_len; ++i)
  show_termcodes():
  5249:     if (tc_len == 0)        /* no terminal codes (must be GUI) */
  5251:     items = (int *)alloc((unsigned)(sizeof(int) * tc_len));
  5270:     for (i = 0; i < tc_len; i++)
  translate_mapping():
  5579:         for (i = 0; i < tc_len; ++i)
  5583:         if (i < tc_len)
VimError (23 uses in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:973
if_python.c (23 uses)
  VimEval():
  1250:     PyErr_SetVim(_("invalid expression"));
  CheckBuffer():
  1282:     PyErr_SetVim(_("attempt to refer to deleted buffer"));
  BufferMark():
  1628:     PyErr_SetVim(_("invalid mark name"));
  CheckWindow():
  1996:     PyErr_SetVim(_("attempt to refer to deleted window"));
  WindowSetattr():
  2054:         PyErr_SetVim(_("cursor position outside buffer"));
  PythonMod_Init():
  2362:     VimError = Py_BuildValue("s", "vim.error");
  2364:     PyDict_SetItemString(dict, "error", VimError);
  SetBufferLine():
  2485:         PyErr_SetVim(_("cannot save undo information"));
  2487:         PyErr_SetVim(_("cannot delete line"));
  2519:         PyErr_SetVim(_("cannot save undo information"));
  2524:         PyErr_SetVim(_("cannot replace line"));
  SetBufferLineList():
  2578:         PyErr_SetVim(_("cannot save undo information"));
  2585:             PyErr_SetVim(_("cannot delete line"));
  2646:         PyErr_SetVim(_("cannot save undo information"));
  2657:             PyErr_SetVim(_("cannot delete line"));
  2673:             PyErr_SetVim(_("cannot replace line"));
  2691:             PyErr_SetVim(_("cannot insert line"));
  InsertBufferLines():
  2768:         PyErr_SetVim(_("cannot save undo information"));
  2770:         PyErr_SetVim(_("cannot insert line"));
  2820:         PyErr_SetVim(_("cannot save undo information"));
  2828:             PyErr_SetVim(_("cannot insert line"));
  StringToLine():
  2940:         PyErr_SetVim(_("string cannot contain newlines"));
  VimErrorCheck():
  2981:     PyErr_SetNone(VimError);
force_abort (22 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:271
eval.c (1 use)
  ex_execute():
  18722:         if (!force_abort)
ex_docmd.c (10 uses)
  save_dbg_stuff():
  560:     dsp->force_abort    = force_abort;        force_abort = FALSE;
  560:     dsp->force_abort    = force_abort;        force_abort = FALSE;
  restore_dbg_stuff():
  580:     force_abort = dsp->force_abort;
  do_cmdline():
  829:     force_abort = FALSE;
  880:         && !force_abort
  1142:     if (did_emsg && !force_abort
  1250:         force_abort = FALSE;
  1268:             || (did_emsg && force_abort) || did_throw
  1384:         force_abort = TRUE;
  1415:     else if (got_int || (did_emsg && force_abort))
ex_eval.c (9 uses)
  aborting():
  96:     return (did_emsg && force_abort) || got_int || did_throw;
  update_force_abort():
  109:     force_abort = TRUE;
  aborted_in_try():
  136:     return force_abort;
  cause_errthrow():
  177:     cause_abort = force_abort;
  178:     force_abort = FALSE;
  do_errthrow():
  338:     force_abort = TRUE;
  enter_cleanup():
  1975:         force_abort |= cause_abort;
  leave_cleanup():
  2058:         cause_abort = force_abort;
  2059:         force_abort = FALSE;
quickfix.c (2 uses)
  ex_make():
  2722:     if (did_throw || force_abort)
  ex_vimgrep():
  3018:     if (did_throw || force_abort)
silent_mode (22 uses in 8 translation units) defined in translation unit main.c, declared in ./globals.h:626
ex_cmds.c (3 uses)
  print_line():
  2401:     int        save_silent = silent_mode;
  2404:     silent_mode = FALSE;
  2412:     silent_mode = save_silent;
main.c (6 uses)
  main():
  509:     if (GARGCOUNT > 1 && !silent_mode)
  512:     if (params.want_full_screen && !silent_mode)
  command_line_scan():
  1643:             silent_mode = TRUE;
  1900:             silent_mode = TRUE;
  check_tty():
  2288:         silent_mode = TRUE;
  source_startup_scripts():
  2728:     else if (!silent_mode)
message.c (2 uses)
  msg_puts_printf():
  2357:     if (!(silent_mode && p_verbose == 0))
  do_dialog():
  3283:     if (silent_mode)
misc1.c (1 use)
  change_warning():
  2988:     if (msg_silent == 0 && !silent_mode)
option.c (6 uses)
  do_set():
  4740:     if (silent_mode && did_show)
  4743:     silent_mode = FALSE;
  4748:     silent_mode = TRUE;
  showoneopt():
  8491:     int        save_silent = silent_mode;
  8493:     silent_mode = FALSE;
  8515:     silent_mode = save_silent;
os_unix.c (1 use)
  exit_scroll():
  2940:     if (silent_mode)
term.c (1 use)
  set_termname():
  1609:     if (silent_mode)
ui.c (2 uses)
  ui_write():
  37:     if (!(silent_mode && p_verbose == 0))
  read_error_exit():
  1886:     if (silent_mode)    /* Normal way to exit for "ex -s" */
e_positive (21 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1458
ex_cmds.c (1 use)
  ex_retab():
  595:     EMSG(_(e_positive));
option.c (20 uses)
  set_num_option():
  7609:     errmsg = e_positive;
  7621:         errmsg = e_positive;
  7631:         errmsg = e_positive;
  7650:         errmsg = e_positive;
  7666:         errmsg = e_positive;
  7685:         errmsg = e_positive;
  7750:         errmsg = e_positive;
  7820:         errmsg = e_positive;
  7833:         errmsg = e_positive;
  7854:         errmsg = e_positive;
  7880:         errmsg = e_positive;
  7956:     errmsg = e_positive;
  7961:     errmsg = e_positive;
  7966:     errmsg = e_positive;
  7971:     errmsg = e_positive;
  7994:     errmsg = e_positive;
  8014:     errmsg = e_positive;
  8020:     errmsg = e_positive;
  8026:     errmsg = e_positive;
  8031:     errmsg = e_positive;
emsg_skip (21 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:171
eval.c (16 uses)
  eval_to_bool():
  1153:     ++emsg_skip;
  1166:     --emsg_skip;
  eval_to_string_skip():
  1186:     ++emsg_skip;
  1195:     --emsg_skip;
  ex_let():
  1749:         ++emsg_skip;
  1755:         --emsg_skip;
  eval_for_line():
  2964:     ++emsg_skip;
  2987:     --emsg_skip;
  ex_call():
  3204:     ++emsg_skip;
  3244:     --emsg_skip;
  ex_echo():
  18560:     ++emsg_skip;
  18624:     --emsg_skip;
  ex_execute():
  18673:     ++emsg_skip;
  18733:     --emsg_skip;
  ex_return():
  20555:     ++emsg_skip;
  20586:     --emsg_skip;
message.c (1 use)
  emsg_not_now():
  542:         || emsg_skip > 0
screen.c (2 uses)
  get_keymap_str():
  5939:     ++emsg_skip;
  5941:     --emsg_skip;
syntax.c (2 uses)
  ex_syntax():
  5966:         ++emsg_skip;
  5983:         --emsg_skip;
ireg_ic (21 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3092
regexp.c (21 uses)
  vim_regexec():
  3287:     ireg_ic = rmp->rm_ic;
  vim_regexec_nl():
  3311:     ireg_ic = rmp->rm_ic;
  vim_regexec_multi():
  3347:     ireg_ic = rmp->rmm_ic;
  vim_regexec_both():
  3427:     ireg_ic = TRUE;
  3429:     ireg_ic = FALSE;
  3454:     if (!ireg_ic
  3466:     else if (!ireg_ic || (!enc_utf8 && mb_char2len(c) > 1))
  3501:         || (ireg_ic && ((
  3523:         if (!ireg_ic
  regmatch():
  4257:             && (!ireg_ic || (
  4270:                 && !(enc_utf8 && ireg_ic)
  4792:             if (ireg_ic)
  regrepeat():
  5646:         if (ireg_ic)
  5677:         if (ireg_ic && enc_utf8)
  5684:             if (i < len && (!ireg_ic || !enc_utf8
  cstrncmp():
  6565:     if (!ireg_ic)
  6591:         if (c1 != c2 && (!ireg_ic || utf_fold(c1) != utf_fold(c2)))
  6598:         if (c11 != c12 && (!ireg_ic || utf_fold(c11) != utf_fold(c12)))
  cstrchr():
  6622:     if (!ireg_ic
  vim_regsub_both():
  6943:         save_ireg_ic = ireg_ic;
  6966:         ireg_ic = save_ireg_ic;
mb_off2cells (21 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:807
gui.c (1 use)
  gui_update_cursor():
  1083:         if (has_mbyte && (*mb_off2cells)(LineOffset[gui.row] + gui.col,
mbyte.c (4 uses)
  mb_init():
  613:     mb_off2cells = utf_off2cells;
  624:     mb_off2cells = dbcs_off2cells;
  635:     mb_off2cells = latin_off2cells;
  mb_lefthalve():
  2920:     return (*mb_off2cells)(LineOffset[row] + col,
screen.c (16 uses)
  win_line():
  4755:                  && ((*mb_off2cells)(LineOffset[screen_row],
  4758:                  || (*mb_off2cells)(LineOffset[screen_row - 1]
  screen_line():
  4992:         char_cells = (*mb_off2cells)(off_from, max_off_from);
  5069:             && (*mb_off2cells)(off_to, max_off_to) > 1)
  5078:             && (*mb_off2cells)(off_to, max_off_to) == 1
  5079:             && (*mb_off2cells)(off_to + 1, max_off_to) > 1)
  5098:                 && (*mb_off2cells)(off_to, max_off_to) > 1)
  5100:                 && (*mb_off2cells)(off_to, max_off_to) == 1
  5101:                 && (*mb_off2cells)(off_to + 1, max_off_to) > 1)))
  5245:                 prev_cells = (*mb_off2cells)(off, max_off);
  screen_puts_len():
  6394:             && ((mbyte_cells == 1 && (*mb_off2cells)(off, max_off) > 1)
  6396:                 && (*mb_off2cells)(off, max_off) == 1
  6397:                 && (*mb_off2cells)(off + 1, max_off) > 1)))
  6403:             && ((mbyte_cells == 1 && (*mb_off2cells)(off, max_off) > 1)
  6405:                 && (*mb_off2cells)(off, max_off) == 1
  6406:                 && (*mb_off2cells)(off + 1, max_off) > 1)))
need_maketitle (21 uses in 9 translation units) defined in translation unit main.c, declared in ./globals.h:189
buffer.c (2 uses)
  maketitle():
  3055:     need_maketitle = TRUE;
  3059:     need_maketitle = FALSE;
ex_docmd.c (1 use)
  ex_redraw():
  8537:     if (need_maketitle)
fileio.c (2 uses)
  buf_write():
  3866:     need_maketitle = TRUE;        /* set window title later */
  apply_autocmds_group():
  8842:         need_maketitle = TRUE;
main.c (1 use)
  main_loop():
  1117:         if (need_maketitle)
misc1.c (2 uses)
  changed():
  2523:     need_maketitle = TRUE;        /* set window title later */
  unchanged():
  2920:     need_maketitle = TRUE;        /* set window title later */
misc2.c (1 use)
  set_fileformat():
  2936:     need_maketitle = TRUE;        /* set window title later */
option.c (10 uses)
  did_set_string_option():
  5686:         need_maketitle = TRUE;
  5705:         need_maketitle = TRUE;
  5814:         need_maketitle = TRUE;
  set_bool_option():
  7123:     need_maketitle = TRUE;
  7130:     need_maketitle = TRUE;
  7133:     need_maketitle = TRUE;
  7137:     need_maketitle = TRUE;
  7146:     need_maketitle = TRUE;
  7297:     need_maketitle = TRUE;
  set_num_option():
  7824:         need_maketitle = TRUE;
screen.c (1 use)
  showruler():
  9355:     if (need_maketitle
ui.c (1 use)
  ui_focus_change():
  3078:     if (need_maketitle)
prt_cmap (21 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1453
hardcopy.c (21 uses)
  prt_def_cidfont():
  1561:           "/_%s /%s[/%s] vim_composefont\n", new_name, prt_cmap, cidfont);
  mch_print_init():
  2537:     prt_cmap[0] = NUL;
  2552:         vim_strncpy((char_u *)prt_cmap,
  2553:               (char_u *)p_mbchar->cmap_charset, sizeof(prt_cmap) - 3);
  2554:         STRCAT(prt_cmap, "-");
  2565:         vim_strncpy((char_u *)prt_cmap, p_pmcs, sizeof(prt_cmap) - 3);
  2565:         vim_strncpy((char_u *)prt_cmap, p_pmcs, sizeof(prt_cmap) - 3);
  2566:         STRCAT(prt_cmap, "-");
  2570:     if (p_mbenc->cmap_encoding != NULL && STRLEN(prt_cmap)
  2571:               + STRLEN(p_mbenc->cmap_encoding) + 3 < sizeof(prt_cmap))
  2573:         STRCAT(prt_cmap, p_mbenc->cmap_encoding);
  2574:         STRCAT(prt_cmap, "-");
  2576:     STRCAT(prt_cmap, "H");
  mch_print_begin():
  2937:         prt_dsc_resources(NULL, "cmap", prt_cmap);
  3044:     if (!prt_find_resource(prt_cmap, &res_cmap))
  3046:         EMSG2(_("E456: Can't find PostScript resource file \"%s.ps\""),
  3109:         prt_dsc_resources(NULL, "cmap", prt_cmap);
  3203:         prt_dsc_resources("IncludeResource", "cmap", prt_cmap);
  3212:         prt_dsc_resources("IncludeResource", "cmap", prt_cmap);
  3225:         prt_dsc_resources("IncludeResource", "cmap", prt_cmap);
  3238:         prt_dsc_resources("IncludeResource", "cmap", prt_cmap);
prt_ps_buffer (21 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1445
hardcopy.c (21 uses)
  prt_flush_buffer():
  1666:     if (prt_ps_buffer.ga_len > 0)
  1720:     prt_write_file_raw_len(prt_ps_buffer.ga_data, prt_ps_buffer.ga_len);
  1720:     prt_write_file_raw_len(prt_ps_buffer.ga_data, prt_ps_buffer.ga_len);
  1739:     ga_clear(&prt_ps_buffer);
  1740:     ga_init2(&prt_ps_buffer, (int)sizeof(char), prt_bufsiz);
  mch_print_init():
  2783:     ga_init2(&prt_ps_buffer, (int)sizeof(char), prt_bufsiz);
  mch_print_text_out():
  3536:         ga_append(&prt_ps_buffer, ch);
  3538:         ga_append(&prt_ps_buffer, ch);
  3559:         ga_append(&prt_ps_buffer, IF_EB('\\', 0134));
  3562:         case BS:   ga_append(&prt_ps_buffer, IF_EB('b', 0142)); break;
  3563:         case TAB:  ga_append(&prt_ps_buffer, IF_EB('t', 0164)); break;
  3564:         case NL:   ga_append(&prt_ps_buffer, IF_EB('n', 0156)); break;
  3565:         case FF:   ga_append(&prt_ps_buffer, IF_EB('f', 0146)); break;
  3566:         case CAR:  ga_append(&prt_ps_buffer, IF_EB('r', 0162)); break;
  3567:         case '(':  ga_append(&prt_ps_buffer, IF_EB('(', 0050)); break;
  3568:         case ')':  ga_append(&prt_ps_buffer, IF_EB(')', 0051)); break;
  3569:         case '\\': ga_append(&prt_ps_buffer, IF_EB('\\', 0134)); break;
  3576:                ga_append(&prt_ps_buffer, ch_buff[0]);
  3577:                ga_append(&prt_ps_buffer, ch_buff[1]);
  3578:                ga_append(&prt_ps_buffer, ch_buff[2]);
  3583:         ga_append(&prt_ps_buffer, ch);
ScreenLinesC (21 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:56
mbyte.c (2 uses)
  utfc_char2bytes():
  1607:     if (ScreenLinesC[i][off] == 0)
  1609:     len += utf_char2bytes(ScreenLinesC[i][off], buf + len);
screen.c (17 uses)
  fold_line():
  2321:             ScreenLinesC[i][idx] = u8cc[i];
  2376:         ScreenLinesC[0][off + col] = 0;
  win_line():
  4595:             ScreenLinesC[i][off] = u8cc[i];
  comp_char_differs():
  4852:     if (ScreenLinesC[i][off_from] != ScreenLinesC[i][off_to])
  4852:     if (ScreenLinesC[i][off_from] != ScreenLinesC[i][off_to])
  4854:     if (ScreenLinesC[i][off_from] == 0)
  screen_line():
  5115:             ScreenLinesC[i][off_to] = ScreenLinesC[i][off_from];
  5115:             ScreenLinesC[i][off_to] = ScreenLinesC[i][off_from];
  5293:             ScreenLinesC[0][off_to] = 0;
  screen_comp_differs():
  6208:     if (ScreenLinesC[i][off] != (u8char_T)u8cc[i])
  screen_puts_len():
  6423:             ScreenLinesC[i][off] = u8cc[i];
  screen_fill():
  7224:             ScreenLinesC[0][off] = 0;
  screenalloc():
  7525:                 mch_memmove(new_ScreenLinesC[i]
  7551:     ScreenLinesC[i] = new_ScreenLinesC[i];
  free_screenlines():
  7611:     vim_free(ScreenLinesC[i]);
  linecopy():
  7745:         mch_memmove(ScreenLinesC[i] + off_to, ScreenLinesC[i] + off_from,
  7745:         mch_memmove(ScreenLinesC[i] + off_to, ScreenLinesC[i] + off_from,
ui.c (2 uses)
  clip_copy_modeless_selection():
  1261:                 if (ScreenLinesC[ci][off + i] == 0)
  1263:                 bufp += utf_char2bytes(ScreenLinesC[ci][off + i],
compl_orig_text (20 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:125
edit.c (20 uses)
  ins_compl_add_infercase():
  2150:         p = compl_orig_text;
  2176:         p = compl_orig_text;
  2204:         p = compl_orig_text;
  2225:         p = compl_orig_text;
  set_completion():
  2558:     compl_orig_text = vim_strnsave(ml_get_curline() + compl_col, compl_length);
  2559:     if (compl_orig_text == NULL || ins_compl_add(compl_orig_text,
  2559:     if (compl_orig_text == NULL || ins_compl_add(compl_orig_text,
  ins_compl_clear():
  3149:     vim_free(compl_orig_text);
  3150:     compl_orig_text = NULL;
  ins_compl_prep():
  3561:             ptr = compl_orig_text;
  3562:         if (compl_orig_text != NULL)
  3564:             p = compl_orig_text;
  3570:             temp -= (*mb_head_off)(compl_orig_text, p + temp);
  3628:             ins_bytes(compl_orig_text
  ins_complete():
  4983:     vim_free(compl_orig_text);
  4984:     compl_orig_text = vim_strnsave(line + compl_col, compl_length);
  4985:     if (compl_orig_text == NULL || ins_compl_add(compl_orig_text,
  4985:     if (compl_orig_text == NULL || ins_compl_add(compl_orig_text,
  4990:         vim_free(compl_orig_text);
  4991:         compl_orig_text = NULL;
did_ai (20 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:661
edit.c (14 uses)
  edit():
  390:     if (!did_ai)
  ins_complete():
  4634:     did_ai = FALSE;
  insertchar():
  5511:     if (did_ai && (int)c == end_comment_pending)
  5564:     did_ai = FALSE;
  internal_format():
  5966:     did_ai = FALSE;
  stop_insert():
  6373:     if (did_ai && (esc || (vim_strchr(p_cpo, CPO_INDENT) == NULL
  6410:     did_ai = FALSE;
  fixthisline():
  7238:     did_ai = TRUE;        /* delete the indent if the line stays empty */
  ins_shift():
  8184:     if (did_ai && *skipwhite(ml_get_curline()) != NUL)
  8185:     did_ai = FALSE;
  ins_del():
  8216:     did_ai = FALSE;
  ins_bs():
  8432:     did_ai = FALSE;
  8604:     did_ai = FALSE;
  ins_tab():
  9159:     did_ai = FALSE;
getchar.c (1 use)
  vgetorpeek():
  2536:                 if (did_ai)
misc1.c (4 uses)
  open_line():
  640:     if (dir == FORWARD && did_ai)
  833:     did_ai = TRUE;
  1296:         did_ai = FALSE;        /* append some text, don't truncate now */
  1311:     did_ai = TRUE;        /* So truncating blanks works with comments */
ops.c (1 use)
  op_delete():
  1795:         did_ai = TRUE;            /* delete the indent when ESC hit */
dollar_vcol (20 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:113
edit.c (6 uses)
  display_dollar():
  1640:     dollar_vcol = curwin->w_virtcol;
  undisplay_dollar():
  1652:     if (dollar_vcol)
  1654:     dollar_vcol = 0;
  ins_complete():
  5141:         if (dollar_vcol)
  ins_bs():
  8624:     if (vim_strchr(p_cpo, CPO_BACKSPACE) != NULL && dollar_vcol == 0)
  8625:     dollar_vcol = curwin->w_virtcol;
move.c (3 uses)
  update_topline():
  362:     dollar_vcol = 0;
  curs_columns():
  1002:     if (startcol > dollar_vcol)
  1003:     dollar_vcol = 0;
screen.c (6 uses)
  win_update():
  1555:             && !(dollar_vcol != 0 && mod_bot == mod_top + 1))
  1782:         if (dollar_vcol == 0)
  1787:         if (dollar_vcol == 0)
  1904:     else if (dollar_vcol == 0)
  1919:     if (dollar_vcol == 0)
  win_line():
  3387:     if (dollar_vcol != 0 && wp == curwin
search.c (5 uses)
  showmatch():
  2437:         if (dollar_vcol > 0 && dollar_vcol == curwin->w_virtcol)
  2437:         if (dollar_vcol > 0 && dollar_vcol == curwin->w_virtcol)
  2438:         dollar_vcol = 0;
  2442:         save_dollar_vcol = dollar_vcol;
  2465:         dollar_vcol = save_dollar_vcol;
exiting (20 uses in 11 translation units) defined in translation unit main.c, declared in ./globals.h:591
ex_cmds.c (3 uses)
  do_wqall():
  2862:     exiting = TRUE;
  2909:     if (exiting)
  do_ecmd():
  3753:     if (shortmess(SHM_OVERALL) && !exiting && p_verbose == 0)
ex_cmds2.c (1 use)
  check_changed_any():
  1551:     exiting = FALSE;
ex_docmd.c (4 uses)
  not_exiting():
  6179:     exiting = FALSE;
  ex_quit():
  6216:     exiting = TRUE;
  ex_quit_all():
  6281:     exiting = TRUE;
  ex_exit():
  6621:     exiting = TRUE;
fileio.c (4 uses)
  filemess():
  175:     if (shortmess(SHM_OVERALL) && !exiting && p_verbose == 0)
  buf_write():
  3002:     if (exiting)
  3225:     if (shortmess(SHM_OVER) && !exiting)
  3886:                           && !(exiting && backup != NULL))
gui.c (2 uses)
  gui_shell_closed():
  655:     exiting = TRUE;
  667:     exiting = FALSE;
main.c (1 use)
  getout():
  1220:     exiting = TRUE;
message.c (1 use)
  msg_end():
  2958:     if (!exiting && need_wait_return && !(State & CMDLINE))
misc1.c (1 use)
  ask_yesno():
  3017:     if (exiting)        /* put terminal in raw mode for this question */
os_unix.c (1 use)
  mch_exit():
  2966:     exiting = TRUE;
term.c (1 use)
  req_more_codes_from_term():
  5394:     if (exiting)
ui.c (1 use)
  ui_new_shellsize():
  349:     if (full_screen && !exiting)
ff_file_to_find (20 uses in 1 translation unit) defined static in translation unit misc2.c, declared in misc2.c:5300
misc2.c (20 uses)
  find_file_in_path_option():
  5366:     vim_free(ff_file_to_find);
  5367:     ff_file_to_find = vim_strsave(NameBuff);
  5368:     if (ff_file_to_find == NULL)    /* out of memory */
  5375:     rel_to_curdir = (ff_file_to_find[0] == '.'
  5376:             && (ff_file_to_find[1] == NUL
  5377:             || vim_ispathsep(ff_file_to_find[1])
  5378:             || (ff_file_to_find[1] == '.'
  5379:                 && (ff_file_to_find[2] == NUL
  5380:                 || vim_ispathsep(ff_file_to_find[2])))));
  5381:     if (vim_isAbsName(ff_file_to_find)
  5406:         if (path_with_url(ff_file_to_find))
  5408:         file_name = vim_strsave(ff_file_to_find);
  5416:         l = (int)STRLEN(ff_file_to_find);
  5424:             STRCPY(gettail(NameBuff), ff_file_to_find);
  5429:             STRCPY(NameBuff, ff_file_to_find);
  5512:         fdip_search_ctx = vim_findfile_init(buf, ff_file_to_find,
  5526:         EMSG2(_("E344: Can't find directory \"%s\" in cdpath"),
  5529:         EMSG2(_("E345: Can't find file \"%s\" in path"),
  5535:         EMSG2(_("E346: No more directory \"%s\" found in cdpath"),
  5538:         EMSG2(_("E347: No more file \"%s\" found in path"),
gFontStyle (20 uses in 1 translation unit) defined in translation unit gui_mac.c, declared in gui_mac.c:170
gui_mac.c (20 uses)
  gui_mac_dispose_atsui_style():
  3251:     if (p_macatsui && gFontStyle)
  3252:     ATSUDisposeStyle(gFontStyle);
  gui_mac_create_atsui_style():
  3425:     if (p_macatsui && gFontStyle == NULL)
  3427:     if (ATSUCreateStyle(&gFontStyle) != noErr)
  3428:         gFontStyle = NULL;
  gui_mch_init_font():
  3522:     if (p_macatsui && gFontStyle)
  gui_mac_set_font_attributes():
  3611:     if (ATSUSetAttributes(gFontStyle,
  3618:         ATSUDisposeStyle(gFontStyle);
  3619:         gFontStyle = NULL;
  gui_mch_set_font():
  3652:     if (p_macatsui && gFontStyle)
  3655:     if (ATSUGetAttribute(gFontStyle, kATSUMaxATSUITagValue + 1,
  draw_string_ATSUI():
  4123:     if (gFontStyle && flags & DRAW_BOLD)
  4130:         ATSUSetAttributes(gFontStyle, 1, attribTags, attribSizes, attribValues);
  4166:                                  : gFontStyle;
  4184:         textStyle = width_in_cell > 1 ? gWideFontStyle : gFontStyle;
  4202:             (gFontStyle ? 1 : 0), &utf16_len,
  4203:             (gFontStyle ? &gFontStyle : NULL),
  4203:             (gFontStyle ? &gFontStyle : NULL),
  4217:     if (gFontStyle && flags & DRAW_BOLD)
  4225:         ATSUSetAttributes(gFontStyle, 1, attribTags, attribSizes,
lines_left (20 uses in 6 translation units) defined in translation unit main.c, declared in ./globals.h:215
eval.c (3 uses)
  f_inputlist():
  11763:     lines_left = Rows;    /* avoid more prompt */
  11776:     selected -= lines_left;
  ex_function():
  19127:         lines_left = Rows - 1;
ex_cmds.c (1 use)
  ex_append():
  3903:     lines_left = Rows - 1;
ex_cmds2.c (2 uses)
  do_debug():
  274:     lines_left = Rows - 1;
  283:     lines_left = Rows - 1;
ex_docmd.c (1 use)
  do_exmode():
  657:     lines_left = Rows - 1;
message.c (10 uses)
  wait_return():
  1051:     lines_left = -1;        /* reset lines_left at next msg_start() */
  msg_start():
  1150:     if (!msg_didany || lines_left < 0)
  msg_starthere():
  1169:     lines_left = cmdline_row;
  msg_puts_display():
  1884:         if (msg_no_more && lines_left == 0)
  1935:         if (lines_left > 0)
  1936:         --lines_left;
  1937:         if (p_more && lines_left == 0 && State != HITRETURN
  do_more_prompt():
  2512:         lines_left = 999999;
  2536:         lines_left = Rows - 1;
  2637:         lines_left = scroll;
spell.c (3 uses)
  spell_suggest():
  10132:     lines_left = Rows;    /* avoid more prompt */
  10206:         selected -= lines_left;
  10207:     lines_left = Rows;    /* avoid more prompt */
msg_didany (20 uses in 9 translation units) defined in translation unit main.c, declared in ./globals.h:164
ex_cmds.c (2 uses)
  write_viminfo():
  1796:         int    tt = msg_didany;
  1800:         msg_didany = tt;
ex_docmd.c (2 uses)
  do_cmdline():
  1070:         msg_didany = FALSE; /* no output yet */
  1486:         msg_didany = FALSE;        /* don't wait when restarting edit */
ex_getln.c (2 uses)
  showmatches():
  3815:     msg_didany = FALSE;        /* lines_left will be set */
  3820:     msg_didany = FALSE;        /* lines_left will be set again */
gui.c (2 uses)
  gui_init():
  443:     if (need_wait_return || msg_didany)
  466:     msg_didany = FALSE;
main.c (6 uses)
  main():
  754:     if (need_wait_return || msg_didany)
  main_loop():
  1140:         msg_didany = FALSE;        /* reset lines_left in msg_start() */
  getout():
  1240:     msg_didany = FALSE;
  1296:         || (gui.in_use && msg_didany && p_verbose > 0)
  read_stdin():
  2335:     i = msg_didany;
  2339:     msg_didany = i;
message.c (3 uses)
  msg_start():
  1150:     if (!msg_didany || lines_left < 0)
  msg_starthere():
  1170:     msg_didany = FALSE;
  msg_puts_attr_len():
  1808:     msg_didany = TRUE;        /* remember that something was outputted */
misc1.c (1 use)
  prompt_for_number():
  3270:     msg_didany = FALSE;
normal.c (1 use)
  normal_cmd():
  1203:             && (msg_didout || (msg_didany && msg_scroll))
screen.c (1 use)
  screenclear2():
  7689:     msg_didany = FALSE;
p_hlg (20 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:518
option.c (19 uses)
  set_helplang_default():
  3826:         free_string_option(p_hlg);
  3827:     p_hlg = vim_strsave(lang);
  3828:     if (p_hlg == NULL)
  3829:         p_hlg = empty_option;
  3833:         if (STRNICMP(p_hlg, "zh_", 3) == 0 && STRLEN(p_hlg) >= 5)
  3833:         if (STRNICMP(p_hlg, "zh_", 3) == 0 && STRLEN(p_hlg) >= 5)
  3835:         p_hlg[0] = TOLOWER_ASC(p_hlg[3]);
  3835:         p_hlg[0] = TOLOWER_ASC(p_hlg[3]);
  3835:         p_hlg[0] = TOLOWER_ASC(p_hlg[3]);
  3835:         p_hlg[0] = TOLOWER_ASC(p_hlg[3]);
  3835:         p_hlg[0] = TOLOWER_ASC(p_hlg[3]);
  3836:         p_hlg[1] = TOLOWER_ASC(p_hlg[4]);
  3836:         p_hlg[1] = TOLOWER_ASC(p_hlg[4]);
  3836:         p_hlg[1] = TOLOWER_ASC(p_hlg[4]);
  3836:         p_hlg[1] = TOLOWER_ASC(p_hlg[4]);
  3836:         p_hlg[1] = TOLOWER_ASC(p_hlg[4]);
  3838:         p_hlg[2] = NUL;
  did_set_string_option():
  5525:     else if (varp == &p_hlg)
  5528:     for (s = p_hlg; *s != NUL; s += 3)
tag.c (1 use)
  find_tags():
  1520:             for (s = p_hlg; *s != NUL; ++s)
p_window (20 uses in 4 translation units) defined in translation unit main.c, declared in ./option.h:842
ex_cmds.c (1 use)
  ex_z():
  4042:         p_window = bigness;
move.c (9 uses)
  onepage():
  2369:         if (firstwin == lastwin && p_window > 0 && p_window < Rows - 1)
  2369:         if (firstwin == lastwin && p_window > 0 && p_window < Rows - 1)
  2372:         if (p_window <= 2)
  2375:             curwin->w_topline += p_window - 2;
  2419:         if (firstwin == lastwin && p_window > 0 && p_window < Rows - 1)
  2419:         if (firstwin == lastwin && p_window > 0 && p_window < Rows - 1)
  2422:         if (p_window <= 2)
  2425:             curwin->w_topline -= p_window - 2;
  2428:         curwin->w_cursor.lnum = curwin->w_topline + p_window - 1;
option.c (8 uses)
  set_init_2():
  3586:     p_window = Rows - 1;
  set_num_option():
  7796:     else if (pp == &p_window)
  7798:     if (p_window < 1)
  7799:         p_window = 1;
  7800:     else if (p_window >= Rows)
  7801:         p_window = Rows - 1;
  7950:     if (p_window >= Rows || !option_was_set((char_u *)"window"))
  7951:         p_window = Rows - 1;
term.c (2 uses)
  win_new_shellsize():
  3021:     if (p_window == old_Rows - 1 || old_Rows == 0)
  3022:         p_window = Rows - 1;
prt_line_height (20 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1401
hardcopy.c (20 uses)
  prt_flush_buffer():
  1683:         prt_write_real(prt_line_height, 2);
  prt_font_metrics():
  2323:     prt_line_height = (float)font_scale;
  prt_get_lpp():
  2381:     prt_bgcol_offset = (float)PRT_PS_FONT_TO_USER(prt_line_height,
  2385:     prt_bgcol_offset -= (float)PRT_PS_FONT_TO_USER(prt_line_height,
  2391:     prt_first_line_height = prt_line_height + prt_bgcol_offset;
  2394:     lpp = (int)((prt_top_margin - prt_bottom_margin) / prt_line_height);
  2397:     prt_top_margin -= prt_line_height * prt_header_height();
  mch_print_begin():
  2903:                                 * prt_line_height);
  2916:                   + prt_header_height()) * prt_line_height) + 0.5);
  3176:     prt_def_font("F0", (char *)p_encoding, (int)prt_line_height,
  3180:     prt_def_font("F1", (char *)p_encoding, (int)prt_line_height,
  3184:     prt_def_font("F2", (char *)p_encoding, (int)prt_line_height,
  3188:     prt_def_font("F3", (char *)p_encoding, (int)prt_line_height,
  3204:     prt_def_cidfont("CF0", (int)prt_line_height,
  3213:         prt_def_cidfont("CF1", (int)prt_line_height,
  3226:         prt_def_cidfont("CF2", (int)prt_line_height,
  3239:         prt_def_cidfont("CF3", (int)prt_line_height,
  3249:     prt_def_var("UO", PRT_PS_FONT_TO_USER(prt_line_height,
  3251:     prt_def_var("UW", PRT_PS_FONT_TO_USER(prt_line_height,
  mch_print_start_line():
  3373:                     page_line * prt_line_height;
pum_selected (20 uses in 1 translation unit) defined static in translation unit popupmnu.c, declared in popupmnu.c:19
popupmnu.c (20 uses)
  pum_redraw():
  285:     attr = (idx == pum_selected) ? attr_select : attr_norm;
  pum_set_selected():
  476:     pum_selected = n;
  478:     if (pum_selected >= 0 && pum_selected < pum_size)
  478:     if (pum_selected >= 0 && pum_selected < pum_size)
  480:     if (pum_first > pum_selected - 4)
  484:         if (pum_first > pum_selected - 2)
  489:         else if (pum_first > pum_selected)
  490:             pum_first = pum_selected;
  493:         pum_first = pum_selected;
  495:     else if (pum_first < pum_selected - pum_height + 5)
  499:         if (pum_first < pum_selected - pum_height + 1 + 2)
  502:         if (pum_first < pum_selected - pum_height + 1)
  503:             pum_first = pum_selected - pum_height + 1;
  506:         pum_first = pum_selected - pum_height + 1;
  514:         if (pum_first > pum_selected - context)
  517:         pum_first = pum_selected - context;
  521:         else if (pum_first < pum_selected + context - pum_height + 1)
  524:         pum_first = pum_selected + context - pum_height + 1;
  536:     if (pum_array[pum_selected].pum_info != NULL
  583:             for (p = pum_array[pum_selected].pum_info; *p != NUL; )
redraw_tabline (20 uses in 9 translation units) defined in translation unit main.c, declared in ./globals.h:550
ex_docmd.c (1 use)
  tabpage_close_other():
  6497:     redraw_tabline = TRUE;
fileio.c (1 use)
  shorten_fnames():
  5738:     redraw_tabline = TRUE;
gui.c (1 use)
  gui_init_which_components():
  3241:         redraw_tabline = TRUE;    /* may draw non-GUI tab line */
misc1.c (2 uses)
  changed():
  2520:     redraw_tabline = TRUE;
  unchanged():
  2917:     redraw_tabline = TRUE;
misc2.c (1 use)
  set_fileformat():
  2933:     redraw_tabline = TRUE;
option.c (1 use)
  did_set_string_option():
  6157:     redraw_tabline = TRUE;
popupmnu.c (1 use)
  pum_undisplay():
  674:     redraw_tabline = TRUE;
screen.c (9 uses)
  update_screen():
  399:         redraw_tabline = TRUE;
  455:     if (redraw_tabline || type >= NOT_VALID)
  updateWindow():
  712:     if (redraw_tabline)
  win_update():
  1247:         if (redraw_tabline)
  redraw_statuslines():
  5373:     if (redraw_tabline)
  screenclear2():
  7680:     redraw_tabline = TRUE;
  draw_tabline():
  9083:     redraw_tabline = FALSE;
  9235:     redraw_tabline = FALSE;
  showruler():
  9365:     if (redraw_tabline)
window.c (3 uses)
  win_close():
  2079:     redraw_tabline = TRUE;
  tabpage_move():
  3750:     redraw_tabline = TRUE;
  win_enter_ext():
  4046:     redraw_tabline = TRUE;
reg_maxline (20 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3142
regexp.c (20 uses)
  reg_getline():
  3251:     if (lnum > reg_maxline)
  vim_regexec():
  3284:     reg_maxline = 0;
  vim_regexec_nl():
  3308:     reg_maxline = 0;
  vim_regexec_multi():
  3345:     reg_maxline = reg_buf->b_ml.ml_line_count - lnum;
  regmatch():
  3839:                 && *reginput == NUL && reglnum <= reg_maxline)
  3879:         if (reglnum != reg_maxline || c != NUL)
  4613:                 if (reglnum >= reg_maxline)
  4920:         if ((c != NUL || !REG_MULTI || reglnum > reg_maxline
  regrepeat():
  5402:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5427:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5457:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5487:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5513:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5544:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5709:         if (!REG_MULTI || !WITH_NL(OP(p)) || reglnum > reg_maxline
  5739:         && ((*scan == NUL && reglnum <= reg_maxline && !reg_line_lbr
  vim_regsub():
  6848:     reg_maxline = 0;
  vim_regsub_multi():
  6867:     reg_maxline = curbuf->b_ml.ml_line_count - lnum;
  vim_regsub_both():
  6941:         save_reg_maxline = reg_maxline;
  6964:         reg_maxline = save_reg_maxline;
reg_mmatch (20 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3134
regexp.c (20 uses)
  vim_regexec():
  3283:     reg_mmatch = NULL;
  vim_regexec_nl():
  3307:     reg_mmatch = NULL;
  vim_regexec_multi():
  3341:     reg_mmatch = rmp;
  vim_regexec_both():
  3398:     prog = reg_mmatch->regprog;
  3400:     reg_startpos = reg_mmatch->startpos;
  3401:     reg_endpos = reg_mmatch->endpos;
  prog_magic_wrong():
  5795:     if (UCHARAT(REG_MULTI
  vim_regsub():
  6847:     reg_mmatch = NULL;
  vim_regsub_multi():
  6864:     reg_mmatch = rmp;
  vim_regsub_both():
  6940:         submatch_mmatch = reg_mmatch;
  6963:         reg_mmatch = submatch_mmatch;
  7077:         clnum = reg_mmatch->startpos[no].lnum;
  7078:         if (clnum < 0 || reg_mmatch->endpos[no].lnum < 0)
  7082:             s = reg_getline(clnum) + reg_mmatch->startpos[no].col;
  7083:             if (reg_mmatch->endpos[no].lnum == clnum)
  7084:             len = reg_mmatch->endpos[no].col
  7085:                            - reg_mmatch->startpos[no].col;
  7106:                 if (reg_mmatch->endpos[no].lnum == clnum)
  7112:                 if (reg_mmatch->endpos[no].lnum == clnum)
  7113:                 len = reg_mmatch->endpos[no].col;
ScreenLines2 (20 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:62
gui.c (1 use)
  gui_screenchar():
  1874:     buf[1] = ScreenLines2[off];
screen.c (18 uses)
  fold_line():
  2332:             ScreenLines2[idx] = p[1];
  win_line():
  4583:         ScreenLines2[off] = mb_c & 0xff;
  char_needs_redraw():
  4882:             ? ScreenLines2[off_from] != ScreenLines2[off_to]
  4882:             ? ScreenLines2[off_from] != ScreenLines2[off_to]
  screen_line():
  5089:             ScreenLines2[off_to] = ScreenLines2[off_from];
  5089:             ScreenLines2[off_to] = ScreenLines2[off_from];
  screen_getbytes():
  6180:         bytes[1] = ScreenLines2[off];
  screen_puts_len():
  6335:             && ScreenLines2[off] != ptr[1])
  6443:         ScreenLines2[off] = ptr[1];
  screen_char():
  6954:         out_char(ScreenLines2[off]);
  screenalloc():
  7337:         && (enc_dbcs == DBCS_JPNU) == (ScreenLines2 != NULL)
  7530:             if (enc_dbcs == DBCS_JPNU && ScreenLines2 != NULL)
  7531:             mch_memmove(new_ScreenLines2 + new_LineOffset[new_row],
  7553:     ScreenLines2 = new_ScreenLines2;
  free_screenlines():
  7612:     vim_free(ScreenLines2);
  linecopy():
  7749:     mch_memmove(ScreenLines2 + off_to, ScreenLines2 + off_from,
  7749:     mch_memmove(ScreenLines2 + off_to, ScreenLines2 + off_from,
  windgoto():
  8013:                 out_char(ScreenLines2[off]);
ui.c (1 use)
  clip_copy_modeless_selection():
  1233:             *bufp++ = ScreenLines2[LineOffset[row] + i];
VIsual_reselect (20 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:636
buffer.c (1 use)
  set_curbuf():
  1319:     VIsual_reselect = FALSE;
getchar.c (1 use)
  start_redo():
  816:     VIsual_reselect = TRUE;
menu.c (1 use)
  ex_emenu():
  2227:     VIsual_reselect = TRUE;
normal.c (16 uses)
  do_pending_operator():
  1415:         VIsual_reselect = FALSE;
  1870:         VIsual_reselect = FALSE;        /* don't reselect now */
  1896:         VIsual_reselect = FALSE;        /* don't reselect now */
  1990:         VIsual_reselect = FALSE;    /* don't reselect now */
  2019:         VIsual_reselect = FALSE;    /* don't reselect now */
  2033:         VIsual_reselect = FALSE;    /* don't reselect now */
  2041:         VIsual_reselect = FALSE;    /* don't reselect now */
  2052:         VIsual_reselect = FALSE;    /* don't reselect now */
  do_mouse():
  2959:         VIsual_reselect = TRUE;
  reset_VIsual_and_resel():
  3244:     VIsual_reselect = FALSE;
  reset_VIsual():
  3257:     VIsual_reselect = FALSE;
  nv_visual():
  7373:         VIsual_reselect = TRUE;
  n_start_visual_mode():
  7460:     VIsual_reselect = TRUE;
  nv_g_cmd():
  7611:         VIsual_reselect = TRUE;
  7646:     VIsual_reselect = FALSE;
  nv_select():
  8548:     else if (VIsual_reselect)
ui.c (1 use)
  jump_to_mouse():
  2770:     VIsual_reselect = TRUE;
arrow_used (19 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:886
edit.c (17 uses)
  edit():
  489:         arrow_used = FALSE;
  492:         arrow_used = TRUE;
  522:     arrow_used = FALSE;
  588:     if (arrow_used)        /* don't repeat insert when arrow key used */
  599:     if (!arrow_used)
  1410:     if (arrow_used)
  start_arrow():
  6210:     if (!arrow_used)        /* something has been inserted */
  6214:     arrow_used = TRUE;    /* this means we stopped the current insert */
  stop_arrow():
  6261:     if (arrow_used)
  6265:         arrow_used = FALSE;
  6293:     return (arrow_used || ins_need_undo ? FAIL : OK);
  stop_insert():
  6328:     if (!arrow_used && end_insert_pos != NULL)
  echeck_abbr():
  6894:     if (p_paste || no_abbr || arrow_used)
  ins_esc():
  7867:     if (!arrow_used)
  ins_bs():
  8282:             && (arrow_used
  8285:             || (!can_bs(BS_INDENT) && !arrow_used && ai_col > 0
  8473:                     || arrow_used))))))
getchar.c (1 use)
  may_sync_undo():
  1246:     if ((!(State & (INSERT + CMDLINE)) || arrow_used)
normal.c (1 use)
  nv_dot():
  8144:     if (start_redo(cap->count0, restart_edit != 0 && !arrow_used) == FAIL)
can_cindent (19 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:261
edit.c (19 uses)
  edit():
  534:     can_cindent = TRUE;
  849:         if (can_cindent && in_cinkeys(c, '*', line_is_white)
  1371:             can_cindent = FALSE;
  1414:     if (can_cindent && cindent_on()
  ins_compl_prep():
  3580:         want_cindent = (can_cindent && cindent_on());
  internal_format():
  5963:     can_cindent = TRUE;
  ins_shift():
  8192:     can_cindent = FALSE;    /* no cindenting after ^D or ^T */
  ins_bs():
  8298:     can_cindent = FALSE;
  ins_mouse():
  8677:     can_cindent = TRUE;
  ins_mousescroll():
  8758:     can_cindent = TRUE;
  ins_tabline():
  8776:     can_cindent = TRUE;
  ins_scroll():
  8802:     can_cindent = TRUE;
  ins_horscroll():
  8818:     can_cindent = TRUE;
  ins_up():
  9016:     can_cindent = TRUE;
  ins_pageup():
  9048:     can_cindent = TRUE;
  ins_down():
  9079:     can_cindent = TRUE;
  ins_pagedown():
  9111:     can_cindent = TRUE;
  ins_tab():
  9145:     can_cindent = FALSE;
  ins_eol():
  9414:     can_cindent = TRUE;
clear_cmdline (19 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:97
edit.c (1 use)
  ins_redraw():
  1475:     else if (clear_cmdline || redraw_cmdline)
main.c (1 use)
  main_loop():
  1111:         else if (redraw_cmdline || clear_cmdline)
normal.c (4 uses)
  normal_cmd():
  1201:             && (clear_cmdline
  do_pending_operator():
  1748:             clear_cmdline = TRUE;   /* unshow visual mode later */
  end_visual_mode():
  3224:     clear_cmdline = TRUE;        /* unshow visual mode later */
  nv_normal():
  8601:         clear_cmdline = TRUE;        /* unshow mode later */
option.c (1 use)
  set_bool_option():
  7209:         clear_cmdline = TRUE;    /* remove "(insert)" */
screen.c (12 uses)
  update_screen():
  366:     clear_cmdline = TRUE;
  419:     if (clear_cmdline)        /* going to clear cmdline (done below) */
  554:     if (clear_cmdline || redraw_cmdline)
  screen_fill():
  7248:         clear_cmdline = FALSE;    /* command line has been cleared */
  screenclear2():
  7664:     clear_cmdline = FALSE;
  7672:     clear_cmdline = TRUE;
  win_do_lines():
  8250:     clear_cmdline = TRUE;
  showmode():
  8847:     need_clear = clear_cmdline;
  8848:     if (clear_cmdline && cmdline_row < Rows - 1)
  8987:     if (need_clear || clear_cmdline)
  8994:     else if (clear_cmdline && msg_silent == 0)
  9015:     clear_cmdline = FALSE;
compl_match_array (19 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:2580
edit.c (19 uses)
  ins_compl_upd_pum():
  2591:     if (compl_match_array != NULL)
  ins_compl_del_pum():
  2606:     if (compl_match_array != NULL)
  2609:     vim_free(compl_match_array);
  2610:     compl_match_array = NULL;
  ins_compl_show_pum():
  2688:     if (compl_match_array == NULL)
  2705:     compl_match_array = (pumitem_T *)alloc_clear(
  2708:     if (compl_match_array != NULL)
  2741:             compl_match_array[i].pum_text =
  2744:             compl_match_array[i].pum_text = compl->cp_str;
  2745:             compl_match_array[i].pum_kind = compl->cp_text[CPT_KIND];
  2746:             compl_match_array[i].pum_info = compl->cp_text[CPT_INFO];
  2748:             compl_match_array[i++].pum_extra =
  2751:             compl_match_array[i++].pum_extra = compl->cp_fname;
  2782:         if (compl_match_array[i].pum_text == compl_shown_match->cp_str
  2783:             || compl_match_array[i].pum_text
  2791:     if (compl_match_array != NULL)
  2797:     pum_display(compl_match_array, compl_match_arraysize, cur);
  ins_compl_new_leader():
  3262:     if (compl_match_array == NULL)
  ins_compl_next():
  4460:     compl_enter_selects = !insert_match && compl_match_array != NULL;
compl_started (19 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:115
edit.c (19 uses)
  edit():
  347:     if (compl_started || pum_visible())
  734:     if (compl_started
  set_completion():
  2568:     compl_started = TRUE;
  ins_compl_clear():
  3142:     compl_started = FALSE;
  ins_compl_active():
  3160:     return compl_started;
  ins_compl_new_leader():
  3215:     if (compl_started)
  ins_compl_restart():
  3308:     compl_started = FALSE;
  ins_compl_prep():
  3406:                       || (ctrl_x_mode == 0 && !compl_started))
  3530:     if (compl_started || ctrl_x_mode == CTRL_X_FINISHED)
  3634:         compl_started = FALSE;
  ins_compl_get_exp():
  3846:     if (!compl_started)
  3868:                     && (!compl_started || found_all))
  3889:             compl_started = TRUE;
  4079:         if (!compl_started)
  4082:             compl_started = TRUE;
  4208:         compl_started = TRUE;
  4216:         compl_started = FALSE;
  4219:     compl_started = TRUE;
  ins_complete():
  4630:     if (!compl_started)
hold_gui_events (19 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:484
ex_docmd.c (5 uses)
  do_exmode():
  623:     ++hold_gui_events;
  689:     --hold_gui_events;
  do_exedit():
  7444:         int    he = hold_gui_events;
  7460:         hold_gui_events = 0;
  7470:         hold_gui_events = he;
gui.c (12 uses)
  gui_position_components():
  1145:     ++hold_gui_events;
  1202:     --hold_gui_events;
  gui_send_mouse_event():
  2781:         if (hold_gui_events)
  2985:     if (hold_gui_events)
  gui_menu_cb():
  3097:     if (hold_gui_events)
  send_tabline_event():
  3521:     if (hold_gui_events
  send_tabline_menu_event():
  3552:     if (hold_gui_events)
  gui_drag_scrollbar():
  3685:     if (hold_gui_events)
  gui_update_scrollbars():
  3921:     ++hold_gui_events;
  4082:     --hold_gui_events;
  gui_focus_change():
  4535:     if (!hold_gui_events)
  gui_mouse_moved():
  4569:         && !hold_gui_events        /* not holding events */
misc2.c (2 uses)
  call_shell():
  2995:     ++hold_gui_events;
  3017:     --hold_gui_events;
starting (19 uses in 9 translation units) defined in translation unit main.c, declared in ./globals.h:588
eval.c (1 use)
  f_has():
  11203:         n = (starting != 0);
fileio.c (1 use)
  check_for_cryptkey():
  2776:     else if (newfile && *curbuf->b_p_key && !starting)
gui.c (1 use)
  gui_update_tabline():
  3396:     if (!gui.starting && starting == 0)
gui_mac.c (1 use)
  HandleODocAE():
  1083:     if (starting > 0)
main.c (2 uses)
  main():
  683:     starting = NO_BUFFERS;
  880:     starting = 0;
option.c (2 uses)
  did_set_title():
  4844:     if (starting != NO_SCREEN
  set_num_option():
  7823:     if (starting != NO_SCREEN && old_value != p_titlelen)
screen.c (2 uses)
  screenalloc():
  7598:     if (starting == 0)
  screenclear2():
  7636:     if (starting == NO_SCREEN || ScreenLines == NULL
term.c (5 uses)
  set_termname():
  1809:         if (starting != NO_SCREEN)
  2001:     if (starting != NO_SCREEN)
  2025:     if (starting != NO_SCREEN)
  set_shellsize():
  3117:     if (starting != NO_SCREEN)
  may_req_termresponse():
  3290:         && starting == 0
window.c (4 uses)
  win_new_tabpage():
  3358:     if (gui.in_use && starting == 0)
  enter_tabpage():
  3576:     if (curtab->tp_old_Columns != Columns && starting == 0)
  3583:     if (gui.in_use && starting == 0)
  command_height():
  5514:     if (starting != NO_SCREEN)
did_si (18 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:694
edit.c (9 uses)
  ins_complete():
  4636:     did_si = FALSE;
  insertchar():
  5566:     did_si = FALSE;
  internal_format():
  5968:     did_si = FALSE;
  stop_insert():
  6412:     did_si = FALSE;
  ins_shift():
  8187:     did_si = FALSE;
  ins_del():
  8218:     did_si = FALSE;
  ins_bs():
  8599:     did_si = FALSE;
  ins_tab():
  9161:     did_si = FALSE;
  ins_try_si():
  9614:     if (((did_si || can_si_back) && c == '{') || (can_si && c == '}'))
misc1.c (9 uses)
  open_line():
  631:     did_si = FALSE;
  780:             did_si = TRUE;    /* do indent */
  790:             did_si = TRUE;
  823:             did_si = TRUE;
  1221:                 || did_si
  1235:         did_si = can_si = FALSE;
  1357:             || did_si
  1363:     if (did_si)
  1398:         did_si = FALSE;
prt_ps_mb_font (18 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1045
hardcopy.c (18 uses)
  mch_print_cleanup():
  2237:         if (prt_ps_mb_font.ps_fontname[i] != NULL)
  2238:         vim_free(prt_ps_mb_font.ps_fontname[i]);
  2239:         prt_ps_mb_font.ps_fontname[i] = NULL;
  prt_build_cid_fontname():
  2362:     prt_ps_mb_font.ps_fontname[font] = fontname;
  mch_print_init():
  2619:     prt_ps_font = &prt_ps_mb_font;
  mch_print_begin():
  2935:                  : "DocumentNeededResources"), &prt_ps_mb_font);
  3107:                                 &prt_ps_mb_font);
  3201:               prt_ps_mb_font.ps_fontname[PRT_PS_FONT_ROMAN]);
  3205:             prt_ps_mb_font.ps_fontname[PRT_PS_FONT_ROMAN]);
  3207:     if (prt_ps_mb_font.ps_fontname[PRT_PS_FONT_BOLD] != NULL)
  3210:                   prt_ps_mb_font.ps_fontname[PRT_PS_FONT_BOLD]);
  3214:                 prt_ps_mb_font.ps_fontname[PRT_PS_FONT_BOLD]);
  3220:     if (prt_ps_mb_font.ps_fontname[PRT_PS_FONT_OBLIQUE] != NULL)
  3223:                   prt_ps_mb_font.ps_fontname[PRT_PS_FONT_OBLIQUE]);
  3227:                 prt_ps_mb_font.ps_fontname[PRT_PS_FONT_OBLIQUE]);
  3233:     if (prt_ps_mb_font.ps_fontname[PRT_PS_FONT_BOLDOBLIQUE] != NULL)
  3236:                   prt_ps_mb_font.ps_fontname[PRT_PS_FONT_BOLDOBLIQUE]);
  3240:                 prt_ps_mb_font.ps_fontname[PRT_PS_FONT_BOLDOBLIQUE]);
curscript (17 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:982
getchar.c (17 uses)
  may_sync_undo():
  1247:                            && scriptin[curscript] == NULL)
  save_typebuf():
  1302:     saved_typebuf[curscript] = typebuf;
  openscript():
  1363:     if (curscript + 1 == NSCRIPT)
  1374:     if (scriptin[curscript] != NULL)    /* already reading script */
  1375:     ++curscript;
  1378:     if ((scriptin[curscript] = mch_fopen((char *)NameBuff, READBIN)) == NULL)
  1381:     if (curscript)
  1382:         --curscript;
  1411:     oldcurscript = curscript;
  closescript():
  1435:     typebuf = saved_typebuf[curscript];
  1437:     fclose(scriptin[curscript]);
  1438:     scriptin[curscript] = NULL;
  1439:     if (curscript > 0)
  1440:     --curscript;
  using_script():
  1459:     return scriptin[curscript] != NULL;
  inchar():
  2880:     while (scriptin[curscript] != NULL && script_char < 0
  2886:     if (got_int || (script_char = getc(scriptin[curscript])) < 0)
dataBrowser (17 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:6535
gui_mac.c (17 uses)
  drawerCallback():
  6687:             SetControlBounds(dataBrowser, &r);
  6688:             SetDataBrowserTableViewNamedColumnWidth(dataBrowser,
  initialise_tabline():
  6759:                                 &dataBrowser);
  6772:     SetDataBrowserCallbacks(dataBrowser, &dbCallbacks);
  6774:     SetDataBrowserListViewHeaderBtnHeight(dataBrowser, 0); // no header
  6775:     SetDataBrowserHasScrollBars(dataBrowser, false, true); // only vertical
  6776:     SetDataBrowserSelectionFlags(dataBrowser,
  6778:     SetDataBrowserTableViewHiliteStyle(dataBrowser,
  6781:     SetControlData(dataBrowser, kControlEntireControl,
  6787:     myDataBrowserChangeAttributes(dataBrowser,
  6791:     InstallControlEventHandler(dataBrowser, dbFocusCallback, 1, &focusEvent,
  6814:     AddDataBrowserListViewColumn(dataBrowser, &colDesc, 0);
  gui_mch_update_tabline():
  6880:     RemoveDataBrowserItems(dataBrowser, kDataBrowserNoItem, 0, NULL,
  6884:     AddDataBrowserItems(dataBrowser, kDataBrowserNoItem, numTabs, NULL,
  6888:     SetDataBrowserSelectedItems(dataBrowser, 1, &item, kDataBrowserItemsAssign);
  gui_mch_set_curtab():
  6899:     SetDataBrowserSelectedItems(dataBrowser, 1, &item, kDataBrowserItemsAssign);
  6902:     RevealDataBrowserItem(dataBrowser, item, kTabsColumn,
diff_flags (17 uses in 1 translation unit) defined static in translation unit diff.c, declared in diff.c:26
diff.c (17 uses)
  diff_file():
  841:             (diff_flags & DIFF_IWHITE) ? "-b " : "",
  842:             (diff_flags & DIFF_ICASE) ? "-i " : "",
  ex_diffpatch():
  997:     if (win_split(0, (diff_flags & DIFF_VERTICAL) ? WSP_VERT : 0) != FAIL)
  ex_diffsplit():
  1058:     if (win_split(0, (diff_flags & DIFF_VERTICAL) ? WSP_VERT : 0) != FAIL)
  diff_check():
  1495:     if (!(diff_flags & DIFF_FILLER))
  diff_cmp():
  1553:     if ((diff_flags & (DIFF_ICASE | DIFF_IWHITE)) == 0)
  1555:     if ((diff_flags & DIFF_ICASE) && !(diff_flags & DIFF_IWHITE))
  1555:     if ((diff_flags & DIFF_ICASE) && !(diff_flags & DIFF_IWHITE))
  1578:                 || !(diff_flags & DIFF_ICASE)
  1588:         if (*p1 != *p2 && (!(diff_flags & DIFF_ICASE)
  diff_check_fill():
  1616:     if (!(diff_flags & DIFF_FILLER))
  diff_set_topline():
  1709:         if (diff_flags & DIFF_FILLER)
  diffopt_changed():
  1808:     if (diff_flags != diff_flags_new)
  1812:     diff_flags = diff_flags_new;
  diffopt_horizontal():
  1831:     return (diff_flags & DIFF_HORIZONTAL) != 0;
  diff_find_change():
  1893:         if ((diff_flags & DIFF_IWHITE)
  1928:             if ((diff_flags & DIFF_IWHITE)
e_notopen (17 uses in 8 translation units) defined in translation unit main.c, declared in ./globals.h:1440
eval.c (2 uses)
  f_readfile():
  13121:     EMSG2(_(e_notopen), *fname == NUL ? (char_u *)_("<empty>") : fname);
  f_system():
  15972:         EMSG2(_(e_notopen), infile);
ex_cmds2.c (1 use)
  cmd_source():
  2747:     EMSG2(_(e_notopen), fname);
ex_docmd.c (1 use)
  ex_read():
  7772:         EMSG2(_(e_notopen), eap->arg);
getchar.c (1 use)
  openscript():
  1380:     EMSG2(_(e_notopen), name);
message.c (1 use)
  verbose_open():
  3138:         EMSG2(_(e_notopen), p_vfile);
misc1.c (1 use)
  get_cmd_output():
  9435:     EMSG2(_(e_notopen), tempname);
spell.c (9 uses)
  spell_load_file():
  2627:         EMSG2(_(e_notopen), fname);
  2631:         smsg((char_u *)e_notopen, fname);
  spell_read_aff():
  5120:     EMSG2(_(e_notopen), fname);
  spell_read_dic():
  6452:     EMSG2(_(e_notopen), fname);
  spell_read_wordfile():
  7043:     EMSG2(_(e_notopen), fname);
  write_vim_spell():
  7919:     EMSG2(_(e_notopen), fname);
  sug_write():
  8880:     EMSG2(_(e_notopen), fname);
  spell_add_word():
  9412:         EMSG2(_(e_notopen), fname);
  spell_suggest_file():
  10637:     EMSG2(_(e_notopen), fname);
syntax.c (1 use)
  syn_cmd_include():
  4499:     EMSG2(_(e_notopen), eap->arg);
globvardict (17 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:115
eval.c (17 uses)
  eval_init():
  768:     init_var_dict(&globvardict, &globvars_var);
  list_glob_vars():
  1969:     list_hashtable_vars(&globvarht, (char_u *)"", TRUE, first);
  del_menutrans_vars():
  3598:     hash_lock(&globvarht);
  3599:     todo = (int)globvarht.ht_used;
  3600:     for (hi = globvarht.ht_array; todo > 0 && !got_int; ++hi)
  3606:         delete_var(&globvarht, hi);
  3609:     hash_unlock(&globvarht);
  get_user_var_name():
  3684:     if (gdone < globvarht.ht_used)
  3687:         hi = globvarht.ht_array;
  garbage_collect():
  6161:     set_ref_in_ht(&globvarht, copyID);
  find_var_in_ht():
  17972:     if (ht == &globvarht && !writing
  find_var_ht():
  18005:         return &globvarht;            /* global variable */
  18010:     return &globvarht;
  write_viminfo_varlist():
  20963:     todo = (int)globvarht.ht_used;
  20964:     for (hi = globvarht.ht_array; todo > 0; ++hi)
  store_session_globals():
  20999:     todo = (int)globvarht.ht_used;
  21000:     for (hi = globvarht.ht_array; todo > 0; ++hi)
mouse_dragging (17 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:388
move.c (12 uses)
  update_topline():
  169:     if (mouse_dragging > 0)
  170:     p_so = mouse_dragging - 1;
  scroll_cursor_top():
  1741:     if (mouse_dragging > 0)
  1742:     off = mouse_dragging - 1;
  scroll_cursor_bot():
  1998:                 mouse_dragging > 0 ? mouse_dragging - 1 :
  1998:                 mouse_dragging > 0 ? mouse_dragging - 1 :
  2041:             mouse_dragging > 0 ? mouse_dragging - 1 :
  2041:             mouse_dragging > 0 ? mouse_dragging - 1 :
  cursor_correct():
  2212:     if (mouse_dragging > 0)
  2214:     above_wanted = mouse_dragging - 1;
  2215:     below_wanted = mouse_dragging - 1;
  2228:         && mouse_dragging == 0
normal.c (4 uses)
  do_pending_operator():
  1745:         mouse_dragging = 0;
  do_mouse():
  2740:         mouse_dragging = 2;
  2742:         mouse_dragging = 1;
  end_visual_mode():
  3207:     mouse_dragging = 0;
ui.c (1 use)
  jump_to_mouse():
  2737:         if (mouse_dragging > 0
msg_list (17 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:283
ex_docmd.c (4 uses)
  do_cmdline():
  774:     saved_msg_list = msg_list;
  775:     msg_list = &private_msg_list;
  788:     msg_list = saved_msg_list;
  1461:     msg_list = saved_msg_list;
ex_eval.c (13 uses)
  cause_errthrow():
  253:     if (msg_list != NULL)
  255:         plist = msg_list;
  279:             if (plist == msg_list || severe)
  291:                 (*msg_list)->throw_msg = &tmsg[4];
  293:                 (*msg_list)->throw_msg = tmsg;
  do_errthrow():
  343:     if (msg_list == NULL || *msg_list == NULL)
  343:     if (msg_list == NULL || *msg_list == NULL)
  346:     if (throw_exception(*msg_list, ET_ERROR, cmdname) == FAIL)
  347:     free_msglist(*msg_list);
  355:     *msg_list = NULL;
  leave_cleanup():
  2029:     if (msg_list != NULL)
  2031:         free_msglist(*msg_list);
  2032:         *msg_list = NULL;
next_match_idx (17 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:334
syntax.c (17 uses)
  syn_start_line():
  980:     next_match_idx = -1;
  syn_current_attr():
  1828:     if (next_match_idx >= 0 && next_match_col >= (int)current_col
  1851:     next_match_idx = -1;
  1962:         if (next_match_idx < 0 || next_match_col < (int)current_col)
  1970:             next_match_idx = 0;        /* no match in this line yet */
  2125:                 next_match_idx = idx;
  2144:         if (next_match_idx >= 0 && next_match_col == (int)current_col)
  2150:             lspp = &(SYN_ITEMS(syn_buf)[next_match_idx]);
  2166:                 [zero_width_next_ga.ga_len++] = next_match_idx;
  2168:             next_match_idx = -1;
  2206:         next_match_idx = -1;
  push_next_match():
  2374:     spp = &(SYN_ITEMS(syn_buf)[next_match_idx]);
  2379:     if (push_current_state(next_match_idx) == OK)
  2418:         && push_current_state(next_match_idx) == OK)
  2435:     next_match_idx = -1;    /* try other match next time */
  check_state_ends():
  2476:         next_match_idx = 0;
  pop_current_state():
  2745:     next_match_idx = -1;
p_go (17 uses in 7 translation units) defined in translation unit main.c, declared in ./option.h:507
eval.c (1 use)
  f_inputdialog():
  11704:     if (gui.in_use && vim_strchr(p_go, GO_CONDIALOG) == NULL)
gui.c (9 uses)
  gui_init():
  336:     if (vim_strchr(p_go, GO_NOSYSMENU) == NULL)
  gui_init_which_components():
  3157:     grey_new = (vim_strchr(p_go, GO_GREY) != NULL);
  3160:         temp = p_go;
  3161:         p_go = oldval;
  3163:         p_go = temp;
  3171:     for (p = p_go; *p; p++)
  gui_use_tabline():
  3369:     return gui.in_use && vim_strchr(p_go, GO_TABLINE) != NULL;
  gui_update_horiz_scrollbar():
  4316:     if (vim_strchr(p_go, GO_HORSCROLL) == NULL
  gui_do_horiz_scroll():
  4411:     if (vim_strchr(p_go, GO_HORSCROLL) == NULL
gui_mac.c (1 use)
  gui_mch_dialog():
  5625:     vertical = (vim_strchr(p_go, GO_VERTICAL) != NULL);
menu.c (1 use)
  gui_update_menus_recurse():
  1858:     if (vim_strchr(p_go, GO_GREY) != NULL || menu->parent == NULL
message.c (1 use)
  do_dialog():
  3289:     if (gui.in_use && vim_strchr(p_go, GO_CONDIALOG) == NULL)
option.c (2 uses)
  did_set_string_option():
  6150:     else if (varp == &p_go)
  6618:     else if (varp == &p_go)
ui.c (2 uses)
  clip_isautosel():
  563:         gui.in_use ? (vim_strchr(p_go, GO_ASEL) != NULL) :
  clip_process_selection():
  748:             gui.in_use ? (vim_strchr(p_go, GO_ASELML) != NULL) :
p_mco (17 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:594
option.c (5 uses)
  set_num_option():
  7770:     else if (pp == &p_mco)
  7772:     if (p_mco > MAX_MCO)
  7773:         p_mco = MAX_MCO;
  7774:     else if (p_mco < 0)
  7775:         p_mco = 0;
screen.c (12 uses)
  screenalloc():
  7338:         && p_mco == Screen_mco
  7387:     for (i = 0; i < p_mco; ++i)
  7416:     for (i = 0; i < p_mco; ++i)
  7422:         || (enc_utf8 && (new_ScreenLinesUC == NULL || i != p_mco))
  7447:     for (i = 0; i < p_mco; ++i)
  7490:             for (i = 0; i < p_mco; ++i)
  7512:                                && p_mco == Screen_mco)
  7519:                                && p_mco == Screen_mco)
  7524:             for (i = 0; i < p_mco; ++i)
  7550:     for (i = 0; i < p_mco; ++i)
  7552:     Screen_mco = p_mco;
  linecopy():
  7744:     for (i = 0; i < p_mco; ++i)
prt_mediasize (17 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1000
hardcopy.c (17 uses)
  mch_print_init():
  2645:     for (i = 0; i < PRT_MEDIASIZE_LEN; ++i)
  2646:     if (STRLEN(prt_mediasize[i].name) == (unsigned)paper_strlen
  2647:         && STRNICMP(prt_mediasize[i].name, paper_name,
  2650:     if (i == PRT_MEDIASIZE_LEN)
  2663:     prt_page_width = prt_mediasize[i].width;
  2664:     prt_page_height = prt_mediasize[i].height;
  2668:     prt_page_width = prt_mediasize[i].height;
  2669:     prt_page_height = prt_mediasize[i].width;
  mch_print_begin():
  2892:     prt_page_margins(prt_mediasize[prt_media].width,
  2893:                         prt_mediasize[prt_media].height,
  2922:     prt_dsc_docmedia(prt_mediasize[prt_media].name,
  2923:                 prt_mediasize[prt_media].width,
  2924:                 prt_mediasize[prt_media].height,
  3114:     prt_dsc_textline("PageMedia", prt_mediasize[prt_media].name);
  3153:     prt_write_int((int)prt_mediasize[prt_media].width);
  3154:     prt_write_int((int)prt_mediasize[prt_media].height);
  mch_print_begin_page():
  3340:     prt_write_int(-((int)prt_mediasize[prt_media].width));
ptag_entry (17 uses in 1 translation unit) defined static in translation unit tag.c, declared in tag.c:107
tag.c (17 uses)
  do_tag():
  234:         if (ptag_entry.tagname != NULL
  235:             && STRCMP(ptag_entry.tagname, tag) == 0)
  239:             cur_match = ptag_entry.cur_match;
  240:             cur_fnum = ptag_entry.cur_fnum;
  244:             vim_free(ptag_entry.tagname);
  245:             if ((ptag_entry.tagname = vim_strsave(tag)) == NULL)
  288:             g_do_tagpreview ? ptag_entry.tagname == NULL :
  373:             cur_match = ptag_entry.cur_match;
  374:             cur_fnum = ptag_entry.cur_fnum;
  411:             cur_match = ptag_entry.cur_match;
  412:             cur_fnum = ptag_entry.cur_fnum;
  451:         ptag_entry.cur_match = cur_match;
  452:         ptag_entry.cur_fnum = cur_fnum;
  503:         name = ptag_entry.tagname;
  631:                  && i == ptag_entry.cur_match) ||
  968:         ptag_entry.cur_match = cur_match;
  969:         ptag_entry.cur_fnum = cur_fnum;
sc_col (17 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:577
edit.c (1 use)
  ins_compl_next():
  4469:     i = (vim_strsize(compl_shown_match->cp_fname) + 16) - sc_col;
message.c (5 uses)
  msg_attr_keep():
  181:                                * Columns + sc_col)
  msg_strtrunc():
  212:         room = (int)(Rows - msg_row - 1) * Columns + sc_col - 1;
  msg_may_trunc():
  725:     room = (int)(Rows - cmdline_row - 1) * Columns + sc_col - 1;
  wait_return():
  1054:                   (Rows - cmdline_row - 1) * Columns + sc_col)
  msg_check():
  2974:     if (msg_row == Rows - 1 && msg_col >= sc_col)
normal.c (2 uses)
  display_showcmd():
  3849:     screen_puts(showcmd_buf, (int)Rows - 1, sc_col, 0);
  3857:     screen_puts((char_u *)"          " + len, (int)Rows - 1, sc_col + len, 0);
option.c (8 uses)
  comp_col():
  8881:     sc_col = 0;
  8892:         sc_col = ru_col;
  8896:     sc_col += SHOWCMD_COLS;
  8898:         ++sc_col;
  8900:     sc_col = Columns - sc_col;
  8900:     sc_col = Columns - sc_col;
  8902:     if (sc_col <= 0)        /* screen too narrow, will become a mess */
  8903:     sc_col = 1;
window.c (1 use)
  win_split_ins():
  1101:     msg_col = sc_col;
edit_submode_extra (16 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:895
edit.c (12 uses)
  ins_compl_clear():
  3148:     edit_submode_extra = NULL;
  ins_compl_prep():
  3398:     edit_submode_extra = NULL;
  ins_complete():
  4999:     edit_submode_extra = (char_u *)_("-- Searching...");
  5002:     edit_submode_extra = NULL;
  5033:     edit_submode_extra = (compl_cont_status & CONT_ADDING)
  5054:     if (edit_submode_extra == NULL)
  5058:         edit_submode_extra = (char_u *)_("Back at original");
  5063:         edit_submode_extra = (char_u *)_("Word from other line");
  5068:         edit_submode_extra = (char_u *)_("The only match");
  5139:         edit_submode_extra = match_ref;
  5149:     if (edit_submode_extra != NULL)
  5152:         msg_attr(edit_submode_extra,
screen.c (4 uses)
  showmode():
  8880:         if (edit_submode_extra != NULL)
  8881:             length -= vim_strsize(edit_submode_extra);
  8892:             if (edit_submode_extra != NULL)
  8899:             msg_puts_attr(edit_submode_extra, sub_attr);
ga_scripts (16 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:141
eval.c (16 uses)
  list_script_vars():
  2030:     if (current_SID > 0 && current_SID <= ga_scripts.ga_len)
  2031:     list_hashtable_vars(&SCRIPT_VARS(current_SID),
  garbage_collect():
  6143:     for (i = 1; i <= ga_scripts.ga_len; ++i)
  6144:     set_ref_in_ht(&SCRIPT_VARS(i), copyID);
  find_var_in_ht():
  17949:         case 's': return &SCRIPT_SV(current_SID).sv_var;
  find_var_ht():
  18031:         && current_SID > 0 && current_SID <= ga_scripts.ga_len)
  18032:     return &SCRIPT_VARS(current_SID);
  new_script_vars():
  18064:     if (ga_grow(&ga_scripts, (int)(id - ga_scripts.ga_len)) == OK)
  18064:     if (ga_grow(&ga_scripts, (int)(id - ga_scripts.ga_len)) == OK)
  18069:     for (i = 1; i <= ga_scripts.ga_len; ++i)
  18071:         ht = &SCRIPT_VARS(i);
  18074:         sv = &SCRIPT_SV(i);
  18078:     while (ga_scripts.ga_len < id)
  18080:         sv = &SCRIPT_SV(ga_scripts.ga_len + 1);
  18080:         sv = &SCRIPT_SV(ga_scripts.ga_len + 1);
  18082:         ++ga_scripts.ga_len;
p_cp (16 uses in 4 translation units) defined in translation unit main.c, declared in ./option.h:380
ex_docmd.c (1 use)
  ex_mkrc():
  8715:         if (p_cp)
message.c (1 use)
  wait_return():
  954:         if (p_more && !p_cp)
option.c (12 uses)
  set_init_1():
  2954:     p_cp = TRUE;
  set_options_default():
  3481:         set_option_default(i, opt_flags, p_cp);
  set_init_2():
  3578:     set_option_default(idx, OPT_LOCAL, p_cp);
  do_set():
  4154:         cp_val = p_cp;
  set_bool_option():
  7107:     if ((int *)varp == &p_cp)
  optval_default():
  8470:     dvi = ((p->flags & P_VI_DEF) || p_cp) ? VI_DEFAULT : VIM_DEFAULT;
  vimrc_found():
  10391:     p_cp = FALSE;
  change_compatible():
  10425:     if (p_cp != on)
  10427:     p_cp = on;
  compatible_set():
  10466:     if (       ((options[opt_idx].flags & P_VIM) && p_cp)
  10467:         || (!(options[opt_idx].flags & P_VI_DEF) && !p_cp))
  10468:         set_option_default(opt_idx, OPT_FREE, p_cp);
version.c (2 uses)
  intro_message():
  1754:     if (!p_cp)
  1787:         if (!p_cp)
p_paste (16 uses in 7 translation units) defined in translation unit main.c, declared in ./option.h:626
edit.c (4 uses)
  ins_compl_get_exp():
  4109:             if (!p_paste)
  echeck_abbr():
  6894:     if (p_paste || no_abbr || arrow_used)
  cindent_on():
  7216:     return (!p_paste && (curbuf->b_p_cin
  fix_indent():
  7244:     if (p_paste)
ex_getln.c (1 use)
  ccheck_abbr():
  3210:     if (p_paste || no_abbr)        /* no abbreviations or in paste mode */
getchar.c (2 uses)
  vgetorpeek():
  2042:                 && !(p_paste && (State & (INSERT + CMDLINE)))
  2213:                              (long)!p_paste, NULL, 0);
misc1.c (3 uses)
  open_line():
  545:     int        do_si = (!p_paste && curbuf->b_p_si
  1473:     if (!p_paste
  1489:     if (!p_paste
ops.c (1 use)
  op_change():
  2584:     if (!p_paste && curbuf->b_p_si
option.c (4 uses)
  set_bool_option():
  7190:     else if ((int *)varp == &p_paste)
  has_format_option():
  10234:     if (p_paste)
  paste_option_changed():
  10269:     if (p_paste)
  10369:     old_p_paste = p_paste;
screen.c (1 use)
  showmode():
  8947:         if ((State & INSERT) && p_paste)
p_smd (16 uses in 6 translation units) defined in translation unit main.c, declared in ./option.h:723
edit.c (3 uses)
  edit():
  549:     if (p_smd && msg_silent == 0)
  ins_complete():
  5151:     if (!p_smd)
  ins_esc():
  7980:     else if (p_smd)
getchar.c (1 use)
  vgetorpeek():
  2785:     if (advance && p_smd && msg_silent == 0 && (State & INSERT))
normal.c (7 uses)
  normal_cmd():
  965:         save_smd = p_smd;
  966:         p_smd = FALSE;    /* Don't let the IM code show the mode here */
  987:         p_smd = save_smd;
  1192:     if (       ((p_smd
  do_mouse():
  3056:         || (VIsual_active && p_smd && msg_silent == 0
  nv_visual():
  7380:         if (p_smd && msg_silent == 0)
  n_start_visual_mode():
  7477:     if (p_smd && msg_silent == 0)
ops.c (3 uses)
  format_lines():
  4664:         smd_save = p_smd;
  4665:         p_smd = FALSE;
  4672:         p_smd = smd_save;
screen.c (1 use)
  showmode():
  8821:     do_mode = ((p_smd && msg_silent == 0)
ui.c (1 use)
  jump_to_mouse():
  2774:     if (p_smd && msg_silent == 0)
prevchr (16 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:2570
regexp.c (16 uses)
  initchr():
  2586:     curchr = prevprevchr = prevchr = nextchr = -1;
  peekchr():
  2639:             && !(prev_at_start && prevchr == Magic('^'))
  2641:             || (prevchr != Magic('(')
  2642:                 && prevchr != Magic('&')
  2643:                 && prevchr != Magic('|'))))
  2652:             || prevchr == Magic('(')
  2653:             || prevchr == Magic('|')
  2654:             || prevchr == Magic('&')
  2655:             || prevchr == Magic('n')
  2656:             || (no_Magic(prevchr) == '('
  skipchr():
  2776:     prevprevchr = prevchr;
  2777:     prevchr = curchr;
  skipchr_keepstart():
  2790:     int pr = prevchr;
  2795:     prevchr = pr;
  ungetchr():
  2815:     curchr = prevchr;
  2816:     prevchr = prevprevchr;
redobuff (16 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:43
getchar.c (16 uses)
  get_inserted():
  224:     return(get_buffcont(&redobuff, FALSE));
  ResetRedobuff():
  468:     old_redobuff = redobuff;
  469:     redobuff.bh_first.b_next = NULL;
  saveRedobuff():
  487:     save_redobuff = redobuff;
  488:     redobuff.bh_first.b_next = NULL;
  496:         add_buff(&redobuff, s, -1L);
  restoreRedobuff():
  511:     free_buff(&redobuff);
  512:     redobuff = save_redobuff;
  AppendToRedobuff():
  528:     add_buff(&redobuff, s, -1L);
  AppendToRedobuffLit():
  564:         add_buff(&redobuff, start, (long)(s - start));
  578:         add_char_buff(&redobuff, Ctrl_V);
  585:         add_buff(&redobuff, (char_u *)"048", 3L);
  588:         add_char_buff(&redobuff, c);
  AppendCharToRedobuff():
  601:     add_char_buff(&redobuff, c);
  AppendNumberToRedobuff():
  612:     add_num_buff(&redobuff, n);
  read_redo():
  709:         bp = redobuff.bh_first.b_next;
reg_endpos (16 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3138
regexp.c (16 uses)
  vim_regexec_both():
  3401:     reg_endpos = reg_mmatch->endpos;
  regtry():
  3668:     if (reg_endpos[0].lnum < 0)
  3670:         reg_endpos[0].lnum = reglnum;
  3671:         reg_endpos[0].col = (int)(reginput - regline);
  3675:         reglnum = reg_endpos[0].lnum;
  regmatch():
  4483:             save_se(&rp->rs_un.sesave, &reg_endpos[no], &reg_endp[no]);
  4551:             if (reg_endpos[no].lnum < 0)
  4559:                 && reg_endpos[no].lnum == reglnum)
  4562:                 len = reg_endpos[no].col - reg_startpos[no].col;
  4601:                 if (clnum == reg_endpos[no].lnum)
  4602:                     len = reg_endpos[no].col - ccol;
  4611:                 if (clnum == reg_endpos[no].lnum)
  4987:         restore_se(&rp->rs_un.sesave, &reg_endpos[rp->rs_no],
  cleanup_subexpr():
  5819:         vim_memset(reg_endpos, 0xff, sizeof(lpos_T) * NSUBEXP);
  save_subexpr():
  5872:         bp->save_end[i].se_u.pos = reg_endpos[i];
  restore_subexpr():
  5901:         reg_endpos[i] = bp->save_end[i].se_u.pos;
root_menu (16 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:431
gui.c (1 use)
  gui_init():
  508:     gui_create_initial_menus(root_menu);
gui_mac.c (2 uses)
  gui_mac_handle_menu():
  2652:     vimmenu_T    *theVimMenu = root_menu;
  2661:     theVimMenu = gui_mac_get_vim_menu(menu, item, root_menu);
menu.c (12 uses)
  ex_menu():
  350:             menu_nable_recurse(root_menu, p, MENU_ALL_MODES,
  356:     menu_nable_recurse(root_menu, menu_path, modes, enable);
  377:             remove_menu(&root_menu, p, MENU_ALL_MODES, TRUE);
  384:     remove_menu(&root_menu, menu_path, modes, FALSE);
  add_menu_path():
  505:     menup = &root_menu;
  811:         menup = &root_menu;
  show_menus():
  1083:     menu = root_menu;
  show_menus_recursive():
  1199:         menu = root_menu;
  set_context_in_menu_cmd():
  1288:     menu = root_menu;
  gui_update_menus():
  1897:     gui_update_menus_recurse(root_menu, mode);
  gui_show_popupmenu():
  1957:     for (menu = root_menu; menu != NULL; menu = menu->next)
  ex_emenu():
  2144:     menu = root_menu;
term.c (1 use)
  check_termcode():
  4799:         if (check_menu_pointer(root_menu, current_menu) == FAIL)
showcmd_buf (16 uses in 1 translation unit) defined static in translation unit normal.c, declared in normal.c:3653
normal.c (16 uses)
  clear_showcmd():
  3695:         sprintf((char *)showcmd_buf, "%ldx%ld", lines,
  3699:         sprintf((char *)showcmd_buf, "%ld", lines);
  3701:         sprintf((char *)showcmd_buf, "%ld", (long)(i
  3704:     showcmd_buf[SHOWCMD_COLS] = NUL;    /* truncate */
  3710:     showcmd_buf[0] = NUL;
  add_to_showcmd():
  3757:     showcmd_buf[0] = NUL;
  3770:     old_len = (int)STRLEN(showcmd_buf);
  3774:     mch_memmove(showcmd_buf, showcmd_buf + overflow,
  3774:     mch_memmove(showcmd_buf, showcmd_buf + overflow,
  3776:     STRCAT(showcmd_buf, p);
  del_from_showcmd():
  3806:     old_len = (int)STRLEN(showcmd_buf);
  3809:     showcmd_buf[old_len - len] = NUL;
  push_showcmd():
  3823:     STRCPY(old_showcmd_buf, showcmd_buf);
  pop_showcmd():
  3832:     STRCPY(showcmd_buf, old_showcmd_buf);
  display_showcmd():
  3844:     len = (int)STRLEN(showcmd_buf);
  3849:     screen_puts(showcmd_buf, (int)Rows - 1, sc_col, 0);
caught_stack (15 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:299
ex_docmd.c (3 uses)
  save_dbg_stuff():
  561:     dsp->caught_stack    = caught_stack;        caught_stack = NULL;
  561:     dsp->caught_stack    = caught_stack;        caught_stack = NULL;
  restore_dbg_stuff():
  581:     caught_stack = dsp->caught_stack;
ex_eval.c (12 uses)
  catch_exception():
  627:     excp->caught = caught_stack;
  628:     caught_stack = excp;
  finish_exception():
  675:     if (excp != caught_stack)
  677:     caught_stack = caught_stack->caught;
  677:     caught_stack = caught_stack->caught;
  678:     if (caught_stack != NULL)
  680:     set_vim_var_string(VV_EXCEPTION, caught_stack->value, -1);
  681:     if (*caught_stack->throw_name != NUL)
  683:         if (caught_stack->throw_lnum != 0)
  685:             _("%s, line %ld"), caught_stack->throw_name,
  686:             (long)caught_stack->throw_lnum);
  689:                             caught_stack->throw_name);
cmdnames (15 uses in 1 translation unit) defined static in translation unit ex_docmd.c, declared in ./ex_cmds.h:90
ex_docmd.c (15 uses)
  do_one_cmd():
  2123:         (cmdnames[ea.cmdidx].cmd_func == ex_ni
  2125:          || cmdnames[ea.cmdidx].cmd_func == ex_script_ni
  2161:     ea.argt = (long)cmdnames[(int)ea.cmdidx].cmd_argt;
  2625:     (cmdnames[ea.cmdidx].cmd_func)(&ea);
  2675:         ) ? cmdnames[(int)ea.cmdidx].cmd_name : (char_u *)NULL);
  find_command():
  2823:         if (STRNCMP(cmdnames[(int)eap->cmdidx].cmd_name, (char *)eap->cmd,
  2828:                && cmdnames[(int)eap->cmdidx].cmd_name[len] == NUL)
  set_one_cmd_context():
  3153:         if (STRNCMP(cmdnames[(int)ea.cmdidx].cmd_name, cmd, (size_t)len) == 0)
  3217:     ea.argt = (long)cmdnames[(int)ea.cmdidx].cmd_argt;
  get_command_name():
  5052:     return cmdnames[idx].cmd_name;
  ex_findpat():
  9162:     switch (cmdnames[eap->cmdidx].cmd_name[2])
  9165:         if (cmdnames[eap->cmdidx].cmd_name[0] == 'p')
  ex_ptag():
  9223:     ex_tag_cmd(eap, cmdnames[eap->cmdidx].cmd_name + 1);
  ex_stag():
  9261:     ex_tag_cmd(eap, cmdnames[eap->cmdidx].cmd_name + 1);
  ex_tag():
  9274:     ex_tag_cmd(eap, cmdnames[eap->cmdidx].cmd_name);
compl_pending (15 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:121
edit.c (15 uses)
  ins_compl_next():
  4364:             compl_pending -= todo + 1;
  4366:             compl_pending += todo + 1;
  4374:             --compl_pending;
  4376:             ++compl_pending;
  4383:         while (compl_pending != 0 && compl_direction == compl_shows_dir
  4386:         if (compl_pending > 0 && compl_shown_match->cp_next != NULL)
  4389:             --compl_pending;
  4391:         if (compl_pending < 0 && compl_shown_match->cp_prev != NULL)
  4394:             ++compl_pending;
  ins_compl_check_keys():
  4535:     if (compl_pending != 0 && !got_int)
  4537:     int todo = compl_pending > 0 ? compl_pending : -compl_pending;
  4537:     int todo = compl_pending > 0 ? compl_pending : -compl_pending;
  4537:     int todo = compl_pending > 0 ? compl_pending : -compl_pending;
  4539:     compl_pending = 0;
  ins_complete():
  4645:     compl_pending = 0;
current_next_list (15 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:361
syntax.c (15 uses)
  store_current_state():
  1466:     sp->sst_next_list = current_next_list;
  load_current_state():
  1512:     current_next_list = from->sst_next_list;
  syn_stack_equal():
  1531:         && sp->sst_next_list == current_next_list)
  invalidate_current_state():
  1617:     current_next_list = NULL;
  syn_current_attr():
  1979:                 && (current_next_list != NULL
  1980:                     ? in_id_list(NULL, current_next_list,
  2155:             current_next_list = lspp->sp_next_list;
  2180:     if (current_next_list != NULL && !keep_next_list)
  2205:         current_next_list = NULL;
  2323:     if (current_next_list != NULL
  2326:     current_next_list = NULL;
  check_state_ends():
  2484:         current_next_list = cur_si->si_next_list;
  2488:             current_next_list = NULL;
  check_keyword_id():
  3179:         if (current_next_list != 0
  3180:             ? in_id_list(NULL, current_next_list, &kp->k_syn, 0)
edit_submode (15 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:893
edit.c (10 uses)
  ins_ctrl_x():
  1971:     edit_submode = (char_u *)_(CTRL_X_MSG(ctrl_x_mode));
  has_compl_option():
  1992:     edit_submode = NULL;
  ins_compl_prep():
  3424:             edit_submode = (char_u *)_(" (insert) Scroll (^E/^Y)");
  3426:             edit_submode = (char_u *)_(" (replace) Scroll (^E/^Y)");
  3511:         edit_submode = NULL;
  3525:         edit_submode = NULL;
  3639:         if (edit_submode != NULL)
  3641:         edit_submode = NULL;
  ins_complete():
  4978:         edit_submode = (char_u *)_(ctrl_x_msgs[CTRL_X_LOCAL_MSG]);
  4980:         edit_submode = (char_u *)_(CTRL_X_MSG(ctrl_x_mode));
screen.c (5 uses)
  showmode():
  8875:         if (edit_submode != NULL)        /* CTRL-X in Insert mode */
  8886:             if (length - vim_strsize(edit_submode) > 0)
  8890:             msg_puts_attr(edit_submode, attr);
  8978:         && edit_submode == NULL        /* otherwise it gets too long */
  win_redr_ruler():
  9413:     if (edit_submode != NULL)
ex_nesting_level (15 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:223
eval.c (1 use)
  call_user_func():
  20248:     fc.level = ex_nesting_level;
ex_cmds2.c (6 uses)
  do_debug():
  243:             debug_break_level = ex_nesting_level;
  249:             debug_break_level = ex_nesting_level - 1;
  dbg_check_breakpoint():
  362:     else if (ex_nesting_level <= debug_break_level)
  do_source():
  2998:     cookie.level = ex_nesting_level;
  3163:     if (save_debug_break_level > ex_nesting_level
  3164:         && debug_break_level == ex_nesting_level)
ex_docmd.c (8 uses)
  do_cmdline():
  806:     if (getline_is_func && ex_nesting_level == func_level(real_cookie))
  807:     ++ex_nesting_level;
  1430:         && ex_nesting_level > source_level(real_cookie))
  1432:         && ex_nesting_level > func_level(real_cookie) + 1))
  1441:         --ex_nesting_level;
  1448:         && ex_nesting_level + 1 <= debug_break_level)
  do_one_cmd():
  1698:     ++ex_nesting_level;
  2716:     --ex_nesting_level;
globaldir (15 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1115
ex_docmd.c (9 uses)
  ex_cd():
  7881:         if (globaldir == NULL && prev_dir != NULL)
  7882:             globaldir = vim_strsave(prev_dir);
  7891:         vim_free(globaldir);
  7892:         globaldir = NULL;
  ex_mkrc():
  8750:             && (ssop_flags & SSOP_CURDIR) && globaldir != NULL)
  8752:             (void)mch_chdir((char *)globaldir);
  8760:             || ((ssop_flags & SSOP_CURDIR) && globaldir != NULL)))
  makeopens():
  9805:     sname = home_replace_save(NULL, globaldir != NULL ? globaldir : dirnow);
  9805:     sname = home_replace_save(NULL, globaldir != NULL ? globaldir : dirnow);
window.c (6 uses)
  win_enter_ext():
  4016:     if (globaldir == NULL)
  4021:         globaldir = vim_strsave(cwd);
  4026:     else if (globaldir != NULL)
  4030:     mch_chdir((char *)globaldir);
  4031:     vim_free(globaldir);
  4032:     globaldir = NULL;
keys (15 uses in 1 translation unit) defined static in translation unit misc2.c, declared in misc2.c:3607
misc2.c (15 uses)
  decrypt_byte():
  3617:     temp = (ush)keys[2] | 2;
  update_keys():
  3628:     keys[0] = CRC32(keys[0], c);
  3628:     keys[0] = CRC32(keys[0], c);
  3628:     keys[0] = CRC32(keys[0], c);
  3629:     keys[1] += keys[0] & 0xff;
  3629:     keys[1] += keys[0] & 0xff;
  3630:     keys[1] = keys[1] * 134775813L + 1;
  3630:     keys[1] = keys[1] * 134775813L + 1;
  3631:     keys[2] = CRC32(keys[2], (int)(keys[1] >> 24));
  3631:     keys[2] = CRC32(keys[2], (int)(keys[1] >> 24));
  3631:     keys[2] = CRC32(keys[2], (int)(keys[1] >> 24));
  3631:     keys[2] = CRC32(keys[2], (int)(keys[1] >> 24));
  crypt_init_keys():
  3647:     keys[0] = 305419896L;
  3648:     keys[1] = 591751049L;
  3649:     keys[2] = 878082192L;
last_msgchunk (15 uses in 1 translation unit) defined static in translation unit message.c, declared in message.c:2148
message.c (15 uses)
  store_sb_text():
  2184:         if (last_msgchunk == NULL)
  2186:         last_msgchunk = mp;
  2191:         mp->sb_prev = last_msgchunk;
  2192:         last_msgchunk->sb_next = mp;
  2193:         last_msgchunk = mp;
  2198:     else if (finish && last_msgchunk != NULL)
  2199:     last_msgchunk->sb_eol = TRUE;
  clear_sb_text():
  2223:     while (last_msgchunk != NULL)
  2225:     mp = last_msgchunk->sb_prev;
  2226:     vim_free(last_msgchunk);
  2227:     last_msgchunk = mp;
  show_sb_text():
  2241:     mp = msg_sb_start(last_msgchunk);
  do_more_prompt():
  2427:     mp_last = msg_sb_start(last_msgchunk);
  2568:             mp = msg_sb_start(last_msgchunk);
  2588:                 mp_last = msg_sb_start(last_msgchunk);
lcs_tab1 (15 uses in 6 translation units) defined in translation unit main.c, declared in ./globals.h:1122
buffer.c (1 use)
  build_stl_str_hl():
  3678:         if (wp->w_p_list && lcs_tab1 == NUL)
charset.c (6 uses)
  chartabsize():
  816:     RET_WIN_BUF_CHARTABSIZE(curwin, curbuf, p, col)
  win_chartabsize():
  827:     RET_WIN_BUF_CHARTABSIZE(wp, wp->w_buffer, p, col)
  lbr_chartabsize():
  1000:     RET_WIN_BUF_CHARTABSIZE(curwin, curbuf, s, col)
  win_lbr_chartabsize():
  1063:     RET_WIN_BUF_CHARTABSIZE(wp, wp->w_buffer, s, col)
  win_nolbr_chartabsize():
  1178:     if (*s == TAB && (!wp->w_p_list || lcs_tab1))
  getvcol():
  1254:     if ((!wp->w_p_list || lcs_tab1 != NUL)
message.c (2 uses)
  msg_prt_line():
  1608:         if (c == TAB && (!list || lcs_tab1))
  1619:             c = lcs_tab1;
misc1.c (1 use)
  plines_win_col():
  1804:     if (*s == TAB && (State & NORMAL) && (!wp->w_p_list || lcs_tab1))
option.c (2 uses)
  set_chars_option():
  6802:         lcs_tab1 = NUL;
  6844:                 lcs_tab1 = c1;
screen.c (3 uses)
  win_line():
  4066:         if (c == TAB && (!wp->w_p_list || lcs_tab1))
  4076:             c = lcs_tab1;
  win_redr_ruler():
  9486:     if (wp->w_p_list && lcs_tab1 == NUL)
LineWraps (15 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:45
screen.c (14 uses)
  win_line():
  4735:         LineWraps[screen_row - 1] = TRUE;
  screen_line():
  5304:         LineWraps[row] = FALSE;
  screen_fill():
  7243:         LineWraps[row] = FALSE;
  screenalloc():
  7557:     LineWraps = new_LineWraps;
  free_screenlines():
  7617:     vim_free(LineWraps);
  screenclear2():
  7658:     LineWraps[i] = FALSE;
  screen_ins_lines():
  8479:         LineWraps[j] = FALSE;
  8489:         LineWraps[j + line_count] = LineWraps[j];
  8489:         LineWraps[j + line_count] = LineWraps[j];
  8492:         LineWraps[j + line_count] = FALSE;
  screen_del_lines():
  8707:         LineWraps[j] = FALSE;
  8718:         LineWraps[j - line_count] = LineWraps[j];
  8718:         LineWraps[j - line_count] = LineWraps[j];
  8721:         LineWraps[j - line_count] = FALSE;
ui.c (1 use)
  clip_copy_modeless_selection():
  1217:     if (row > row1 && !LineWraps[row - 1])
maphash (15 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:71
getchar.c (15 uses)
  vgetorpeek():
  2065:             mp2 = maphash[MAP_HASH(local_State, c1)];
  do_map():
  3112:     map_table = maphash;
  3333:         mp = maphash[hash];
  3429:             showmap(mp, map_table != maphash);
  3467:                 showmap(mp, map_table != maphash);
  validate_maphash():
  3636:     vim_memset(maphash, 0, sizeof(maphash));
  3636:     vim_memset(maphash, 0, sizeof(maphash));
  map_clear_int():
  3755:         mpp = &maphash[hash];
  3784:             mp->m_next = maphash[new_hash];
  3785:             maphash[new_hash] = mp;
  map_to_exists_mode():
  3966:         mp = maphash[hash];
  ExpandMappings():
  4137:         mp = maphash[hash];
  makemap():
  4561:             mp = maphash[hash];
  check_map_keycodes():
  4866:             mp = maphash[hash];
  check_map():
  4950:         mp = maphash[hash];
p_siso (15 uses in 5 translation units) defined in translation unit main.c, declared in ./option.h:725
misc2.c (4 uses)
  leftcol_changed():
  591:     if (curwin->w_virtcol > (colnr_T)(lastcol - p_siso))
  594:     coladvance((colnr_T)(lastcol - p_siso));
  596:     else if (curwin->w_virtcol < curwin->w_leftcol + p_siso)
  599:     (void)coladvance((colnr_T)(curwin->w_leftcol + p_siso));
move.c (2 uses)
  curs_columns():
  1062:     off_left = (int)startcol - (int)curwin->w_leftcol - p_siso;
  1064:                                 - p_siso) + 1;
normal.c (4 uses)
  nv_zet():
  4743:             if ((long)col > p_siso)
  4744:             col -= p_siso;
  4765:             if ((long)col + p_siso < n)
  4768:             col = col + p_siso - n + 1;
option.c (2 uses)
  set_num_option():
  8012:     if (p_siso < 0 && full_screen)
  8015:     p_siso = 0;
search.c (3 uses)
  showmatch():
  2434:         save_siso = p_siso;
  2450:         p_siso = 0;            /* don't use 'sidescrolloff' here */
  2477:         p_siso = save_siso;
p_vfile (15 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:837
ex_eval.c (6 uses)
  throw_exception():
  529:     if (debug_break_level > 0 || *p_vfile == NUL)
  535:     if (debug_break_level > 0 || *p_vfile == NUL)
  discard_exception():
  583:     if (debug_break_level > 0 || *p_vfile == NUL)
  590:     if (debug_break_level > 0 || *p_vfile == NUL)
  catch_exception():
  652:     if (debug_break_level > 0 || *p_vfile == NUL)
  658:     if (debug_break_level > 0 || *p_vfile == NUL)
message.c (7 uses)
  redir_write():
  3001:     if (*p_vfile != NUL)
  verbose_enter():
  3062:     if (*p_vfile != NUL)
  verbose_leave():
  3073:     if (*p_vfile != NUL)
  verbose_enter_scroll():
  3084:     if (*p_vfile != NUL)
  verbose_leave_scroll():
  3097:     if (*p_vfile != NUL)
  verbose_open():
  3135:     verbose_fd = mch_fopen((char *)p_vfile, "a");
  3138:         EMSG2(_(e_notopen), p_vfile);
option.c (2 uses)
  did_set_string_option():
  5918:     else if (varp == &p_vfile)
  5921:     if (*p_vfile != NUL && verbose_open() == FAIL)
redir_lval (15 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:910
eval.c (15 uses)
  var_redir_start():
  939:     redir_lval = (lval_T *)alloc_clear((unsigned)sizeof(lval_T));
  940:     if (redir_lval == NULL)
  950:     redir_endp = get_lval(redir_varname, NULL, redir_lval, FALSE, FALSE, FALSE,
  952:     if (redir_endp == NULL || redir_lval->ll_name == NULL || *redir_endp != NUL)
  970:     set_var_lval(redir_lval, redir_endp, &tv, TRUE, (char_u *)".");
  972:     set_var_lval(redir_lval, redir_endp, &tv, TRUE, (char_u *)"=");
  980:     if (redir_lval->ll_newkey != NULL)
  983:     vim_free(redir_lval->ll_newkey);
  984:     redir_lval->ll_newkey = NULL;
  var_redir_str():
  1006:     if (redir_lval == NULL)
  var_redir_stop():
  1031:     if (redir_lval != NULL)
  1039:     set_var_lval(redir_lval, redir_endp, &tv, FALSE, (char_u *)".");
  1042:     clear_lval(redir_lval);
  1043:     vim_free(redir_lval);
  1044:     redir_lval = NULL;
textlock (15 uses in 6 translation units) defined in translation unit main.c, declared in ./globals.h:609
edit.c (1 use)
  edit():
  339:     if (textlock != 0)
eval.c (4 uses)
  eval_to_string_safe():
  1263:     ++textlock;
  1267:     --textlock;
  eval_foldexpr():
  1652:     ++textlock;
  1677:     --textlock;
ex_getln.c (5 uses)
  getcmdline():
  685:             ++textlock;
  687:             --textlock;
  text_locked():
  1972:     return textlock != 0;
  cmdline_paste():
  2961:     ++textlock;
  2963:     --textlock;
getchar.c (2 uses)
  eval_map_expr():
  4426:     ++textlock;
  4432:     --textlock;
misc1.c (2 uses)
  get_expr_indent():
  8058:     ++textlock;
  8062:     --textlock;
undo.c (1 use)
  undo_allowed():
  314:     if (textlock != 0)
ai_col (14 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:667
edit.c (9 uses)
  edit():
  391:     ai_col = 0;
  change_indent():
  1843:     if ((int)ai_col <= insstart_less)
  1844:         ai_col = 0;
  1846:         ai_col -= insstart_less;
  stop_arrow():
  6270:     ai_col = 0;
  ins_bs():
  8285:             || (!can_bs(BS_INDENT) && !arrow_used && ai_col > 0
  8286:                      && curwin->w_cursor.col <= ai_col)
  ins_try_si():
  9686:     if (ai_col > curwin->w_cursor.col)
  9687:     ai_col = curwin->w_cursor.col;
misc1.c (4 uses)
  open_line():
  633:     ai_col = 0;
  1386:     ai_col = curwin->w_cursor.col;
  1482:     ai_col = (colnr_T)(skipwhite(p) - p);
  1501:     ai_col = (colnr_T)(skipwhite(p) - p);
ops.c (1 use)
  op_delete():
  1796:         ai_col = curwin->w_cursor.col;
autocmd_busy (14 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:366
ex_cmds.c (3 uses)
  do_shell():
  1379:     if (!autocmd_busy)
  1395:         && !autocmd_busy
  1433:     if (autocmd_busy)
fileio.c (9 uses)
  check_timestamps():
  6255:             || autocmd_busy || curbuf_lock > 0
  buf_check_timestamp():
  6560:         if (!autocmd_busy)
  au_cleanup():
  7358:     if (autocmd_busy || !au_need_clean)
  apply_autocmds_group():
  8546:     if (autocmd_busy && !(force || autocmd_nested))
  8597:     save_autocmd_busy = autocmd_busy;
  8724:     if (!autocmd_busy)
  8734:     autocmd_busy = TRUE;
  8796:     autocmd_busy = save_autocmd_busy;
  8822:     if (!autocmd_busy)
misc1.c (1 use)
  change_warning():
  2965:         && !autocmd_busy
window.c (1 use)
  close_others():
  3082:             && !autocmd_busy
compl_direction (14 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:119
edit.c (14 uses)
  ins_compl_add():
  2284:     int        dir = (cdir == 0 ? compl_direction : cdir);
  ins_compl_add_matches():
  2498:     int        dir = compl_direction;
  ins_compl_dictionaries():
  2824:     int        dir = compl_direction;
  ins_compl_add_list():
  3755:     int        dir = compl_direction;
  ins_compl_get_exp():
  3858:     pos = (compl_direction == FORWARD) ? &last_match_pos : &first_match_pos;
  3961:         find_pattern_in_path(compl_pattern, compl_direction,
  4072:                           compl_direction, compl_pattern);
  4075:                                   compl_direction,
  4233:     compl_curr_match = compl_direction == FORWARD ? old_match->cp_next
  ins_compl_next():
  4383:         while (compl_pending != 0 && compl_direction == compl_shows_dir
  ins_complete():
  4629:     compl_direction = ins_compl_key2dir(c);
  5007:     compl_shows_dir = compl_direction;
  5020:     compl_direction = compl_shows_dir;
  5079:         if (compl_direction == FORWARD)
current_tab (14 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:453
edit.c (3 uses)
  ins_tabline():
  8771:         || (current_tab != 0 && current_tab != tabpage_index(curtab)))
  8771:         || (current_tab != 0 && current_tab != tabpage_index(curtab)))
  8781:     goto_tabpage(current_tab);
normal.c (7 uses)
  nv_tabline():
  5069:     goto_tabpage(current_tab);
  handle_tabmenu():
  5096:         if (current_tab == 0)
  5101:                                  current_tab);
  5108:                      current_tab > 0 ? current_tab - 1 : 999);
  5108:                      current_tab > 0 ? current_tab - 1 : 999);
  5114:                      current_tab > 0 ? current_tab - 1 : 999);
  5114:                      current_tab > 0 ? current_tab - 1 : 999);
term.c (4 uses)
  check_termcode():
  4813:         current_tab = (int)bytes[0];
  4814:         if (current_tab == 255)    /* -1 in a byte gives 255 */
  4815:         current_tab = -1;
  4824:         current_tab = (int)bytes[0];
debug_tick (14 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:226
eval.c (4 uses)
  call_user_func():
  20251:     fc.dbg_tick = debug_tick;
  get_func_line():
  20728:     if (fcp->dbg_tick != debug_tick)
  20732:     fcp->dbg_tick = debug_tick;
  20769:     fcp->dbg_tick = debug_tick;
ex_cmds2.c (6 uses)
  ex_breakadd():
  579:         ++debug_tick;
  ex_breakdel():
  674:         ++debug_tick;
  do_source():
  2996:     cookie.dbg_tick = debug_tick;
  getsourceline():
  3333:     if (sp->dbg_tick < debug_tick)
  3336:     sp->dbg_tick = debug_tick;
  3407:     sp->dbg_tick = debug_tick;
ex_docmd.c (4 uses)
  do_cmdline():
  931:                            && *dbg_tick != debug_tick)
  936:         *dbg_tick = debug_tick;
  951:         *dbg_tick = debug_tick;
  1185:             *dbg_tick = debug_tick;
e_interr (14 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:1379
ex_cmds.c (5 uses)
  ex_sort():
  560:     EMSG(_(e_interr));
  ex_retab():
  695:     EMSG(_(e_interr));
  do_sub():
  5103:         EMSG(_(e_interr));
  do_sub_msg():
  5160:     EMSG(_(e_interr));
  ex_global():
  5279:     MSG(_(e_interr));
ex_cmds2.c (1 use)
  do_source():
  3141:     EMSG(_(e_interr));
ex_eval.c (1 use)
  cause_errthrow():
  199:     if (mesg == (char_u *)_(e_interr))
fileio.c (5 uses)
  readfile():
  2286:         filemess(curbuf, sfname, (char_u *)_(e_interr), 0);
  buf_write():
  3714:                 errmsg = (char_u *)_(e_interr);
  3891:         errmsg = (char_u *)_(e_interr);
  4442:             errmsg = (char_u *)_(e_interr);
  4464:             MSG(_(e_interr));
search.c (2 uses)
  searchit():
  945:         EMSG(_(e_interr));
  find_pattern_in_path():
  5161:         EMSG(_(e_interr));
emsg_on_display (14 uses in 7 translation units) defined in translation unit main.c, declared in ./globals.h:181
edit.c (1 use)
  ins_redraw():
  1479:     emsg_on_display = FALSE;    /* may remove error message now */
ex_getln.c (1 use)
  getexmodeline():
  2341:     emsg_on_display = FALSE;        /* don't want ui_delay() */
gui.c (1 use)
  gui_init():
  462:     emsg_on_display = FALSE;
main.c (1 use)
  main_loop():
  1138:         emsg_on_display = FALSE;    /* can delete error message now */
message.c (4 uses)
  emsg():
  644:     emsg_on_display = TRUE;    /* remember there is an error message */
  msg_end_prompt():
  847:     emsg_on_display = FALSE;
  wait_return():
  1050:     emsg_on_display = FALSE;    /* can delete error message now */
  mch_errmsg():
  2712:     emsg_on_display = FALSE;
normal.c (4 uses)
  normal_cmd():
  1211:             || emsg_on_display)))
  1228:     if (must_redraw && keep_msg != NULL && !emsg_on_display)
  1244:     if (msg_scroll || emsg_on_display)
  1250:     emsg_on_display = FALSE;
screen.c (2 uses)
  check_for_delay():
  7263:     if ((emsg_on_display || (check_msg_scroll && msg_scroll))
  7269:     emsg_on_display = FALSE;
keepend_level (14 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:273
syntax.c (14 uses)
  syn_update_ends():
  1028:     if (keepend_level >= 0)
  1029:     for ( ; i > keepend_level; --i)
  load_current_state():
  1486:     keepend_level = -1;
  1499:         if (keepend_level < 0 && (CUR_STATE(i).si_flags & HL_KEEPEND))
  1500:         keepend_level = i;
  invalidate_current_state():
  1618:     keepend_level = -1;
  push_next_match():
  2407:     if (keepend_level < 0 && (cur_si->si_flags & HL_KEEPEND))
  2408:         keepend_level = current_state.ga_len - 1;
  check_state_ends():
  2500:         if (had_extend && keepend_level >= 0)
  2526:                 && keepend_level < 0
  check_keepend():
  2609:     if (keepend_level < 0)
  2617:     for (i = current_state.ga_len - 1; i > keepend_level; --i)
  pop_current_state():
  2748:     if (keepend_level >= current_state.ga_len)
  2749:     keepend_level = -1;
menutrans_ga (14 uses in 1 translation unit) defined static in translation unit menu.c, declared in menu.c:2337
menu.c (14 uses)
  ex_menutranslate():
  2356:     if (menutrans_ga.ga_itemsize == 0)
  2357:     ga_init2(&menutrans_ga, (int)sizeof(menutrans_T), 5);
  2364:     tp = (menutrans_T *)menutrans_ga.ga_data;
  2365:     for (i = 0; i < menutrans_ga.ga_len; ++i)
  2371:     ga_clear(&menutrans_ga);
  2389:         if (ga_grow(&menutrans_ga, 1) == OK)
  2391:         tp = (menutrans_T *)menutrans_ga.ga_data;
  2399:             tp[menutrans_ga.ga_len].from = from;
  2400:             tp[menutrans_ga.ga_len].from_noamp = from_noamp;
  2401:             tp[menutrans_ga.ga_len].to = to;
  2402:             ++menutrans_ga.ga_len;
  menutrans_lookup():
  2445:     menutrans_T        *tp = (menutrans_T *)menutrans_ga.ga_data;
  2449:     for (i = 0; i < menutrans_ga.ga_len; ++i)
  2460:     for (i = 0; i < menutrans_ga.ga_len; ++i)
need_rethrow (14 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:248
ex_docmd.c (6 uses)
  save_dbg_stuff():
  569:     dsp->need_rethrow    = need_rethrow;        need_rethrow = FALSE;
  569:     dsp->need_rethrow    = need_rethrow;        need_rethrow = FALSE;
  restore_dbg_stuff():
  587:     need_rethrow = dsp->need_rethrow;
  do_cmdline():
  1428:     need_rethrow = TRUE;
  do_one_cmd():
  2638:     if (need_rethrow)
  2648:     need_rethrow = check_cstack = FALSE;
ex_eval.c (8 uses)
  do_errthrow():
  353:         need_rethrow = TRUE;
  discard_current_exception():
  617:     need_rethrow = FALSE;
  enter_cleanup():
  1954:     if (did_emsg || got_int || did_throw || need_rethrow)
  1959:              | (need_rethrow ? CSTP_THROW     : 0);
  1968:     if (did_throw || need_rethrow)
  1979:     did_emsg = got_int = did_throw = need_rethrow = FALSE;
  leave_cleanup():
  2019:     if (aborting() || need_rethrow)
  2070:         need_rethrow = TRUE;    /* did_throw will be set by do_one_cmd() */
no_hlsearch (14 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:1172
ex_docmd.c (1 use)
  ex_nohlsearch():
  10874:     no_hlsearch = TRUE;
option.c (1 use)
  set_bool_option():
  7224:     no_hlsearch = FALSE;
screen.c (2 uses)
  start_search_hl():
  6476:     if (p_hls && !no_hlsearch)
  next_search_hl():
  6664:         no_hlsearch = TRUE;
search.c (8 uses)
  save_re_pat():
  291:     no_hlsearch = FALSE;
  save_search_patterns():
  316:     saved_no_hlsearch = no_hlsearch;
  restore_search_patterns():
  332:     no_hlsearch = saved_no_hlsearch;
  set_last_search_pat():
  451:     if (p_hls && idx == last_idx && !no_hlsearch)
  do_search():
  1093:     if (no_hlsearch && !(options & SEARCH_KEEP))
  1096:     no_hlsearch = FALSE;
  read_viminfo_search_pattern():
  5324:             no_hlsearch = !hlsearch_on;
  write_viminfo_search_pattern():
  5340:         (no_hlsearch || find_viminfo_parameter('h') != NULL) ? 'h' : 'H');
tag.c (2 uses)
  jumpto_tag():
  3155:     save_no_hlsearch = no_hlsearch;
  3282:         no_hlsearch = save_no_hlsearch;
p_bg (14 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:319
hardcopy.c (1 use)
  prt_get_attr():
  315:     else if (*p_bg == 'd')
option.c (9 uses)
  init_gui_options():
  3864:     if (!option_was_set((char_u *)"bg") && STRCMP(p_bg, gui_bg_default()) != 0)
  do_set():
  4387:                 if ((char_u **)varp == &p_bg)
  did_set_string_option():
  5595:     else if (varp == &p_bg)
  5597:     if (check_opt_strings(p_bg, p_bg_values, FALSE) == OK)
  5600:         int dark = (*p_bg == 'd');
  5606:         if (dark != (*p_bg == 'd')
  5613:         free_string_option(p_bg);
  5614:         p_bg = vim_strsave((char_u *)(dark ? "dark" : "light"));
  5615:         check_string_option(&p_bg);
syntax.c (4 uses)
  init_highlight():
  6426:     if (*p_bg == 'l')
  6438:     do_highlight((char_u *)(*p_bg == 'l' ? "Visual ctermbg=LightGrey"
  6443:     if (*p_bg == 'l')
  do_highlight():
  7155:             if (i != (*p_bg == 'd'))
p_ea (14 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:427
buffer.c (6 uses)
  do_arg_all():
  4460:         p_ea_save = p_ea;
  4461:         p_ea = TRUE;        /* use space from all windows */
  4463:         p_ea = p_ea_save;
  ex_buffer_all():
  4642:         p_ea_save = p_ea;
  4643:         p_ea = TRUE;        /* use space from all windows */
  4646:         p_ea = p_ea_save;
option.c (2 uses)
  set_bool_option():
  7337:     else if ((int *)varp == &p_ea)
  7339:     if (p_ea && !old_value)
window.c (6 uses)
  win_split_ins():
  744:     if (p_ea || (flags & (WSP_BOT | WSP_TOP)))
  775:     if (!do_equal && p_ea && size == 0 && *p_ead != 'v'
  805:     if (p_ea || (flags & (WSP_BOT | WSP_TOP)))
  852:     if (!do_equal && p_ea && size == 0
  win_totop():
  1545:     if (p_ea)
  win_close():
  2183:     if (p_ea
read_cmd_fd (14 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:984
main.c (1 use)
  command_line_scan():
  1649:             read_cmd_fd = 2;    /* read from stderr instead of stdin */
os_unix.c (9 uses)
  mch_write():
  317:     RealWaitForChar(read_cmd_fd, p_wd, NULL);
  mch_input_isatty():
  1346:     if (isatty(read_cmd_fd))
  mch_settmode():
  3071:     tcgetattr(read_cmd_fd, &told);
  3105:     while (tcsetattr(read_cmd_fd, TCSANOW, &tnew) == -1
  get_stty():
  3168:     if (tcgetattr(read_cmd_fd, &keys) != -1)
  mch_get_shellsize():
  3453:     if (!isatty(fd) && isatty(read_cmd_fd))
  3454:         fd = read_cmd_fd;
  mch_breakcheck():
  4530:     if (curr_tmode == TMODE_RAW && RealWaitForChar(read_cmd_fd, 0L, NULL))
  WaitForChar():
  4611:     avail = RealWaitForChar(read_cmd_fd, msec, NULL);
term.c (1 use)
  may_req_termresponse():
  3295:         && isatty(read_cmd_fd)
ui.c (3 uses)
  fill_input_buf():
  1794:     len = read(read_cmd_fd,
  1811:     if (!did_read_something && !isatty(read_cmd_fd) && read_cmd_fd == 0)
  1811:     if (!did_read_something && !isatty(read_cmd_fd) && read_cmd_fd == 0)
recoverymode (14 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:941
ex_docmd.c (2 uses)
  ex_recover():
  7008:     recoverymode = TRUE;
  7013:     recoverymode = FALSE;
fileio.c (3 uses)
  readfile():
  766:     if (!recoverymode && !filtering && !(flags & READ_DUMMY))
  2234:     if (!recoverymode)
  2526:     if (recoverymode && error)
main.c (5 uses)
  main():
  431:     if (recoverymode && fname == NULL)
  593:     if (recoverymode && fname == NULL)
  733:     if (params.edit_type == EDIT_STDIN && !recoverymode)
  command_line_scan():
  1895:         recoverymode = 1;
  create_windows():
  2399:     if (recoverymode)            /* do recover */
memline.c (4 uses)
  ml_recover():
  867:     recoverymode = TRUE;
  1323:     recoverymode = FALSE;
  1346:     recoverymode = FALSE;
  findswapname():
  4031:         if (!recoverymode && buf->b_fname != NULL
reg_startpos (14 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3137
regexp.c (14 uses)
  vim_regexec_both():
  3400:     reg_startpos = reg_mmatch->startpos;
  regtry():
  3663:     if (reg_startpos[0].lnum < 0)
  3665:         reg_startpos[0].lnum = 0;
  3666:         reg_startpos[0].col = col;
  regmatch():
  4423:             save_se(&rp->rs_un.sesave, &reg_startpos[no],
  4558:             if (reg_startpos[no].lnum == reglnum
  4562:                 len = reg_endpos[no].col - reg_startpos[no].col;
  4563:                 if (cstrncmp(regline + reg_startpos[no].col,
  4571:                 ccol = reg_startpos[no].col;
  4572:                 clnum = reg_startpos[no].lnum;
  4969:         restore_se(&rp->rs_un.sesave, &reg_startpos[rp->rs_no],
  cleanup_subexpr():
  5818:         vim_memset(reg_startpos, 0xff, sizeof(lpos_T) * NSUBEXP);
  save_subexpr():
  5871:         bp->save_start[i].se_u.pos = reg_startpos[i];
  restore_subexpr():
  5900:         reg_startpos[i] = bp->save_start[i].se_u.pos;
Screen_mco (14 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:57
mbyte.c (1 use)
  utfc_char2bytes():
  1605:     for (i = 0; i < Screen_mco; ++i)
screen.c (12 uses)
  fold_line():
  2319:             for (i = 0; i < Screen_mco; ++i)
  win_line():
  3686:                 for (i = Screen_mco - 1; i > 0; --i)
  4593:             for (i = 0; i < Screen_mco; ++i)
  comp_char_differs():
  4850:     for (i = 0; i < Screen_mco; ++i)
  screen_line():
  5114:             for (i = 0; i < Screen_mco; ++i)
  screen_comp_differs():
  6206:     for (i = 0; i < Screen_mco; ++i)
  screen_puts_len():
  6421:             for (i = 0; i < Screen_mco; ++i)
  screenalloc():
  7338:         && p_mco == Screen_mco
  7512:                                && p_mco == Screen_mco)
  7519:                                && p_mco == Screen_mco)
  7552:     Screen_mco = p_mco;
  free_screenlines():
  7610:     for (i = 0; i < Screen_mco; ++i)
ui.c (1 use)
  clip_copy_modeless_selection():
  1258:             for (ci = 0; ci < Screen_mco; ++ci)
sps_flags (14 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:9964
spell.c (14 uses)
  spell_check_sps():
  9979:     sps_flags = 0;
  10004:     if (f == -1 || (sps_flags != 0 && f != 0))
  10006:         sps_flags = SPS_BEST;
  10011:         sps_flags = f;
  10014:     if (sps_flags == 0)
  10015:     sps_flags = SPS_BEST;
  spell_suggest():
  10181:         if (sps_flags & (SPS_DOUBLE | SPS_BEST))
  spell_find_suggest():
  10567:         if (sps_flags & SPS_DOUBLE)
  spell_suggest_intern():
  10705:     if (sps_flags & SPS_DOUBLE)
  10711:     if ((sps_flags & SPS_FAST) == 0)
  10713:     if (sps_flags & SPS_BEST)
  10759:     if ((sps_flags & SPS_DOUBLE) == 0 && su->su_ga.ga_len != 0)
  10761:     if (sps_flags & SPS_BEST)
  add_sound_suggest():
  13312:         if (sps_flags & SPS_DOUBLE)
ucmds (14 uses in 1 translation unit) defined static in translation unit ex_docmd.c, declared in ex_docmd.c:42
ex_docmd.c (14 uses)
  find_ucmd():
  2897:             if (gap == &ucmds)
  2913:             if (gap == &ucmds)
  2946:     if (j < gap->ga_len || gap == &ucmds)
  2948:     gap = &ucmds;
  uc_add_command():
  5101:     gap = &ucmds;
  uc_list():
  5244:         msg_putchar(gap != &ucmds ? 'b' : ' ');
  5322:     if (gap == &ucmds || i < gap->ga_len)
  5324:     gap = &ucmds;
  ex_comclear():
  5552:     uc_clear(&ucmds);
  ex_delcommand():
  5597:     if (gap == &ucmds || cmp == 0)
  5599:     gap = &ucmds;
  do_ucmd():
  5928:     cmd = USER_CMD(eap->useridx);
  get_user_commands():
  6019:     if (idx < ucmds.ga_len)
  6020:     return USER_CMD(idx)->uc_name;
y_previous (14 uses in 1 translation unit) defined static in translation unit ops.c, declared in ops.c:67
ops.c (14 uses)
  get_yank_register():
  859:     if ((regname == 0 || regname == '"') && !writing && y_previous != NULL)
  861:     y_current = y_previous;
  892:     y_previous = y_current;
  do_record():
  1056:         old_y_previous = y_previous;
  1061:         y_previous = old_y_previous;
  op_delete():
  1682:         y_previous = y_current = &y_regs[1];
  ex_display():
  3963:         if (y_previous != NULL)
  3964:         yb = y_previous;
  read_viminfo_register():
  5335:         y_previous = y_current;
  write_viminfo_registers():
  5473:     if (y_previous == &y_regs[i])
  clip_get_selection():
  5603:     old_y_previous = y_previous;
  5623:     y_previous = old_y_previous;
  write_reg_contents_ex():
  5991:     old_y_previous = y_previous;
  6014:     y_previous = old_y_previous;
can_si (13 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:700
edit.c (10 uses)
  ins_complete():
  4637:     can_si = FALSE;
  insertchar():
  5567:     can_si = FALSE;
  internal_format():
  5969:     can_si = FALSE;
  stop_insert():
  6413:     can_si = FALSE;
  ins_shift():
  8188:     can_si = FALSE;
  ins_del():
  8219:     can_si = FALSE;
  ins_bs():
  8600:     can_si = FALSE;
  ins_tab():
  9162:     can_si = FALSE;
  ins_try_si():
  9614:     if (((did_si || can_si_back) && c == '{') || (can_si && c == '}'))
  9678:     if (curwin->w_cursor.col > 0 && can_si && c == '#')
misc1.c (2 uses)
  open_line():
  830:         can_si = TRUE;
  1235:         did_si = can_si = FALSE;
ops.c (1 use)
  op_change():
  2589:         can_si = TRUE;    /* It's like opening a new line, do si */
compl_interrupted (13 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:126
edit.c (8 uses)
  ins_compl_dictionaries():
  2878:     while (*dict != NUL && !got_int && !compl_interrupted)
  ins_compl_files():
  2948:     for (i = 0; i < count && !got_int && !compl_interrupted; i++)
  2964:         while (!got_int && !compl_interrupted
  ins_compl_get_exp():
  4206:                              || compl_interrupted)
  ins_compl_check_keys():
  4529:             compl_interrupted = TRUE;
  ins_complete():
  5160:     if (!compl_interrupted)
  5169:     compl_was_interrupted = compl_interrupted;
  5170:     compl_interrupted = FALSE;
eval.c (1 use)
  f_complete_check():
  8411:     rettv->vval.v_number = compl_interrupted;
search.c (2 uses)
  find_pattern_in_path():
  5094:     if (got_int || compl_interrupted)
  5157:     if (got_int || compl_interrupted)
spell.c (1 use)
  spell_dump_compl():
  15581:                        && (pat == NULL || !compl_interrupted))
tag.c (1 use)
  find_tags():
  1566:         if (got_int || compl_interrupted)
compl_used_match (13 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:104
edit.c (13 uses)
  edit():
  747:         if (!compl_used_match)
  ins_compl_longest_match():
  2428:         compl_used_match = FALSE;
  2482:     compl_used_match = FALSE;
  set_completion():
  2569:     compl_used_match = TRUE;
  ins_compl_new_leader():
  3213:     compl_used_match = FALSE;
  3256:     compl_enter_selects = !compl_used_match;
  ins_compl_prep():
  3409:     compl_used_match = TRUE;
  3556:         if (compl_curr_match != NULL && compl_used_match && c != Ctrl_E)
  ins_compl_insert():
  4261:     compl_used_match = FALSE;
  4263:     compl_used_match = TRUE;
  ins_compl_next():
  4324:         && (!(compl_get_longest || compl_restarting) || compl_used_match))
  4425:     if (!compl_get_longest || compl_used_match)
  4431:     compl_used_match = FALSE;
current_menu (13 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:446
getchar.c (5 uses)
  vgetorpeek():
  2336:                 idx = get_menu_index(current_menu, local_State);
  2347:                         && (current_menu->modes & VISUAL))
  2354:                     ins_typebuf(current_menu->strings[idx],
  2355:                         current_menu->noremap[idx],
  2357:                            current_menu->silent[idx]);
message.c (6 uses)
  do_more_prompt():
  2455:         int idx = get_menu_index(current_menu, ASKMORE);
  2462:         c = *current_menu->strings[idx];
  2463:         if (c != NUL && current_menu->strings[idx][1] != NUL)
  2464:         ins_typebuf(current_menu->strings[idx] + 1,
  2465:                 current_menu->noremap[idx], 0, TRUE,
  2466:                            current_menu->silent[idx]);
term.c (2 uses)
  check_termcode():
  4794:         current_menu = (vimmenu_T *)val;
  4799:         if (check_menu_pointer(root_menu, current_menu) == FAIL)
fold_changed (13 uses in 1 translation unit) defined static in translation unit fold.c, declared in fold.c:2107
fold.c (13 uses)
  foldUpdateIEMS():
  2173:     fold_changed = FALSE;
  2309:     if (fold_changed && wp->w_p_fen)
  foldUpdateIEMSRecurse():
  2509:                 fold_changed = TRUE;
  2549:             fold_changed = TRUE;
  2587:             fold_changed = TRUE;
  2680:     fold_changed = TRUE;
  2716:         fold_changed = TRUE;
  2737:         fold_changed = TRUE;
  2747:     fold_changed = TRUE;
  foldSplit():
  2829:     fold_changed = TRUE;
  foldRemove():
  2879:         fold_changed = TRUE;
  2891:         fold_changed = TRUE;
  foldMerge():
  2949:     fold_changed = TRUE;
gFontPanelInfo (13 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:165
gui_mac.c (13 uses)
  FontPanelHandler():
  1368:     gFontPanelInfo.isPanelVisible = false;
  1385:         gFontPanelInfo.family = newFamily;
  1391:         gFontPanelInfo.size = newSize;
  1397:         gFontPanelInfo.style = newStyle;
  GetFontPanelSelection():
  1438:     if (FMGetFontFamilyName(gFontPanelInfo.family, buf) == noErr)
  1441:     if (FMGetFontFromFontFamilyInstance(gFontPanelInfo.family,
  1442:             gFontPanelInfo.style, &fid, NULL) != noErr)
  1455:         gFontPanelInfo.size/*,
  gui_mac_select_font():
  3396:     gFontPanelInfo.family = curr_font.instance.fontFamily;
  3397:     gFontPanelInfo.style = curr_font.instance.fontStyle;
  3398:     gFontPanelInfo.size = curr_font.size;
  3408:     gFontPanelInfo.isPanelVisible = true;
  3409:     while (gFontPanelInfo.isPanelVisible)
inbuf (13 uses in 1 translation unit) defined static in translation unit ui.c, declared in ui.c:1519
ui.c (13 uses)
  get_input_buf():
  1573:         mch_memmove(gap->ga_data, inbuf, (size_t)inbufcount);
  set_input_buf():
  1594:         mch_memmove(inbuf, gap->ga_data, gap->ga_len);
  add_to_input_buf():
  1627:     inbuf[inbufcount++] = *s++;
  read_from_input_buf():
  1696:     mch_memmove(buf, inbuf, (size_t)maxlen);
  1699:     mch_memmove(inbuf, inbuf + maxlen, (size_t)inbufcount);
  1699:     mch_memmove(inbuf, inbuf + maxlen, (size_t)inbufcount);
  fill_input_buf():
  1771:     mch_memmove(inbuf + inbufcount, rest, unconverted);
  1796:         (char *)inbuf + inbufcount, (size_t)((INBUFLEN - inbufcount)
  1839:     inbuf[0] = 3;
  1856:         len = convert_input_safe(inbuf + inbufcount,
  1866:         if (inbuf[inbufcount] == 3 && ctrl_c_interrupts)
  1869:         mch_memmove(inbuf, inbuf + inbufcount, (size_t)(len + 1));
  1869:         mch_memmove(inbuf, inbuf + inbufcount, (size_t)(len + 1));
last_cursormoved (13 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:1025
edit.c (4 uses)
  ins_redraw():
  1455:                  && !equalpos(last_cursormoved, curwin->w_cursor)
  1455:                  && !equalpos(last_cursormoved, curwin->w_cursor)
  1455:                  && !equalpos(last_cursormoved, curwin->w_cursor)
  1470:         last_cursormoved = curwin->w_cursor;
gui.c (4 uses)
  gui_update_screen():
  4861:         && !equalpos(last_cursormoved, curwin->w_cursor))
  4861:         && !equalpos(last_cursormoved, curwin->w_cursor))
  4861:         && !equalpos(last_cursormoved, curwin->w_cursor))
  4864:     last_cursormoved = curwin->w_cursor;
main.c (4 uses)
  main_loop():
  1062:                  && !equalpos(last_cursormoved, curwin->w_cursor))
  1062:                  && !equalpos(last_cursormoved, curwin->w_cursor))
  1062:                  && !equalpos(last_cursormoved, curwin->w_cursor))
  1065:         last_cursormoved = curwin->w_cursor;
misc1.c (1 use)
  changed_common():
  2897:     last_cursormoved.lnum = 0;
lowest_marked (13 uses in 1 translation unit) defined static in translation unit memline.c, declared in memline.c:211
memline.c (13 uses)
  ml_append_int():
  2231:     if (lowest_marked && lowest_marked > lnum)
  2231:     if (lowest_marked && lowest_marked > lnum)
  2232:     lowest_marked = lnum + 1;
  ml_delete_int():
  2785:     if (lowest_marked && lowest_marked > lnum)
  2785:     if (lowest_marked && lowest_marked > lnum)
  2786:     lowest_marked--;
  ml_setmarked():
  2936:     if (lowest_marked == 0 || lowest_marked > lnum)
  2936:     if (lowest_marked == 0 || lowest_marked > lnum)
  2937:     lowest_marked = lnum;
  ml_firstmarked():
  2970:     for (lnum = lowest_marked; lnum <= curbuf->b_ml.ml_line_count; )
  2988:         lowest_marked = lnum + 1;
  ml_clearmarked():
  3033:     for (lnum = lowest_marked; lnum <= curbuf->b_ml.ml_line_count; )
  3054:     lowest_marked = 0;
modifier_keys_table (13 uses in 1 translation unit) defined static in translation unit misc2.c, declared in misc2.c:2025
misc2.c (13 uses)
  simplify_key():
  2347:     for (i = 0; modifier_keys_table[i] != NUL; i += MOD_KEYS_ENTRY_SIZE)
  2348:         if (key0 == modifier_keys_table[i + 3]
  2349:             && key1 == modifier_keys_table[i + 4]
  2350:             && (*modifiers & modifier_keys_table[i]))
  2352:         *modifiers &= ~modifier_keys_table[i];
  2353:         return TERMCAP2KEY(modifier_keys_table[i + 1],
  2353:         return TERMCAP2KEY(modifier_keys_table[i + 1],
  get_special_key_name():
  2417:     for (i = 0; modifier_keys_table[i] != 0; i += MOD_KEYS_ENTRY_SIZE)
  2418:         if (       KEY2TERMCAP0(c) == (int)modifier_keys_table[i + 1]
  2419:             && (int)KEY2TERMCAP1(c) == (int)modifier_keys_table[i + 2])
  2421:         modifiers |= modifier_keys_table[i];
  2422:         c = TERMCAP2KEY(modifier_keys_table[i + 3],
  2422:         c = TERMCAP2KEY(modifier_keys_table[i + 3],
p_ls (13 uses in 5 translation units) defined in translation unit main.c, declared in ./option.h:577
ex_getln.c (1 use)
  getcmdline():
  465:             p_ls = save_p_ls;
option.c (3 uses)
  set_num_option():
  7701:     else if (pp == &p_ls)
  comp_col():
  8879:     int last_has_status = (p_ls == 2 || (p_ls == 1 && firstwin != lastwin));
  8879:     int last_has_status = (p_ls == 2 || (p_ls == 1 && firstwin != lastwin));
screen.c (2 uses)
  win_redr_status_matches():
  5676:             save_p_ls = p_ls;
  5678:             p_ls = 2;
version.c (1 use)
  intro_message():
  1763:     if (p_ls > 1)
window.c (6 uses)
  win_split_ins():
  716:     if (lastwin == firstwin && p_ls == 1 && oldwin->w_status_height == 0)
  996:         wp->w_height = curfrp->fr_height - (p_ls > 0);
  997:         wp->w_status_height = (p_ls > 0);
  win_equal_rec():
  1851:         if (row + height == cmdline_row && p_ls == 0)
  last_status():
  5594:     last_status_rec(topframe, (p_ls == 2
  5595:               || (p_ls == 1 && (morewin || lastwin != firstwin))));
p_report (13 uses in 5 translation units) defined in translation unit main.c, declared in ./option.h:640
buffer.c (1 use)
  do_bufdel():
  886:     else if (deleted >= p_report)
ex_cmds.c (4 uses)
  do_move():
  796:     if (!global_busy && num_lines > p_report)
  do_filter():
  1291:     if (linecount > p_report)
  do_sub_msg():
  5130:     if (((sub_nsubs > p_report && (KeyTyped || sub_nlines > 1 || p_report < 1))
  5130:     if (((sub_nsubs > p_report && (KeyTyped || sub_nlines > 1 || p_report < 1))
misc1.c (1 use)
  msgmore():
  3300:     if (pn > p_report)
ops.c (5 uses)
  op_shift():
  284:     if (oap->line_count > p_report)
  op_reindent():
  668:         && oap->line_count > p_report)
  716:     if (oap->line_count > p_report)
  op_tilde():
  2301:     if (oap->line_count > p_report)
  op_yank():
  3041:     if (yanklines > p_report)
option.c (2 uses)
  set_num_option():
  7992:     if (p_report < 0)
  7995:     p_report = 1;
p_sbr (13 uses in 5 translation units) defined in translation unit main.c, declared in ./option.h:716
charset.c (5 uses)
  lbr_chartabsize():
  993:     if (!curwin->w_p_lbr && *p_sbr == NUL)
  win_lbr_chartabsize():
  1056:     if (!wp->w_p_lbr && *p_sbr == NUL)
  1135:     if (*p_sbr != NUL && wp->w_p_wrap && col != 0)
  1148:         added = vim_strsize(p_sbr);
  getvcol():
  1256:         && !wp->w_p_lbr && *p_sbr == NUL
edit.c (1 use)
  oneleft():
  6624:         if ((*p_sbr == NUL
move.c (2 uses)
  curs_columns():
  1040:         if (*p_sbr && *ml_get_cursor() == NUL
  1041:             && curwin->w_wcol == (int)vim_strsize(p_sbr))
option.c (2 uses)
  did_set_string_option():
  6021:     else if (varp == &p_sbr)
  6023:     for (s = p_sbr; *s; )
screen.c (3 uses)
  win_line():
  3353:         if (*p_sbr != NUL && need_showbreak)
  3356:             p_extra = p_sbr;
  3358:             n_extra = (int)STRLEN(p_sbr);
p_scs (13 uses in 4 translation units) defined in translation unit main.c, declared in ./option.h:726
edit.c (6 uses)
  ins_compl_dictionaries():
  2844:     save_p_scs = p_scs;
  2846:     p_scs = FALSE;
  2928:     p_scs = save_p_scs;
  ins_compl_get_exp():
  4048:         save_p_scs = p_scs;
  4050:         p_scs = FALSE;
  4185:         p_scs = save_p_scs;
normal.c (3 uses)
  find_decl():
  4170:     save_p_scs = p_scs;
  4172:     p_scs = FALSE;    /* don't switch ignorecase off now */
  4263:     p_scs = save_p_scs;
search.c (1 use)
  ignorecase():
  359:     if (ic && !no_smartcase && p_scs
tag.c (3 uses)
  jumpto_tag():
  3183:         save_p_scs = p_scs;
  3186:         p_scs = FALSE;
  3255:         p_scs = save_p_scs;
p_shm (13 uses in 6 translation units) defined in translation unit main.c, declared in ./option.h:714
ex_cmds2.c (2 uses)
  ex_listdo():
  2335:             p_shm_save = vim_strsave(p_shm);
  2396:         p_shm_save = vim_strsave(p_shm);
ex_docmd.c (1 use)
  makeopens():
  10041:                    p_wh, p_wiw, p_shm) < 0 || put_eol(fd) == FAIL)
memline.c (1 use)
  findswapname():
  4100:             && vim_strchr(p_shm, SHM_ATTENTION) == NULL)
ops.c (3 uses)
  cursor_pos_info():
  6425:     p = p_shm;
  6426:     p_shm = (char_u *)"";
  6428:     p_shm = p;
option.c (5 uses)
  did_set_string_option():
  6602:     if (varp == &p_shm)
  set_bool_option():
  7175:     p = vim_strchr(p_shm, SHM_SEARCH);
  7180:         STRCPY(IObuff, p_shm);
  shortmess():
  10247:     return (   vim_strchr(p_shm, x) != NULL
  10248:         || (vim_strchr(p_shm, 'a') != NULL
screen.c (1 use)
  update_screen():
  563:         && vim_strchr(p_shm, SHM_INTRO) == NULL)
p_swb (13 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:744
buffer.c (5 uses)
  do_buffer():
  1237:     if (vim_strchr(p_swb, 'o') != NULL && buf_jump_open_win(buf))
  1241:     if (vim_strchr(p_swb, 'a') != NULL && buf_jump_open_tab(buf))
  buflist_getfile():
  1878:     if (vim_strchr(p_swb, 'o') != NULL)    /* useopen */
  1881:     if (vim_strchr(p_swb, 'a') != NULL)    /* usetab */
  1884:     if (wp == NULL && vim_strchr(p_swb, 'l') != NULL && !bufempty())
option.c (2 uses)
  did_set_string_option():
  6231:     else if (varp == &p_swb)
  6233:     if (check_opt_strings(p_swb, p_swb_values, TRUE) != OK)
quickfix.c (6 uses)
  qf_jump():
  1417:     char_u        *old_swb = p_swb;
  1600:     if (!usable_win && vim_strchr(p_swb, 'a') != NULL)
  1627:         p_swb = empty_option;    /* don't split again */
  1864:     if (p_swb != old_swb && opened_window)
  1868:     if (p_swb == empty_option)
  1869:         p_swb = old_swb;
p_uc (13 uses in 5 translation units) defined in translation unit main.c, declared in ./option.h:811
getchar.c (2 uses)
  updatescript():
  1492:     if (c == 0 || (p_uc > 0 && ++count >= p_uc))
  1492:     if (c == 0 || (p_uc > 0 && ++count >= p_uc))
main.c (3 uses)
  main():
  611:     p_uc = 0;
  parse_command_name():
  1468:     p_uc = 10000;            /* don't update very often */
  command_line_scan():
  1890:         p_uc = 10000;            /* don't update very often */
memfile.c (1 use)
  mf_release():
  864:     if (mfp->mf_fd < 0 && need_release && p_uc)
memline.c (2 uses)
  ml_open():
  282:     if (p_uc && buf->b_p_swf)
  ml_setname():
  426:     if (p_uc != 0)
option.c (5 uses)
  set_bool_option():
  7162:     if (curbuf->b_p_swf && p_uc)
  set_num_option():
  7850:     else if (pp == &p_uc)
  7852:     if (p_uc < 0)
  7855:         p_uc = 100;
  7857:     if (p_uc && !old_value)
postponed_split (13 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1037
ex_docmd.c (1 use)
  ex_stag():
  9258:     postponed_split = -1;
tag.c (8 uses)
  do_tag():
  1071:     postponed_split = 0;    /* don't split next time */
  jumpto_tag():
  3092:     postponed_split = 0;    /* don't split again below */
  3115:     if (postponed_split || cmdmod.tab != 0)
  3117:     win_split(postponed_split > 0 ? postponed_split : 0,
  3117:     win_split(postponed_split > 0 ? postponed_split : 0,
  3143:     postponed_split = 0;
  3319:     if (postponed_split)        /* close the window */
  3322:         postponed_split = 0;
window.c (4 uses)
  do_window():
  497:             postponed_split = Prenum;
  499:             postponed_split = -1;
  613:                 postponed_split = Prenum;
  615:                 postponed_split = -1;
prt_use_courier (13 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1454
hardcopy.c (13 uses)
  mch_print_init():
  2607:     prt_use_courier = mbfont_opts[OPT_MBFONT_USECOURIER].present &&
  2609:     if (prt_use_courier)
  2625:     prt_use_courier = FALSE;
  mch_print_begin():
  2928:     if (!prt_out_mbyte || prt_use_courier)
  2934:     prt_dsc_font_resource((prt_use_courier ? NULL
  3012:     if (prt_use_courier)
  3076:     if (!prt_out_mbyte || prt_use_courier)
  3100:     if (!prt_out_mbyte || prt_use_courier)
  3106:     prt_dsc_font_resource((prt_use_courier ? NULL : "PageResources"),
  3138:     if (!prt_out_mbyte || prt_use_courier)
  3167:     if (!prt_out_mbyte || prt_use_courier)
  3171:     if (prt_use_courier)
  mch_print_text_out():
  3408:     if (prt_use_courier)
pum_array (13 uses in 1 translation unit) defined static in translation unit popupmnu.c, declared in popupmnu.c:17
popupmnu.c (13 uses)
  pum_display():
  72:     pum_array = (pumitem_T *)1;
  74:     pum_array = NULL;
  239:     pum_array = array;
  pum_redraw():
  309:         case 1: p = pum_array[idx].pum_text; break;
  310:         case 2: p = pum_array[idx].pum_kind; break;
  311:         case 3: p = pum_array[idx].pum_extra; break;
  399:             || (round == 2 && pum_array[idx].pum_extra == NULL)
  400:             || (round == 1 && pum_array[idx].pum_kind == NULL
  401:                       && pum_array[idx].pum_extra == NULL)
  pum_set_selected():
  536:     if (pum_array[pum_selected].pum_info != NULL
  583:             for (p = pum_array[pum_selected].pum_info; *p != NUL; )
  pum_undisplay():
  671:     pum_array = NULL;
  pum_visible():
  696:     return !pum_do_redraw && pum_array != NULL;
script_items (13 uses in 1 translation unit) defined static in translation unit ex_cmds2.c, declared in ex_cmds2.c:60
ex_cmds2.c (13 uses)
  do_source():
  3048:     for (current_SID = script_items.ga_len; current_SID > 0; --current_SID)
  3050:     si = &SCRIPT_ITEM(current_SID);
  3067:     if (ga_grow(&script_items, (int)(current_SID - script_items.ga_len))
  3067:     if (ga_grow(&script_items, (int)(current_SID - script_items.ga_len))
  3070:     while (script_items.ga_len < current_SID)
  3072:         ++script_items.ga_len;
  3073:         SCRIPT_ITEM(script_items.ga_len).sn_name = NULL;
  3073:         SCRIPT_ITEM(script_items.ga_len).sn_name = NULL;
  3078:     si = &SCRIPT_ITEM(current_SID);
  ex_scriptnames():
  3200:     for (i = 1; i <= script_items.ga_len && !got_int; ++i)
  3201:     if (SCRIPT_ITEM(i).sn_name != NULL)
  3202:         smsg((char_u *)"%3d: %s", i, SCRIPT_ITEM(i).sn_name);
  get_scriptname():
  3237:     return SCRIPT_ITEM(id).sn_name;
bkc_flags (12 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:322
fileio.c (6 uses)
  buf_write():
  3402:     if ((bkc_flags & BKC_YES) || append)    /* "yes" */
  3405:     else if ((bkc_flags & BKC_AUTO))    /* "auto" */
  3478:     if ((bkc_flags & BKC_BREAKSYMLINK) || (bkc_flags & BKC_BREAKHARDLINK))
  3478:     if ((bkc_flags & BKC_BREAKSYMLINK) || (bkc_flags & BKC_BREAKHARDLINK))
  3485:         if ((bkc_flags & BKC_BREAKSYMLINK)
  3491:         if ((bkc_flags & BKC_BREAKHARDLINK)
option.c (6 uses)
  didset_options():
  5032:     (void)opt_strings_flags(p_bkc, p_bkc_values, &bkc_flags, TRUE);
  did_set_string_option():
  5470:     if (opt_strings_flags(p_bkc, p_bkc_values, &bkc_flags, TRUE) != OK)
  5472:     if (((bkc_flags & BKC_AUTO) != 0)
  5473:         + ((bkc_flags & BKC_YES) != 0)
  5474:         + ((bkc_flags & BKC_NO) != 0) != 1)
  5477:         (void)opt_strings_flags(oldval, p_bkc_values, &bkc_flags, TRUE);
buffer_len (12 uses in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:853
if_python.c (12 uses)
  buffer_ensure():
  879:         memcpy(new_buffer, buffer, buffer_len);
  PythonIO_Flush():
  891:     if (old_fn && buffer_len)
  893:     buffer[buffer_len] = 0;
  897:     buffer_len = 0;
  writer():
  914:     buffer_ensure(buffer_len + len + 1);
  916:     memcpy(buffer + buffer_len, str, len);
  917:     buffer_len += len;
  918:     buffer[buffer_len] = 0;
  922:     buffer_len = 0;
  926:     buffer_ensure(buffer_len + n + 1);
  927:     memcpy(buffer + buffer_len, str, n);
  928:     buffer_len += n;
command_complete (12 uses in 1 translation unit) defined static in translation unit ex_docmd.c, declared in ex_docmd.c:5182
ex_docmd.c (12 uses)
  uc_list():
  5297:         for (j = 0; command_complete[j].expand != 0; ++j)
  5298:         if (command_complete[j].expand == cmd->uc_compl)
  5300:             STRCPY(IObuff + len, command_complete[j].name);
  get_user_cmd_complete():
  6068:     return (char_u *)command_complete[idx].name;
  parse_compl_arg():
  6107:     for (i = 0; command_complete[i].expand != 0; ++i)
  6109:     if ((int)STRLEN(command_complete[i].name) == valend
  6110:         && STRNCMP(value, command_complete[i].name, valend) == 0)
  6112:         *complp = command_complete[i].expand;
  6113:         if (command_complete[i].expand == EXPAND_BUFFERS)
  6115:         else if (command_complete[i].expand == EXPAND_DIRECTORIES
  6116:             || command_complete[i].expand == EXPAND_FILES)
  6122:     if (command_complete[i].expand == 0)
dumkey (12 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:263
syntax.c (12 uses)
  check_keyword_id():
  3177:         for (kp = HI2KE(hi); kp != NULL; kp = kp->ke_next)
  3177:         for (kp = HI2KE(hi); kp != NULL; kp = kp->ke_next)
  syn_list_keywords():
  4012:         for (kp = HI2KE(hi); kp != NULL && !got_int; kp = kp->ke_next)
  4012:         for (kp = HI2KE(hi); kp != NULL && !got_int; kp = kp->ke_next)
  syn_clear_keyword():
  4101:         for (kp = HI2KE(hi); kp != NULL; )
  4101:         for (kp = HI2KE(hi); kp != NULL; )
  clear_keywtab():
  4149:         kp = HI2KE(hi);
  4149:         kp = HI2KE(hi);
  4150:         for (kp = HI2KE(hi); kp != NULL; kp = kp_next)
  4150:         for (kp = HI2KE(hi); kp != NULL; kp = kp_next)
  add_keyword():
  4214:     kp->ke_next = HI2KE(hi);
  4214:     kp->ke_next = HI2KE(hi);
end_comment_pending (12 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:676
edit.c (4 uses)
  insertchar():
  5511:     if (did_ai && (int)c == end_comment_pending)
  5548:         if (i >= 0 && lead_end[end_len - 1] == end_comment_pending)
  5561:     end_comment_pending = NUL;
  ins_bs():
  8301:     end_comment_pending = NUL;    /* After BS, don't auto-end comment */
misc1.c (8 uses)
  open_line():
  841:     end_comment_pending = NUL;
  903:             end_comment_pending = -1; /* means we want to set it */
  908:         if (end_comment_pending == -1)    /* we can set it now */
  909:             end_comment_pending = lead_end[n - 1];
  985:             end_comment_pending = -1; /* means we want to set it */
  987:         if (end_comment_pending == -1)
  992:             end_comment_pending = p2[-1];
  1315:     end_comment_pending = NUL;  /* turns out there was no leader */
error_ga (12 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1330
gui_mac.c (3 uses)
  display_errors():
  5907:     if (error_ga.ga_data == NULL)
  5911:     for (p = (char *)error_ga.ga_data; *p; ++p)
  5928:     ga_clear(&error_ga);
message.c (9 uses)
  mch_errmsg():
  2715:     if (error_ga.ga_growsize == 0)
  2717:     error_ga.ga_growsize = 80;
  2718:     error_ga.ga_itemsize = 1;
  2720:     if (ga_grow(&error_ga, len) == OK)
  2722:     mch_memmove((char_u *)error_ga.ga_data + error_ga.ga_len,
  2722:     mch_memmove((char_u *)error_ga.ga_data + error_ga.ga_len,
  2729:         p = (char_u *)error_ga.ga_data + error_ga.ga_len;
  2729:         p = (char_u *)error_ga.ga_data + error_ga.ga_len;
  2740:     error_ga.ga_len += len;
ex_normal_busy (12 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:954
ex_cmds2.c (3 uses)
  do_debug():
  166:     save_ex_normal_busy = ex_normal_busy;
  167:     ex_normal_busy = 0;
  185:     ex_normal_busy = save_ex_normal_busy;
ex_docmd.c (4 uses)
  do_exmode():
  634:     if (ex_normal_busy > 0 && typebuf.tb_len == 0)
  ex_normal():
  8927:     if (ex_normal_busy >= p_mmd)
  8932:     ++ex_normal_busy;
  9038:     --ex_normal_busy;
ex_getln.c (1 use)
  getcmdline():
  1086:             && (ex_normal_busy == 0 || typebuf.tb_len > 0)
getchar.c (3 uses)
  vgetorpeek():
  1925:         && ex_normal_busy == 0
  2497:             && ex_normal_busy == 0
  2615:         if (ex_normal_busy > 0)
normal.c (1 use)
  nv_esc():
  8682:         && ex_normal_busy == 0
included_patches (12 uses in 1 translation unit) defined static in translation unit version.c, declared in version.c:667
version.c (12 uses)
  highest_patch():
  1339:     for (i = 0; included_patches[i] != 0; ++i)
  1340:     if (included_patches[i] > h)
  1341:         h = included_patches[i];
  has_patch():
  1355:     for (i = 0; included_patches[i] != 0; ++i)
  1356:     if (included_patches[i] == n)
  list_version():
  1452:     if (included_patches[0] != 0)
  1457:     for (i = 0; included_patches[i] != 0; ++i)
  1462:         first = included_patches[i];
  1463:         if (i == 0 || included_patches[i - 1] != included_patches[i] + 1)
  1463:         if (i == 0 || included_patches[i - 1] != included_patches[i] + 1)
  1468:         if (first != included_patches[i])
  1471:             msg_outnum((long)included_patches[i]);
key_names (12 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:1569
term.c (12 uses)
  set_termname():
  1714:         for (i = 0; key_names[i] != NULL; ++i)
  1716:             if (find_termcode((char_u *)key_names[i]) == NULL)
  1718:             p = TGETSTR(key_names[i], &tp);
  1723:                     || key_names[i][0] != 'k'
  1724:                     || key_names[i][1] != 'l'))
  1725:                 add_termcode((char_u *)key_names[i], p, FALSE);
  req_more_codes_from_term():
  5399:     while (xt_index_out < xt_index_in + 10 && key_names[xt_index_out] != NULL)
  5402:               key_names[xt_index_out][0], key_names[xt_index_out][1]);
  5402:               key_names[xt_index_out][0], key_names[xt_index_out][1]);
  got_code_from_term():
  5439:     for (i = 0; key_names[i] != NULL; ++i)
  5441:         if (STRCMP(key_names[i], name) == 0)
  5447:     if (key_names[i] != NULL)
last_idx (12 uses in 1 translation unit) defined static in translation unit search.c, declared in search.c:90
search.c (12 uses)
  search_regcomp():
  154:         i = last_idx;
  save_re_pat():
  286:     last_idx = idx;
  save_search_patterns():
  314:     saved_last_idx = last_idx;
  restore_search_patterns():
  330:     last_idx = saved_last_idx;
  last_search_pat():
  401:     return spats[last_idx].pat;
  set_last_search_pat():
  438:     last_idx = idx;
  447:     saved_last_idx = last_idx;
  451:     if (p_hls && idx == last_idx && !no_hlsearch)
  last_pat_prog():
  467:     if (spats[last_idx].pat == NULL)
  473:     (void)search_regcomp((char_u *)"", 0, last_idx, SEARCH_KEEP, regmatch);
  do_search():
  1185:         p = spats[last_idx].pat;
  wvsp_one():
  5364:         last_idx == idx        ? "~" : "",        /* last used pat */
mouse_table (12 uses in 1 translation unit) defined static in translation unit misc2.c, declared in misc2.c:2276
misc2.c (12 uses)
  get_mouse_button():
  2806:     for (i = 0; mouse_table[i].pseudo_code; i++)
  2807:     if (code == mouse_table[i].pseudo_code)
  2809:         *is_click = mouse_table[i].is_click;
  2810:         *is_drag = mouse_table[i].is_drag;
  2811:         return mouse_table[i].button;
  get_pseudo_mouse_code():
  2829:     for (i = 0; mouse_table[i].pseudo_code; i++)
  2830:     if (button == mouse_table[i].button
  2831:         && is_click == mouse_table[i].is_click
  2832:         && is_drag == mouse_table[i].is_drag)
  2844:         if (mouse_table[i].pseudo_code == (int)KE_LEFTMOUSE)
  2846:         if (mouse_table[i].pseudo_code == (int)KE_LEFTRELEASE)
  2850:         return mouse_table[i].pseudo_code;
msg_no_more (12 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:216
ex_cmds.c (2 uses)
  do_sub():
  4688:                 msg_no_more = TRUE;
  4693:                 msg_no_more = FALSE;
ex_getln.c (8 uses)
  putcmdline():
  2659:     msg_no_more = TRUE;
  2663:     msg_no_more = FALSE;
  unputcmdline():
  2675:     msg_no_more = TRUE;
  2680:     msg_no_more = FALSE;
  put_on_cmdline():
  2800:         msg_no_more = TRUE;
  2806:         msg_no_more = FALSE;
  redrawcmd():
  3124:     msg_no_more = TRUE;
  3127:     msg_no_more = FALSE;
message.c (2 uses)
  msg_puts_display():
  1884:         if (msg_no_more && lines_left == 0)
  1938:                         && !msg_no_more && !exmode_active)
old_sub (12 uses in 1 translation unit) defined static in translation unit ex_cmds.c, declared in ex_cmds.c:4169
ex_cmds.c (12 uses)
  do_sub():
  4293:         if (old_sub == NULL)    /* there is no previous command */
  4298:         sub = old_sub;
  4302:         vim_free(old_sub);
  4303:         old_sub = vim_strsave(sub);
  4309:     if (old_sub == NULL)    /* there is no previous command */
  4315:     sub = old_sub;
  read_viminfo_sub_string():
  5355:     if (old_sub != NULL && force)
  5356:     vim_free(old_sub);
  5357:     if (force || old_sub == NULL)
  5358:     old_sub = viminfo_readstring(virp, 1, TRUE);
  write_viminfo_sub_string():
  5366:     if (get_viminfo_parameter('/') != 0 && old_sub != NULL)
  5369:     viminfo_writestring(fp, old_sub);
p_confirm (12 uses in 5 translation units) defined in translation unit main.c, declared in ./option.h:378
buffer.c (2 uses)
  do_buffer():
  1049:         if ((p_confirm || cmdmod.confirm) && p_write)
  1259:     if ((p_confirm || cmdmod.confirm) && p_write)
ex_cmds.c (5 uses)
  do_write():
  2615:         if (p_confirm || cmdmod.confirm)
  check_overwrite():
  2759:         if (p_confirm || cmdmod.confirm)
  2801:         if (p_confirm || cmdmod.confirm)
  check_readonly():
  2951:     if ((p_confirm || cmdmod.confirm) && buf->b_fname != NULL)
  getfile():
  3028:     if (p_confirm && p_write)
ex_cmds2.c (2 uses)
  check_changed():
  1365:     if ((p_confirm || cmdmod.confirm) && p_write)
  check_changed_any():
  1556:     if (!(p_confirm || cmdmod.confirm))
ex_docmd.c (2 uses)
  check_more():
  5011:         if ((p_confirm || cmdmod.confirm) && curbuf->b_fname != NULL)
  ex_win_close():
  6344:     if ((p_confirm || cmdmod.confirm) && p_write)
window.c (1 use)
  close_others():
  3108:         if (message && (p_confirm || cmdmod.confirm) && p_write)
p_pt (12 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:627
getchar.c (4 uses)
  vgetorpeek():
  2196:             if (*p_pt != NUL && mp == NULL && (State & (INSERT|NORMAL)))
  2198:             for (mlen = 0; mlen < typebuf.tb_len && p_pt[mlen];
  2200:                 if (p_pt[mlen] != typebuf.tb_buf[typebuf.tb_off
  2203:             if (p_pt[mlen] == NUL)    /* match */
option.c (8 uses)
  did_set_string_option():
  6455:     else if (varp == &p_pt)
  6457:     if (*p_pt)
  6459:         (void)replace_termcodes(p_pt, &p, TRUE, TRUE, FALSE);
  6463:             free_string_option(p_pt);
  6464:         p_pt = p;
  put_setstring():
  8713:     if (valuep == &p_pt)
  option_value2string():
  10081:     else if ((char_u **)opp->var == &p_pt)
  10082:         str2specialbuf(p_pt, NameBuff, MAXPATHL);
p_tl (12 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:746
tag.c (12 uses)
  prepare_pats():
  1225:     if (p_tl != 0 && pats->headlen > p_tl)    /* adjust for 'taglength' */
  1225:     if (p_tl != 0 && pats->headlen > p_tl)    /* adjust for 'taglength' */
  1226:         pats->headlen = p_tl;
  find_tags():
  1439:     if (p_tl != 0 && pats->len > p_tl)        /* adjust for 'taglength' */
  1439:     if (p_tl != 0 && pats->len > p_tl)        /* adjust for 'taglength' */
  1440:     pats->len = p_tl;
  1926:         if (p_tl != 0 && cmplen > p_tl)        /* adjust for 'taglength' */
  1926:         if (p_tl != 0 && cmplen > p_tl)        /* adjust for 'taglength' */
  1927:             cmplen = p_tl;
  2075:         if (p_tl != 0 && cmplen > p_tl)        /* adjust for 'taglength' */
  2075:         if (p_tl != 0 && cmplen > p_tl)        /* adjust for 'taglength' */
  2076:         cmplen = p_tl;
p_wmnu (12 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:857
ex_getln.c (12 uses)
  getcmdline():
  418:     if (did_wild_list && p_wmnu)
  426:     if (xpc.xp_context == EXPAND_MENUNAMES && p_wmnu
  443:         if (!p_wmnu || (c != K_UP && c != K_DOWN))
  448:         if (p_wmnu && wild_menu_showing != 0)
  493:     if (xpc.xp_context == EXPAND_MENUNAMES && p_wmnu)
  536:                   || xpc.xp_context == EXPAND_SHELLCMD) && p_wmnu)
  827:                 || (p_wmnu && (wim_flags[wim_index] & WIM_FULL) != 0)
  834:                 int p_wmnu_save = p_wmnu;
  835:                 p_wmnu = 0;
  839:                 p_wmnu = p_wmnu_save;
  843:             (void)showmatches(&xpc, p_wmnu
  ExpandOne():
  3416:         if (p_wmnu)
p_ww (12 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:852
edit.c (2 uses)
  ins_left():
  8855:     else if (vim_strchr(p_ww, '[') != NULL && curwin->w_cursor.lnum > 1)
  ins_right():
  8961:     else if (vim_strchr(p_ww, ']') != NULL
normal.c (8 uses)
  nv_right():
  5743:                 && vim_strchr(p_ww, 's') != NULL)
  5745:                 && vim_strchr(p_ww, 'l') != NULL)
  5747:                 && vim_strchr(p_ww, '>') != NULL))
  nv_left():
  5842:                 && vim_strchr(p_ww, 'b') != NULL)
  5844:                 && vim_strchr(p_ww, 'h') != NULL)
  5846:                 && vim_strchr(p_ww, '<') != NULL))
  n_swapchar():
  6991:     if (lineempty(curwin->w_cursor.lnum) && vim_strchr(p_ww, '~') == NULL)
  7012:         if (vim_strchr(p_ww, '~') != NULL
option.c (2 uses)
  do_set():
  4440:                 else if (varp == (char_u *)&p_ww
  did_set_string_option():
  6600:     if (varp == &p_ww)
prevchr_len (12 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:577
regexp.c (12 uses)
  regatom():
  2282:         prevchr_len = 1;    /* last char was the ']' */
  initchr():
  2585:     prevchr_len = 0;
  skipchr():
  2758:     prevchr_len = 1;
  2760:     prevchr_len = 0;
  2761:     if (regparse[prevchr_len] != NUL)
  2766:         prevchr_len += utf_ptr2len(regparse + prevchr_len);
  2766:         prevchr_len += utf_ptr2len(regparse + prevchr_len);
  2768:         prevchr_len += (*mb_ptr2len)(regparse + prevchr_len);
  2768:         prevchr_len += (*mb_ptr2len)(regparse + prevchr_len);
  2771:         ++prevchr_len;
  2773:     regparse += prevchr_len;
  ungetchr():
  2822:     regparse -= prevchr_len;
prt_attribute_change (12 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1426
hardcopy.c (12 uses)
  mch_print_init():
  2787:     prt_attribute_change = FALSE;
  mch_print_start_line():
  3375:     prt_attribute_change = TRUE;
  mch_print_text_out():
  3418:         prt_attribute_change = TRUE;
  3426:         prt_attribute_change = TRUE;
  3441:         prt_attribute_change = TRUE;
  3449:         prt_attribute_change = TRUE;
  3457:     if (prt_attribute_change)
  3516:     prt_attribute_change = FALSE;
  mch_print_set_font():
  3622:     prt_attribute_change = TRUE;
  3628:     prt_attribute_change = TRUE;
  mch_print_set_bg():
  3638:     prt_attribute_change = TRUE;
  mch_print_set_fg():
  3649:     prt_attribute_change = TRUE;
prt_ps_courier_font (12 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1035
hardcopy.c (12 uses)
  prt_def_font():
  1542:                new_name, height, 500./prt_ps_courier_font.wx, new_name);
  mch_print_init():
  2627:     prt_ps_font = &prt_ps_courier_font;
  mch_print_begin():
  2930:     prt_dsc_font_resource("DocumentNeededResources", &prt_ps_courier_font);
  3102:     prt_dsc_font_resource("PageResources", &prt_ps_courier_font);
  3175:               prt_ps_courier_font.ps_fontname[PRT_PS_FONT_ROMAN]);
  3177:              prt_ps_courier_font.ps_fontname[PRT_PS_FONT_ROMAN]);
  3179:               prt_ps_courier_font.ps_fontname[PRT_PS_FONT_BOLD]);
  3181:              prt_ps_courier_font.ps_fontname[PRT_PS_FONT_BOLD]);
  3183:               prt_ps_courier_font.ps_fontname[PRT_PS_FONT_OBLIQUE]);
  3185:              prt_ps_courier_font.ps_fontname[PRT_PS_FONT_OBLIQUE]);
  3187:               prt_ps_courier_font.ps_fontname[PRT_PS_FONT_BOLDOBLIQUE]);
  3189:              prt_ps_courier_font.ps_fontname[PRT_PS_FONT_BOLDOBLIQUE]);
pum_width (12 uses in 1 translation unit) defined static in translation unit popupmnu.c, declared in popupmnu.c:23
popupmnu.c (12 uses)
  pum_display():
  205:         pum_width = Columns - pum_col - pum_scrollbar;
  207:     if (pum_width > max_width + kind_width + extra_width + 1
  208:                          && pum_width > PUM_DEF_WIDTH)
  210:         pum_width = max_width + kind_width + extra_width + 1;
  211:         if (pum_width < PUM_DEF_WIDTH)
  212:         pum_width = PUM_DEF_WIDTH;
  224:     pum_width = Columns - 1;
  236:     pum_width = max_width - pum_scrollbar;
  pum_redraw():
  319:             if (*p == NUL || *p == TAB || totwidth + w > pum_width)
  402:             || pum_base_width + n >= pum_width)
  427:         screen_fill(row, row + 1, col, pum_col + pum_width, ' ', ' ',
  438:         screen_putchar(' ', row, pum_col + pum_width,
redir_reg (12 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1062
ex_docmd.c (6 uses)
  ex_redir():
  8461:         redir_reg = *arg++;
  8471:             if (*arg == NUL && !isupper(redir_reg))
  8472:             write_reg_contents(redir_reg, (char_u *)"", -1, FALSE);
  8477:         redir_reg = 0;
  8512:               || redir_reg || redir_vname
  close_redir():
  8588:     redir_reg = 0;
message.c (6 uses)
  redir_write():
  3006:               || redir_reg || redir_vname
  3016:         if (redir_reg)
  3017:             write_reg_contents(redir_reg, (char_u *)" ", -1, TRUE);
  3028:     if (redir_reg)
  3029:         write_reg_contents(redir_reg, s, maxlen, TRUE);
  3038:         if (!redir_reg && !redir_vname && redir_fd != NULL)
reg_win (12 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3139
regexp.c (12 uses)
  vim_regexec():
  3286:     reg_win = NULL;
  vim_regexec_nl():
  3310:     reg_win = NULL;
  vim_regexec_multi():
  3343:     reg_win = win;
  regmatch():
  3886:         if (reg_win == NULL
  3887:             || (reglnum + reg_firstlnum != reg_win->w_cursor.lnum)
  3888:             || ((colnr_T)(reginput - regline) != reg_win->w_cursor.col))
  3927:         win_T        *wp = reg_win == NULL ? curwin : reg_win;
  3927:         win_T        *wp = reg_win == NULL ? curwin : reg_win;
  4007:                 reg_win == NULL ? curwin : reg_win,
  4007:                 reg_win == NULL ? curwin : reg_win,
  vim_regsub_both():
  6942:         save_reg_win = reg_win;
  6965:         reg_win = save_reg_win;
repl_from (12 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:998
spell.c (12 uses)
  spell_free_all():
  4625:     vim_free(repl_from);
  4626:     repl_from = NULL;
  spell_suggest():
  10117:     vim_free(repl_from);
  10118:     repl_from = NULL;
  10218:         repl_from = vim_strnsave(sug.su_badptr, sug.su_badlen);
  10227:         repl_from = vim_strnsave(sug.su_badptr, stp->st_orglen);
  ex_spellrepall():
  10345:     if (repl_from == NULL || repl_to == NULL)
  10350:     addlen = (int)(STRLEN(repl_to) - STRLEN(repl_from));
  10352:     frompat = alloc((unsigned)STRLEN(repl_from) + 7);
  10355:     sprintf((char *)frompat, "\\V\\<%s\\>", repl_from);
  10378:         STRCAT(p, line + curwin->w_cursor.col + STRLEN(repl_from));
  10397:     EMSG2(_("E753: Not found: %s"), repl_from);
repl_to (12 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:999
spell.c (12 uses)
  spell_free_all():
  4623:     vim_free(repl_to);
  4624:     repl_to = NULL;
  spell_suggest():
  10119:     vim_free(repl_to);
  10120:     repl_to = NULL;
  10222:         repl_to = vim_strsave(IObuff);
  10228:         repl_to = vim_strsave(stp->st_word);
  ex_spellrepall():
  10345:     if (repl_from == NULL || repl_to == NULL)
  10350:     addlen = (int)(STRLEN(repl_to) - STRLEN(repl_from));
  10370:     if (addlen <= 0 || STRNCMP(line + curwin->w_cursor.col,
  10370:     if (addlen <= 0 || STRNCMP(line + curwin->w_cursor.col,
  10377:         STRCPY(p + curwin->w_cursor.col, repl_to);
  10389:     curwin->w_cursor.col += (colnr_T)STRLEN(repl_to);
saved_cursor (12 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:709
edit.c (3 uses)
  auto_format():
  6059:     saved_cursor = pos;
  6061:     curwin->w_cursor = saved_cursor;
  6062:     saved_cursor.lnum = 0;
mark.c (3 uses)
  mark_adjust():
  1080:     if (saved_cursor.lnum != 0)
  1081:     one_adjust_nodel(&(saved_cursor.lnum));
  mark_col_adjust():
  1242:     col_adjust(&saved_cursor);
misc1.c (3 uses)
  set_indent():
  303:     if (saved_cursor.lnum == curwin->w_cursor.lnum
  304:                 && saved_cursor.col >= (colnr_T)(p - oldline))
  305:         saved_cursor.col += ind_len - (colnr_T)(p - oldline);
ops.c (3 uses)
  op_format():
  4381:     saved_cursor = oap->cursor_start;
  4401:     curwin->w_cursor = saved_cursor;
  4402:     saved_cursor.lnum = 0;
scriptin (12 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:981
getchar.c (9 uses)
  may_sync_undo():
  1247:                            && scriptin[curscript] == NULL)
  openscript():
  1374:     if (scriptin[curscript] != NULL)    /* already reading script */
  1378:     if ((scriptin[curscript] = mch_fopen((char *)NameBuff, READBIN)) == NULL)
  1418:     while (scriptin[oldcurscript] != NULL);
  closescript():
  1437:     fclose(scriptin[curscript]);
  1438:     scriptin[curscript] = NULL;
  using_script():
  1459:     return scriptin[curscript] != NULL;
  inchar():
  2880:     while (scriptin[curscript] != NULL && script_char < 0
  2886:     if (got_int || (script_char = getc(scriptin[curscript])) < 0)
main.c (3 uses)
  command_line_scan():
  2084:             if (scriptin[0] != NULL)
  2094:             if ((scriptin[0] = mch_fopen(argv[0], READBIN)) == NULL)
  check_tty():
  2316:     if (scriptin[0] == NULL)
wim_flags (12 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1161
ex_getln.c (11 uses)
  getcmdline():
  780:             && (wim_flags[wim_index] & WIM_LIST))
  786:         if (wim_flags[wim_index] & WIM_LONGEST)
  788:         else if (wim_flags[wim_index] & WIM_FULL)
  799:         if (wim_flags[0] & WIM_LONGEST)
  823:             if (wim_flags[0] == WIM_LONGEST && ccline.cmdpos == j)
  825:             if ((wim_flags[wim_index] & WIM_LIST)
  827:                 || (p_wmnu && (wim_flags[wim_index] & WIM_FULL) != 0)
  831:             if (!(wim_flags[0] & WIM_LONGEST))
  844:                 && ((wim_flags[wim_index] & WIM_LIST) == 0));
  850:             if (wim_flags[wim_index] & WIM_LONGEST)
  852:             else if (wim_flags[wim_index] & WIM_FULL)
option.c (1 use)
  check_opt_wim():
  10606:     wim_flags[i] = new_wim_flags[i];
autocmd_fname (11 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1021
ex_docmd.c (1 use)
  eval_vars():
  9522:         result = autocmd_fname;
fileio.c (10 uses)
  apply_autocmds_group():
  8594:     save_autocmd_fname = autocmd_fname;
  8610:         autocmd_fname = fname;
  8612:         autocmd_fname = buf->b_fname;
  8614:         autocmd_fname = NULL;
  8617:     autocmd_fname = fname_io;
  8618:     if (autocmd_fname != NULL)
  8619:     autocmd_fname = FullName_save(autocmd_fname, FALSE);
  8619:     autocmd_fname = FullName_save(autocmd_fname, FALSE);
  8802:     vim_free(autocmd_fname);
  8803:     autocmd_fname = save_autocmd_fname;
autocmd_no_leave (11 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:368
buffer.c (6 uses)
  do_arg_all():
  4426:     ++autocmd_no_leave;
  4469:         --autocmd_no_leave;
  4488:         ++autocmd_no_leave;
  4512:     --autocmd_no_leave;
  ex_buffer_all():
  4610:     ++autocmd_no_leave;
  4715:     --autocmd_no_leave;
fileio.c (1 use)
  apply_autocmds_group():
  8587:         || (autocmd_no_leave
main.c (4 uses)
  create_windows():
  2419:     ++autocmd_no_leave;
  2502:     --autocmd_no_leave;
  edit_buffers():
  2526:     ++autocmd_no_leave;
  2606:     --autocmd_no_leave;
can_si_back (11 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:706
edit.c (10 uses)
  ins_complete():
  4638:     can_si_back = FALSE;
  insertchar():
  5568:     can_si_back = FALSE;
  internal_format():
  5970:     can_si_back = FALSE;
  stop_insert():
  6414:     can_si_back = FALSE;
  ins_shift():
  8189:     can_si_back = FALSE;
  ins_del():
  8220:     can_si_back = FALSE;
  ins_bs():
  8601:     can_si_back = FALSE;
  ins_tab():
  9163:     can_si_back = FALSE;
  ins_try_si():
  9614:     if (((did_si || can_si_back) && c == '{') || (can_si && c == '}'))
  9654:         if (c == '{' && can_si_back && curwin->w_cursor.lnum > 1)
misc1.c (1 use)
  open_line():
  825:             can_si_back = TRUE;
compl_startpos (11 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:122
edit.c (11 uses)
  ins_compl_next():
  4380:         num_matches = ins_compl_get_exp(&compl_startpos);
  ins_complete():
  4664:         if (compl_startpos.lnum != curwin->w_cursor.lnum)
  4671:             compl_startpos.col = compl_col;
  4672:             compl_startpos.lnum = curwin->w_cursor.lnum;
  4683:             compl_startpos.col = (colnr_T)(skipwhite(
  4685:                         + compl_startpos.col) - line);
  4687:             compl_col = compl_startpos.col;
  4717:         compl_startpos = curwin->w_cursor;
  4961:         compl_startpos.lnum = curwin->w_cursor.lnum;
  4962:         compl_startpos.col = compl_col;
  4974:         compl_startpos.col = compl_col;
drawer (11 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:298
gui_mac.c (11 uses)
  gui_mac_doMouseDownEvent():
  2446:     if (whichWindow == drawer)
  drawerCallback():
  6685:             GetWindowBounds(drawer, kWindowContentRgn, &r);
  initialise_tabline():
  6750:         &drawerRect, &drawer);
  6752:     SetThemeWindowBackground(drawer, kThemeBrushDrawerBackground, true);
  6753:     SetDrawerParent(drawer, gui.VimWindow);
  6754:     SetDrawerOffsets(drawer, kWindowOffsetUnchanged, DRAWER_INSET);
  6758:     CreateDataBrowserControl(drawer, &drawerRect, kDataBrowserListView,
  6795:     InstallWindowEventHandler(drawer, drawerCallback, 1, &resizeEvent,
  gui_mch_show_tabline():
  6834:     CloseDrawer(drawer, true);
  6836:     OpenDrawer(drawer, kWindowEdgeRight, true);
  gui_mch_showing_tabline():
  6845:     WindowDrawerState state = GetDrawerState(drawer);
e_modifiable (11 uses in 7 translation units) defined in translation unit main.c, declared in ./globals.h:1402
ex_cmds.c (1 use)
  do_sub():
  4420:     EMSG(_(e_modifiable));
ex_docmd.c (1 use)
  do_one_cmd():
  2176:         errormsg = (char_u *)_(e_modifiable);
fold.c (1 use)
  foldCreateMarkers():
  1779:     EMSG(_(e_modifiable));
normal.c (3 uses)
  nv_Replace():
  6923:         EMSG(_(e_modifiable));
  nv_vreplace():
  6955:         EMSG(_(e_modifiable));
  nv_edit():
  8723:     EMSG(_(e_modifiable));
ops.c (2 uses)
  op_reindent():
  657:     EMSG(_(e_modifiable));
  op_delete():
  1595:     EMSG(_(e_modifiable));
option.c (2 uses)
  did_set_string_option():
  5677:         errmsg = e_modifiable;
  5803:         errmsg = e_modifiable;
undo.c (1 use)
  undo_allowed():
  299:     EMSG(_(e_modifiable));
first_autopat (11 uses in 1 translation unit) defined static in translation unit fileio.c, declared in fileio.c:7188
fileio.c (11 uses)
  au_cleanup():
  7366:     prev_ap = &(first_autopat[(int)event]);
  aubuflocal_remove():
  7421:     for (ap = first_autopat[(int)event]; ap != NULL; ap = ap->next)
  do_autocmd_event():
  7944:     for (ap = first_autopat[(int)event]; ap != NULL; ap = ap->next)
  8014:     prev_ap = &first_autopat[(int)event];
  has_cursorhold():
  8455:     return (first_autopat[(int)(get_real_state() == NORMAL_BUSY
  has_cursormoved():
  8486:     return (first_autopat[(int)EVENT_CURSORMOVED] != NULL);
  has_cursormovedI():
  8495:     return (first_autopat[(int)EVENT_CURSORMOVEDI] != NULL);
  apply_autocmds_group():
  8539:     if (first_autopat[(int)event] == NULL || autocmd_blocked > 0)
  8745:     patcmd.curpat = first_autopat[(int)event];
  has_autocmd():
  9052:     for (ap = first_autopat[(int)event]; ap != NULL; ap = ap->next)
  au_exists():
  9245:     ap = first_autopat[(int)event];
first_lang (11 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:522
spell.c (11 uses)
  spell_load_file():
  2828:     lp->sl_next = first_lang;
  2829:     first_lang = lp;
  did_set_spelllang():
  4163:         for (slang = first_lang; slang != NULL; slang = slang->sl_next)
  4180:         for (slang = first_lang; slang != NULL; slang = slang->sl_next)
  4217:     for (slang = first_lang; slang != NULL; slang = slang->sl_next)
  4295:     for (slang = first_lang; slang != NULL; slang = slang->sl_next)
  spell_free_all():
  4604:     while (first_lang != NULL)
  4606:     slang = first_lang;
  4607:     first_lang = slang->sl_next;
  spell_reload_one():
  4678:     for (slang = first_lang; slang != NULL; slang = slang->sl_next)
  spell_make_sugfile():
  8504:     for (slang = first_lang; slang != NULL; slang = slang->sl_next)
func_hashtab (11 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:196
eval.c (11 uses)
  eval_init():
  771:     hash_init(&func_hashtab);
  ex_function():
  18817:         todo = (int)func_hashtab.ht_used;
  18818:         for (hi = func_hashtab.ht_array; todo > 0 && !got_int; ++hi)
  18851:         todo = (int)func_hashtab.ht_used;
  18852:         for (hi = func_hashtab.ht_array; todo > 0 && !got_int; ++hi)
  19388:     hash_add(&func_hashtab, UF2HIKEY(fp));
  find_func():
  19687:     hi = hash_find(&func_hashtab, name);
  get_user_func_name():
  20022:     hi = func_hashtab.ht_array;
  20024:     if (done < func_hashtab.ht_used)
  func_free():
  20146:     hi = hash_find(&func_hashtab, UF2HIKEY(fp));
  20150:     hash_remove(&func_hashtab, hi);
out_pos (11 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:2530
term.c (11 uses)
  out_flush():
  2540:     if (out_pos != 0)
  2543:     len = out_pos;
  2544:     out_pos = 0;
  out_flush_check():
  2557:     if (enc_dbcs != 0 && out_pos >= OUT_SIZE - MB_MAXBYTES)
  out_trash():
  2569:     out_pos = 0;
  out_char():
  2588:     out_buf[out_pos++] = c;
  2591:     if (out_pos >= OUT_SIZE || p_wd)
  out_char_nf():
  2609:     out_buf[out_pos++] = c;
  2611:     if (out_pos >= OUT_SIZE)
  out_str_nf():
  2628:     if (out_pos > OUT_SIZE - 20)  /* avoid terminal strings being split up */
  out_str():
  2659:     if (out_pos > OUT_SIZE - 20)
p_macatsui (11 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:585
gui_mac.c (11 uses)
  gui_mac_dispose_atsui_style():
  3251:     if (p_macatsui && gFontStyle)
  3254:     if (p_macatsui && gWideFontStyle)
  gui_mac_create_atsui_style():
  3425:     if (p_macatsui && gFontStyle == NULL)
  3431:     if (p_macatsui && gWideFontStyle == NULL)
  3438:     p_macatsui_last = p_macatsui;
  gui_mch_init_font():
  3522:     if (p_macatsui && gFontStyle)
  gui_mch_set_font():
  3652:     if (p_macatsui && gFontStyle)
  3666:     if (p_macatsui && !gIsFontFallbackSet)
  gui_mch_draw_string():
  4241:     if (p_macatsui == 0 && p_macatsui_last != 0)
  4244:     else if (p_macatsui != 0 && p_macatsui_last == 0)
  4248:     if (p_macatsui)
p_more (11 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:617
message.c (8 uses)
  wait_return():
  954:         if (p_more && !p_cp)
  hit_return_msg():
  1079:     int        save_p_more = p_more;
  1081:     p_more = FALSE;    /* don't want see this message when scrolling back */
  1090:     p_more = save_p_more;
  msg_puts_display():
  1919:         if (p_more)
  1937:         if (p_more && lines_left == 0 && State != HITRETURN
  1968:     if (wrap && p_more && !recurse)
  2062:     if (p_more && !recurse)
os_unix.c (3 uses)
  mch_call_shell():
  4062:         p_more_save = p_more;
  4063:         p_more = FALSE;
  4409:         p_more = p_more_save;
p_ru (11 uses in 4 translation units) defined in translation unit main.c, declared in ./option.h:652
buffer.c (1 use)
  fileinfo():
  2968:     else if (p_ru)
ex_getln.c (1 use)
  getcmdline():
  1798:         if (p_ru && curwin->w_status_height > 0)
option.c (7 uses)
  comp_col():
  8883:     if (p_ru)
  8897:     if (!p_ru || last_has_status)        /* no need for separating space */
  paste_option_changed():
  10289:         save_ru = p_ru;
  10319:     if (p_ru)
  10322:     p_ru = 0;            /* no ruler */
  10353:     if (p_ru != save_ru)
  10356:     p_ru = save_ru;
screen.c (2 uses)
  updateWindow():
  717:         || p_ru
  win_redr_ruler():
  9397:     if (!p_ru)
p_viminfo (11 uses in 4 translation units) defined in translation unit main.c, declared in ./option.h:817
ex_docmd.c (4 uses)
  ex_viminfo():
  10666:     save_viminfo = p_viminfo;
  10667:     if (*p_viminfo == NUL)
  10668:     p_viminfo = (char_u *)"'100";
  10676:     p_viminfo = save_viminfo;
main.c (2 uses)
  main():
  652:     if (*p_viminfo != NUL)
  getout():
  1281:     if (*p_viminfo != NUL)
mark.c (1 use)
  removable():
  1524:     for (p = p_viminfo; *p; )
option.c (4 uses)
  find_viminfo_parameter():
  4964:     for (p = p_viminfo; *p; ++p)
  did_set_string_option():
  5927:     else if (varp == &p_viminfo)
  5929:     for (s = p_viminfo; *s;)
  5984:     if (*p_viminfo && errmsg == NULL && get_viminfo_parameter('\'') < 0)
p_wc (11 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:853
ex_getln.c (9 uses)
  getcmdline():
  413:     if (c != p_wc && c == K_S_TAB && xpc.xp_numfiles != -1)
  436:         && !(c == p_wc && KeyTyped) && c != p_wcm
  498:         c = p_wc;
  531:         c = p_wc;
  554:         c = p_wc;
  581:             c = p_wc;
  632:         c = p_wc;
  773:     if ((c == p_wc && !gotesc && KeyTyped) || c == p_wcm)
  ex_window():
  6030:     if (p_wc == TAB)
option.c (2 uses)
  do_set():
  4309:             else if (((long *)varp == &p_wc
  wc_use_keyname():
  10098:     if (((long *)varp == &p_wc) || ((long *)varp == &p_wcm))
prt_custom_cmap (11 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1452
hardcopy.c (11 uses)
  mch_print_init():
  2539:     prt_custom_cmap = (p_mbchar == NULL);
  2540:     if (!prt_custom_cmap)
  mch_print_begin():
  2936:     if (!prt_custom_cmap)
  3041:     if (prt_out_mbyte && prt_custom_cmap)
  3068:     if (prt_custom_cmap)
  3108:     if (!prt_custom_cmap)
  3132:     if (prt_custom_cmap && !prt_add_resource(&res_cmap))
  3202:     if (!prt_custom_cmap)
  3211:         if (!prt_custom_cmap)
  3224:         if (!prt_custom_cmap)
  3237:         if (!prt_custom_cmap)
pum_col (11 uses in 1 translation unit) defined static in translation unit popupmnu.c, declared in popupmnu.c:29
popupmnu.c (11 uses)
  pum_display():
  198:     pum_col = col;
  205:         pum_width = Columns - pum_col - pum_scrollbar;
  223:         pum_col = 0;
  235:         pum_col = Columns - max_width;
  pum_redraw():
  296:         if (pum_col > 0)
  297:         screen_putchar(' ', row, pum_col - 1, attr);
  301:     col = pum_col;
  414:         screen_fill(row, row + 1, col, pum_col + pum_base_width + n,
  416:         col = pum_col + pum_base_width + n;
  427:         screen_fill(row, row + 1, col, pum_col + pum_width, ' ', ' ',
  438:         screen_putchar(' ', row, pum_col + pum_width,
readonlymode (11 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:940
buffer.c (2 uses)
  open_buffer():
  81:     if (readonlymode && curbuf->b_ffname != NULL
  177:         if (!readonlymode && !bufempty())
ex_docmd.c (5 uses)
  do_exedit():
  7507:     n = readonlymode;
  7509:         readonlymode = TRUE;
  7511:         readonlymode = FALSE;   /* 'readonly' doesn't make sense in an
  7556:     else if (readonlymode && curbuf->b_nwindows == 1)
  7564:     readonlymode = n;
fileio.c (1 use)
  readfile():
  470:     if (check_readonly && !readonlymode)
main.c (2 uses)
  parse_command_name():
  1466:     readonlymode = TRUE;
  command_line_scan():
  1888:         readonlymode = TRUE;
option.c (1 use)
  set_bool_option():
  7116:         readonlymode = FALSE;
Recording (11 uses in 6 translation units) defined in translation unit main.c, declared in ./globals.h:876
edit.c (1 use)
  ins_esc():
  7978:     if (Recording || restart_edit != NUL)
fileio.c (1 use)
  trigger_cursorhold():
  8467:     if (!did_cursorhold && has_cursorhold() && !Recording
getchar.c (2 uses)
  gotchars():
  1207:     if (Recording)
  1217:     if (Recording)
normal.c (1 use)
  normal_cmd():
  883:             && !Recording
ops.c (3 uses)
  do_record():
  1022:     if (Recording == FALSE)        /* start recording */
  1029:         Recording = TRUE;
  1042:     Recording = FALSE;
screen.c (3 uses)
  showmode():
  8828:     if (do_mode || Recording)
  8976:     if (Recording
  unshowmode():
  9047:     if (Recording)
replace_stack (11 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:6920
edit.c (11 uses)
  replace_push():
  6941:     if (replace_stack != NULL)
  6943:         mch_memmove(p, replace_stack,
  6945:         vim_free(replace_stack);
  6947:     replace_stack = p;
  6949:     p = replace_stack + replace_stack_nr - replace_offset;
  replace_pop():
  7005:     return (int)replace_stack[--replace_stack_nr];
  replace_join():
  7019:     if (replace_stack[i] == NUL && off-- <= 0)
  7022:         mch_memmove(replace_stack + i, replace_stack + i + 1,
  7022:         mch_memmove(replace_stack + i, replace_stack + i + 1,
  replace_flush():
  7114:     vim_free(replace_stack);
  7115:     replace_stack = NULL;
replace_stack_nr (11 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:6921
edit.c (11 uses)
  replace_push():
  6930:     if (replace_stack_nr < replace_offset)    /* nothing to do */
  6932:     if (replace_stack_len <= replace_stack_nr)
  6943:         mch_memmove(p, replace_stack,
  6949:     p = replace_stack + replace_stack_nr - replace_offset;
  6953:     ++replace_stack_nr;
  replace_pop():
  7003:     if (replace_stack_nr == 0)
  7005:     return (int)replace_stack[--replace_stack_nr];
  replace_join():
  7018:     for (i = replace_stack_nr; --i >= 0; )
  7021:         --replace_stack_nr;
  7022:         mch_memmove(replace_stack + i, replace_stack + i + 1,
  replace_flush():
  7117:     replace_stack_nr = 0;
screen_cur_row (11 uses in 1 translation unit) defined static in translation unit screen.c, declared in screen.c:100
screen.c (11 uses)
  win_line():
  4728:         if (screen_cur_row == screen_row - 1
  screen_start():
  7780:     screen_cur_row = screen_cur_col = 9999;
  windgoto():
  7814:     if (col != screen_cur_col || row != screen_cur_row)
  7844:     if (row >= screen_cur_row && screen_cur_col < Columns)
  7852:         if (row == screen_cur_row && col < screen_cur_col)
  7884:         else if (row > screen_cur_row)
  7888:         cost = (row - screen_cur_row) * 2;  /* CR LF */
  7976:             while (screen_cur_row < row)
  7979:             ++screen_cur_row;
  8028:         if (row == screen_cur_row && (col > screen_cur_col) &&
  8034:     screen_cur_row = row;
sortbuf1 (11 uses in 1 translation unit) defined static in translation unit ex_cmds.c, declared in ex_cmds.c:273
ex_cmds.c (11 uses)
  sort_compare():
  326:     STRNCPY(sortbuf1, ml_get(l1.lnum) + l1.start_col_nr,
  328:     sortbuf1[l1.end_col_nr - l1.start_col_nr] = 0;
  333:     result = sort_ic ? STRICMP(sortbuf1, sortbuf2)
  334:                          : STRCMP(sortbuf1, sortbuf2);
  ex_sort():
  374:     sortbuf1 = NULL;
  505:     sortbuf1 = alloc((unsigned)maxlen + 1);
  506:     if (sortbuf1 == NULL)
  524:         || (sort_ic ? STRICMP(s, sortbuf1) : STRCMP(s, sortbuf1)) != 0)
  524:         || (sort_ic ? STRICMP(s, sortbuf1) : STRCMP(s, sortbuf1)) != 0)
  529:         STRCPY(sortbuf1, s);
  556:     vim_free(sortbuf1);
sub_nsubs (11 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1157
ex_cmds.c (8 uses)
  do_sub():
  4218:     sub_nsubs = 0;
  4607:             sub_nsubs++;
  4854:         sub_nsubs++;
  5079:     if (sub_nsubs)
  do_sub_msg():
  5130:     if (((sub_nsubs > p_report && (KeyTyped || sub_nlines > 1 || p_report < 1))
  5139:     if (sub_nsubs == 1)
  5145:                                    sub_nsubs);
  ex_global():
  5209:     sub_nsubs = 0;
spell.c (3 uses)
  ex_spellrepall():
  10358:     sub_nsubs = 0;
  10387:         ++sub_nsubs;
  10396:     if (sub_nsubs == 0)
submatch_mmatch (11 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:6815
regexp.c (11 uses)
  vim_regsub_both():
  6940:         submatch_mmatch = reg_mmatch;
  6963:         reg_mmatch = submatch_mmatch;
  reg_submatch():
  7225:         lnum = submatch_mmatch->startpos[no].lnum;
  7226:         if (lnum < 0 || submatch_mmatch->endpos[no].lnum < 0)
  7229:         s = reg_getline(lnum) + submatch_mmatch->startpos[no].col;
  7232:         if (submatch_mmatch->endpos[no].lnum == lnum)
  7235:         len = submatch_mmatch->endpos[no].col
  7236:                       - submatch_mmatch->startpos[no].col;
  7253:         while (lnum < submatch_mmatch->endpos[no].lnum)
  7264:             STRNCPY(retval + len, reg_getline(lnum),
  7266:         len += submatch_mmatch->endpos[no].col;
termcap_active (11 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:991
message.c (2 uses)
  wait_return():
  1044:     if (swapping_screen() && !termcap_active)
  msg_use_printf():
  2335:         || (swapping_screen() && !termcap_active)
option.c (2 uses)
  did_set_string_option():
  6171:     if (termcap_active)
  set_num_option():
  7788:     if (termcap_active)    /* don't do this in the alternate screen */
syntax.c (2 uses)
  do_highlight():
  7131:             if (termcap_active)
  7148:             if (termcap_active)
term.c (5 uses)
  starttermcap():
  3229:     if (full_screen && !termcap_active)
  3234:     termcap_active = TRUE;
  stoptermcap():
  3250:     if (termcap_active)
  3262:     termcap_active = FALSE;
  may_req_termresponse():
  3291:         && termcap_active
trylevel (11 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:261
ex_docmd.c (8 uses)
  save_dbg_stuff():
  559:     dsp->trylevel    = trylevel;        trylevel = 0;
  559:     dsp->trylevel    = trylevel;        trylevel = 0;
  restore_dbg_stuff():
  579:     trylevel = dsp->trylevel;
  do_cmdline():
  843:     initial_trylevel = trylevel;
  1240:     trylevel = initial_trylevel + cstack.cs_trylevel;
  1249:     if (trylevel == 0 && !did_emsg && !got_int && !did_throw)
  1328:     trylevel = initial_trylevel;
  1337:     if (trylevel == 0)
ex_eval.c (3 uses)
  should_abort():
  122:     return ((retcode == FAIL && trylevel != 0 && !emsg_silent) || aborting());
  cause_errthrow():
  189:     if (((trylevel == 0 && !cause_abort) || emsg_silent) && !did_throw)
  do_intthrow():
  371:     if (!got_int || (trylevel == 0 && !did_throw))
user_digraphs (11 uses in 1 translation unit) defined static in translation unit digraph.c, declared in digraph.c:35
digraph.c (11 uses)
  getexactdigraph():
  2138:     dp = (digr_T *)user_digraphs.ga_data;
  2139:     for (i = 0; i < user_digraphs.ga_len; ++i)
  putdigraph():
  2263:     dp = (digr_T *)user_digraphs.ga_data;
  2264:     for (i = 0; i < user_digraphs.ga_len; ++i)
  2275:     if (i == user_digraphs.ga_len)
  2277:         if (ga_grow(&user_digraphs, 1) == OK)
  2279:         dp = (digr_T *)user_digraphs.ga_data + user_digraphs.ga_len;
  2279:         dp = (digr_T *)user_digraphs.ga_data + user_digraphs.ga_len;
  2283:         ++user_digraphs.ga_len;
  listdigraphs():
  2323:     dp = (digr_T *)user_digraphs.ga_data;
  2324:     for (i = 0; i < user_digraphs.ga_len && !got_int; ++i)
vim_tempdir (11 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:580
diff.c (2 uses)
  ex_diffpatch():
  927:     if (vim_tempdir != NULL)
  928:         mch_chdir((char *)vim_tempdir);
fileio.c (9 uses)
  vim_deltempdir():
  6788:     if (vim_tempdir != NULL)
  6790:     sprintf((char *)NameBuff, "%s*", vim_tempdir);
  6801:     vim_free(vim_tempdir);
  6802:     vim_tempdir = NULL;
  vim_tempname():
  6842:     if (vim_tempdir == NULL)
  6914:                 vim_tempdir = vim_strsave(buf);
  6927:         if (vim_tempdir != NULL)
  6933:     if (vim_tempdir != NULL)
  6937:     sprintf((char *)itmp, "%s%ld", vim_tempdir, temp_count++);
at_start (10 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:2577
regexp.c (10 uses)
  initchr():
  2587:     at_start = TRUE;
  peekchr():
  2638:             && !at_start
  2650:             && (at_start
  2660:         at_start = TRUE;
  2705:             prev_at_start = at_start;
  2706:             at_start = FALSE;    /* be able to say "/\*ptr" */
  skipchr():
  2774:     prev_at_start = at_start;
  2775:     at_start = FALSE;
  skipchr_keepstart():
  2794:     at_start = as;
  ungetchr():
  2817:     at_start = prev_at_start;
buffer (10 uses in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:852
if_python.c (10 uses)
  buffer_ensure():
  877:     if (buffer)
  879:         memcpy(new_buffer, buffer, buffer_len);
  880:         vim_free(buffer);
  883:     buffer = new_buffer;
  PythonIO_Flush():
  893:     buffer[buffer_len] = 0;
  894:     old_fn(buffer);
  writer():
  916:     memcpy(buffer + buffer_len, str, len);
  918:     buffer[buffer_len] = 0;
  919:     fn(buffer);
  927:     memcpy(buffer + buffer_len, str, n);
debug_breakpoint_name (10 uses in 1 translation unit) defined static in translation unit ex_cmds2.c, declared in ex_cmds2.c:310
ex_cmds2.c (10 uses)
  dbg_check_breakpoint():
  337:     if (debug_breakpoint_name != NULL)
  342:         if (debug_breakpoint_name[0] == K_SPECIAL
  343:             && debug_breakpoint_name[1] == KS_EXTRA
  344:             && debug_breakpoint_name[2] == (int)KE_SNR)
  350:             debug_breakpoint_name + (*p == NUL ? 0 : 3),
  352:         debug_breakpoint_name = NULL;
  358:         debug_skipped_name = debug_breakpoint_name;
  359:         debug_breakpoint_name = NULL;
  dbg_check_skipped():
  392:     debug_breakpoint_name = debug_skipped_name;
  dbg_breakpoint():
  817:     debug_breakpoint_name = name;
dir_stack (10 uses in 1 translation unit) defined static in translation unit quickfix.c, declared in quickfix.c:24
quickfix.c (10 uses)
  qf_init_ext():
  709:             if ((directory = qf_push_dir(namebuf, &dir_stack)) == NULL)
  713:             directory = qf_pop_dir(&dir_stack);
  844:     qf_clean_dir_stack(&dir_stack);
  qf_push_dir():
  1229:         || (*stackptr && dir_stack != *stackptr))
  qf_guess_filepath():
  1351:     if (dir_stack == NULL)
  1354:     ds_ptr = dir_stack->next;
  1373:     while (dir_stack->next != ds_ptr)
  1375:     ds_tmp = dir_stack->next;
  1376:     dir_stack->next = dir_stack->next->next;
  1376:     dir_stack->next = dir_stack->next->next;
e_secure (10 uses in 6 translation units) defined in translation unit main.c, declared in ./globals.h:1480
edit.c (2 uses)
  edit():
  341:     EMSG(_(e_secure));
  349:     EMSG(_(e_secure));
ex_docmd.c (2 uses)
  do_one_cmd():
  2192:         errormsg = (char_u *)_(e_secure);
  ex_normal():
  8924:     EMSG(_(e_secure));
ex_getln.c (1 use)
  text_locked_msg():
  1987:     EMSG(_(e_secure));
option.c (3 uses)
  did_set_string_option():
  5437:     errmsg = e_secure;
  set_bool_option():
  7086:     return e_secure;
  set_num_option():
  7596:     return e_secure;
undo.c (1 use)
  undo_allowed():
  316:     EMSG(_(e_secure));
window.c (1 use)
  goto_tabpage():
  3614:         EMSG(_(e_secure));
edit_submode_highl (10 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:896
edit.c (8 uses)
  ins_complete():
  5000:     edit_submode_highl = HLF_COUNT;
  5036:     edit_submode_highl = HLF_E;
  5059:         edit_submode_highl = HLF_W;
  5064:         edit_submode_highl = HLF_COUNT;
  5069:         edit_submode_highl = HLF_COUNT;
  5140:         edit_submode_highl = HLF_R;
  5153:             edit_submode_highl < HLF_COUNT
  5154:             ? hl_attr(edit_submode_highl) : 0);
screen.c (2 uses)
  showmode():
  8895:             if ((int)edit_submode_highl < (int)HLF_COUNT)
  8896:                 sub_attr = hl_attr(edit_submode_highl);
ex_no_reprint (10 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:874
ex_cmds.c (2 uses)
  ex_append():
  3968:     ex_no_reprint = TRUE;
  ex_z():
  4122:     ex_no_reprint = TRUE;
ex_docmd.c (6 uses)
  do_exmode():
  643:     ex_no_reprint = FALSE;
  660:             || changedtick != curbuf->b_changedtick) && !ex_no_reprint)
  679:     else if (ex_pressedreturn && !ex_no_reprint)    /* must be at EOF */
  ex_print():
  6673:     ex_no_reprint = TRUE;
  do_exedit():
  7594:     ex_no_reprint = TRUE;
  ex_may_print():
  8244:     ex_no_reprint = TRUE;
fileio.c (2 uses)
  readfile():
  322:     ex_no_reprint = TRUE;
  buf_write():
  2959:     ex_no_reprint = TRUE;
gWideFontStyle (10 uses in 1 translation unit) defined in translation unit gui_mac.c, declared in gui_mac.c:172
gui_mac.c (10 uses)
  gui_mac_dispose_atsui_style():
  3254:     if (p_macatsui && gWideFontStyle)
  3255:     ATSUDisposeStyle(gWideFontStyle);
  gui_mac_create_atsui_style():
  3431:     if (p_macatsui && gWideFontStyle == NULL)
  3433:     if (ATSUCreateStyle(&gWideFontStyle) != noErr)
  3434:         gWideFontStyle = NULL;
  gui_mac_set_font_attributes():
  3629:         if (ATSUSetAttributes(gWideFontStyle,
  3633:         ATSUDisposeStyle(gWideFontStyle);
  3634:         gWideFontStyle = NULL;
  draw_string_ATSUI():
  4165:             textStyle = last_width_in_cell > 1 ? gWideFontStyle
  4184:         textStyle = width_in_cell > 1 ? gWideFontStyle : gFontStyle;
info_message (10 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:168
ex_cmds.c (2 uses)
  print_line():
  2405:     info_message = TRUE;    /* use mch_msg(), not mch_errmsg() */
  2413:     info_message = FALSE;
main.c (1 use)
  command_line_scan():
  1666:             info_message = TRUE; /* use mch_msg(), not mch_errmsg() */
message.c (2 uses)
  msg_puts_printf():
  2362:         if (*s == '\n' && !info_message)
  2369:         if (info_message)    /* informative message, not an error */
option.c (4 uses)
  do_set():
  4744:     info_message = TRUE;    /* use mch_msg(), not mch_errmsg() */
  4749:     info_message = FALSE;    /* use mch_msg(), not mch_errmsg() */
  showoneopt():
  8494:     info_message = TRUE;    /* use mch_msg(), not mch_errmsg() */
  8516:     info_message = FALSE;
os_unix.c (1 use)
  exit_scroll():
  2946:         if (info_message)
int_wordlist (10 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:581
spell.c (10 uses)
  int_wordlist_spl():
  2402:                           int_wordlist, spell_enc());
  did_set_spelllang():
  4273:         if (int_wordlist == NULL)
  spell_free_all():
  4611:     if (int_wordlist != NULL)
  4614:     mch_remove(int_wordlist);
  4617:     vim_free(int_wordlist);
  4618:     int_wordlist = NULL;
  spell_add_word():
  9302:     if (int_wordlist == NULL)
  9304:         int_wordlist = vim_tempname('s');
  9305:         if (int_wordlist == NULL)
  9308:     fname = int_wordlist;
last_insert (10 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:254
edit.c (10 uses)
  stop_insert():
  6321:     vim_free(last_insert);
  6322:     last_insert = ptr;
  set_last_insert():
  6436:     vim_free(last_insert);
  6438:     last_insert = alloc(MB_MAXBYTES * 3 + 5);
  6442:     if (last_insert != NULL)
  6444:     s = last_insert;
  get_last_insert():
  6855:     if (last_insert == NULL)
  6857:     return last_insert + last_insert_skip;
  get_last_insert_save():
  6870:     if (last_insert == NULL)
  6872:     s = vim_strsave(last_insert + last_insert_skip);
last_msg_hist (10 uses in 1 translation unit) defined static in translation unit message.c, declared in message.c:54
message.c (10 uses)
  msg_attr_keep():
  160:         && last_msg_hist != NULL
  161:         && last_msg_hist->msg != NULL
  162:         && STRCMP(s, last_msg_hist->msg)))
  add_msg_hist():
  784:     if (last_msg_hist != NULL)
  785:         last_msg_hist->next = p;
  786:     last_msg_hist = p;
  788:         first_msg_hist = last_msg_hist;
  set_keep_msg_from_hist():
  1118:     if (keep_msg == NULL && last_msg_hist != NULL && msg_scrolled == 0
  1120:     set_keep_msg(last_msg_hist->msg, last_msg_hist->attr);
  1120:     set_keep_msg(last_msg_hist->msg, last_msg_hist->attr);
lcs_eol (10 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:1118
message.c (3 uses)
  msg_prt_line():
  1580:     if (*s == NUL && !(list && lcs_eol != NUL))
  1624:         else if (c == NUL && list && lcs_eol != NUL)
  1629:         c = lcs_eol;
misc1.c (1 use)
  plines_win_nofold():
  1743:     if (wp->w_p_list && lcs_eol != NUL)
option.c (1 use)
  set_chars_option():
  6768:     {&lcs_eol,    "eol"},
screen.c (5 uses)
  win_line():
  2570:     int        lcs_eol_one = lcs_eol;    /* lcs_eol until it's been used */
  4098:             && ((wp->w_p_list && lcs_eol > 0)
  4146:             c = lcs_eol;
  4356:         if (lcs_eol == lcs_eol_one
  4689:             || (wp->w_p_list && lcs_eol != NUL && p_extra != at_end_str)
listcmd_busy (10 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1011
ex_cmds2.c (3 uses)
  ex_listdo():
  2320:     listcmd_busy = TRUE;        /* avoids setting pcmark below */
  2417:     listcmd_busy = FALSE;
  cmd_source():
  2739:     openscript(fname, global_busy || listcmd_busy || eap->nextcmd != NULL
mark.c (7 uses)
  setpcmark():
  140:     if (global_busy || listcmd_busy || cmdmod.keepjumps)
  getmark_fnum():
  354:     int    slcb = listcmd_busy;
  357:     listcmd_busy = TRUE;        /* avoid that '' is changed */
  365:     listcmd_busy = slcb;
  370:     int    slcb = listcmd_busy;
  373:     listcmd_busy = TRUE;        /* avoid that '' is changed */
  380:     listcmd_busy = slcb;
mode_displayed (10 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:98
getchar.c (2 uses)
  vgetorpeek():
  2509:             if (mode_displayed)
  2787:     if (c == ESC && !mode_deleted && !no_mapping && mode_displayed)
normal.c (4 uses)
  do_pending_operator():
  1747:         if (mode_displayed)
  do_mouse():
  3055:     if ((!VIsual_active && old_active && mode_displayed)
  end_visual_mode():
  3223:     if (mode_displayed)
  nv_normal():
  8600:     if (restart_edit != 0 && mode_displayed)
option.c (1 use)
  set_bool_option():
  7208:         if (restart_edit != 0 && mode_displayed)
screen.c (3 uses)
  screen_fill():
  7250:         mode_displayed = FALSE; /* mode cleared or overwritten */
  screenclear2():
  7665:     mode_displayed = FALSE;
  showmode():
  8986:     mode_displayed = TRUE;
need_check_timestamps (10 uses in 7 translation units) defined in translation unit main.c, declared in ./globals.h:342
edit.c (1 use)
  edit():
  607:         if (need_check_timestamps)
ex_cmds.c (2 uses)
  do_filter():
  1209:     need_check_timestamps = TRUE;
  do_shell():
  1420:     need_check_timestamps = TRUE;
fileio.c (3 uses)
  check_timestamps():
  6249:     need_check_timestamps = TRUE;
  6258:     need_check_timestamps = TRUE;        /* check later */
  6283:     need_check_timestamps = FALSE;
main.c (1 use)
  main_loop():
  1003:         if (need_check_timestamps)
memline.c (1 use)
  ml_sync_all():
  1921:         need_check_timestamps = TRUE;    /* give message later */
message.c (1 use)
  do_browse():
  3780:     need_check_timestamps = TRUE;
os_unix.c (1 use)
  mch_suspend():
  1129:     need_check_timestamps = TRUE;
new_cmdpos (10 uses in 1 translation unit) defined static in translation unit ex_getln.c, declared in ex_getln.c:46
ex_getln.c (10 uses)
  getcmdline():
  672:             new_cmdpos = 99999;    /* keep it at the end */
  674:             new_cmdpos = ccline.cmdpos;
  698:             if (new_cmdpos > ccline.cmdlen)
  701:                 ccline.cmdpos = new_cmdpos;
  1113:         new_cmdpos = -1;
  1145:             if (new_cmdpos >= 0)
  1148:             if (new_cmdpos > ccline.cmdlen)
  1151:                 ccline.cmdpos = new_cmdpos;
  set_cmdline_pos():
  5302:     new_cmdpos = 0;
  5304:     new_cmdpos = pos;
nofile_fname (10 uses in 1 translation unit) defined static in translation unit tag.c, declared in tag.c:68
tag.c (10 uses)
  do_tag():
  197:     free_string_option(nofile_fname);
  198:     nofile_fname = NULL;
  949:                               && nofile_fname == NULL)
  977:         if (nofile_fname != NULL && error_cur_match != cur_match)
  978:         smsg((char_u *)_("File \"%s\" does not exist"), nofile_fname);
  1050:         EMSG2(_("E429: File \"%s\" does not exist"), nofile_fname);
  jumpto_tag():
  3076:     vim_free(nofile_fname);
  3077:     nofile_fname = vim_strsave(fname);
  3078:     if (nofile_fname == NULL)
  3079:         nofile_fname = empty_option;
p_bsdir (10 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:344
message.c (7 uses)
  do_browse():
  3714:     if (STRCMP(p_bsdir, "last") != 0
  3715:         && STRCMP(p_bsdir, "buffer") != 0
  3716:         && STRCMP(p_bsdir, "current") != 0
  3717:         && mch_isdir(p_bsdir))
  3718:         initdir = p_bsdir;
  3720:     else if (((flags & BROWSE_SAVE) || *p_bsdir == 'b')
  3733:     else if (*p_bsdir == 'l')
option.c (3 uses)
  did_set_string_option():
  6195:     else if (varp == &p_bsdir)
  6197:     if (check_opt_strings(p_bsdir, p_bsdir_values, FALSE) != OK
  6198:         && !mch_isdir(p_bsdir))
p_ffs (10 uses in 4 translation units) defined in translation unit main.c, declared in ./option.h:444
ex_cmds.c (1 use)
  do_ecmd():
  3396:             if (*p_ffs && !oldbuf)
fileio.c (5 uses)
  readfile():
  268:     int        try_mac = (vim_strchr(p_ffs, 'm') != NULL);
  269:     int        try_dos = (vim_strchr(p_ffs, 'd') != NULL);
  270:     int        try_unix = (vim_strchr(p_ffs, 'x') != NULL);
  450:     else if (*p_ffs != NUL)
  942:     else if (*p_ffs == NUL)
misc2.c (1 use)
  default_fileformat():
  2946:     switch (*p_ffs)
option.c (3 uses)
  did_set_string_option():
  5822:     else if (varp == &p_ffs)
  5824:     if (check_opt_strings(p_ffs, p_ff_values, TRUE) != OK)
  5829:         if (*p_ffs == NUL)
p_hf (10 uses in 4 translation units) defined in translation unit main.c, declared in ./option.h:513
ex_cmds.c (2 uses)
  ex_help():
  5570:         if ((helpfd = mch_fopen((char *)p_hf, READBIN)) == NULL)
  5572:         smsg((char_u *)_("Sorry, help file \"%s\" not found"), p_hf);
misc1.c (5 uses)
  vim_getenv():
  3934:     if (p_hf != NULL && vim_strchr(p_hf, '$') == NULL)
  3934:     if (p_hf != NULL && vim_strchr(p_hf, '$') == NULL)
  3935:         p = p_hf;
  3949:         if (p == p_hf)
  3995:         if (p == exe_name || p == p_hf)
option.c (1 use)
  did_set_string_option():
  5508:     else if (varp == &p_hf)
tag.c (2 uses)
  get_tagfname():
  2602:         if (tnp->tn_hf_idx > tag_fnames.ga_len || *p_hf == NUL)
  2605:         STRCPY(buf, p_hf);
p_hh (10 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:515
ex_cmds.c (2 uses)
  ex_help():
  5596:         if (curwin->w_height < p_hh)
  5597:         win_setheight((int)p_hh);
option.c (6 uses)
  set_num_option():
  7617:     if (pp == &p_wh || pp == &p_hh)
  7629:     if (p_hh < 0)
  7632:         p_hh = 0;
  7640:         if (pp == &p_hh && curbuf->b_help && curwin->w_height < p_hh)
  7640:         if (pp == &p_hh && curbuf->b_help && curwin->w_height < p_hh)
  7641:         win_setheight((int)p_hh);
quickfix.c (2 uses)
  qf_jump():
  1558:         if (curwin->w_height < p_hh)
  1559:         win_setheight((int)p_hh);
p_ph (10 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:383
popupmnu.c (10 uses)
  pum_display():
  97:     if (p_ph > 0 && pum_height > p_ph)
  97:     if (p_ph > 0 && pum_height > p_ph)
  98:     pum_height = p_ph;
  116:     if (p_ph > 0 && pum_height > p_ph)
  116:     if (p_ph > 0 && pum_height > p_ph)
  118:         pum_row += pum_height - p_ph;
  119:         pum_height = p_ph;
  130:     if (p_ph > 0 && pum_height > p_ph)
  130:     if (p_ph > 0 && pum_height > p_ph)
  131:         pum_height = p_ph;
p_ruf (10 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:655
option.c (7 uses)
  did_set_string_option():
  6345:     else if (gvarp == &p_stl || varp == &p_ruf)
  6349:     if (varp == &p_ruf)    /* reset ru_wid first */
  6352:     if (varp == &p_ruf && *s == '%')
  6358:         if (wid && *s == '(' && (errmsg = check_stl_option(p_ruf)) == NULL)
  6361:         errmsg = check_stl_option(p_ruf);
  6364:     else if (varp == &p_ruf || s[0] != '%' || s[1] != '!')
  6366:     if (varp == &p_ruf && errmsg == NULL)
screen.c (3 uses)
  win_redr_custom():
  6012:         p = p_ruf;
  6022:             p = p_ruf;
  win_redr_ruler():
  9421:     if (*p_ruf)
p_sh (10 uses in 4 translation units) defined in translation unit main.c, declared in ./option.h:695
ex_docmd.c (1 use)
  expand_filename():
  4355:         if (strstr((char *)p_sh, "sh") != NULL)
misc2.c (2 uses)
  call_shell():
  2972:                             cmd == NULL ? p_sh : cmd);
  2983:     if (*p_sh == NUL)
option.c (1 use)
  set_init_3():
  3690:     p = gettail(p_sh);
os_unix.c (6 uses)
  mch_call_shell():
  3716:     newcmd = vim_strsave(p_sh);
  4492:             msg_outtrans(p_sh);
  mch_expand_wildcards():
  5227:     else if ((len = STRLEN(p_sh)) >= 3)
  5229:     if (STRCMP(p_sh + len - 3, "csh") == 0)
  5231:     else if (STRCMP(p_sh + len - 3, "zsh") == 0)
  5234:     if (shell_style == STYLE_ECHO && strstr((char *)gettail(p_sh),
p_sp (10 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:698
ex_cmds.c (1 use)
  append_redir():
  1624:         opt != p_sp ? " %s%s" :
option.c (4 uses)
  set_init_3():
  3712:         p_sp = (char_u *)"|& tee";
  3714:         options[idx_sp].def_val[VI_DEFAULT] = p_sp;
  3748:             p_sp = (char_u *)"2>&1| tee";
  3750:             options[idx_sp].def_val[VI_DEFAULT] = p_sp;
quickfix.c (5 uses)
  ex_make():
  2749:     if (*p_sp != NUL)
  2750:     len += (unsigned)STRLEN(p_sp) + (unsigned)STRLEN(fname) + 3;
  2756:     if (*p_sp != NUL)
  2757:     append_redir(cmd, p_sp, fname);
  2769:     do_shell(cmd, *p_sp != NUL ? SHELL_DOOUT : 0);
p_ul (10 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:810
option.c (3 uses)
  set_num_option():
  7866:     else if (pp == &p_ul)
  7869:     p_ul = old_value;
  7871:     p_ul = value;
undo.c (7 uses)
  u_savecommon():
  386:     if (p_ul >= 0)
  416:     while (curbuf->b_u_numhead > p_ul && curbuf->b_u_oldhead != NULL)
  496:     if (p_ul < 0)        /* no undo at all */
  u_doit():
  716:         else if (p_ul > 0)                /* multi level undo */
  737:         if (curbuf->b_u_curhead == NULL || p_ul <= 0)
  u_sync():
  1397:     if (p_ul < 0)
  ex_undojoin():
  1546:     if (p_ul < 0)
p_write (10 uses in 6 translation units) defined in translation unit main.c, declared in ./option.h:868
buffer.c (2 uses)
  do_buffer():
  1049:         if ((p_confirm || cmdmod.confirm) && p_write)
  1259:     if ((p_confirm || cmdmod.confirm) && p_write)
ex_cmds.c (2 uses)
  not_writing():
  2924:     if (p_write)
  getfile():
  3028:     if (p_confirm && p_write)
ex_cmds2.c (3 uses)
  autowrite():
  1309:     if (!(p_aw || p_awa) || !p_write
  autowrite_all():
  1333:     if (!(p_aw || p_awa) || !p_write)
  check_changed():
  1365:     if ((p_confirm || cmdmod.confirm) && p_write)
ex_docmd.c (1 use)
  ex_win_close():
  6344:     if ((p_confirm || cmdmod.confirm) && p_write)
main.c (1 use)
  command_line_scan():
  1816:         p_write = FALSE;
window.c (1 use)
  close_others():
  3108:         if (message && (p_confirm || cmdmod.confirm) && p_write)
pc_status (10 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:1517
edit.c (10 uses)
  edit_putchar():
  1549:     pc_status = PC_STATUS_UNSET;
  1575:         pc_status = PC_STATUS_LEFT;
  1581:     if (pc_status == PC_STATUS_UNSET)
  1585:         pc_status = PC_STATUS_SET;
  edit_unputchar():
  1597:     if (pc_status != PC_STATUS_UNSET && pc_row >= msg_scrolled)
  1600:     if (pc_status == PC_STATUS_RIGHT)
  1602:     if (pc_status == PC_STATUS_RIGHT || pc_status == PC_STATUS_LEFT)
  1602:     if (pc_status == PC_STATUS_RIGHT || pc_status == PC_STATUS_LEFT)
  ins_reg():
  7627:     pc_status = PC_STATUS_UNSET;
  ins_digraph():
  9436:     pc_status = PC_STATUS_UNSET;
prt_media (10 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1434
hardcopy.c (10 uses)
  mch_print_init():
  2652:     prt_media = i;
  mch_print_begin():
  2892:     prt_page_margins(prt_mediasize[prt_media].width,
  2893:                         prt_mediasize[prt_media].height,
  2922:     prt_dsc_docmedia(prt_mediasize[prt_media].name,
  2923:                 prt_mediasize[prt_media].width,
  2924:                 prt_mediasize[prt_media].height,
  3114:     prt_dsc_textline("PageMedia", prt_mediasize[prt_media].name);
  3153:     prt_write_int((int)prt_mediasize[prt_media].width);
  3154:     prt_write_int((int)prt_mediasize[prt_media].height);
  mch_print_begin_page():
  3340:     prt_write_int(-((int)prt_mediasize[prt_media].width));
prt_ps_fd (10 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1387
hardcopy.c (10 uses)
  prt_write_file_raw_len():
  1467:         && fwrite(buffer, sizeof(char_u), bytes, prt_ps_fd)
  mch_print_cleanup():
  2249:     if (prt_ps_fd != NULL)
  2251:     fclose(prt_ps_fd);
  2252:     prt_ps_fd = NULL;
  mch_print_init():
  2760:     prt_ps_fd = mch_fopen((char *)prt_ps_file_name, WRITEBIN);
  2767:         prt_ps_fd = mch_fopen((char *)p, WRITEBIN);
  2771:     if (prt_ps_fd == NULL)
  mch_print_end():
  3282:     if (prt_ps_fd != NULL)
  3284:         fclose(prt_ps_fd);
  3285:         prt_ps_fd = NULL;
prt_ps_font (10 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1055
hardcopy.c (10 uses)
  prt_font_metrics():
  2324:     prt_char_width = (float)PRT_PS_FONT_TO_USER(font_scale, prt_ps_font->wx);
  prt_get_lpp():
  2381:     prt_bgcol_offset = (float)PRT_PS_FONT_TO_USER(prt_line_height,
  2383:     if ((prt_ps_font->bbox_max_y - prt_ps_font->bbox_min_y) < 1000.0)
  2383:     if ((prt_ps_font->bbox_max_y - prt_ps_font->bbox_min_y) < 1000.0)
  2385:     prt_bgcol_offset -= (float)PRT_PS_FONT_TO_USER(prt_line_height,
  2385:     prt_bgcol_offset -= (float)PRT_PS_FONT_TO_USER(prt_line_height,
  mch_print_init():
  2619:     prt_ps_font = &prt_ps_mb_font;
  2627:     prt_ps_font = &prt_ps_courier_font;
  mch_print_begin():
  3249:     prt_def_var("UO", PRT_PS_FONT_TO_USER(prt_line_height,
  3251:     prt_def_var("UW", PRT_PS_FONT_TO_USER(prt_line_height,
quit_more (10 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:192
ex_getln.c (1 use)
  getcmdline():
  335:     quit_more = FALSE;    /* reset after CTRL-D which had a more-prompt */
main.c (2 uses)
  main_loop():
  1037:         if (!quit_more)
  1048:     quit_more = FALSE;
message.c (7 uses)
  wait_return():
  894:     if (quit_more)
  897:     quit_more = FALSE;
  960:             if (quit_more)
  963:             quit_more = FALSE;
  msg_puts_display():
  1946:         if (quit_more)
  do_more_prompt():
  2542:         quit_more = TRUE;
  2649:     if (quit_more)
redir_fd (10 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1060
ex_docmd.c (5 uses)
  ex_redir():
  8445:         redir_fd = open_exfile(fname, eap->forceit, mode);
  8510:     if (redir_fd != NULL
  close_redir():
  8582:     if (redir_fd != NULL)
  8584:     fclose(redir_fd);
  8585:     redir_fd = NULL;
message.c (5 uses)
  redir_write():
  3004:     if (redir_fd != NULL
  3020:         else if (redir_fd)
  3022:             fputs(" ", redir_fd);
  3038:         if (!redir_reg && !redir_vname && redir_fd != NULL)
  3040:         putc(*s, redir_fd);
redir_off (10 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:1059
ex_cmds2.c (3 uses)
  do_debug():
  94:     int        save_redir_off = redir_off;
  134:     redir_off = TRUE;        /* don't redirect debug commands */
  289:     redir_off = save_redir_off;
ex_docmd.c (1 use)
  ex_redir():
  8515:     redir_off = FALSE;
ex_getln.c (3 uses)
  getcmdline():
  250:     redir_off = TRUE;        /* don't redirect the typed command */
  329:     redir_off = TRUE;    /* Don't redirect the typed command.
  1896:     redir_off = FALSE;
message.c (3 uses)
  wait_return():
  892:     redir_off = TRUE;        /* don't redirect this message */
  1014:     redir_off = FALSE;
  redir_write():
  2994:     if (redir_off)
redo_VIsual_busy (10 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:643
getchar.c (1 use)
  start_redo():
  817:     redo_VIsual_busy = TRUE;
normal.c (8 uses)
  do_pending_operator():
  1377:         && !redo_VIsual_busy
  1468:     if (redo_VIsual_busy)
  1590:     if (VIsual_active || redo_VIsual_busy)
  1600:         if (!redo_VIsual_busy)
  1630:         else if (redo_VIsual_busy)
  1648:         if (!redo_VIsual_busy && !gui_yank)
  1687:         if (!redo_VIsual_busy)
  1731:         redo_VIsual_busy = FALSE;
ui.c (1 use)
  clip_update_selection():
  432:     if (!redo_VIsual_busy && VIsual_active && (State & NORMAL))
reg_endp (10 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3136
regexp.c (10 uses)
  vim_regexec_both():
  3407:     reg_endp = reg_match->endp;
  regtry():
  3681:     if (reg_endp[0] == NULL)
  3682:         reg_endp[0] = reginput;
  regmatch():
  4483:             save_se(&rp->rs_un.sesave, &reg_endpos[no], &reg_endp[no]);
  4535:             if (reg_endp[no] == NULL)
  4544:             len = (int)(reg_endp[no] - reg_startp[no]);
  4987:         restore_se(&rp->rs_un.sesave, &reg_endpos[rp->rs_no],
  cleanup_subexpr():
  5824:         vim_memset(reg_endp, 0, sizeof(char_u *) * NSUBEXP);
  save_subexpr():
  5877:         bp->save_end[i].se_u.ptr = reg_endp[i];
  restore_subexpr():
  5906:         reg_endp[i] = bp->save_end[i].se_u.ptr;
reg_firstlnum (10 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3141
regexp.c (10 uses)
  reg_getline():
  3249:     if (reg_firstlnum + lnum < 1)
  3254:     return ml_get_buf(reg_buf, reg_firstlnum + lnum, FALSE);
  vim_regexec_multi():
  3344:     reg_firstlnum = lnum;
  regmatch():
  3874:                       || (REG_MULTI && reg_firstlnum > 1))
  3887:             || (reglnum + reg_firstlnum != reg_win->w_cursor.lnum)
  3903:             || (pos->lnum == reglnum + reg_firstlnum
  3909:                 : (pos->lnum < reglnum + reg_firstlnum
  3958:         lnum = reglnum + reg_firstlnum;
  3995:         if (!REG_MULTI || !re_num_cmp((long_u)(reglnum + reg_firstlnum),
  vim_regsub_multi():
  6866:     reg_firstlnum = lnum;
reg_prev_sub (10 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:379
regexp.c (10 uses)
  regatom():
  1720:         if (reg_prev_sub != NULL)
  1725:         lp = reg_prev_sub;
  1729:         if (*reg_prev_sub != NUL)
  1732:             if ((lp - reg_prev_sub) == 1)
  regtilde():
  6760:         if (reg_prev_sub != NULL)
  6763:         prevlen = (int)STRLEN(reg_prev_sub);
  6771:             mch_memmove(tmpsub + len, reg_prev_sub, (size_t)prevlen);
  6800:     vim_free(reg_prev_sub);
  6802:     reg_prev_sub = newsub;
  6804:     reg_prev_sub = vim_strsave(newsub);
reg_startp (10 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3135
regexp.c (10 uses)
  vim_regexec_both():
  3406:     reg_startp = reg_match->startp;
  regtry():
  3679:     if (reg_startp[0] == NULL)
  3680:         reg_startp[0] = regline + col;
  regmatch():
  4423:             save_se(&rp->rs_un.sesave, &reg_startpos[no],
  4544:             len = (int)(reg_endp[no] - reg_startp[no]);
  4545:             if (cstrncmp(reg_startp[no], reginput, &len) != 0)
  4969:         restore_se(&rp->rs_un.sesave, &reg_startpos[rp->rs_no],
  cleanup_subexpr():
  5823:         vim_memset(reg_startp, 0, sizeof(char_u *) * NSUBEXP);
  save_subexpr():
  5876:         bp->save_start[i].se_u.ptr = reg_startp[i];
  restore_subexpr():
  5905:         reg_startp[i] = bp->save_start[i].se_u.ptr;
reg_tofree (10 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3113
regexp.c (10 uses)
  vim_regexec_both():
  3581:     vim_free(reg_tofree);
  3582:     reg_tofree = NULL;
  regmatch():
  4577:                 if (regline != reg_tofree)
  4580:                     if (reg_tofree == NULL
  4584:                     vim_free(reg_tofree);
  4585:                     reg_tofree = alloc(len);
  4586:                     if (reg_tofree == NULL)
  4593:                     STRCPY(reg_tofree, regline);
  4594:                     reginput = reg_tofree
  4596:                     regline = reg_tofree;
ru_col (10 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:573
option.c (7 uses)
  comp_col():
  8882:     ru_col = 0;
  8886:     ru_col = (ru_wid ? ru_wid : COL_RULER) + 1;
  8892:         sc_col = ru_col;
  8901:     ru_col = Columns - ru_col;
  8901:     ru_col = Columns - ru_col;
  8904:     if (ru_col <= 0)
  8905:     ru_col = 1;
screen.c (3 uses)
  win_redr_status():
  5789:     this_ru_col = ru_col - (Columns - W_WIDTH(wp));
  win_redr_custom():
  6025:         col = ru_col - (Columns - W_WIDTH(wp));
  win_redr_ruler():
  9518:     this_ru_col = ru_col - (Columns - width);
saved_spats (10 uses in 1 translation unit) defined static in translation unit search.c, declared in search.c:94
search.c (10 uses)
  save_search_patterns():
  308:     saved_spats[0] = spats[0];
  310:         saved_spats[0].pat = vim_strsave(spats[0].pat);
  311:     saved_spats[1] = spats[1];
  313:         saved_spats[1].pat = vim_strsave(spats[1].pat);
  restore_search_patterns():
  327:     spats[0] = saved_spats[0];
  329:     spats[1] = saved_spats[1];
  set_last_search_pat():
  441:     vim_free(saved_spats[idx].pat);
  442:     saved_spats[idx] = spats[0];
  444:         saved_spats[idx].pat = NULL;
  446:         saved_spats[idx].pat = vim_strsave(spats[idx].pat);
signal_info (10 uses in 1 translation unit) defined static in translation unit os_unix.c, declared in os_unix.c:237
os_unix.c (10 uses)
  deathtrap():
  1011:     for (i = 0; signal_info[i].sig != -1; i++)
  1012:     if (sigarg == signal_info[i].sig)
  1045:                              signal_info[i].name);
  catch_signals():
  1239:     for (i = 0; signal_info[i].sig != -1; i++)
  1240:     if (signal_info[i].deadly)
  1258:         sigaction(signal_info[i].sig, &sa, NULL);
  1274:         signal(signal_info[i].sig, func_other);
  mch_libcall():
  6049:         for (i = 0; signal_info[i].sig != -1; i++)
  6050:         if (lc_signal == signal_info[i].sig)
  6052:         EMSG2("E368: got SIG%s in libcall()", signal_info[i].name);
ta_str (10 uses in 1 translation unit) defined static in translation unit ui.c, declared in ui.c:67
ui.c (10 uses)
  ui_inchar_undo():
  80:     if (ta_str != NULL)
  85:     if (ta_str != NULL)
  87:         mch_memmove(new, ta_str + ta_off, (size_t)(ta_len - ta_off));
  89:         vim_free(ta_str);
  93:     ta_str = new;
  ui_inchar():
  126:     if (ta_str != NULL)
  130:         mch_memmove(buf, ta_str + ta_off, (size_t)ta_len);
  131:         vim_free(ta_str);
  132:         ta_str = NULL;
  135:     mch_memmove(buf, ta_str + ta_off, (size_t)maxlen);
utf8len_tab (10 uses in 1 translation unit) defined static in translation unit mbyte.c, declared in mbyte.c:136
mbyte.c (10 uses)
  mb_init():
  664:         n = utf8len_tab[i];
  utf_ptr2char():
  1389:     len = utf8len_tab[p[0]];
  utf_ptr2len():
  1629:     len = utf8len_tab[*p];
  utf_byte2len():
  1644:     return utf8len_tab[b];
  utf_ptr2len_len():
  1665:     m = len = utf8len_tab[*p];
  utf_head_off():
  2503:     if (utf8len_tab[*q] != (int)(s - q + 1)
  2504:                        && utf8len_tab[*q] != (int)(p - q + 1))
  mb_off_next():
  2577:         if (utf8len_tab[p[-j]] != i + j)
  mb_tail_off():
  2612:     if (utf8len_tab[p[-j]] != i + j + 1)
  string_convert_ext():
  5987:             if (unconvlenp != NULL && utf8len_tab[ptr[i]] > len - i)
verbose_fd (10 uses in 1 translation unit) defined static in translation unit message.c, declared in message.c:3106
message.c (10 uses)
  verbose_stop():
  3115:     if (verbose_fd != NULL)
  3117:     fclose(verbose_fd);
  3118:     verbose_fd = NULL;
  verbose_open():
  3130:     if (verbose_fd == NULL && !verbose_did_open)
  3135:     verbose_fd = mch_fopen((char *)p_vfile, "a");
  3136:     if (verbose_fd == NULL)
  verbose_write():
  3158:     if (verbose_fd == NULL)
  3161:     if (verbose_fd != NULL)
  3168:         fputs(" ", verbose_fd);
  3176:         putc(*s, verbose_fd);
vgetc_busy (10 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:206
eval.c (2 uses)
  f_eventhandler():
  8869:     rettv->vval.v_number = vgetc_busy;
  f_feedkeys():
  9168:         if (vgetc_busy)
ex_cmds2.c (1 use)
  check_changed_any():
  1563:     if (vgetc_busy > 0)
getchar.c (6 uses)
  vgetorpeek():
  1923:     if (vgetc_busy > 0
  1932:     ++vgetc_busy;
  2426:                 int        save_vgetc_busy = vgetc_busy;
  2431:                 vgetc_busy = 0;
  2433:                 vgetc_busy = save_vgetc_busy;
  2808:     --vgetc_busy;
message.c (1 use)
  wait_return():
  882:     if (vgetc_busy > 0)
xt_index_out (10 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:5377
term.c (10 uses)
  req_codes_from_term():
  5382:     xt_index_out = 0;
  req_more_codes_from_term():
  5391:     int        old_idx = xt_index_out;
  5399:     while (xt_index_out < xt_index_in + 10 && key_names[xt_index_out] != NULL)
  5399:     while (xt_index_out < xt_index_in + 10 && key_names[xt_index_out] != NULL)
  5402:               key_names[xt_index_out][0], key_names[xt_index_out][1]);
  5402:               key_names[xt_index_out][0], key_names[xt_index_out][1]);
  5404:     ++xt_index_out;
  5408:     if (xt_index_out != old_idx)
  check_for_codes_from_term():
  5496:     if (xt_index_out == 0 || xt_index_out == xt_index_in)
  5496:     if (xt_index_out == 0 || xt_index_out == xt_index_in)
autocmd_no_enter (9 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:367
buffer.c (4 uses)
  do_arg_all():
  4425:     ++autocmd_no_enter;
  4503:     --autocmd_no_enter;
  ex_buffer_all():
  4606:     ++autocmd_no_enter;
  4711:     --autocmd_no_enter;
fileio.c (1 use)
  apply_autocmds_group():
  8585:     if (       (autocmd_no_enter
main.c (4 uses)
  create_windows():
  2418:     ++autocmd_no_enter;
  2501:     --autocmd_no_enter;
  edit_buffers():
  2525:     ++autocmd_no_enter;
  2602:     --autocmd_no_enter;
behind_pos (9 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3257
regexp.c (9 uses)
  regmatch():
  4911:         if (behind_pos.rs_u.pos.col != (colnr_T)(reginput - regline)
  4912:             || behind_pos.rs_u.pos.lnum != reglnum)
  4915:         else if (behind_pos.rs_u.ptr != reginput)
  5108:         (((regbehind_T *)rp) - 1)->save_behind = behind_pos;
  5109:         behind_pos = rp->rs_un.regsave;
  5122:         if (status == RA_MATCH && reg_save_equal(&behind_pos))
  5125:         behind_pos = (((regbehind_T *)rp) - 1)->save_behind;
  5150:                     < behind_pos.rs_u.pos.lnum
  5188:             behind_pos = (((regbehind_T *)rp) - 1)->save_behind;
breakat_flags (9 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1084
charset.c (5 uses)
  win_lbr_chartabsize():
  1078:         && vim_isbreak(c)
  1079:         && !vim_isbreak(s[1])
  1107:             && (vim_isbreak(c)
  1108:             || (!vim_isbreak(c)
  1109:                 && (col2 == col || !vim_isbreak(*ps))))))
option.c (2 uses)
  fill_breakat_flags():
  10489:     breakat_flags[i] = FALSE;
  10493:         breakat_flags[*p] = TRUE;
screen.c (2 uses)
  win_line():
  4019:         if (wp->w_p_lbr && vim_isbreak(c) && !vim_isbreak(*ptr)
  4019:         if (wp->w_p_lbr && vim_isbreak(c) && !vim_isbreak(*ptr)
cause_abort (9 uses in 1 translation unit) defined static in translation unit ex_eval.c, declared in ex_eval.c:80
ex_eval.c (9 uses)
  update_force_abort():
  108:     if (cause_abort)
  cause_errthrow():
  177:     cause_abort = force_abort;
  189:     if (((trylevel == 0 && !cause_abort) || emsg_silent) && !did_throw)
  209:     cause_abort = TRUE;
  do_errthrow():
  335:     if (cause_abort)
  337:     cause_abort = FALSE;
  enter_cleanup():
  1975:         force_abort |= cause_abort;
  1976:         cause_abort = FALSE;
  leave_cleanup():
  2058:         cause_abort = force_abort;
cmdline_star (9 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:100
digraph.c (1 use)
  get_digraph():
  2097:             && cmdline_star == 0
eval.c (2 uses)
  f_inputsecret():
  11836:     ++cmdline_star;
  11839:     --cmdline_star;
ex_getln.c (3 uses)
  cmdline_charsize():
  2012:     if (cmdline_star > 0)        /* showing '*', always 1 position */
  draw_cmdline():
  2537:     if (cmdline_star > 0)
  ex_window():
  5974:         || cmdline_star > 0
getchar.c (1 use)
  vgetorpeek():
  2710:                 && cmdline_star == 0
misc2.c (2 uses)
  get_crypt_key():
  3672:     cmdline_star = TRUE;
  3678:     cmdline_star = FALSE;
compl_shows_dir (9 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:120
edit.c (9 uses)
  ins_compl_next():
  4309:     if (compl_shows_dir == BACKWARD
  4343:     if (compl_shows_dir == FORWARD && compl_shown_match->cp_next != NULL)
  4350:     else if (compl_shows_dir == BACKWARD
  4363:             if (compl_shows_dir == BACKWARD)
  4373:         if (compl_shows_dir == BACKWARD)
  4383:         while (compl_pending != 0 && compl_direction == compl_shows_dir
  ins_compl_check_keys():
  4515:         compl_shows_dir = ins_compl_key2dir(c);
  ins_complete():
  5007:     compl_shows_dir = compl_direction;
  5020:     compl_direction = compl_shows_dir;
confirm_msg (9 uses in 1 translation unit) defined static in translation unit message.c, declared in message.c:42
message.c (9 uses)
  msg_show_console_dialog():
  3552:         vim_free(confirm_msg);
  3553:         confirm_msg = alloc(len);
  3554:         if (confirm_msg == NULL)
  3556:         *confirm_msg = NUL;
  3561:         *confirm_msg = '\n';
  3562:         STRCPY(confirm_msg + 1, message);
  3564:         msgp = confirm_msg + 1 + STRLEN(message);
  display_confirm_msg():
  3590:     if (confirm_msg != NULL)
  3591:     msg_puts_attr(confirm_msg, hl_attr(HLF_M));
current_next_flags (9 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:362
syntax.c (9 uses)
  store_current_state():
  1465:     sp->sst_next_flags = current_next_flags;
  load_current_state():
  1513:     current_next_flags = from->sst_next_flags;
  syn_current_attr():
  2156:             current_next_flags = lspp->sp_flags;
  2190:         if (((current_next_flags & HL_SKIPWHITE)
  2192:             || ((current_next_flags & HL_SKIPEMPTY)
  2325:         && !(current_next_flags & (HL_SKIPNL | HL_SKIPEMPTY)))
  check_state_ends():
  2485:         current_next_flags = cur_si->si_flags;
  2486:         if (!(current_next_flags & (HL_SKIPNL | HL_SKIPEMPTY))
  2525:             if ((current_next_flags & HL_HAS_EOL)
did_check_timestamps (9 uses in 7 translation units) defined in translation unit main.c, declared in ./globals.h:344
edit.c (1 use)
  edit():
  606:         did_check_timestamps = FALSE;
ex_cmds.c (2 uses)
  do_filter():
  1208:     did_check_timestamps = FALSE;
  do_shell():
  1419:     did_check_timestamps = FALSE;
fileio.c (2 uses)
  check_timestamps():
  6247:     if (focus && did_check_timestamps)
  6262:     did_check_timestamps = TRUE;
main.c (1 use)
  main_loop():
  1002:         did_check_timestamps = FALSE;
memline.c (1 use)
  ml_sync_all():
  1920:         did_check_timestamps = FALSE;
message.c (1 use)
  do_browse():
  3781:     did_check_timestamps = FALSE;
os_unix.c (1 use)
  mch_suspend():
  1130:     did_check_timestamps = FALSE;
dy_flags (9 uses in 4 translation units) defined in translation unit main.c, declared in ./option.h:417
charset.c (4 uses)
  buf_init_chartab():
  86:         chartab[c++] = (dy_flags & DY_UHEX) ? 4 : 2;
  115:         chartab[c++] = (dy_flags & DY_UHEX) ? 4 : 2;
  247:                          + ((dy_flags & DY_UHEX) ? 4 : 2);
  transchar_nonprint():
  592:     if (dy_flags & DY_UHEX)        /* 'display' has "uhex" */
digraph.c (1 use)
  printdigraph():
  2343:     if ((dy_flags & DY_UHEX)
option.c (2 uses)
  didset_options():
  5040:     (void)opt_strings_flags(p_dy, p_dy_values, &dy_flags, TRUE);
  did_set_string_option():
  6247:     if (opt_strings_flags(p_dy, p_dy_values, &dy_flags, TRUE) != OK)
screen.c (2 uses)
  win_update():
  1739:             && !(dy_flags & DY_LASTLINE)
  1860:     else if (dy_flags & DY_LASTLINE)    /* 'display' has "lastline" */
echo_attr (9 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:145
eval.c (9 uses)
  get_user_input():
  11635:         msg_puts_attr(prompt, echo_attr);
  11670:         getcmdline_prompt(inputsecret_flag ? NUL : '@', p, echo_attr,
  ex_echo():
  18586:         msg_puts_attr((char_u *)" ", echo_attr);
  18599:             msg_putchar_attr(*p, echo_attr);
  18608:                 (void)msg_outtrans_len_attr(p, i, echo_attr);
  18613:                 (void)msg_outtrans_len_attr(p, 1, echo_attr);
  ex_echohl():
  18646:     echo_attr = 0;
  18648:     echo_attr = syn_id2attr(id);
  ex_execute():
  18714:         MSG_ATTR(ga.ga_data, echo_attr);
enc_unicode (9 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:767
fileio.c (1 use)
  readfile():
  1006:     if (converted || enc_unicode != 0)
mbyte.c (8 uses)
  mb_init():
  537:     enc_unicode = 0;
  560:         enc_unicode = 2;
  562:         enc_unicode = 4;
  564:         enc_unicode = 0;
  574:         enc_unicode = 0;
  588:     enc_unicode = 0;
  bomb_size():
  795:         if (enc_unicode != 0)
  796:             n = enc_unicode;
event_names (9 uses in 1 translation unit) defined static in translation unit fileio.c, declared in fileio.c:7102
fileio.c (9 uses)
  event_name2nr():
  7578:     for (i = 0; event_names[i].name != NULL; ++i)
  7580:     len = (int)STRLEN(event_names[i].name);
  7581:     if (len == p - start && STRNICMP(event_names[i].name, start, len) == 0)
  7587:     if (event_names[i].name == NULL)
  7589:     return event_names[i].event;
  event_nr2name():
  7601:     for (i = 0; event_names[i].name != NULL; ++i)
  7602:     if (event_names[i].event == event)
  7603:         return (char_u *)event_names[i].name;
  get_event_name():
  9158:     return (char_u *)event_names[idx - augroups.ga_len].name;
first_abbr (9 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:77
getchar.c (9 uses)
  do_map():
  3113:     abbr_table = &first_abbr;
  3330:         mp = first_abbr;
  map_clear_int():
  3746:         mpp = &first_abbr;
  map_to_exists_mode():
  3959:             mp = first_abbr;
  ExpandMappings():
  4130:         mp = first_abbr;
  check_abbr():
  4308:     mp2 = first_abbr;
  makemap():
  4552:             mp = first_abbr;
  check_map_keycodes():
  4857:             mp = first_abbr;
  check_map():
  4943:             mp = first_abbr;
gTSMDocument (9 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:71
gui_mac.c (9 uses)
  gui_mch_init():
  3152:     NewTSMDocument(1, supportedServices, &gTSMDocument, 0);
  3155:     UseInputWindow(gTSMDocument, TRUE);
  gui_mch_exit():
  3279:     FixTSMDocument(gTSMDocument);
  3280:     DeactivateTSMDocument(gTSMDocument);
  3281:     DeleteTSMDocument(gTSMDocument);
  im_on_window_switch():
  6404:     ActivateTSMDocument(gTSMDocument);
  6429:     DeactivateTSMDocument(gTSMDocument);
  im_set_active():
  6457:     ActivateTSMDocument(gTSMDocument);
  6488:     DeactivateTSMDocument(gTSMDocument);
gUTF16ToUTF8Converter (9 uses in 1 translation unit) defined static in translation unit os_mac_conv.c, declared in os_mac_conv.c:33
os_mac_conv.c (9 uses)
  mac_conv_init():
  289:     if (TECCreateConverter(&gUTF16ToUTF8Converter, utf16_encoding,
  294:     if (TECCreateConverter(&gUTF16ToUTF8Converter, utf16_encoding,
  296:         gUTF16ToUTF8Converter = NULL;
  mac_conv_cleanup():
  306:     if (gUTF16ToUTF8Converter)
  308:     TECDisposeConverter(gUTF16ToUTF8Converter);
  309:     gUTF16ToUTF8Converter = NULL;
  mac_utf16_to_utf8():
  497:     if (gUTF16ToUTF8Converter)
  500:     if (result && TECConvertText(gUTF16ToUTF8Converter, (ConstTextPtr)from,
  504:         TECFlushText(gUTF16ToUTF8Converter, result, (fromLen*6+1)*sizeof(char_u), &inputRead);
ins_at_eol (9 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:890
edit.c (7 uses)
  edit():
  504:     if (((ins_at_eol && curwin->w_cursor.lnum == o_lnum)
  519:     ins_at_eol = FALSE;
  812:             ins_at_eol = FALSE;    /* cursor keeps its column */
  922:         if (ins_at_eol && gchar_cursor() == NUL)
  957:         ins_at_eol = FALSE;
  ins_ctrl_o():
  8144:     ins_at_eol = FALSE;    /* cursor always keeps its column */
  8147:     ins_at_eol = (gchar_cursor() == NUL);
normal.c (2 uses)
  nv_home():
  8292:     ins_at_eol = FALSE;        /* Don't move cursor past eol (only necessary in a
  nv_beginline():
  8476:     ins_at_eol = FALSE;        /* Don't move cursor past eol (only necessary in a
key_names_table (9 uses in 1 translation unit) defined static in translation unit misc2.c, declared in misc2.c:2119
misc2.c (9 uses)
  get_special_key_name():
  2499:     STRCPY(string + idx, key_names_table[table_idx].name);
  find_special_key_in_table():
  2735:     for (i = 0; key_names_table[i].name != NULL; i++)
  2736:     if (c == key_names_table[i].key)
  2738:     if (key_names_table[i].name == NULL)
  get_special_key_code():
  2770:     for (i = 0; key_names_table[i].name != NULL; i++)
  2772:         table_name = key_names_table[i].name;
  2777:         return key_names_table[i].key;
  get_key_name():
  2787:     if (i >= KEY_NAMES_TABLE_LEN)
  2789:     return  key_names_table[i].name;
mb_char2cells (9 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:806
mbyte.c (3 uses)
  mb_init():
  612:     mb_char2cells = utf_char2cells;
  623:     mb_char2cells = dbcs_char2cells;
  634:     mb_char2cells = latin_char2cells;
ops.c (1 use)
  op_replace():
  2040:         if ((*mb_char2cells)(c) > 1)
option.c (2 uses)
  set_chars_option():
  6821:             if (mb_char2cells(c1) > 1)
  6832:             if (mb_char2cells(c2) > 1)
screen.c (3 uses)
  win_line():
  3632:                 && (*mb_char2cells)(mb_c) == 2)
  3816:             && (*mb_char2cells)(mb_c) == 2)
  4613:         if (has_mbyte && (*mb_char2cells)(mb_c) > 1)
need_start_insertmode (9 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:1013
edit.c (2 uses)
  edit():
  525:     need_start_insertmode = FALSE;
  983:         need_start_insertmode = TRUE;
ex_cmds.c (1 use)
  do_ecmd():
  3789:     need_start_insertmode = TRUE;
ex_docmd.c (1 use)
  handle_drop():
  6780:     need_start_insertmode = FALSE;
main.c (3 uses)
  main():
  890:     need_start_insertmode = TRUE;
  main_loop():
  1007:         if (need_start_insertmode && goto_im()
  1013:         need_start_insertmode = FALSE;
option.c (2 uses)
  set_bool_option():
  7201:         need_start_insertmode = TRUE;
  7206:         need_start_insertmode = FALSE;
next_match_col (9 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:330
syntax.c (9 uses)
  syn_current_attr():
  1828:     if (next_match_idx >= 0 && next_match_col >= (int)current_col
  1829:                           && next_match_col != MAXCOL)
  1962:         if (next_match_idx < 0 || next_match_col < (int)current_col)
  1971:             next_match_col = MAXCOL;
  1992:                     && spp->sp_startcol >= next_match_col)
  2032:                 if (startcol >= next_match_col)
  2126:                 next_match_col = startcol;
  2144:         if (next_match_idx >= 0 && next_match_col == (int)current_col)
  check_state_ends():
  2477:         next_match_col = MAXCOL;
p_srr (9 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:702
diff.c (2 uses)
  diff_file():
  824:                 + STRLEN(tmp_diff) + STRLEN(p_srr) + 27));
  844:         append_redir(cmd, p_srr, tmp_diff);
ex_cmds.c (3 uses)
  do_filter():
  1178:     if (!do_out || STRCMP(p_srr, ">") == 0 || !do_in)
  make_filter_cmd():
  1531:     len += (long_u)STRLEN(otmp) + (long_u)STRLEN(p_srr) + 2; /* "  " */
  1591:     append_redir(buf, p_srr, otmp);
option.c (4 uses)
  set_init_3():
  3719:         p_srr = (char_u *)">&";
  3720:         options[idx_srr].def_val[VI_DEFAULT] = p_srr;
  3755:             p_srr = (char_u *)">%s 2>&1";
  3756:             options[idx_srr].def_val[VI_DEFAULT] = p_srr;
prevwin (9 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:520
eval.c (1 use)
  get_winnr():
  16135:         twin = (tp == curtab) ? prevwin : tp->tp_prevwin;
quickfix.c (1 use)
  ex_copen():
  2350:         prevwin = win;
window.c (7 uses)
  do_window():
  376:         if (prevwin == NULL)
  379:             win_goto(prevwin);
  leave_tabpage():
  3516:     tp->tp_prevwin = prevwin;
  enter_tabpage():
  3548:     prevwin = next_prevwin;
  win_enter_ext():
  3999:     prevwin = curwin;    /* remember for CTRL-W p */
  win_free():
  4265:     if (prevwin == wp)
  4266:     prevwin = NULL;
prt_char_width (9 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1403
hardcopy.c (9 uses)
  prt_font_metrics():
  2324:     prt_char_width = (float)PRT_PS_FONT_TO_USER(font_scale, prt_ps_font->wx);
  prt_get_cpl():
  2333:     prt_number_width = PRINT_NUMBER_WIDTH * prt_char_width;
  2346:     return (int)((prt_right_margin - prt_left_margin) / prt_char_width);
  mch_print_begin():
  2904:     bbox[2] = (int)(left + psettings->chars_per_line * prt_char_width
  2917:     bbox[3] = (int)(bottom + psettings->chars_per_line * prt_char_width
  mch_print_text_out():
  3398:     char_width = prt_char_width;
  3439:         prt_pos_x += prt_char_width/4;
  3447:         prt_pos_x += prt_char_width/4;
  3596:     next_pos = prt_pos_x + prt_char_width;
prt_file_error (9 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1388
hardcopy.c (9 uses)
  prt_write_file_raw_len():
  1466:     if (!prt_file_error
  1471:     prt_file_error = TRUE;
  mch_print_cleanup():
  2253:     prt_file_error = FALSE;
  mch_print_init():
  2794:     prt_file_error = FALSE;
  prt_add_resource():
  2832:     if (prt_file_error)
  mch_print_begin():
  3258:     return !prt_file_error;
  mch_print_end():
  3278:     if (!prt_file_error && psettings->outfile == NULL
  mch_print_end_page():
  3308:     return !prt_file_error;
  mch_print_begin_page():
  3351:     return !prt_file_error;
pum_row (9 uses in 1 translation unit) defined static in translation unit popupmnu.c, declared in popupmnu.c:28
popupmnu.c (9 uses)
  pum_display():
  108:         pum_row = row - size;
  113:         pum_row = 0;
  118:         pum_row += pum_height - p_ph;
  125:     pum_row = row + height;
  126:     if (size > above_row - pum_row)
  127:         pum_height = above_row - pum_row;
  140:         && pum_row < firstwin->w_height
  143:     pum_row += firstwin->w_height;
  pum_redraw():
  255:     int        row = pum_row;
re_extmatch_out (9 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1001
regexp.c (5 uses)
  regtry():
  3686:     unref_extmatch(re_extmatch_out);
  3687:     re_extmatch_out = NULL;
  3694:     re_extmatch_out = make_extmatch();
  3702:             re_extmatch_out->matches[i] =
  3710:             re_extmatch_out->matches[i] =
syntax.c (4 uses)
  syn_current_attr():
  2063:                 cur_extmatch = re_extmatch_out;
  2064:                 re_extmatch_out = NULL;
  2332:     unref_extmatch(re_extmatch_out);
  2333:     re_extmatch_out = NULL;
regsize (9 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:585
regexp.c (9 uses)
  vim_regcomp():
  1021:     r = (regprog_T *)lalloc(sizeof(regprog_T) + regsize, TRUE);
  regcomp_start():
  1143:     regsize = 0L;
  regatom():
  1968:                       regsize += 2;
  1985:                       regsize += 5;
  regnode():
  2393:     regsize += 3;
  regc():
  2411:     regsize++;
  regmbc():
  2425:     regsize += (*mb_char2len)(c);
  reginsert():
  2447:     regsize += 3;
  reginsert_limits():
  2481:     regsize += 11;
resel_VIsual_col (9 uses in 1 translation unit) defined static in translation unit normal.c, declared in normal.c:23
normal.c (9 uses)
  do_pending_operator():
  1656:             resel_VIsual_col = MAXCOL;
  1658:             resel_VIsual_col = oap->end_vcol - oap->start_vcol + 1;
  1660:             resel_VIsual_col = oap->end.col;
  1662:             resel_VIsual_col = oap->end.col - oap->start.col + 1;
  1690:             redo_VIsual_col = resel_VIsual_col;
  nv_visual():
  7397:             curwin->w_cursor.col += resel_VIsual_col * cap->count0 - 1;
  7399:             curwin->w_cursor.col = resel_VIsual_col;
  7402:         if (resel_VIsual_col == MAXCOL)
  7411:                      + resel_VIsual_col * cap->count0 - 1;
special_keys (9 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:241
gui_mac.c (9 uses)
  gui_mac_unicode_key_event():
  2163:     for (i = 0; special_keys[i].key_sym != (KeySym)0; ++i)
  2164:         if (special_keys[i].key_sym == key_sym)
  2166:         key_char = TO_SPECIAL(special_keys[i].vim_code0,
  2166:         key_char = TO_SPECIAL(special_keys[i].vim_code0,
  2166:         key_char = TO_SPECIAL(special_keys[i].vim_code0,
  2166:         key_char = TO_SPECIAL(special_keys[i].vim_code0,
  gui_mch_haskey():
  4263:     for (i = 0; special_keys[i].key_sym != (KeySym)0; i++)
  4264:     if (name[0] == special_keys[i].vim_code0 &&
  4265:                      name[1] == special_keys[i].vim_code1)
ta_off (9 uses in 1 translation unit) defined static in translation unit ui.c, declared in ui.c:68
ui.c (9 uses)
  ui_inchar_undo():
  81:     newlen += ta_len - ta_off;
  87:         mch_memmove(new, ta_str + ta_off, (size_t)(ta_len - ta_off));
  87:         mch_memmove(new, ta_str + ta_off, (size_t)(ta_len - ta_off));
  88:         mch_memmove(new + ta_len - ta_off, s, (size_t)len);
  95:     ta_off = 0;
  ui_inchar():
  128:     if (maxlen >= ta_len - ta_off)
  130:         mch_memmove(buf, ta_str + ta_off, (size_t)ta_len);
  135:     mch_memmove(buf, ta_str + ta_off, (size_t)maxlen);
  136:     ta_off += maxlen;
tag_fnames (9 uses in 1 translation unit) defined static in translation unit tag.c, declared in tag.c:2525
tag.c (9 uses)
  found_tagfile_cb():
  2538:     if (ga_grow(&tag_fnames, 1) == OK)
  2539:     ((char_u **)(tag_fnames.ga_data))[tag_fnames.ga_len++] =
  2539:     ((char_u **)(tag_fnames.ga_data))[tag_fnames.ga_len++] =
  get_tagfname():
  2579:         ga_clear_strings(&tag_fnames);
  2580:         ga_init2(&tag_fnames, (int)sizeof(char_u *), 10);
  2598:     if (tnp->tn_hf_idx >= tag_fnames.ga_len)
  2602:         if (tnp->tn_hf_idx > tag_fnames.ga_len || *p_hf == NUL)
  2609:         vim_strncpy(buf, ((char_u **)(tag_fnames.ga_data))[
  tagname_free():
  2695:     ga_clear_strings(&tag_fnames);
term_attr_table (9 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:7807
syntax.c (9 uses)
  get_attr_entry():
  7864:                (table == &term_attr_table
  7930:     if (table == &term_attr_table)
  clear_hl_tables():
  7962:     for (i = 0; i < term_attr_table.ga_len; ++i)
  7964:     taep = &(((attrentry_T *)term_attr_table.ga_data)[i]);
  7968:     ga_clear(&term_attr_table);
  hl_combine_attr():
  8094:     return get_attr_entry(&term_attr_table, &new_en);
  syn_term_attr2entry():
  8142:     if (attr >= term_attr_table.ga_len)        /* did ":syntax clear" */
  8144:     return &(TERM_ATTR_ENTRY(attr));
  set_hl_attr():
  8501:     sgp->sg_term_attr = get_attr_entry(&term_attr_table, &at_en);
varnamebuf (9 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:3623
eval.c (9 uses)
  cat_prefix_varname():
  3639:     vim_free(varnamebuf);
  3641:     varnamebuf = alloc(len);
  3642:     if (varnamebuf == NULL)
  3649:     *varnamebuf = prefix;
  3650:     varnamebuf[1] = ':';
  3651:     STRCPY(varnamebuf + 2, name);
  3652:     return varnamebuf;
  get_user_var_name():
  3747:     vim_free(varnamebuf);
  3748:     varnamebuf = NULL;
vimvardict (9 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:361
eval.c (9 uses)
  eval_init():
  769:     init_var_dict(&vimvardict, &vimvars_var);
  786:         hash_add(&vimvarht, p->vv_di.di_key);
  prepare_vimvar():
  1311:     hash_add(&vimvarht, vimvars[idx].vv_di.di_key);
  restore_vimvar():
  1328:     hi = hash_find(&vimvarht, vimvars[idx].vv_di.di_key);
  1332:         hash_remove(&vimvarht, hi);
  list_vim_vars():
  2020:     list_hashtable_vars(&vimvarht, (char_u *)"v:", FALSE, first);
  find_var_ht():
  18025:     return &vimvarht;
  set_var():
  18292:     if (ht == &vimvarht)
  18318:     if (ht == &vimvarht)
write_no_eol_lnum (9 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1032
fileio.c (6 uses)
  readfile():
  302:     write_no_eol_lnum = 0;    /* in case it was set by the previous read */
  2489:     write_no_eol_lnum = read_no_eol_lnum;
  buf_write():
  4247:             && (lnum == write_no_eol_lnum
  4739:     write_no_eol_lnum = 0;    /* in case it was set by the previous read */
  write_lnum_adjust():
  6771:     if (write_no_eol_lnum != 0)        /* only if there is a missing eol */
  6772:     write_no_eol_lnum += offset;
os_unix.c (3 uses)
  mch_call_shell():
  4105:                     || (lnum != write_no_eol_lnum
  4416:             write_no_eol_lnum = curwin->w_cursor.lnum;
  4419:             write_no_eol_lnum = 0;
arg_had_last (8 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:570
buffer.c (1 use)
  do_arg_all():
  4440:         arg_had_last = TRUE;
ex_cmds2.c (4 uses)
  check_arg_idx():
  1917:         && arg_had_last == FALSE
  1927:         arg_had_last = TRUE;
  1939:         arg_had_last = TRUE;
  do_argfile():
  2133:         arg_had_last = TRUE;
ex_docmd.c (2 uses)
  check_more():
  5006:         && ARGCOUNT > 1 && !arg_had_last && n >= 0 && quitmore == 0)
  alist_set():
  6937:     arg_had_last = FALSE;
main.c (1 use)
  edit_buffers():
  2588:         arg_had_last = TRUE;
autocmd_bufnr (8 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1022
ex_docmd.c (2 uses)
  eval_vars():
  9532:         if (autocmd_bufnr <= 0)
  9537:         sprintf((char *)strbuf, "%d", autocmd_bufnr);
fileio.c (6 uses)
  do_autocmd_event():
  7996:             buflocal_nr = autocmd_bufnr;
  apply_autocmds_group():
  8595:     save_autocmd_bufnr = autocmd_bufnr;
  8625:     autocmd_bufnr = 0;
  8627:     autocmd_bufnr = buf->b_fnum;
  8752:     patcmd.arg_bufnr = autocmd_bufnr;
  8804:     autocmd_bufnr = save_autocmd_bufnr;
cls_bigword (8 uses in 1 translation unit) defined static in translation unit search.c, declared in search.c:2764
search.c (8 uses)
  cls():
  2789:     if (enc_dbcs == DBCS_KOR && cls_bigword)
  2798:     if (c != 0 && cls_bigword)
  2805:     if (cls_bigword)
  fwd_word():
  2833:     cls_bigword = bigword;
  bck_word():
  2903:     cls_bigword = bigword;
  end_word():
  2972:     cls_bigword = bigword;
  bckend_word():
  3042:     cls_bigword = bigword;
  current_word():
  3165:     cls_bigword = bigword;
cmdmods (8 uses in 1 translation unit) defined static in translation unit ex_docmd.c, declared in ex_docmd.c:2973
ex_docmd.c (8 uses)
  modifier_len():
  3007:     for (i = 0; i < sizeof(cmdmods) / sizeof(struct cmdmod); ++i)
  3010:         if (p[j] != cmdmods[i].name[j])
  3012:     if (!isalpha(p[j]) && j >= cmdmods[i].minlen
  3013:                     && (p == cmd || cmdmods[i].has_count))
  cmd_exists():
  3035:     for (i = 0; i < sizeof(cmdmods) / sizeof(struct cmdmod); ++i)
  3038:         if (name[j] != cmdmods[i].name[j])
  3040:     if (name[j] == NUL && j >= cmdmods[i].minlen)
  3041:         return (cmdmods[i].name[j] == NUL ? 2 : 1);
compl_cont_mode (8 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:127
edit.c (8 uses)
  ins_compl_restart():
  3311:     compl_cont_mode = 0;
  ins_compl_prep():
  3489:         else if (compl_cont_mode != 0)
  3505:             if (compl_cont_mode != 0)
  3508:             compl_cont_mode = CTRL_X_NOT_DEFINED_YET;
  3586:         if (compl_cont_mode == CTRL_X_WHOLE_LINE)
  3660:     compl_cont_mode = 0;
  ins_complete():
  4655:                         && compl_cont_mode == ctrl_x_mode)
  4713:         compl_cont_mode = ctrl_x_mode;
cterm_normal_bg_color (8 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:363
screen.c (4 uses)
  screen_stop_highlight():
  6851:         if (cterm_normal_bg_color != 0)
  6852:             term_bg_color(cterm_normal_bg_color - 1);
  reset_cterm_colors():
  6871:     if (cterm_normal_fg_color > 0 || cterm_normal_bg_color > 0)
  can_clear():
  7769:         || cterm_normal_bg_color == 0 || *T_UT != NUL));
syntax.c (4 uses)
  do_highlight():
  6993:         if (cterm_normal_bg_color > 0)
  6994:             color = cterm_normal_bg_color - 1;
  7141:             cterm_normal_bg_color = color + 1;
  restore_cterm_colors():
  7436:     cterm_normal_bg_color = 0;
did_cursorhold (8 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1024
edit.c (4 uses)
  edit():
  716:     did_cursorhold = TRUE;
  931:         did_cursorhold = FALSE;
  1119:         did_cursorhold = TRUE;
  1406:         did_cursorhold = FALSE;
fileio.c (1 use)
  trigger_cursorhold():
  8467:     if (!did_cursorhold && has_cursorhold() && !Recording
normal.c (3 uses)
  normal_cmd():
  906:     did_cursorhold = TRUE;
  1106:     did_cursorhold = FALSE;
  nv_cursorhold():
  9200:     did_cursorhold = TRUE;
did_filetype (8 uses in 6 translation units) defined in translation unit main.c, declared in ./globals.h:370
buffer.c (1 use)
  enter_buffer():
  1408:         did_filetype = FALSE;
eval.c (1 use)
  f_did_filetype():
  8704:     rettv->vval.v_number = did_filetype;
ex_cmds.c (1 use)
  do_ecmd():
  3517:     did_filetype = FALSE;
ex_docmd.c (1 use)
  ex_setfiletype():
  10827:     if (!did_filetype)
fileio.c (3 uses)
  apply_autocmds_group():
  8728:     did_filetype = keep_filetype;
  8740:     did_filetype = TRUE;
  8826:     did_filetype = FALSE;
option.c (1 use)
  did_set_string_option():
  6695:         did_filetype = TRUE;
dumuf (8 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:206
eval.c (8 uses)
  ex_function():
  18823:             fp = HI2UF(hi);
  18823:             fp = HI2UF(hi);
  18857:             fp = HI2UF(hi);
  18857:             fp = HI2UF(hi);
  find_func():
  19689:     return HI2UF(hi);
  19689:     return HI2UF(hi);
  get_user_func_name():
  20030:     fp = HI2UF(hi);
  20030:     fp = HI2UF(hi);
dumwc (8 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:589
spell.c (8 uses)
  slang_clear():
  2532:     hash_clear_all(&lp->sl_wordcount, WC_KEY_OFF);
  2532:     hash_clear_all(&lp->sl_wordcount, WC_KEY_OFF);
  count_common_word():
  3353:     wc = HI2WC(hi);
  3353:     wc = HI2WC(hi);
  score_wordcount_adj():
  3377:     wc = HI2WC(hi);
  3377:     wc = HI2WC(hi);
  dump_word():
  15726:                              tw, HI2WC(hi)->wc_count);
  15726:                              tw, HI2WC(hi)->wc_count);
e_argreq (8 uses in 6 translation units) defined in translation unit main.c, declared in ./globals.h:1352
ex_cmds.c (1 use)
  do_write():
  2552:         EMSG(_(e_argreq));
ex_cmds2.c (2 uses)
  ex_argdelete():
  2262:     EMSG(_(e_argreq));
  cmd_source():
  2728:     EMSG(_(e_argreq));
ex_docmd.c (2 uses)
  do_one_cmd():
  2468:     errormsg = (char_u *)_(e_argreq);
  ex_mark():
  8874:     EMSG(_(e_argreq));
ex_eval.c (1 use)
  ex_throw():
  1287:     EMSG(_(e_argreq));
fileio.c (1 use)
  do_augroup():
  7522:         EMSG(_(e_argreq));
mark.c (1 use)
  ex_delmarks():
  818:     EMSG(_(e_argreq));
e_internal (8 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:1378
edit.c (1 use)
  vim_is_ctrl_x_key():
  2065:     EMSG(_(e_internal));
ex_docmd.c (1 use)
  do_cmdline():
  1373:             p = vim_strsave((char_u *)_(e_internal));
ex_eval.c (4 uses)
  discard_exception():
  569:     EMSG(_(e_internal));
  finish_exception():
  676:     EMSG(_(e_internal));
  ex_catch():
  1591:         EMSG(_(e_internal));
  ex_finally():
  1726:             EMSG(_(e_internal));
regexp.c (2 uses)
  regatom():
  1703:     EMSG_RET_NULL(_(e_internal));    /* Supposed to be caught earlier. */
  regmatch():
  4706:             EMSG(_(e_internal));        /* Shouldn't happen */
e_listreq (8 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:100
eval.c (8 uses)
  ex_let_vars():
  1804:     EMSG(_(e_listreq));
  eval_for_line():
  2973:         EMSG(_(e_listreq));
  f_add():
  7734:     EMSG(_(e_listreq));
  f_call():
  8183:     EMSG(_(e_listreq));
  f_index():
  11556:     EMSG(_(e_listreq));
  f_join():
  12066:     EMSG(_(e_listreq));
  set_qf_ll_list():
  14703:     EMSG(_(e_listreq));
  f_setmatches():
  14757:     EMSG(_(e_listreq));
edit_submode_pre (8 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:894
edit.c (4 uses)
  ins_ctrl_x():
  1972:     edit_submode_pre = NULL;
  ins_compl_prep():
  3427:         edit_submode_pre = NULL;
  ins_complete():
  4952:         edit_submode_pre = (char_u *)_(" Adding");
  4973:         edit_submode_pre = NULL;
screen.c (4 uses)
  showmode():
  8884:             if (edit_submode_pre != NULL)
  8885:             length -= vim_strsize(edit_submode_pre);
  8888:             if (edit_submode_pre != NULL)
  8889:                 msg_puts_attr(edit_submode_pre, attr);
expr_line (8 uses in 1 translation unit) defined static in translation unit ops.c, declared in ops.c:734
ops.c (8 uses)
  set_expr_line():
  763:     vim_free(expr_line);
  764:     expr_line = new_line;
  get_expr_line():
  778:     if (expr_line == NULL)
  783:     expr_copy = vim_strsave(expr_line);
  get_expr_line_src():
  805:     if (expr_line == NULL)
  807:     return vim_strsave(expr_line);
  ex_display():
  4062:     if (expr_line != NULL && (arg == NULL || vim_strchr(arg, '=') != NULL)
  4066:     dis_msg(expr_line, FALSE);
foldendmarker (8 uses in 1 translation unit) defined static in translation unit fold.c, declared in fold.c:93
fold.c (8 uses)
  foldCreateMarkers():
  1785:     foldAddMarker(end, foldendmarker, foldendmarkerlen);
  deleteFoldMarkers():
  1849:                          foldendmarker, foldendmarkerlen);
  foldtext_cleanup():
  2043:     else if (STRNCMP(s, foldendmarker, foldendmarkerlen) == 0)
  parseMarker():
  3119:     foldendmarker = vim_strchr(wp->w_p_fmr, ',');
  3120:     foldstartmarkerlen = (int)(foldendmarker++ - wp->w_p_fmr);
  3121:     foldendmarkerlen = (int)STRLEN(foldendmarker);
  foldlevelMarker():
  3149:     cend = *foldendmarker;
  3184:           && STRNCMP(s + 1, foldendmarker + 1, foldendmarkerlen - 1) == 0)
functions (8 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:7055
eval.c (8 uses)
  get_function_name():
  7310:     if (++intidx < (int)(sizeof(functions) / sizeof(struct fst)))
  7312:     STRCPY(IObuff, functions[intidx].f_name);
  7314:     if (functions[intidx].f_max_argc == 0)
  find_internal_func():
  7357:     int        last = (int)(sizeof(functions) / sizeof(struct fst)) - 1;
  7367:     cmp = STRCMP(name, functions[x].f_name);
  call_func():
  7629:         if (argcount < functions[i].f_min_argc)
  7631:         else if (argcount > functions[i].f_max_argc)
  7636:             functions[i].f_func(argvars, rettv);
ga_userinput (8 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:11782
eval.c (8 uses)
  f_inputrestore():
  11793:     if (ga_userinput.ga_len > 0)
  11795:     --ga_userinput.ga_len;
  11796:     restore_typeahead((tasave_T *)(ga_userinput.ga_data)
  11797:                                + ga_userinput.ga_len);
  f_inputsave():
  11817:     if (ga_grow(&ga_userinput, 1) == OK)
  11819:     save_typeahead((tasave_T *)(ga_userinput.ga_data)
  11820:                                + ga_userinput.ga_len);
  11821:     ++ga_userinput.ga_len;
ins_need_undo (8 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:273
edit.c (8 uses)
  edit():
  528:     ins_need_undo = TRUE;
  insertchar():
  5499:         ins_need_undo = TRUE;
  stop_arrow():
  6266:         ins_need_undo = FALSE;
  6282:     else if (ins_need_undo)
  6285:         ins_need_undo = FALSE;
  6293:     return (arrow_used || ins_need_undo ? FAIL : OK);
  stop_insert():
  6334:     if (!ins_need_undo && has_format_option(FO_AUTO))
  ins_ctrl_g():
  7768:           ins_need_undo = TRUE;
intr_char (8 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:195
edit.c (1 use)
  edit():
  1353:         if (c == intr_char)        /* special interrupt char */
ex_cmds.c (1 use)
  do_sub():
  4717:                 || i == intr_char
ex_getln.c (3 uses)
  getcmdline():
  382:         || c == intr_char
  1637:         if (c == intr_char)
  cmdline_paste_str():
  3042:             || c == intr_char
misc1.c (1 use)
  get_keystroke():
  3157:     if (n == intr_char)
os_unix.c (2 uses)
  get_stty():
  3174:     intr_char = keys.c_cc[VINTR];
  mch_call_shell():
  4182:                            || ta_buf[ta_len] == intr_char)
last_cmdline (8 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1015
ex_docmd.c (2 uses)
  do_cmdline():
  1125:         vim_free(last_cmdline);
  1126:         last_cmdline = new_last_cmdline;
ops.c (6 uses)
  do_execreg():
  1170:     if (last_cmdline == NULL)
  1178:     p = vim_strsave_escaped_ext(last_cmdline,
  get_spec_reg():
  1458:         if (last_cmdline == NULL && errmsg)
  1460:         *argp = last_cmdline;
  ex_display():
  4016:     if (last_cmdline != NULL && (arg == NULL || vim_strchr(arg, ':') != NULL)
  4020:     dis_msg(last_cmdline, FALSE);
need_gather (8 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:1449
term.c (8 uses)
  ttest():
  2892:     need_gather = TRUE;
  clear_termcodes():
  3551:     need_gather = TRUE;        /* need to fill termleader[] */
  add_termcode():
  3591:     need_gather = TRUE;        /* need to fill termleader[] */
  del_termcode():
  3729:     need_gather = TRUE;        /* need to fill termleader[] */
  switch_to_8bit():
  3776:     need_gather = TRUE;        /* need to fill termleader[] */
  check_termcode():
  3872:     if (need_gather)
  4095:                 need_gather = TRUE;
  gather_termleader():
  5226:     need_gather = FALSE;
one_exactly (8 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:594
regexp.c (8 uses)
  regatom():
  1689:     if (one_exactly)
  1701:     if (one_exactly)
  1783:               if (one_exactly)
  1825:             if (one_exactly)
  1854:               if (one_exactly)    /* doesn't nest */
  1874:                   one_exactly = TRUE;
  1876:                   one_exactly = FALSE;
  2325:                 && !one_exactly
p_bs (8 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:318
option.c (8 uses)
  did_set_string_option():
  6471:     else if (varp == &p_bs)
  6473:     if (VIM_ISDIGIT(*p_bs))
  6473:     if (VIM_ISDIGIT(*p_bs))
  6475:         if (*p_bs >'2' || p_bs[1] != NUL)
  6475:         if (*p_bs >'2' || p_bs[1] != NUL)
  6478:     else if (check_opt_strings(p_bs, p_bs_values, TRUE) != OK)
  can_bs():
  10617:     switch (*p_bs)
  10623:     return vim_strchr(p_bs, what) != NULL;
p_dir (8 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:415
ex_cmds.c (2 uses)
  check_overwrite():
  2789:         if (*p_dir == NUL)
  2793:         p = p_dir;
memline.c (4 uses)
  ml_setname():
  434:     dirp = p_dir;
  ml_open_file():
  548:     dirp = p_dir;
  recover_names():
  1408:     dir_name = alloc((unsigned)STRLEN(p_dir) + 1);
  1409:     dirp = p_dir;
option.c (2 uses)
  do_set():
  4465:                     && (varp == (char_u *)&p_dir
  set_context_in_set_cmd():
  9758:         || p == (char_u *)&p_dir
p_lz (8 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:582
ex_docmd.c (6 uses)
  ex_redraw():
  8526:     int        p = p_lz;
  8529:     p_lz = FALSE;
  8541:     p_lz = p;
  ex_redrawstatus():
  8560:     int        p = p_lz;
  8563:     p_lz = FALSE;
  8574:     p_lz = p;
screen.c (2 uses)
  redrawing():
  9311:                && !(p_lz && char_avail() && !KeyTyped && !do_redraw));
  messaging():
  9320:     return (!(p_lz && char_avail() && !KeyTyped));
p_penc (8 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:475
hardcopy.c (3 uses)
  mch_print_init():
  2504:     p_encoding = enc_skip(p_penc);
  mch_print_begin():
  2976:     p_encoding = enc_skip(p_penc);
  3009:     p_encoding = enc_skip(p_penc);
option.c (5 uses)
  did_set_string_option():
  5747:     else if (varp == &p_penc)
  5750:     p = enc_canonize(p_penc);
  5753:         vim_free(p_penc);
  5754:         p_penc = p;
  5759:         for (s = p_penc; *s != NUL; s++)
p_pm (8 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:631
fileio.c (4 uses)
  buf_write():
  3371:     dobackup = (p_wb || p_bk || *p_pm != NUL);
  3396:     if (!(append && *p_pm == NUL) && !filtering && perm >= 0 && dobackup)
  4593:     if (*p_pm && dobackup)
  4601:                               fname, p_pm, FALSE);
option.c (4 uses)
  did_set_string_option():
  5483:     else if (varp == &p_bex || varp == &p_pm)
  5485:     if (STRCMP(*p_bex == '.' ? p_bex + 1 : p_bex,
  5485:     if (STRCMP(*p_bex == '.' ? p_bex + 1 : p_bex,
  5485:     if (STRCMP(*p_bex == '.' ? p_bex + 1 : p_bex,
prev_at_start (8 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:2578
regexp.c (8 uses)
  initchr():
  2588:     prev_at_start = FALSE;
  peekchr():
  2639:             && !(prev_at_start && prevchr == Magic('^'))
  2661:         prev_at_start = FALSE;
  2705:             prev_at_start = at_start;
  skipchr():
  2774:     prev_at_start = at_start;
  skipchr_keepstart():
  2789:     int as = prev_at_start;
  ungetchr():
  2817:     at_start = prev_at_start;
  2818:     prev_at_start = FALSE;
prevcmd (8 uses in 1 translation unit) defined static in translation unit ex_cmds.c, declared in ex_cmds.c:878
ex_cmds.c (8 uses)
  do_bang():
  943:         if (prevcmd == NULL)
  949:         len += (int)STRLEN(prevcmd);
  960:         STRCAT(t, prevcmd);
  993:     vim_free(prevcmd);
  994:     prevcmd = newcmd;
  998:     AppendToRedobuffLit(prevcmd, -1);
  1007:     newcmd = alloc((unsigned)(STRLEN(prevcmd) + 2 * STRLEN(p_shq) + 1));
  1011:     STRCAT(newcmd, prevcmd);
prt_dsc_table (8 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1332
hardcopy.c (8 uses)
  prt_next_dsc():
  1884:     for (comment = 0; comment < NUM_ELEMENTS(prt_dsc_table); comment++)
  1884:     for (comment = 0; comment < NUM_ELEMENTS(prt_dsc_table); comment++)
  1885:     if (prt_resfile_strncmp(0, prt_dsc_table[comment].string,
  1886:                         prt_dsc_table[comment].len) == 0)
  1889:     if (comment != NUM_ELEMENTS(prt_dsc_table))
  1889:     if (comment != NUM_ELEMENTS(prt_dsc_table))
  1892:     p_dsc_line->type = prt_dsc_table[comment].type;
  1893:     offset = prt_dsc_table[comment].len;
re_extmatch_in (8 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:999
regexp.c (4 uses)
  regmatch():
  4656:         if (re_extmatch_in != NULL
  4657:             && re_extmatch_in->matches[no] != NULL)
  4659:             len = (int)STRLEN(re_extmatch_in->matches[no]);
  4660:             if (cstrncmp(re_extmatch_in->matches[no],
syntax.c (4 uses)
  find_endpos():
  2822:     unref_extmatch(re_extmatch_in);
  2823:     re_extmatch_in = ref_extmatch(start_ext);
  2975:     unref_extmatch(re_extmatch_in);
  2976:     re_extmatch_in = NULL;
redir_endp (8 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:912
eval.c (8 uses)
  var_redir_start():
  950:     redir_endp = get_lval(redir_varname, NULL, redir_lval, FALSE, FALSE, FALSE,
  952:     if (redir_endp == NULL || redir_lval->ll_name == NULL || *redir_endp != NUL)
  952:     if (redir_endp == NULL || redir_lval->ll_name == NULL || *redir_endp != NUL)
  954:     if (redir_endp != NULL && *redir_endp != NUL)
  954:     if (redir_endp != NULL && *redir_endp != NUL)
  970:     set_var_lval(redir_lval, redir_endp, &tv, TRUE, (char_u *)".");
  972:     set_var_lval(redir_lval, redir_endp, &tv, TRUE, (char_u *)"=");
  var_redir_stop():
  1039:     set_var_lval(redir_lval, redir_endp, &tv, FALSE, (char_u *)".");
redir_vname (8 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1063
ex_docmd.c (4 uses)
  ex_redir():
  8498:         redir_vname = 1;
  8512:               || redir_reg || redir_vname
  close_redir():
  8589:     if (redir_vname)
  8592:     redir_vname = 0;
message.c (4 uses)
  redir_write():
  3006:               || redir_reg || redir_vname
  3018:         else if (redir_vname)
  3030:     if (redir_vname)
  3038:         if (!redir_reg && !redir_vname && redir_fd != NULL)
reg_startzpos (8 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3262
regexp.c (8 uses)
  regtry():
  3700:         if (reg_startzpos[i].lnum >= 0
  3701:             && reg_endzpos[i].lnum == reg_startzpos[i].lnum)
  3703:             vim_strnsave(reg_getline(reg_startzpos[i].lnum)
  3704:                                + reg_startzpos[i].col,
  3705:                    reg_endzpos[i].col - reg_startzpos[i].col);
  regmatch():
  4456:             save_se(&rp->rs_un.sesave, &reg_startzpos[no],
  4978:         restore_se(&rp->rs_un.sesave, &reg_startzpos[rp->rs_no],
  cleanup_zsubexpr():
  5839:         vim_memset(reg_startzpos, 0xff, sizeof(lpos_T) * NSUBEXP);
skip_redraw (8 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:974
ex_cmds.c (1 use)
  do_ecmd():
  3775:     if (!skip_redraw)
ex_getln.c (1 use)
  redrawcmd():
  3139:     skip_redraw = FALSE;
main.c (2 uses)
  main_loop():
  1055:     if (skip_redraw || exmode_active)
  1056:         skip_redraw = FALSE;
message.c (3 uses)
  wait_return():
  1024:     skip_redraw = TRUE;        /* skip redraw once */
  1065:     else if (!skip_redraw
  do_more_prompt():
  2524:         skip_redraw = TRUE;        /* skip redraw once */
misc1.c (1 use)
  get_number():
  3225:         skip_redraw = TRUE;        /* skip redraw once */
sortbuf2 (8 uses in 1 translation unit) defined static in translation unit ex_cmds.c, declared in ex_cmds.c:274
ex_cmds.c (8 uses)
  sort_compare():
  329:     STRNCPY(sortbuf2, ml_get(l2.lnum) + l2.start_col_nr,
  331:     sortbuf2[l2.end_col_nr - l2.start_col_nr] = 0;
  333:     result = sort_ic ? STRICMP(sortbuf1, sortbuf2)
  334:                          : STRCMP(sortbuf1, sortbuf2);
  ex_sort():
  375:     sortbuf2 = NULL;
  508:     sortbuf2 = alloc((unsigned)maxlen + 1);
  509:     if (sortbuf2 == NULL)
  557:     vim_free(sortbuf2);
sub_nlines (8 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1158
ex_cmds.c (6 uses)
  do_sub():
  4219:     sub_nlines = 0;
  5055:         ++sub_nlines;
  do_sub_msg():
  5130:     if (((sub_nsubs > p_report && (KeyTyped || sub_nlines > 1 || p_report < 1))
  5147:     if (sub_nlines == 1)
  5152:             _(" on %ld lines"), (long)sub_nlines);
  ex_global():
  5210:     sub_nlines = 0;
spell.c (2 uses)
  ex_spellrepall():
  10359:     sub_nlines = 0;
  10384:         ++sub_nlines;
suppress_errthrow (8 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:291
ex_docmd.c (4 uses)
  restore_dbg_stuff():
  578:     suppress_errthrow = FALSE;
  do_cmdline():
  830:     suppress_errthrow = FALSE;
  1383:         suppress_errthrow = TRUE;
  1416:         suppress_errthrow = TRUE;
ex_eval.c (4 uses)
  cause_errthrow():
  163:     if (suppress_errthrow)
  262:         suppress_errthrow = TRUE;
  271:             suppress_errthrow = TRUE;
  throw_exception():
  549:     suppress_errthrow = TRUE;
TabPageIdxs (8 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:73
normal.c (1 use)
  do_mouse():
  2476:         c1 = TabPageIdxs[mouse_col];
screen.c (7 uses)
  win_redr_custom():
  6121:         TabPageIdxs[col++] = fillchar;
  6126:         TabPageIdxs[col++] = fillchar;
  screenalloc():
  7559:     TabPageIdxs = new_TabPageIdxs;
  free_screenlines():
  7619:     vim_free(TabPageIdxs);
  draw_tabline():
  9101:     TabPageIdxs[scol] = 0;
  9216:         TabPageIdxs[scol++] = tabcount;
  9229:         TabPageIdxs[Columns - 1] = -999;
transchar_buf (8 uses in 1 translation unit) defined static in translation unit charset.c, declared in charset.c:522
charset.c (8 uses)
  transchar():
  533:     transchar_buf[0] = '~';
  534:     transchar_buf[1] = '@';
  551:     transchar_buf[i] = c;
  552:     transchar_buf[i + 1] = NUL;
  555:     transchar_nonprint(transchar_buf + i, c);
  556:     return transchar_buf;
  transchar_byte():
  570:     transchar_nonprint(transchar_buf, c);
  571:     return transchar_buf;
use_gvimrc (8 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:359
gui.c (5 uses)
  gui_init():
  356:     if (use_gvimrc != NULL)
  358:         if (STRCMP(use_gvimrc, "NONE") != 0
  359:             && STRCMP(use_gvimrc, "NORC") != 0
  360:             && do_source(use_gvimrc, FALSE, DOSO_NONE) != OK)
  361:         EMSG2(_("E230: Cannot read from \"%s\""), use_gvimrc);
main.c (3 uses)
  command_line_scan():
  2129:             use_gvimrc = (char_u *)argv[0];
  source_startup_scripts():
  2716:         if (use_gvimrc == NULL)        /* don't load gvimrc either */
  2717:         use_gvimrc = parmp->use_vimrc;
block_redo (7 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:57
getchar.c (7 uses)
  ResetRedobuff():
  465:     if (!block_redo)
  AppendToRedobuff():
  527:     if (!block_redo)
  AppendToRedobuffLit():
  544:     if (block_redo)
  AppendCharToRedobuff():
  600:     if (!block_redo)
  AppendNumberToRedobuff():
  611:     if (!block_redo)
  start_redo_ins():
  863:     block_redo = TRUE;
  stop_redo_ins():
  870:     block_redo = FALSE;
brace_count (7 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:590
regexp.c (7 uses)
  regmatch():
  4702:             brace_count[no] = 0;
  4724:         ++brace_count[no];
  4727:         if (brace_count[no] <= (brace_min[no] <= brace_max[no]
  4747:             if (brace_count[no] <= brace_max[no])
  4764:             if (brace_count[no] <= brace_min[no])
  5035:         --brace_count[rp->rs_no];    /* decrement match count */
  5046:         --brace_count[rp->rs_no];
compl_enter_selects (7 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:95
edit.c (7 uses)
  edit():
  771:         if (c == Ctrl_Y || (compl_enter_selects
  ins_compl_clear():
  3151:     compl_enter_selects = FALSE;
  ins_compl_new_leader():
  3256:     compl_enter_selects = !compl_used_match;
  3263:     compl_enter_selects = FALSE;
  ins_compl_prep():
  3616:         if ((c == Ctrl_Y || (compl_enter_selects
  3638:         compl_enter_selects = FALSE;
  ins_compl_next():
  4460:     compl_enter_selects = !insert_match && compl_match_array != NULL;
compl_matches (7 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:117
edit.c (7 uses)
  set_completion():
  2567:     compl_matches = ins_compl_make_cyclic();
  ins_compl_clear():
  3143:     compl_matches = 0;
  ins_compl_restart():
  3309:     compl_matches = 0;
  ins_compl_prep():
  3635:         compl_matches = 0;
  ins_complete():
  5018:     compl_matches = n;
  5131:         if (compl_matches > 0)
  5134:                 compl_curr_match->cp_number, compl_matches);
cterm_attr_table (7 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:7811
syntax.c (7 uses)
  get_attr_entry():
  7875:             || (table == &cterm_attr_table
  7941:     else if (table == &cterm_attr_table)
  clear_hl_tables():
  7969:     ga_clear(&cterm_attr_table);
  hl_combine_attr():
  8065:     return get_attr_entry(&cterm_attr_table, &new_en);
  syn_cterm_attr2entry():
  8152:     if (attr >= cterm_attr_table.ga_len)    /* did ":syntax clear" */
  8154:     return &(CTERM_ATTR_ENTRY(attr));
  set_hl_attr():
  8515:     sgp->sg_cterm_attr = get_attr_entry(&cterm_attr_table, &at_en);
cterm_normal_fg_color (7 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:361
screen.c (3 uses)
  screen_stop_highlight():
  6849:         if (cterm_normal_fg_color != 0)
  6850:             term_fg_color(cterm_normal_fg_color - 1);
  reset_cterm_colors():
  6871:     if (cterm_normal_fg_color > 0 || cterm_normal_bg_color > 0)
syntax.c (4 uses)
  do_highlight():
  6982:         if (cterm_normal_fg_color)
  6983:             color = cterm_normal_fg_color - 1;
  7123:             cterm_normal_fg_color = color + 1;
  restore_cterm_colors():
  7434:     cterm_normal_fg_color = 0;
current_syn_inc_tag (7 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:253
syntax.c (7 uses)
  add_keyword():
  4191:     kp->k_syn.inc_tag = current_syn_inc_tag;
  syn_cmd_include():
  4493:     prev_syn_inc_tag = current_syn_inc_tag;
  4494:     current_syn_inc_tag = ++running_syn_inc_tag;
  4501:     current_syn_inc_tag = prev_syn_inc_tag;
  syn_cmd_match():
  4689:         SYN_ITEMS(curbuf)[idx].sp_syn.inc_tag = current_syn_inc_tag;
  syn_cmd_region():
  4932:             SYN_ITEMS(curbuf)[idx].sp_syn.inc_tag = current_syn_inc_tag;
  get_id_list():
  5677:         id += current_syn_inc_tag;
e_invexpr2 (7 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1384
eval.c (7 uses)
  eval0():
  3806:         EMSG2(_(e_invexpr2), arg);
  filter_map_one():
  9408:     EMSG2(_(e_invexpr2), s);
  f_tabpagenr():
  16099:         EMSG2(_(e_invexpr2), arg);
  get_winnr():
  16141:         EMSG2(_(e_invexpr2), arg);
  get_name_len():
  17135:     EMSG2(_(e_invexpr2), *arg);
  ex_echo():
  18572:         EMSG2(_(e_invexpr2), p);
  ex_execute():
  18685:         EMSG2(_(e_invexpr2), p);
e_outofmem (7 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:1453
eval.c (1 use)
  do_return():
  20640:             EMSG(_(e_outofmem));
ex_docmd.c (1 use)
  do_cmdline():
  1032:         EMSG(_(e_outofmem));
ex_eval.c (4 uses)
  cause_errthrow():
  263:         EMSG(_(e_outofmem));
  272:             EMSG(_(e_outofmem));
  throw_exception():
  550:     EMSG(_(e_outofmem));
  ex_try():
  1437:             EMSG(_(e_outofmem));
spell.c (1 use)
  did_set_spelllang():
  4250:             ret_msg = e_outofmem;
e_write (7 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1505
eval.c (1 use)
  f_writefile():
  16838:         EMSG(_(e_write));
ex_docmd.c (1 use)
  ex_mkrc():
  8790:         EMSG(_(e_write));
spell.c (5 uses)
  write_vim_spell():
  7927:     EMSG(_(e_write));
  put_node():
  8435:             EMSG(_(e_write));
  sug_write():
  8893:     EMSG(_(e_write));
  8935:         EMSG(_(e_write));
  8943:     EMSG(_(e_write));
emsg_severe (7 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:173
eval.c (5 uses)
  list_arg_vars():
  2071:         emsg_severe = TRUE;
  2087:             emsg_severe = TRUE;
  get_lval():
  2433:         emsg_severe = TRUE;
  ex_call():
  3251:         emsg_severe = TRUE;
  ex_unletlock():
  3320:         emsg_severe = TRUE;
message.c (2 uses)
  emsg():
  576:     severe = emsg_severe;
  577:     emsg_severe = FALSE;
enc_latin1like (7 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:769
charset.c (4 uses)
  vim_islower():
  1590:     if (enc_latin1like)
  vim_isupper():
  1615:     if (enc_latin1like)
  vim_toupper():
  1640:     if (enc_latin1like)
  vim_tolower():
  1665:     if (enc_latin1like)
mbyte.c (1 use)
  mb_init():
  600:     enc_latin1like = (enc_utf8 || STRCMP(p_enc, "latin1") == 0
ops.c (1 use)
  swapchar():
  2363:               && (enc_latin1like || STRCMP(p_enc, "iso-8859-2") == 0))
spell.c (1 use)
  allcap_copy():
  11060:     if (enc_latin1like && c == 0xdf)
fdip_search_ctx (7 uses in 1 translation unit) defined static in translation unit misc2.c, declared in misc2.c:5301
misc2.c (7 uses)
  find_file_in_path_option():
  5471:         vim_findfile_free_visited(fdip_search_ctx);
  5480:         file_name = vim_findfile(fdip_search_ctx);
  5494:             vim_findfile_cleanup(fdip_search_ctx);
  5495:             fdip_search_ctx = NULL;
  5512:         fdip_search_ctx = vim_findfile_init(buf, ff_file_to_find,
  5514:                        fdip_search_ctx, FALSE, rel_fname);
  5515:         if (fdip_search_ctx != NULL)
first_dict (7 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:202
eval.c (7 uses)
  garbage_collect():
  6173:     for (dd = first_dict; dd != NULL; )
  6183:         dd = first_dict;
  dict_alloc():
  6293:     if (first_dict != NULL)
  6294:         first_dict->dv_used_prev = d;
  6295:     d->dv_used_next = first_dict;
  6297:     first_dict = d;
  dict_free():
  6334:     first_dict = d->dv_used_next;
first_list (7 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:203
eval.c (7 uses)
  list_alloc():
  5382:     if (first_list != NULL)
  5383:         first_list->lv_used_prev = l;
  5385:     l->lv_used_next = first_list;
  5386:     first_list = l;
  list_free():
  5435:     first_list = l->lv_used_next;
  garbage_collect():
  6193:     for (ll = first_list; ll != NULL; )
  6203:         ll = first_list;
foldendmarkerlen (7 uses in 1 translation unit) defined static in translation unit fold.c, declared in fold.c:94
fold.c (7 uses)
  foldCreateMarkers():
  1785:     foldAddMarker(end, foldendmarker, foldendmarkerlen);
  deleteFoldMarkers():
  1849:                          foldendmarker, foldendmarkerlen);
  foldtext_cleanup():
  2043:     else if (STRNCMP(s, foldendmarker, foldendmarkerlen) == 0)
  2044:         len = foldendmarkerlen;
  parseMarker():
  3121:     foldendmarkerlen = (int)STRLEN(foldendmarker);
  foldlevelMarker():
  3184:           && STRNCMP(s + 1, foldendmarker + 1, foldendmarkerlen - 1) == 0)
  3187:         s += foldendmarkerlen;
foldstartmarkerlen (7 uses in 1 translation unit) defined static in translation unit fold.c, declared in fold.c:92
fold.c (7 uses)
  foldCreateMarkers():
  1784:     foldAddMarker(start, curwin->w_p_fmr, foldstartmarkerlen);
  deleteFoldMarkers():
  1847:     foldDelMarker(fp->fd_top + lnum_off, curwin->w_p_fmr, foldstartmarkerlen);
  foldtext_cleanup():
  2041:     if (STRNCMP(s, curwin->w_p_fmr, foldstartmarkerlen) == 0)
  2042:         len = foldstartmarkerlen;
  parseMarker():
  3120:     foldstartmarkerlen = (int)(foldendmarker++ - wp->w_p_fmr);
  foldlevelMarker():
  3159:           && STRNCMP(s + 1, startmarker, foldstartmarkerlen - 1) == 0)
  3162:         s += foldstartmarkerlen;
ga_loaded (7 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:199
eval.c (7 uses)
  script_autoload():
  19957:     for (i = 0; i < ga_loaded.ga_len; ++i)
  19958:     if (STRCMP(((char_u **)ga_loaded.ga_data)[i] + 9, scriptname + 9) == 0)
  19960:     if (!reload && i < ga_loaded.ga_len)
  19965:     if (i == ga_loaded.ga_len && ga_grow(&ga_loaded, 1) == OK)
  19965:     if (i == ga_loaded.ga_len && ga_grow(&ga_loaded, 1) == OK)
  19967:         ((char_u **)ga_loaded.ga_data)[ga_loaded.ga_len++] = scriptname;
  19967:         ((char_u **)ga_loaded.ga_data)[ga_loaded.ga_len++] = scriptname;
gPathConverter (7 uses in 1 translation unit) defined static in translation unit os_mac_conv.c, declared in os_mac_conv.c:31
os_mac_conv.c (7 uses)
  mac_conv_init():
  285:     if (TECCreateConverter(&gPathConverter, utf8_encoding,
  287:     gPathConverter = NULL;
  mac_conv_cleanup():
  312:     if (gPathConverter)
  314:     TECDisposeConverter(gPathConverter);
  315:     gPathConverter = NULL;
  mac_precompose_path():
  463:     if (gPathConverter)
  468:         if (TECConvertText(gPathConverter, decompPath,
gui_attr_table (7 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:7816
syntax.c (7 uses)
  get_attr_entry():
  7851:                (table == &gui_attr_table
  7919:     if (table == &gui_attr_table)
  clear_hl_tables():
  7960:     ga_clear(&gui_attr_table);
  hl_combine_attr():
  8034:     return get_attr_entry(&gui_attr_table, &new_en);
  syn_gui_attr2entry():
  8105:     if (attr >= gui_attr_table.ga_len)        /* did ":syntax clear" */
  8107:     return &(GUI_ATTR_ENTRY(attr));
  set_hl_attr():
  8487:     sgp->sg_gui_attr = get_attr_entry(&gui_attr_table, &at_en);
highlight_match (7 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:336
ex_cmds.c (2 uses)
  do_sub():
  4671:                 highlight_match = TRUE;
  4676:                 highlight_match = FALSE;
ex_getln.c (3 uses)
  getcmdline():
  1758:         highlight_match = TRUE;        /* highlight position */
  1760:         highlight_match = FALSE;    /* remove highlight */
  1853:     highlight_match = FALSE;
screen.c (2 uses)
  win_line():
  2839:     if (!highlight_match && lnum == curwin->w_cursor.lnum && wp == curwin
  2864:     if (highlight_match
homedir (7 uses in 1 translation unit) defined static in translation unit misc1.c, declared in misc1.c:3396
misc1.c (7 uses)
  init_homedir():
  3404:     vim_free(homedir);
  3405:     homedir = NULL;
  3510:     homedir = vim_strsave(var);
  expand_env_esc():
  3667:         var = homedir;
  home_replace():
  4223:     if (homedir != NULL)
  4224:     dirlen = STRLEN(homedir);
  4250:     p = homedir;
include_default (7 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:71
syntax.c (7 uses)
  reset_expand_highlight():
  6012:     include_link = include_default = include_none = 0;
  set_context_in_syntax_cmd():
  6044:     include_default = 0;
  set_context_in_highlight_cmd():
  9051:     include_default = 1;
  9059:         include_default = 0;
  get_highlight_name():
  9131:     if (idx == highlight_ga.ga_len + include_none && include_default != 0)
  9133:     if (idx == highlight_ga.ga_len + include_none + include_default
  9136:     if (idx == highlight_ga.ga_len + include_none + include_default + 1
ireg_maxcol (7 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3106
regexp.c (7 uses)
  vim_regexec():
  3291:     ireg_maxcol = 0;
  vim_regexec_nl():
  3315:     ireg_maxcol = 0;
  vim_regexec_multi():
  3351:     ireg_maxcol = rmp->rmm_maxcol;
  vim_regexec_both():
  3422:     if (ireg_maxcol > 0 && col >= ireg_maxcol)
  3422:     if (ireg_maxcol > 0 && col >= ireg_maxcol)
  3540:         if (ireg_maxcol > 0 && col >= ireg_maxcol)
  3540:         if (ireg_maxcol > 0 && col >= ireg_maxcol)
item_compare_func (7 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:15073
eval.c (7 uses)
  item_compare2():
  15132:     res = call_func(item_compare_func, (int)STRLEN(item_compare_func),
  15132:     res = call_func(item_compare_func, (int)STRLEN(item_compare_func),
  f_sort():
  15179:     item_compare_func = NULL;
  15183:         item_compare_func = argvars[1].vval.v_string;
  15194:             item_compare_func = get_tv_string(&argvars[1]);
  15208:     if (item_compare_func != NULL
  15216:             item_compare_func == NULL ? item_compare : item_compare2);
keep_msg_attr (7 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:159
main.c (1 use)
  main_loop():
  1129:         msg_attr(p, keep_msg_attr);
message.c (5 uses)
  set_keep_msg():
  1107:     keep_msg_attr = attr;
  give_warning():
  3210:     keep_msg_attr = hl_attr(HLF_W);
  3212:     keep_msg_attr = 0;
  3213:     if (msg_attr(message, keep_msg_attr) && msg_scrolled == 0)
  3214:     set_keep_msg(message, keep_msg_attr);
normal.c (1 use)
  normal_cmd():
  1238:         msg_attr(kmsg, keep_msg_attr);
last_sourcing_name (7 uses in 1 translation unit) defined static in translation unit message.c, declared in message.c:417
message.c (7 uses)
  reset_last_sourcing():
  426:     vim_free(last_sourcing_name);
  427:     last_sourcing_name = NULL;
  other_sourcing_name():
  439:     if (last_sourcing_name != NULL)
  440:         return STRCMP(sourcing_name, last_sourcing_name) != 0;
  msg_source():
  521:     vim_free(last_sourcing_name);
  523:         last_sourcing_name = NULL;
  525:         last_sourcing_name = vim_strsave(sourcing_name);
lastbuf (7 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:558
buffer.c (6 uses)
  close_buffer():
  464:         lastbuf = buf->b_prev;
  do_buffer():
  951:     case DOBUF_LAST:    buf = lastbuf;  break;
  996:             buf = lastbuf;
  buflist_new():
  1640:         lastbuf->b_next = buf;
  1641:         buf->b_prev = lastbuf;
  1643:     lastbuf = buf;
eval.c (1 use)
  get_buf_tv():
  8000:     return lastbuf;
mod_mask_table (7 uses in 1 translation unit) defined static in translation unit misc2.c, declared in misc2.c:2002
misc2.c (7 uses)
  name_to_mod_mask():
  2318:     for (i = 0; mod_mask_table[i].mod_mask != 0; i++)
  2319:     if (c == mod_mask_table[i].name)
  2320:         return mod_mask_table[i].mod_flag;
  get_special_key_name():
  2462:     for (i = 0; mod_mask_table[i].name != 'A'; i++)
  2463:     if ((modifiers & mod_mask_table[i].mod_mask)
  2464:                         == mod_mask_table[i].mod_flag)
  2466:         string[idx++] = mod_mask_table[i].name;
msg_nowait (7 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:165
message.c (2 uses)
  emsg():
  661:     msg_nowait = FALSE;            /* wait for this msg */
  give_warning():
  3216:     msg_nowait = TRUE;        /* don't wait for this message */
normal.c (3 uses)
  normal_cmd():
  665:     msg_nowait = TRUE;    /* don't delay going to insert mode */
  1204:             && !msg_nowait
  1258:     msg_nowait = FALSE;
quickfix.c (1 use)
  ex_vimgrep():
  3103:         msg_nowait = TRUE;        /* don't wait for this message */
search.c (1 use)
  do_search():
  1251:         msg_nowait = TRUE;        /* don't wait for this message */
msg_scrolled_ign (7 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:153
ex_cmds.c (2 uses)
  do_ecmd():
  3759:     msg_scrolled_ign = TRUE;
  3763:     msg_scrolled_ign = FALSE;
fileio.c (4 uses)
  filemess():
  181:     msg_scrolled_ign = TRUE;
  186:     msg_scrolled_ign = FALSE;
  readfile():
  2408:         msg_scrolled_ign = TRUE;
  2426:         msg_scrolled_ign = FALSE;
message.c (1 use)
  msg_puts_attr_len():
  1806:     if (msg_scrolled != 0 && !msg_scrolled_ign)
need_clear_subexpr (7 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3010
regexp.c (7 uses)
  regtry():
  3650:     need_clear_subexpr = TRUE;
  cleanup_subexpr():
  5813:     if (need_clear_subexpr)
  5826:     need_clear_subexpr = FALSE;
  save_subexpr():
  5864:     bp->save_need_clear_subexpr = need_clear_subexpr;
  5865:     if (!need_clear_subexpr)
  restore_subexpr():
  5893:     need_clear_subexpr = bp->save_need_clear_subexpr;
  5894:     if (!need_clear_subexpr)
new_last_cmdline (7 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1018
ex_docmd.c (3 uses)
  do_cmdline():
  1123:                           && new_last_cmdline != NULL)
  1126:         last_cmdline = new_last_cmdline;
  1127:         new_last_cmdline = NULL;
ex_getln.c (2 uses)
  getcmdline():
  1872:         vim_free(new_last_cmdline);
  1873:         new_last_cmdline = vim_strsave(ccline.cmdbuff);
ops.c (2 uses)
  do_execreg():
  1175:     vim_free(new_last_cmdline); /* don't keep the cmdline containing @: */
  1176:     new_last_cmdline = NULL;
new_pixel_height (7 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:491
gui.c (7 uses)
  gui_resize_shell():
  1286:     new_pixel_height = pixel_height;
  1327:     if (new_pixel_height)
  1330:     pixel_height = new_pixel_height;
  1332:     new_pixel_height = 0;
  gui_may_resize_shell():
  1345:     if (new_pixel_height)
  1350:     h = new_pixel_height;
  1352:     new_pixel_height = 0;
no_u_sync (7 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:883
edit.c (2 uses)
  ins_reg():
  7671:     ++no_u_sync;
  7715:     --no_u_sync;
ex_cmds.c (2 uses)
  do_sub():
  4626:             ++no_u_sync;
  4752:             --no_u_sync;
popupmnu.c (2 uses)
  pum_set_selected():
  562:             ++no_u_sync;
  564:             --no_u_sync;
undo.c (1 use)
  u_sync():
  1391:     if (curbuf->b_u_synced || (!force && no_u_sync > 0))
old_indent (7 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:264
edit.c (7 uses)
  edit():
  575:     old_indent = 0;
  internal_format():
  5918:         , old_indent);
  5919:     old_indent = 0;
  ins_shift():
  8178:         old_indent = get_indent();    /* remember curr. indent */
  ins_eol():
  9411:         0, old_indent);
  9412:     old_indent = 0;
  ins_try_si():
  9681:     old_indent = get_indent();
old_redobuff (7 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:44
getchar.c (7 uses)
  ResetRedobuff():
  467:     free_buff(&old_redobuff);
  468:     old_redobuff = redobuff;
  saveRedobuff():
  489:     save_old_redobuff = old_redobuff;
  490:     old_redobuff.bh_first.b_next = NULL;
  restoreRedobuff():
  513:     free_buff(&old_redobuff);
  514:     old_redobuff = save_old_redobuff;
  read_redo():
  707:         bp = old_redobuff.bh_first.b_next;
output_conv (7 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:791
gui_mac.c (2 uses)
  draw_string_QD():
  3953:     if (output_conv.vc_type != CONV_NONE)
  3955:     tofree = string_convert(&output_conv, s, &len);
mbyte.c (1 use)
  mb_init():
  499:     output_conv.vc_type = CONV_NONE;
option.c (1 use)
  did_set_string_option():
  5734:         convert_setup(&output_conv, p_enc, p_tenc);
ui.c (3 uses)
  ui_write():
  42:     if (output_conv.vc_type != CONV_NONE)
  45:         tofree = string_convert(&output_conv, s, &len);
  54:     if (output_conv.vc_type != CONV_NONE)
p_ead (7 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:425
option.c (2 uses)
  did_set_string_option():
  6256:     else if (varp == &p_ead)
  6258:     if (check_opt_strings(p_ead, p_ead_values, FALSE) != OK)
window.c (5 uses)
  win_split_ins():
  775:     if (!do_equal && p_ea && size == 0 && *p_ead != 'v'
  854:         && *p_ead != 'h'
  win_equal():
  1641:     dir = *p_ead;
  win_close():
  2185:         && (*p_ead == 'b' || *p_ead == dir)
  2185:         && (*p_ead == 'b' || *p_ead == dir)
p_ei (7 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:437
ex_docmd.c (1 use)
  do_one_cmd():
  1839:                 cmdmod.save_ei = vim_strsave(p_ei);
fileio.c (5 uses)
  event_ignored():
  7651:     char_u    *p = p_ei;
  check_ei():
  7670:     char_u    *p = p_ei;
  au_event_disable():
  7701:     save_ei = vim_strsave(p_ei);
  7704:     new_ei = vim_strnsave(p_ei, (int)(STRLEN(p_ei) + STRLEN(what)));
  7704:     new_ei = vim_strnsave(p_ei, (int)(STRLEN(p_ei) + STRLEN(what)));
option.c (1 use)
  did_set_string_option():
  5663:     else if (varp == &p_ei)
p_guifont (7 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:488
gui.c (2 uses)
  gui_init():
  484:         gui_init_font(*p_guifont == NUL ? hl_get_font_name()
  485:                           : p_guifont, FALSE) == FAIL)
gui_mac.c (2 uses)
  gui_mch_init_font():
  3489:         vim_free(p_guifont);
  3490:         p_guifont = new_p_guifont;
option.c (3 uses)
  did_set_string_option():
  6034:     else if (varp == &p_guifont)
  6038:         p = p_guifont;
  6056:         if (p != NULL && gui_init_font(p_guifont, FALSE) != OK)
p_guifontwide (7 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:493
gui.c (5 uses)
  gui_init_font():
  721:             if ((p_guifontwide == NULL || *p_guifontwide == NUL)
  721:             if ((p_guifontwide == NULL || *p_guifontwide == NUL)
  gui_get_wide_font():
  831:     if (p_guifontwide != NULL && *p_guifontwide != NUL)
  831:     if (p_guifontwide != NULL && *p_guifontwide != NUL)
  833:     for (p = p_guifontwide; *p != NUL; )
option.c (2 uses)
  did_set_string_option():
  6084:     else if (varp == &p_guifontwide)
  6086:     if (STRCMP(p_guifontwide, "*") == 0)
p_pvh (7 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:642
ex_docmd.c (3 uses)
  ex_psearch():
  9147:     g_do_tagpreview = p_pvh;
  ex_ptag():
  9222:     g_do_tagpreview = p_pvh;
  ex_pedit():
  9235:     g_do_tagpreview = p_pvh;
popupmnu.c (2 uses)
  pum_set_selected():
  604:             if (lnum > p_pvh)
  605:                 lnum = p_pvh;
window.c (2 uses)
  do_window():
  487:             g_do_tagpreview = p_pvh;
  604:                 g_do_tagpreview = p_pvh;
p_rtp (7 uses in 6 translation units) defined in translation unit main.c, declared in ./option.h:657
ex_cmds.c (1 use)
  fix_help_buffer():
  5972:         p = p_rtp;
ex_cmds2.c (2 uses)
  do_in_runtimepath():
  2613:     rtp_copy = vim_strsave(p_rtp);
  2621:                          (char *)name, (char *)p_rtp);
ex_getln.c (1 use)
  ExpandRTDir():
  4854:     all = globpath(p_rtp, s);
option.c (1 use)
  set_context_in_set_cmd():
  9760:         || p == (char_u *)&p_rtp
quickfix.c (1 use)
  ex_helpgrep():
  3813:     p = p_rtp;
spell.c (1 use)
  init_spellfile():
  9467:     rtp = p_rtp;
p_sbo (7 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:661
diff.c (2 uses)
  diff_win_options():
  1116:     if (vim_strchr(p_sbo, 'h') == NULL)
  ex_diffoff():
  1170:     if (!diffwin && vim_strchr(p_sbo, 'h') != NULL)
normal.c (3 uses)
  do_check_scrollbind():
  3909:     else if (vim_strchr(p_sbo, 'j')) /* jump flag set in 'scrollopt' */
  check_scrollbind():
  3960:     want_ver = (vim_strchr(p_sbo, 'v') && topline_diff != 0);
  3964:     want_hor = (vim_strchr(p_sbo, 'h') && (leftcol_diff || topline_diff != 0));
option.c (2 uses)
  did_set_string_option():
  5578:     else if (varp == &p_sbo)
  5580:     if (check_opt_strings(p_sbo, p_scbopt_values, TRUE) != OK)
p_shq (7 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:700
ex_cmds.c (4 uses)
  do_bang():
  1005:     if (*p_shq != NUL)
  1007:     newcmd = alloc((unsigned)(STRLEN(prevcmd) + 2 * STRLEN(p_shq) + 1));
  1010:     STRCPY(newcmd, p_shq);
  1012:     STRCAT(newcmd, p_shq);
quickfix.c (3 uses)
  ex_make():
  2748:     len = (unsigned)STRLEN(p_shq) * 2 + (unsigned)STRLEN(eap->arg) + 1;
  2754:     sprintf((char *)cmd, "%s%s%s", (char *)p_shq, (char *)eap->arg,
  2755:                                    (char *)p_shq);
p_sj (7 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:658
move.c (3 uses)
  scrolljump_value():
  388:     if (p_sj >= 0)
  389:     return (int)p_sj;
  390:     return (curwin->w_height * -p_sj) / 100;
option.c (4 uses)
  set_num_option():
  7997:     if ((p_sj < -100 || p_sj >= Rows) && full_screen)
  7997:     if ((p_sj < -100 || p_sj >= Rows) && full_screen)
  8000:         p_sj = Rows / 2;
  8004:         p_sj = 1;
p_tw (7 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:358
option.c (7 uses)
  set_options_bin():
  4891:         p_tw_nobin = p_tw;
  4907:         p_tw = 0;
  4925:         p_tw = p_tw_nobin;
  buf_copy_options():
  9419:         buf->b_p_tw = p_tw;
  paste_option_changed():
  10296:         p_tw_nopaste = p_tw;
  10329:     p_tw = 0;
  10363:     p_tw = p_tw_nopaste;
p_wd (7 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:871
os_unix.c (2 uses)
  mch_write():
  316:     if (p_wd)        /* Unix is too fast, slow down a bit more */
  317:     RealWaitForChar(read_cmd_fd, p_wd, NULL);
term.c (3 uses)
  out_char():
  2591:     if (out_pos >= OUT_SIZE || p_wd)
  out_str_nf():
  2634:     if (p_wd)
  out_str():
  2669:     if (p_wd)
ui.c (2 uses)
  ui_write():
  30:     if (p_wd)
  31:         gui_wait_for_chars(p_wd);
p_wiv (7 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:851
option.c (4 uses)
  set_bool_option():
  7344:     else if ((int *)varp == &p_wiv)
  7350:     if (p_wiv && !old_value)
  7352:     else if (!p_wiv && old_value)
  7354:     p_wiv = (*T_XS != NUL);
screen.c (2 uses)
  screen_line():
  5030:         if (       p_wiv
  5159:     else if (  p_wiv
term.c (1 use)
  ttest():
  2890:     p_wiv = (*T_XS != NUL);
p_wm (7 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:360
option.c (7 uses)
  set_options_bin():
  4892:         p_wm_nobin = p_wm;
  4908:         p_wm = 0;
  4926:         p_wm = p_wm_nobin;
  buf_copy_options():
  9422:         buf->b_p_wm = p_wm;
  paste_option_changed():
  10297:         p_wm_nopaste = p_wm;
  10330:     p_wm = 0;
  10364:     p_wm = p_wm_nopaste;
prev_ccline (7 uses in 1 translation unit) defined static in translation unit ex_getln.c, declared in ex_getln.c:2856
ex_getln.c (7 uses)
  save_cmdline():
  2870:     vim_memset(&prev_ccline, 0, sizeof(struct cmdline_info));
  2873:     *ccp = prev_ccline;
  2874:     prev_ccline = ccline;
  restore_cmdline():
  2886:     ccline = prev_ccline;
  2887:     prev_ccline = *ccp;
  get_ccline_ptr():
  5249:     if (prev_ccline_used && prev_ccline.cmdbuff != NULL)
  5250:     return &prev_ccline;
prev_dir (7 uses in 1 translation unit) defined static in translation unit ex_docmd.c, declared in ex_docmd.c:7798
ex_docmd.c (7 uses)
  ex_cd():
  7838:         if (prev_dir == NULL)
  7843:         new_dir = prev_dir;
  7847:     tofree = prev_dir;
  7849:         prev_dir = vim_strsave(NameBuff);
  7851:         prev_dir = NULL;
  7881:         if (globaldir == NULL && prev_dir != NULL)
  7882:             globaldir = vim_strsave(prev_dir);
prt_do_moveto (7 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1414
hardcopy.c (7 uses)
  prt_flush_buffer():
  1673:         if (prt_do_moveto)
  1678:         prt_do_moveto = FALSE;
  1699:         if (prt_do_moveto)
  1704:         prt_do_moveto = FALSE;
  1728:     if (prt_do_moveto)
  1734:         prt_do_moveto = FALSE;
  mch_print_text_out():
  3467:         prt_do_moveto = TRUE;
prt_pos_x (7 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:3360
hardcopy.c (7 uses)
  mch_print_start_line():
  3368:     prt_pos_x = prt_left_margin;
  3370:     prt_pos_x -= prt_number_width;
  mch_print_text_out():
  3439:         prt_pos_x += prt_char_width/4;
  3447:         prt_pos_x += prt_char_width/4;
  3465:         prt_pos_x_moveto = prt_pos_x;
  3593:     prt_pos_x += char_width;
  3596:     next_pos = prt_pos_x + prt_char_width;
prt_ps_file_name (7 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1389
hardcopy.c (7 uses)
  mch_print_cleanup():
  2255:     if (prt_ps_file_name != NULL)
  2257:     vim_free(prt_ps_file_name);
  2258:     prt_ps_file_name = NULL;
  mch_print_init():
  2754:     prt_ps_file_name = vim_tempname('p');
  2755:     if (prt_ps_file_name == NULL)
  2760:     prt_ps_fd = mch_fopen((char *)prt_ps_file_name, WRITEBIN);
  mch_print_end():
  3290:     if (eval_printexpr(prt_ps_file_name, psettings->arguments) == FAIL)
pum_size (7 uses in 1 translation unit) defined static in translation unit popupmnu.c, declared in popupmnu.c:18
popupmnu.c (7 uses)
  pum_display():
  240:     pum_size = size;
  pum_redraw():
  274:     thumb_heigth = pum_height * pum_height / pum_size;
  278:                 + (pum_size - pum_height) / 2)
  279:                             / (pum_size - pum_height);
  pum_set_selected():
  478:     if (pum_selected >= 0 && pum_selected < pum_size)
  656:     if (pum_first > pum_size - pum_height)
  657:     pum_first = pum_size - pum_height;
redir_ga (7 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:911
eval.c (7 uses)
  var_redir_start():
  947:     ga_init2(&redir_ga, (int)sizeof(char), 500);
  var_redir_str():
  1014:     if (ga_grow(&redir_ga, len) == OK)
  1016:     mch_memmove((char *)redir_ga.ga_data + redir_ga.ga_len, value, len);
  1016:     mch_memmove((char *)redir_ga.ga_data + redir_ga.ga_len, value, len);
  1017:     redir_ga.ga_len += len;
  var_redir_stop():
  1034:     ga_append(&redir_ga, NUL);
  1038:     tv.vval.v_string = redir_ga.ga_data;
repeat_cmdline (7 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1016
ex_docmd.c (3 uses)
  do_cmdline():
  1018:         vim_free(repeat_cmdline);
  1020:             repeat_cmdline = vim_strsave(next_cmdline);
  1022:             repeat_cmdline = NULL;
normal.c (4 uses)
  do_pending_operator():
  1455:         if (repeat_cmdline == NULL)
  1459:             AppendToRedobuffLit(repeat_cmdline, -1);
  1461:             vim_free(repeat_cmdline);
  1462:             repeat_cmdline = NULL;
screen_cleared (7 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:105
gui.c (2 uses)
  gui_update_cursor():
  924:     if (!screen_cleared || ScreenLines == NULL)
  gui_redraw_block():
  2428:     if (!screen_cleared || ScreenLines == NULL)
screen.c (5 uses)
  win_update():
  1036:     if (screen_cleared)
  1037:     screen_cleared = MAYBE;
  1243:         if (screen_cleared != TRUE)
  1257:     if (screen_cleared == TRUE)
  screenclear2():
  7675:     screen_cleared = TRUE;    /* can use contents of ScreenLines now */
scroll_region (7 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:327
main.c (1 use)
  main():
  766:     if (scroll_region)
screen.c (3 uses)
  win_do_lines():
  8261:     if (scroll_region
  8268:     if (scroll_region && (wp->w_width == Columns || *T_CSV != NUL))
  8278:     if (scroll_region && (wp->w_width == Columns || *T_CSV != NUL))
term.c (3 uses)
  set_termname():
  2027:     if (scroll_region)
  ttest():
  2820:     scroll_region = TRUE;
  2822:     scroll_region = FALSE;
ta_len (7 uses in 1 translation unit) defined static in translation unit ui.c, declared in ui.c:69
ui.c (7 uses)
  ui_inchar_undo():
  81:     newlen += ta_len - ta_off;
  87:         mch_memmove(new, ta_str + ta_off, (size_t)(ta_len - ta_off));
  88:         mch_memmove(new + ta_len - ta_off, s, (size_t)len);
  94:     ta_len = newlen;
  ui_inchar():
  128:     if (maxlen >= ta_len - ta_off)
  130:         mch_memmove(buf, ta_str + ta_off, (size_t)ta_len);
  133:         return ta_len;
termleader (7 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:1450
term.c (7 uses)
  check_termcode():
  3916:     for (p = termleader; *p && *p != i; ++p)
  gather_termleader():
  5210:     termleader[len++] = CSI;    /* the GUI codes are not in termcodes[] */
  5214:     termleader[len++] = DCS;    /* the termcode response starts with DCS
  5217:     termleader[len] = NUL;
  5220:     if (vim_strchr(termleader, termcodes[i].code[0]) == NULL)
  5222:         termleader[len++] = termcodes[i].code[0];
  5223:         termleader[len] = NUL;
u_newcount (7 uses in 1 translation unit) defined static in translation unit undo.c, declared in undo.c:114
undo.c (7 uses)
  u_doit():
  706:     u_newcount = 0;
  undo_time():
  794:     u_newcount = 0;
  u_undoredo():
  1216:     u_newcount += newsize;
  u_undo_end():
  1334:     --u_newcount;
  1336:     u_oldcount -= u_newcount;
  1347:     u_oldcount = u_newcount;
  1348:     if (u_newcount == 1)
undo_off (7 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1009
getchar.c (1 use)
  inchar():
  2873:     undo_off = FALSE;            /* restart undo now */
undo.c (6 uses)
  u_save():
  231:     if (undo_off)
  u_savesub():
  252:     if (undo_off)
  u_inssub():
  266:     if (undo_off)
  u_savedel():
  282:     if (undo_off)
  u_savecommon():
  648:     undo_off = TRUE;        /* will be reset when character typed */
  u_undoline():
  1814:     if (undo_off)
undo_undoes (7 uses in 1 translation unit) defined static in translation unit undo.c, declared in undo.c:120
undo.c (7 uses)
  u_savecommon():
  636:     undo_undoes = FALSE;
  u_undo():
  675:     undo_undoes = TRUE;
  677:     undo_undoes = !undo_undoes;
  677:     undo_undoes = !undo_undoes;
  u_redo():
  690:     undo_undoes = FALSE;
  u_doit():
  712:     if (undo_undoes)
  757:     u_undo_end(undo_undoes, FALSE);
viminfo_history (7 uses in 1 translation unit) defined static in translation unit ex_getln.c, declared in ex_getln.c:5688
ex_getln.c (7 uses)
  prepare_viminfo_history():
  5748:         viminfo_history[type] = NULL;
  5750:         viminfo_history[type] =
  5752:     if (viminfo_history[type] == NULL)
  read_viminfo_history():
  5800:             viminfo_history[type][viminfo_hisidx[type]++] = p;
  finish_viminfo_history():
  5844:         history[type][idx].hisstr = viminfo_history[type][i];
  5855:     vim_free(viminfo_history[type]);
  5856:     viminfo_history[type] = NULL;
append_indent (6 uses in 1 translation unit) defined static in translation unit ex_cmds.c, declared in ex_cmds.c:3832
ex_cmds.c (6 uses)
  ex_append():
  3855:     append_indent = get_indent_lnum(lnum);
  3874:         if (append_indent >= 0)
  3876:         indent = append_indent;
  3877:         append_indent = -1;
  3909:         append_indent = indent;
  ex_change():
  3986:     append_indent = get_indent_lnum(eap->line1);
au_new_curbuf (6 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:377
buffer.c (3 uses)
  do_buffer():
  1141:     if (au_new_curbuf != NULL && buf_valid(au_new_curbuf))
  1141:     if (au_new_curbuf != NULL && buf_valid(au_new_curbuf))
  1142:         buf = au_new_curbuf;
ex_cmds.c (3 uses)
  do_ecmd():
  3346:         au_new_curbuf = buf;
  3412:         au_new_curbuf = NULL;
  delbuf_msg():
  3828:     au_new_curbuf = NULL;
check_cstack (6 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:255
ex_docmd.c (6 uses)
  save_dbg_stuff():
  570:     dsp->check_cstack    = check_cstack;        check_cstack = FALSE;
  570:     dsp->check_cstack    = check_cstack;        check_cstack = FALSE;
  restore_dbg_stuff():
  588:     check_cstack = dsp->check_cstack;
  do_cmdline():
  1435:         check_cstack = TRUE;
  do_one_cmd():
  2640:     else if (check_cstack)
  2648:     need_rethrow = check_cstack = FALSE;
compl_get_longest (6 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:101
edit.c (6 uses)
  edit():
  782:     compl_get_longest = FALSE;
  ins_compl_add():
  2381:     if (compl_get_longest && (flags & ORIGINAL_TEXT) == 0)
  ins_compl_prep():
  3408:     compl_get_longest = (vim_strchr(p_cot, 'l') != NULL);
  ins_compl_next():
  4324:         && (!(compl_get_longest || compl_restarting) || compl_used_match))
  4330:     advance = count != 1 || !allow_get_expansion || !compl_get_longest;
  4425:     if (!compl_get_longest || compl_used_match)
compl_match_arraysize (6 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:2581
edit.c (6 uses)
  ins_compl_show_pum():
  2691:     compl_match_arraysize = 0;
  2700:         ++compl_match_arraysize;
  2703:     if (compl_match_arraysize == 0)
  2707:                             * compl_match_arraysize));
  2781:     for (i = 0; i < compl_match_arraysize; ++i)
  2797:     pum_display(compl_match_array, compl_match_arraysize, cur);
crv_status (6 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:112
term.c (6 uses)
  set_termname():
  1992:     crv_status = CRV_GET;    /* Get terminal version later */
  settmode():
  3203:         if (tmode != TMODE_RAW && crv_status == CRV_SENT)
  stoptermcap():
  3254:     if (crv_status == CRV_SENT)
  may_req_termresponse():
  3288:     if (crv_status == CRV_GET
  3300:     crv_status = CRV_SENT;
  check_termcode():
  4072:             crv_status = CRV_GOT;
cur_tmode (6 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:992
os_unix.c (1 use)
  mch_call_shell():
  3571:     int        tmode = cur_tmode;
term.c (4 uses)
  settmode():
  3198:     if (tmode != TMODE_COOK || cur_tmode != TMODE_COOK)
  3213:         cur_tmode = tmode;
  may_req_termresponse():
  3289:         && cur_tmode == TMODE_RAW
  setmouse():
  3344:     if (cur_tmode != TMODE_RAW)
ui.c (1 use)
  fill_input_buf():
  1813:         int m = cur_tmode;
current_ScreenLine (6 uses in 1 translation unit) defined static in translation unit screen.c, declared in screen.c:113
screen.c (6 uses)
  fold_line():
  2105:     int        off = (int)(current_ScreenLine - ScreenLines);
  2354:         STRNCPY(current_ScreenLine + col, text, len);
  win_line():
  3179:     off = (unsigned)(current_ScreenLine - ScreenLines);
  4791:         off = (unsigned)(current_ScreenLine - ScreenLines);
  screen_line():
  4952:     off_from = (unsigned)(current_ScreenLine - ScreenLines);
  screenalloc():
  7542:     current_ScreenLine = new_ScreenLines + Rows * Columns;
current_trans_id (6 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:209
syntax.c (6 uses)
  get_syntax_attr():
  1757:     current_trans_id = 0;
  syn_current_attr():
  2220:     current_trans_id = 0;
  2242:         current_trans_id = sip->si_trans_id;
  2259:         if (syn_buf->b_nospell_cluster_id == 0 || current_trans_id == 0)
  2275:         if (current_trans_id == 0)
  syn_get_id():
  6108:     return (trans ? current_trans_id : current_id);
dbg_breakp (6 uses in 1 translation unit) defined static in translation unit ex_cmds2.c, declared in ex_cmds2.c:417
ex_cmds2.c (6 uses)
  ex_breakadd():
  551:     gap = &dbg_breakp;
  ex_breakdel():
  614:     gap = &dbg_breakp;
  ex_breaklist():
  696:     if (dbg_breakp.ga_len == 0)
  699:     for (i = 0; i < dbg_breakp.ga_len; ++i)
  701:         bp = &BREAKP(i);
  dbg_find_breakpoint():
  720:     return debuggy_find(file, fname, after, &dbg_breakp, NULL);
diff_context (6 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:424
diff.c (3 uses)
  diffopt_changed():
  1813:     diff_context = diff_context_new;
  diff_infold():
  1998:     if (dp->df_lnum[idx] - diff_context > lnum)
  2001:     if (dp->df_lnum[idx] + dp->df_count[idx] + diff_context > lnum)
fold.c (3 uses)
  foldUpdateIEMS():
  2160:     if (top > diff_context)
  2161:         top -= diff_context;
  2164:     bot += diff_context;
do_redraw (6 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:975
main.c (2 uses)
  main_loop():
  1057:     else if (do_redraw || stuff_empty())
  1147:         do_redraw = FALSE;
message.c (2 uses)
  wait_return():
  1010:         do_redraw = TRUE;        /* need a redraw even though there is
  1025:     do_redraw = FALSE;
misc1.c (1 use)
  get_number():
  3226:         do_redraw = FALSE;
screen.c (1 use)
  redrawing():
  9311:                && !(p_lz && char_avail() && !KeyTyped && !do_redraw));
do_resize (6 uses in 1 translation unit) defined static in translation unit os_unix.c, declared in os_unix.c:197
os_unix.c (6 uses)
  mch_inchar():
  339:     while (do_resize)
  346:         if (!do_resize)    /* return if not interrupted by resize */
  376:     while (do_resize)    /* window changed size */
  382:     if (do_resize)        /* interrupted by SIGWINCH signal */
  handle_resize():
  414:     do_resize = FALSE;
  sig_winch():
  805:     do_resize = TRUE;
dragged_sb (6 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:154
gui_mac.c (6 uses)
  gui_mac_drag_thumb():
  1565:     theControlToUse = dragged_sb;
  gui_mac_doInContentClick():
  1698:         dragged_sb = theControl;
  1700:         dragged_sb = NULL;
  1704:         dragged_sb = theControl;
  1713:         dragged_sb = NULL;
  gui_mch_wait_for_chars():
  4449:     if (dragged_sb != NULL)
dragRectControl (6 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:137
gui_mac.c (6 uses)
  gui_mac_doInContentClick():
  1760:         dragRectControl = kCreateRect;
  gui_mac_doMouseMovedEvent():
  2512:     dragRectControl = kCreateRect;
  gui_mac_doMouseUpEvent():
  2529:     dragRectControl = kCreateEmpty;
  gui_mch_init():
  3099:     dragRectControl = kCreateEmpty;
  gui_mch_wait_for_chars():
  4464:     else*/ if (dragRectControl == kCreateRect)
  4468:         dragRectControl = kNothing;
e_dictkey (6 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:103
eval.c (6 uses)
  get_lval():
  2594:             EMSG2(_(e_dictkey), key);
  ex_call():
  3170:     EMSG2(_(e_dictkey), fudi.fd_newkey);
  eval_index():
  4999:             EMSG2(_(e_dictkey), key);
  f_islocked():
  11940:         EMSG2(_(e_dictkey), lv.ll_newkey);
  f_remove():
  13609:             EMSG2(_(e_dictkey), key);
  ex_function():
  18898:         EMSG2(_(e_dictkey), fudi.fd_newkey);
e_invrange (6 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:1386
eval.c (1 use)
  f_remove():
  13659:             EMSG(_(e_invrange));
ex_docmd.c (2 uses)
  do_one_cmd():
  2074:         errormsg = (char_u *)_(e_invrange);
  invalid_range():
  4093:     return (char_u *)_(e_invrange);
quickfix.c (1 use)
  ex_cbuffer():
  3695:         EMSG(_(e_invrange));
regexp.c (2 uses)
  regatom():
  2072:                 EMSG_RET_NULL(_(e_invrange));
  2079:                     EMSG_RET_NULL(_(e_invrange));
e_listdictarg (6 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:98
eval.c (6 uses)
  f_count():
  8564:     EMSG2(_(e_listdictarg), "count()");
  f_extend():
  9118:     EMSG2(_(e_listdictarg), "extend()");
  filter_map():
  9321:     EMSG2(_(e_listdictarg), ermsg);
  f_get():
  9787:     EMSG2(_(e_listdictarg), "get()");
  max_min():
  12759:     EMSG(_(e_listdictarg));
  f_remove():
  13620:     EMSG2(_(e_listdictarg), "remove()");
e_listidx (6 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:94
eval.c (6 uses)
  eval_index():
  4930:                 EMSGN(_(e_listidx), n1);
  f_count():
  8522:                 EMSGN(_(e_listidx), idx);
  f_extend():
  9040:             EMSGN(_(e_listidx), before);
  f_insert():
  11874:         EMSGN(_(e_listidx), before);
  f_remove():
  13630:         EMSGN(_(e_listidx), idx);
  13647:             EMSGN(_(e_listidx), end);
e_noroom (6 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1433
window.c (6 uses)
  win_split_ins():
  720:         EMSG(_(e_noroom));
  753:         EMSG(_(e_noroom));
  817:         EMSG(_(e_noroom));
  win_setminheight():
  5064:         EMSG(_(e_noroom));
  command_height():
  5524:             EMSG(_(e_noroom));
  last_status_rec():
  5624:             EMSG(_(e_noroom));
e_notmp (6 uses in 6 translation units) defined in translation unit main.c, declared in ./globals.h:1439
eval.c (1 use)
  f_system():
  15965:         EMSG(_(e_notmp));
ex_cmds.c (1 use)
  do_filter():
  1135:         EMSG(_(e_notmp));
hardcopy.c (1 use)
  mch_print_init():
  2757:         EMSG(_(e_notmp));
misc1.c (1 use)
  get_cmd_output():
  9404:     EMSG(_(e_notmp));
os_unix.c (1 use)
  mch_expand_wildcards():
  5205:     EMSG(_(e_notmp));
quickfix.c (1 use)
  get_mef_name():
  2818:         EMSG(_(e_notmp));
e_sandbox (6 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:1478
edit.c (1 use)
  edit():
  333:     EMSG(_(e_sandbox));
ex_cmds.c (1 use)
  check_secure():
  4162:     EMSG(_(e_sandbox));
ex_docmd.c (1 use)
  do_one_cmd():
  2169:         errormsg = (char_u *)_(e_sandbox);
option.c (2 uses)
  do_set():
  4146:         errmsg = (char_u *)_(e_sandbox);
  set_option_value():
  8231:         EMSG(_(e_sandbox));
undo.c (1 use)
  undo_allowed():
  307:     EMSG(_(e_sandbox));
expand_option_idx (6 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:9612
option.c (6 uses)
  set_context_in_set_cmd():
  9742:         expand_option_idx = -1;
  9744:         expand_option_idx = opt_idx;
  ExpandOldSetting():
  9999:     if (expand_option_idx < 0)
  10003:         expand_option_idx = findoption(expand_option_name);
  10006:     if (expand_option_idx >= 0)
  10009:     option_value2string(&options[expand_option_idx], expand_option_flags);
expand_option_name (6 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:9613
option.c (6 uses)
  set_context_in_set_cmd():
  9685:     expand_option_name[2] = KEY2TERMCAP0(key);
  9686:     expand_option_name[3] = KEY2TERMCAP1(key);
  9699:         expand_option_name[2] = p[-2];
  9700:         expand_option_name[3] = p[-1];
  ExpandOldSetting():
  10001:     var = find_termcode(expand_option_name + 2);
  10003:         expand_option_idx = findoption(expand_option_name);
filetype_detect (6 uses in 1 translation unit) defined static in translation unit ex_docmd.c, declared in ex_docmd.c:10724
ex_docmd.c (6 uses)
  ex_filetype():
  10749:         filetype_detect ? "ON" : "OFF",
  10750:         filetype_plugin ? (filetype_detect ? "ON" : "(on)") : "OFF",
  10751:         filetype_indent ? (filetype_detect ? "ON" : "(on)") : "OFF");
  10774:     if (*arg == 'o' || !filetype_detect)
  10777:         filetype_detect = TRUE;
  10813:         filetype_detect = FALSE;
fill_diff (6 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1135
option.c (2 uses)
  set_chars_option():
  6763:     {&fill_diff,    "diff"},
  6805:         fill_diff = '-';
screen.c (4 uses)
  win_update():
  1893:         if (char2cells(fill_diff) > 1)
  1896:             i = fill_diff;
  win_line():
  3339:             if (char2cells(fill_diff) > 1)
  3342:             c_extra = fill_diff;
include_link (6 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:72
syntax.c (6 uses)
  reset_expand_highlight():
  6012:     include_link = include_default = include_none = 0;
  set_context_in_syntax_cmd():
  6043:     include_link = 0;
  set_context_in_highlight_cmd():
  9050:     include_link = 2;
  9068:         include_link = 0;
  get_highlight_name():
  9134:                              && include_link != 0)
  9137:                              && include_link != 0)
include_none (6 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:70
syntax.c (6 uses)
  reset_expand_highlight():
  6012:     include_link = include_default = include_none = 0;
  set_context_in_echohl_cmd():
  6026:     include_none = 1;
  get_highlight_name():
  9129:     if (idx == highlight_ga.ga_len && include_none != 0)
  9131:     if (idx == highlight_ga.ga_len + include_none && include_default != 0)
  9133:     if (idx == highlight_ga.ga_len + include_none + include_default
  9136:     if (idx == highlight_ga.ga_len + include_none + include_default + 1
input_conv (6 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:790
mbyte.c (3 uses)
  mb_init():
  497:     input_conv.vc_type = CONV_NONE;
  498:     input_conv.vc_factor = 1;
  convert_input_safe():
  5858:     d = string_convert_ext(&input_conv, ptr, &dlen,
option.c (1 use)
  did_set_string_option():
  5733:         convert_setup(&input_conv, p_tenc, p_enc);
ui.c (2 uses)
  fill_input_buf():
  1798:         / input_conv.vc_factor
  1853:     if (input_conv.vc_type != CONV_NONE)
Insstart_blank_vcol (6 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:252
edit.c (6 uses)
  edit():
  389:     Insstart_blank_vcol = MAXCOL;
  1373:         if (Insstart_blank_vcol == MAXCOL
  1375:             Insstart_blank_vcol = get_nolist_virtcol();
  insertchar():
  5486:                 || Insstart_blank_vcol <= (colnr_T)textwidth
  ins_tab():
  9137:     if (Insstart_blank_vcol == MAXCOL && curwin->w_cursor.lnum == Insstart.lnum)
  9138:     Insstart_blank_vcol = get_nolist_virtcol();
invalid_top (6 uses in 1 translation unit) defined static in translation unit fold.c, declared in fold.c:74
fold.c (6 uses)
  foldLevel():
  260:     if (invalid_top == (linenr_T)0)
  264:     else if (lnum >= invalid_top && lnum <= invalid_bot)
  foldUpdateIEMS():
  2142:     if (invalid_top != (linenr_T)0)
  2182:     invalid_top = top;
  2289:         invalid_top = fline.lnum;
  2323:     invalid_top = (linenr_T)0;
ireg_icombine (6 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3099
regexp.c (6 uses)
  vim_regexec():
  3289:     ireg_icombine = FALSE;
  vim_regexec_nl():
  3313:     ireg_icombine = FALSE;
  vim_regexec_multi():
  3349:     ireg_icombine = FALSE;
  vim_regexec_both():
  3434:     ireg_icombine = TRUE;
  regmatch():
  4288:             if (!ireg_icombine)
  cstrncmp():
  6572:     if (result != 0 && enc_utf8 && ireg_icombine)
keep_help_flag (6 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1050
ex_cmds.c (1 use)
  do_ecmd():
  3432:     if ((flags & ECMD_SET_HELP) || keep_help_flag)
ex_docmd.c (2 uses)
  ex_pedit():
  9237:     keep_help_flag = curwin_save->w_buffer->b_help;
  9239:     keep_help_flag = FALSE;
tag.c (3 uses)
  jumpto_tag():
  3131:         keep_help_flag = curwin_save->w_buffer->b_help;
  3134:         keep_help_flag = curbuf->b_help;
  3137:     keep_help_flag = FALSE;
lcs_tab2 (6 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1123
message.c (1 use)
  msg_prt_line():
  1620:             c_extra = lcs_tab2;
option.c (4 uses)
  set_chars_option():
  6772:     {&lcs_tab2,    "tab"},
  6826:             if (tab[i].cp == &lcs_tab2)
  6842:                 if (tab[i].cp == &lcs_tab2)
  6845:                 lcs_tab2 = c2;
screen.c (1 use)
  win_line():
  4077:             c_extra = lcs_tab2;
longest_lnum (6 uses in 1 translation unit) defined static in translation unit gui.c, declared in gui.c:4272
gui.c (6 uses)
  gui_update_horiz_scrollbar():
  4334:             longest_lnum = lnum;
  4338:                < abs((int)(longest_lnum - curwin->w_cursor.lnum)))
  4339:             longest_lnum = lnum;
  gui_do_horiz_scroll():
  4412:         && longest_lnum >= curwin->w_topline
  4413:         && longest_lnum < curwin->w_botline
  4418:         curwin->w_cursor.lnum = longest_lnum;
mr_pattern (6 uses in 1 translation unit) defined static in translation unit search.c, declared in search.c:101
search.c (6 uses)
  search_regcomp():
  197:     mr_pattern = pat;
  get_search_pat():
  227:     return mr_pattern;
  searchit():
  537:         EMSG2(_("E383: Invalid search string: %s"), mr_pattern);
  949:         EMSG2(_(e_patnotf2), mr_pattern);
  951:         EMSG2(_("E384: search hit TOP without match for: %s"),
  954:         EMSG2(_("E385: search hit BOTTOM without match for: %s"),
msg_hist_off (6 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:169
message.c (5 uses)
  msg_trunc_attr():
  703:     msg_hist_off = TRUE;
  705:     msg_hist_off = FALSE;
  add_msg_hist():
  760:     if (msg_hist_off || msg_silent != 0)
  ex_messages():
  823:     msg_hist_off = TRUE;
  835:     msg_hist_off = FALSE;
search.c (1 use)
  find_pattern_in_path():
  4768:             msg_hist_off = TRUE;    /* reset in msg_trunc_attr() */
no_check_timestamps (6 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:346
ex_cmds2.c (3 uses)
  ex_checktime():
  3758:     int        save_no_check_timestamps = no_check_timestamps;
  3760:     no_check_timestamps = 0;
  3769:     no_check_timestamps = save_no_check_timestamps;
fileio.c (1 use)
  check_timestamps():
  6241:     if (no_check_timestamps > 0)
misc1.c (2 uses)
  get_cmd_output():
  9417:     ++no_check_timestamps;
  9419:     --no_check_timestamps;
nv_cmd_idx (6 uses in 1 translation unit) defined static in translation unit normal.c, declared in normal.c:455
normal.c (6 uses)
  init_normal_cmds():
  495:     nv_cmd_idx[i] = i;
  498:     qsort((void *)&nv_cmd_idx, (size_t)NV_CMDS_SIZE, sizeof(short), nv_compare);
  502:     if (i != nv_cmds[nv_cmd_idx[i]].cmd_char)
  find_command():
  534:     return nv_cmd_idx[cmdchar];
  543:     c = nv_cmds[nv_cmd_idx[i]].cmd_char;
  548:         idx = nv_cmd_idx[i];
old_char (6 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:1502
getchar.c (6 uses)
  vgetc():
  1535:     if (old_char != -1)
  1537:     c = old_char;
  1538:     old_char = -1;
  vpeekc():
  1787:     if (old_char != -1)
  1788:     return old_char;
  vungetc():
  1848:     old_char = c;
p_awa (6 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:317
ex_cmds.c (1 use)
  do_ecmd():
  3212:     && check_changed(curbuf, p_awa, !other_file,
ex_cmds2.c (3 uses)
  autowrite():
  1309:     if (!(p_aw || p_awa) || !p_write
  autowrite_all():
  1333:     if (!(p_aw || p_awa) || !p_write)
  check_changed_any():
  1547:     if (check_changed(buf, p_awa, TRUE, FALSE, TRUE) && buf_valid(buf))
ex_docmd.c (2 uses)
  ex_quit():
  6218:         && check_changed(curbuf, p_awa, FALSE, eap->forceit, FALSE))
  ex_recover():
  7009:     if (!check_changed(curbuf, p_awa, TRUE, eap->forceit, FALSE)
p_bex (6 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:332
fileio.c (2 uses)
  buf_write():
  3501:     if (*p_bex == NUL)
  3510:         backup_ext = p_bex;
option.c (4 uses)
  did_set_string_option():
  5483:     else if (varp == &p_bex || varp == &p_pm)
  5485:     if (STRCMP(*p_bex == '.' ? p_bex + 1 : p_bex,
  5485:     if (STRCMP(*p_bex == '.' ? p_bex + 1 : p_bex,
  5485:     if (STRCMP(*p_bex == '.' ? p_bex + 1 : p_bex,
p_cot (6 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:382
edit.c (3 uses)
  pum_wanted():
  2621:     if (vim_strchr(p_cot, 'm') == NULL)
  pum_enough_matches():
  2656:     if (strstr((char *)p_cot, "menuone") != NULL)
  ins_compl_prep():
  3408:     compl_get_longest = (vim_strchr(p_cot, 'l') != NULL);
option.c (2 uses)
  did_set_string_option():
  6416:     else if (varp == &p_cot)
  6418:     if (check_opt_strings(p_cot, p_cot_values, TRUE) != OK)
popupmnu.c (1 use)
  pum_set_selected():
  539:         && vim_strchr(p_cot, 'p') != NULL)
p_debug (6 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:398
message.c (3 uses)
  emsg_not_now():
  539:     if ((emsg_off > 0 && vim_strchr(p_debug, 'm') == NULL
  540:                       && vim_strchr(p_debug, 't') == NULL)
  emsg():
  584:     if (!emsg_off || vim_strchr(p_debug, 't') != NULL)
misc1.c (1 use)
  vim_beep():
  3379:     if (vim_strchr(p_debug, 'e') != NULL)
option.c (2 uses)
  did_set_string_option():
  6238:     else if (varp == &p_debug)
  6240:     if (check_opt_strings(p_debug, p_debug_values, TRUE) != OK)
p_efm (6 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:432
main.c (1 use)
  main():
  669:     if (qf_init(NULL, p_ef, p_efm, TRUE) < 0)
quickfix.c (5 uses)
  qf_init_ext():
  272:     if (errorformat == p_efm && tv == NULL && *buf->b_p_efm != NUL)
  ex_make():
  2778:                 && eap->cmdidx != CMD_lmake) ? p_gefm : p_efm,
  ex_cfile():
  2954:     if (qf_init(wp, p_ef, p_efm, (eap->cmdidx != CMD_caddfile
  ex_cbuffer():
  3698:         if (qf_init_ext(qi, NULL, buf, NULL, p_efm,
  ex_cexpr():
  3737:         if (qf_init_ext(qi, NULL, NULL, tv, p_efm,
p_icon (6 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:543
buffer.c (2 uses)
  maketitle():
  3060:     if (!p_title && !p_icon)
  3175:     if (p_icon)
option.c (3 uses)
  set_title_defaults():
  3913:     p_icon = val;
  did_set_title():
  4853:         if (!p_icon)
  set_bool_option():
  7286:     else if ((int *)varp == &p_icon)
screen.c (1 use)
  showruler():
  9357:         || (p_icon && (stl_syntax & STL_IN_ICON))
p_mef (6 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:589
quickfix.c (6 uses)
  get_mef_name():
  2814:     if (*p_mef == NUL)
  2822:     for (p = p_mef; *p; ++p)
  2827:     return vim_strsave(p_mef);
  2837:     name = alloc((unsigned)STRLEN(p_mef) + 30);
  2840:     STRCPY(name, p_mef);
  2841:     sprintf((char *)name + (p - p_mef), "%d%d", start, off);
p_mouse (6 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:610
option.c (3 uses)
  did_set_string_option():
  6608:     else if (varp == &p_mouse)
  6722:     if (varp == &p_mouse)
  6725:     if (*p_mouse == NUL)
os_unix.c (1 use)
  check_mouse_termcode():
  3324:     if (*p_mouse != NUL)
term.c (2 uses)
  setmouse():
  3340:     if (*p_mouse == NUL || has_mouse_termcode == 0)
  mouse_has():
  3386:     for (p = p_mouse; *p; ++p)
p_sc (6 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:719
normal.c (5 uses)
  clear_showcmd():
  3663:     if (!p_sc)
  add_to_showcmd():
  3752:     if (!p_sc || msg_silent != 0)
  del_from_showcmd():
  3803:     if (!p_sc)
  push_showcmd():
  3822:     if (p_sc)
  pop_showcmd():
  3829:     if (!p_sc)
option.c (1 use)
  comp_col():
  8894:     if (p_sc)
p_sm (6 uses in 4 translation units) defined in translation unit main.c, declared in ./option.h:722
main.c (1 use)
  command_line_scan():
  1807:         p_sm = TRUE;
misc1.c (1 use)
  ins_char_bytes():
  2076:     if (p_sm && (State & INSERT)
normal.c (1 use)
  nv_replace():
  6815:         if (p_sm && msg_silent == 0)
option.c (3 uses)
  paste_option_changed():
  10287:         save_sm = p_sm;
  10316:     p_sm = 0;            /* no showmatch */
  10350:     p_sm = save_sm;
p_sta (6 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:727
edit.c (5 uses)
  ins_bs():
  8467:         && ((p_sta && in_indent)
  8481:         if (p_sta && in_indent)
  ins_tab():
  9152:         && !(p_sta && ind && curbuf->b_p_ts != curbuf->b_p_sw)
  9167:     if (p_sta && ind)        /* insert tab in indent, use 'shiftwidth' */
  9198:     if (!curbuf->b_p_et && (curbuf->b_p_sts || (p_sta && ind)))
normal.c (1 use)
  nv_replace():
  6736:     if (had_ctrl_v != Ctrl_V && cap->nchar == '\t' && (curbuf->b_p_et || p_sta))
p_title (6 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:762
buffer.c (2 uses)
  maketitle():
  3060:     if (!p_title && !p_icon)
  3063:     if (p_title)
option.c (3 uses)
  set_title_defaults():
  3901:     p_title = val;
  did_set_title():
  4858:         if (!p_title)
  set_bool_option():
  7281:     else if ((int *)varp == &p_title)
screen.c (1 use)
  showruler():
  9358:         || (p_title && (stl_syntax & STL_IN_TITLE))
p_titlelen (6 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:763
buffer.c (2 uses)
  maketitle():
  3065:     if (p_titlelen > 0)
  3067:         maxlen = p_titlelen * Columns / 100;
option.c (4 uses)
  set_num_option():
  7816:     else if (pp == &p_titlelen)
  7818:     if (p_titlelen < 0)
  7821:         p_titlelen = 85;
  7823:     if (starting != NO_SCREEN && old_value != p_titlelen)
p_ttm (6 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:771
getchar.c (2 uses)
  vgetorpeek():
  2733:                     : ((keylen == KL_PART_KEY && p_ttm >= 0)
  2734:                         ? p_ttm
misc1.c (2 uses)
  get_keystroke():
  3096:            && (!p_ttimeout || waited * 100L < (p_ttm < 0 ? p_tm : p_ttm)))
  3096:            && (!p_ttimeout || waited * 100L < (p_ttm < 0 ? p_tm : p_ttm)))
normal.c (2 uses)
  normal_cmd():
  1048:         long towait = (p_ttm >= 0 ? p_ttm : p_tm);
  1048:         long towait = (p_ttm >= 0 ? p_ttm : p_tm);
page_count (6 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:103
hardcopy.c (6 uses)
  ex_hardcopy():
  686:     page_count = 0;
  710:     for (page_count = 0; prtpos.file_line <= eap->line2; ++page_count)
  710:     for (page_count = 0; prtpos.file_line <= eap->line2; ++page_count)
  738:                 page_count + 1 + side,
  758:             prt_header(&settings, page_count + 1 + side,
  801:         ++page_count;
pc_col (6 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:1529
edit.c (6 uses)
  edit_putchar():
  1547:     pc_col = W_WINCOL(curwin);
  1572:         pc_col += curwin->w_wcol;
  1574:         if (mb_lefthalve(pc_row, pc_col))
  1584:         screen_getbytes(pc_row, pc_col, pc_bytes, &pc_attr);
  1587:     screen_putchar(c, pc_row, pc_col, attr);
  edit_unputchar():
  1606:         screen_puts(pc_bytes, pc_row - msg_scrolled, pc_col, pc_attr);
pc_row (6 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:1528
edit.c (6 uses)
  edit_putchar():
  1546:     pc_row = W_WINROW(curwin) + curwin->w_wrow;
  1574:         if (mb_lefthalve(pc_row, pc_col))
  1584:         screen_getbytes(pc_row, pc_col, pc_bytes, &pc_attr);
  1587:     screen_putchar(c, pc_row, pc_col, attr);
  edit_unputchar():
  1597:     if (pc_status != PC_STATUS_UNSET && pc_row >= msg_scrolled)
  1606:         screen_puts(pc_bytes, pc_row - msg_scrolled, pc_col, pc_attr);
postponed_split_tab (6 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1039
ex_docmd.c (4 uses)
  ex_wincmd():
  8050:     postponed_split_tab = cmdmod.tab;
  8053:     postponed_split_tab = 0;
  ex_stag():
  9260:     postponed_split_tab = cmdmod.tab;
  9263:     postponed_split_tab = 0;
window.c (2 uses)
  may_open_tabpage():
  3387:     int        n = (cmdmod.tab == 0) ? postponed_split_tab : cmdmod.tab;
  3392:     postponed_split_tab = 0;
prevprevchr (6 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:2569
regexp.c (6 uses)
  initchr():
  2586:     curchr = prevprevchr = prevchr = nextchr = -1;
  peekchr():
  2657:                 && prevprevchr == Magic('%'))))
  skipchr():
  2776:     prevprevchr = prevchr;
  skipchr_keepstart():
  2791:     int prpr = prevprevchr;
  2796:     prevprevchr = prpr;
  ungetchr():
  2816:     prevchr = prevprevchr;
prt_do_conv (6 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1448
hardcopy.c (6 uses)
  mch_print_cleanup():
  2243:     if (prt_do_conv)
  2246:     prt_do_conv = FALSE;
  mch_print_begin():
  3037:     prt_do_conv = TRUE;
  3039:     prt_do_conv = prt_conv.vc_type != CONV_NONE;
  mch_print_text_out():
  3520:     if (prt_do_conv)
  3588:     if (prt_do_conv && (*p != NUL))
prt_fgcol (6 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1421
hardcopy.c (6 uses)
  mch_print_begin_page():
  3333:     prt_fgcol = PRCOLOR_BLACK;
  mch_print_text_out():
  3486:         r = ((unsigned)prt_fgcol & 0xff0000) >> 16;
  3487:         g = ((unsigned)prt_fgcol & 0xff00) >> 8;
  3488:         b = prt_fgcol & 0xff;
  mch_print_set_fg():
  3646:     if (fgcol != (long_u)prt_fgcol)
  3648:     prt_fgcol = (int)fgcol;
prt_need_font (6 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1415
hardcopy.c (6 uses)
  mch_print_init():
  2789:     prt_need_font = FALSE;
  mch_print_text_out():
  3417:         prt_need_font = TRUE;
  3425:         prt_need_font = TRUE;
  3471:     if (prt_need_font)
  3481:         prt_need_font = FALSE;
  mch_print_set_font():
  3623:     prt_need_font = TRUE;
prt_need_moveto (6 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1413
hardcopy.c (6 uses)
  mch_print_init():
  2788:     prt_need_moveto = FALSE;
  mch_print_start_line():
  3376:     prt_need_moveto = TRUE;
  mch_print_text_out():
  3440:         prt_need_moveto = TRUE;
  3448:         prt_need_moveto = TRUE;
  3463:     if (prt_need_moveto)
  3469:         prt_need_moveto = FALSE;
pum_scrollbar (6 uses in 1 translation unit) defined static in translation unit popupmnu.c, declared in popupmnu.c:26
popupmnu.c (6 uses)
  pum_display():
  181:     pum_scrollbar = 1;
  185:     pum_scrollbar = 0;
  205:         pum_width = Columns - pum_col - pum_scrollbar;
  236:     pum_width = max_width - pum_scrollbar;
  pum_redraw():
  272:     if (pum_scrollbar)
  429:     if (pum_scrollbar > 0)
reg_startzp (6 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3260
regexp.c (6 uses)
  regtry():
  3709:         if (reg_startzp[i] != NULL && reg_endzp[i] != NULL)
  3711:                 vim_strnsave(reg_startzp[i],
  3712:                     (int)(reg_endzp[i] - reg_startzp[i]));
  regmatch():
  4456:             save_se(&rp->rs_un.sesave, &reg_startzpos[no],
  4978:         restore_se(&rp->rs_un.sesave, &reg_startzpos[rp->rs_no],
  cleanup_zsubexpr():
  5844:         vim_memset(reg_startzp, 0, sizeof(char_u *) * NSUBEXP);
replace_offset (6 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1045
edit.c (6 uses)
  internal_format():
  5871:         replace_offset = startcol - end_foundcol - 1;
  5921:     replace_offset = 0;
  replace_push():
  6930:     if (replace_stack_nr < replace_offset)    /* nothing to do */
  6949:     p = replace_stack + replace_stack_nr - replace_offset;
  6950:     if (replace_offset)
  6951:     mch_memmove(p + 1, p, (size_t)(replace_offset * sizeof(char_u)));
restart_VIsual_select (6 uses in 1 translation unit) defined static in translation unit normal.c, declared in normal.c:25
normal.c (6 uses)
  normal_cmd():
  1306:         || restart_VIsual_select == 1)
  1315:     if (restart_VIsual_select == 1)
  1319:         restart_VIsual_select = 0;
  1331:     if (restart_VIsual_select == 2)
  1332:     restart_VIsual_select = 1;
  nv_ctrlo():
  5277:     restart_VIsual_select = 2;    /* restart Select mode later */
scrollbar_value (6 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:464
gui.c (6 uses)
  gui_drag_scrollbar():
  3770:     scrollbar_value = value;
  3814:     scrollbar_value = value;
  gui_do_scroll():
  4158:     nlines = (long)scrollbar_value + 1 - (long)wp->w_topline;
  gui_do_horiz_scroll():
  4403:     if (curwin->w_leftcol == scrollbar_value)
  4406:     curwin->w_leftcol = (colnr_T)scrollbar_value;
  4416:     if (scrollbar_value > scroll_line_len(curwin->w_cursor.lnum))
show_shell_mess (6 uses in 1 translation unit) defined static in translation unit os_unix.c, declared in os_unix.c:200
os_unix.c (6 uses)
  mch_call_shell():
  3770:         || (gui.in_use && show_shell_mess)
  3825:         || (gui.in_use && show_shell_mess)
  3849:         if (!show_shell_mess || (options & SHELL_EXPAND))
  4010:             || (gui.in_use && show_shell_mess)
  mch_expand_wildcards():
  5354:     show_shell_mess = FALSE;
  5385:     show_shell_mess = TRUE;
sort_nr (6 uses in 1 translation unit) defined static in translation unit ex_cmds.c, declared in ex_cmds.c:277
ex_cmds.c (6 uses)
  sort_compare():
  319:     if (sort_nr)
  ex_sort():
  381:     sort_abort = sort_ic = sort_rx = sort_nr = sort_oct = sort_hex = 0;
  392:         sort_nr = 2;
  433:     if (sort_nr + sort_oct + sort_hex > 2)
  440:     sort_nr += sort_oct + sort_hex;
  473:     if (sort_nr)
stl_syntax (6 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1167
buffer.c (2 uses)
  maketitle():
  3076:         if (stl_syntax & STL_IN_TITLE)
  3181:         if (stl_syntax & STL_IN_ICON)
option.c (2 uses)
  did_set_string_option():
  6139:         stl_syntax |= flagval;
  6141:         stl_syntax &= ~flagval;
screen.c (2 uses)
  showruler():
  9357:         || (p_icon && (stl_syntax & STL_IN_ICON))
  9358:         || (p_title && (stl_syntax & STL_IN_TITLE))
stop_insert_mode (6 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:960
edit.c (3 uses)
  edit():
  440:     stop_insert_mode = FALSE;
  591:     if (stop_insert_mode)
  ins_reg():
  7707:     else if (stop_insert_mode)
ex_docmd.c (1 use)
  ex_stopinsert():
  9096:     stop_insert_mode = TRUE;
option.c (2 uses)
  set_bool_option():
  7202:         stop_insert_mode = FALSE;
  7207:         stop_insert_mode = TRUE;
submatch_match (6 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:6814
regexp.c (6 uses)
  vim_regsub_both():
  6939:         submatch_match = reg_match;
  6962:         reg_match = submatch_match;
  reg_submatch():
  7217:     if (submatch_match == NULL)
  7282:     if (submatch_match->endp[no] == NULL)
  7286:         s = submatch_match->startp[no];
  7287:         retval = vim_strnsave(s, (int)(submatch_match->endp[no] - s));
tabLabels (6 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:6542
gui_mac.c (6 uses)
  dbItemDataCallback():
  6582:     str = tabLabels[itemID - 1];
  gui_mch_update_tabline():
  6862:     if (tabLabels != NULL)
  6867:         CFRelease(tabLabels[i]);
  6868:     free(tabLabels);
  6870:     tabLabels = (CFStringRef *)malloc(numTabs * sizeof(CFStringRef));
  6877:     tabLabels[nr-1] = getTabLabel(tp);
tagmatchname (6 uses in 1 translation unit) defined static in translation unit tag.c, declared in tag.c:92
tag.c (6 uses)
  do_tag():
  507:     other_name = (tagmatchname == NULL || STRCMP(tagmatchname, name) != 0);
  507:     other_name = (tagmatchname == NULL || STRCMP(tagmatchname, name) != 0);
  514:         vim_free(tagmatchname);
  515:         tagmatchname = vim_strsave(name);
  tag_freematch():
  1087:     vim_free(tagmatchname);
  1088:     tagmatchname = NULL;
updating_screen (6 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:441
gui.c (1 use)
  gui_resize_shell():
  1283:     if (updating_screen || busy)
option.c (1 use)
  set_num_option():
  7934:     if (updating_screen)
screen.c (4 uses)
  update_screen():
  355:     updating_screen = TRUE;
  547:     updating_screen = FALSE;
  update_prepare():
  591:     updating_screen = TRUE;
  update_finish():
  616:     updating_screen = FALSE;
viminfo_hisidx (6 uses in 1 translation unit) defined static in translation unit ex_getln.c, declared in ex_getln.c:5689
ex_getln.c (6 uses)
  prepare_viminfo_history():
  5755:     viminfo_hisidx[type] = 0;
  read_viminfo_history():
  5773:     if (viminfo_hisidx[type] < viminfo_hislen[type])
  5800:             viminfo_history[type][viminfo_hisidx[type]++] = p;
  finish_viminfo_history():
  5820:     idx = hisidx[type] + viminfo_hisidx[type];
  5841:     for (i = 0; i < viminfo_hisidx[type]; i++)
  5850:     for (i = 0; i < viminfo_hisidx[type]; i++)
wild_menu_showing (6 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1073
ex_getln.c (3 uses)
  getcmdline():
  448:         if (p_wmnu && wild_menu_showing != 0)
  456:         if (wild_menu_showing == WM_SCROLLED)
  484:         wild_menu_showing = 0;
screen.c (3 uses)
  win_redr_status_matches():
  5651:     if (wild_menu_showing == 0)
  5667:         wild_menu_showing = WM_SCROLLED;
  5682:         wild_menu_showing = WM_SHOWN;
win_foldinfo (6 uses in 1 translation unit) defined static in translation unit screen.c, declared in screen.c:107
screen.c (6 uses)
  win_update():
  1478:     win_foldinfo.fi_level = 0;
  1721:         fold_count = foldedCount(wp, lnum, &win_foldinfo);
  1724:         fold_line(wp, fold_count, &win_foldinfo, lnum, row);
  fill_foldcolumn():
  2505:     level = win_foldinfo.fi_level;
  2519:         if (win_foldinfo.fi_lnum == lnum
  2520:                   && first_level + i >= win_foldinfo.fi_low_level)
active_apc_list (5 uses in 1 translation unit) defined static in translation unit fileio.c, declared in fileio.c:7215
fileio.c (5 uses)
  aubuflocal_remove():
  7413:     for (apc = active_apc_list; apc; apc = apc->next)
  apply_autocmds_group():
  8760:     patcmd.next = active_apc_list;
  8761:     active_apc_list = &patcmd;
  8791:     if (active_apc_list == &patcmd)        /* just in case */
  8792:         active_apc_list = patcmd.next;
allow_scrollbar (5 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:144
gui_mac.c (5 uses)
  gui_mac_drag_thumb():
  1578:     dont_scroll = !allow_scrollbar;
  gui_mac_scroll_action():
  1637:     dont_scroll = !allow_scrollbar;
  gui_mch_wait_for_chars():
  4455:     allow_scrollbar = TRUE;
  4487:         allow_scrollbar = FALSE;
  4495:     allow_scrollbar = FALSE;
autocmd_blocked (5 uses in 1 translation unit) defined static in translation unit fileio.c, declared in fileio.c:7249
fileio.c (5 uses)
  apply_autocmds_group():
  8539:     if (first_autopat[(int)event] == NULL || autocmd_blocked > 0)
  block_autocmds():
  8871:     if (autocmd_blocked == 0)
  8874:     ++autocmd_blocked;
  unblock_autocmds():
  8880:     --autocmd_blocked;
  8886:     if (autocmd_blocked == 0
brace_max (5 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:589
regexp.c (5 uses)
  regmatch():
  4701:             brace_max[no] = OPERAND_MAX(scan);
  4727:         if (brace_count[no] <= (brace_min[no] <= brace_max[no]
  4728:                          ? brace_min[no] : brace_max[no]))
  4744:         if (brace_min[no] <= brace_max[no])
  4747:             if (brace_count[no] <= brace_max[no])
brace_min (5 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:588
regexp.c (5 uses)
  regmatch():
  4700:             brace_min[no] = OPERAND_MIN(scan);
  4727:         if (brace_count[no] <= (brace_min[no] <= brace_max[no]
  4728:                          ? brace_min[no] : brace_max[no]))
  4744:         if (brace_min[no] <= brace_max[no])
  4764:             if (brace_count[no] <= brace_min[no])
clickIsPopup (5 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:147
gui_mac.c (5 uses)
  gui_mac_doInContentClick():
  1728:     clickIsPopup = FALSE;
  1734:         clickIsPopup = TRUE;
  gui_mac_doMouseMovedEvent():
  2501:     if (!clickIsPopup)
  gui_mac_doMouseUpEvent():
  2534:     if (clickIsPopup)
  2537:     clickIsPopup = FALSE;
compl_restarting (5 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:111
edit.c (5 uses)
  ins_compl_new_leader():
  3237:     compl_restarting = TRUE;
  3240:     compl_restarting = FALSE;
  ins_compl_next():
  4324:         && (!(compl_get_longest || compl_restarting) || compl_used_match))
  4333:     if (compl_restarting)
  4336:     compl_restarting = FALSE;
compl_xp (5 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:128
edit.c (5 uses)
  ins_compl_get_exp():
  4022:         if (expand_cmdline(&compl_xp, compl_pattern,
  ins_complete():
  4865:         set_cmd_context(&compl_xp, compl_pattern,
  4867:         if (compl_xp.xp_context == EXPAND_UNSUCCESSFUL
  4868:             || compl_xp.xp_context == EXPAND_NOTHING)
  4873:         compl_col = (int)(compl_xp.xp_pattern - compl_pattern);
contextMenu (5 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:6511
gui_mac.c (5 uses)
  dbGetContextualMenuCallback():
  6617:     *menu = contextMenu;
  initialise_tabline():
  6817:     CreateNewMenu(kTabContextMenuId, 0, &contextMenu);
  6818:     AppendMenuItemTextWithCFString(contextMenu, CFSTR("Close"), 0,
  6820:     AppendMenuItemTextWithCFString(contextMenu, CFSTR("New Tab"), 0,
  6822:     AppendMenuItemTextWithCFString(contextMenu, CFSTR("Open Tab..."), 0,
cterm_normal_fg_bold (5 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:362
screen.c (3 uses)
  screen_start_highlight():
  6727:                               && cterm_normal_fg_bold)
  screen_stop_highlight():
  6853:         if (cterm_normal_fg_bold)
  reset_cterm_colors():
  6876:     if (cterm_normal_fg_bold)
syntax.c (2 uses)
  do_highlight():
  7124:             cterm_normal_fg_bold = (HL_TABLE()[idx].sg_cterm & HL_BOLD);
  restore_cterm_colors():
  7435:     cterm_normal_fg_bold = 0;
current_finished (5 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:358
syntax.c (5 uses)
  syn_start_line():
  970:     current_finished = FALSE;
  syn_finish_line():
  1689:     if (!current_finished)
  1691:     while (!current_finished)
  syn_current_attr():
  1832:     current_finished = TRUE;
  1840:     current_finished = TRUE;
current_syn_id (5 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:92
hardcopy.c (5 uses)
  prt_line_number():
  388:     current_syn_id = -1;
  prt_header():
  538:     current_syn_id = -1;
  ex_hardcopy():
  674:     current_syn_id = -1;
  hardcopy_line():
  887:         if (id != current_syn_id)
  889:         current_syn_id = id;
default_vim_dir (5 uses in 2 translation units) defined in translation unit auto/pathdef.c, declared in auto/pathdef.c:5
misc1.c (3 uses)
  vim_getenv():
  4031:     else if (*default_vim_dir != NUL)
  4033:         if (vimruntime && (p = vim_version_dir(default_vim_dir)) != NULL)
  4037:         p = default_vim_dir;
version.c (2 uses)
  list_version():
  1638:     if (*default_vim_dir != NUL)
  1641:     version_msg((char *)default_vim_dir);
default_vimruntime_dir (5 uses in 2 translation units) defined in translation unit auto/pathdef.c, declared in auto/pathdef.c:6
misc1.c (3 uses)
  vim_getenv():
  3890:         && *default_vimruntime_dir == NUL
  4026:     if (vimruntime && *default_vimruntime_dir != NUL)
  4028:         p = default_vimruntime_dir;
version.c (2 uses)
  list_version():
  1644:     if (*default_vimruntime_dir != NUL)
  1647:     version_msg((char *)default_vimruntime_dir);
didset_vim (5 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:208
eval.c (2 uses)
  ex_let_one():
  2217:             else if (didset_vim && STRICMP(name, "VIM") == 0)
  2218:             didset_vim = FALSE;
misc1.c (1 use)
  vim_getenv():
  4069:         didset_vim = TRUE;
option.c (2 uses)
  did_set_string_option():
  5511:     if (didset_vim)
  5514:         didset_vim = FALSE;
didset_vimruntime (5 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:209
eval.c (2 uses)
  ex_let_one():
  2219:             else if (didset_vimruntime
  2221:             didset_vimruntime = FALSE;
misc1.c (1 use)
  vim_getenv():
  4053:         didset_vimruntime = TRUE;
option.c (2 uses)
  did_set_string_option():
  5516:     if (didset_vimruntime)
  5519:         didset_vimruntime = FALSE;
e_letwrong (5 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:108
eval.c (5 uses)
  ex_let_one():
  2191:         EMSG2(_(e_letwrong), op);
  2261:             EMSG2(_(e_letwrong), op);
  2296:         EMSG2(_(e_letwrong), op);
  set_var_lval():
  2776:         EMSG2(_(e_letwrong), op);
  tv_op():
  2873:     EMSG2(_(e_letwrong), op);
e_listarg (5 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:97
eval.c (5 uses)
  f_inputlist():
  11757:     EMSG2(_(e_listarg), "inputlist()");
  f_insert():
  11858:     EMSG2(_(e_listarg), "insert()");
  f_reverse():
  13956:     EMSG2(_(e_listarg), "reverse()");
  f_sort():
  15164:     EMSG2(_(e_listarg), "sort()");
  f_writefile():
  16795:     EMSG2(_(e_listarg), "writefile()");
e_loclist (5 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1465
quickfix.c (5 uses)
  qf_list():
  1901:         EMSG(_(e_loclist));
  qf_age():
  2034:         EMSG(_(e_loclist));
  ex_copen():
  2271:         EMSG(_(e_loclist));
  ex_cc():
  2873:         EMSG(_(e_loclist));
  ex_cnext():
  2910:         EMSG(_(e_loclist));
e_notsubmenu (5 uses in 1 translation unit) defined static in translation unit menu.c, declared in menu.c:64
menu.c (5 uses)
  add_menu_path():
  547:             EMSG(_(e_notsubmenu));
  menu_nable_recurse():
  852:             EMSG(_(e_notsubmenu));
  remove_menu():
  918:             EMSG(_(e_notsubmenu));
  show_menus():
  1099:             EMSG(_(e_notsubmenu));
  ex_emenu():
  2162:             EMSG(_(e_notsubmenu));
e_nowrtmsg (5 uses in 5 translation units) defined in translation unit main.c, declared in ./globals.h:1442
buffer.c (1 use)
  do_buffer():
  1271:         EMSG(_(e_nowrtmsg));
ex_cmds.c (1 use)
  getfile():
  3035:         EMSG(_(e_nowrtmsg));
ex_cmds2.c (1 use)
  check_changed():
  1393:     EMSG(_(e_nowrtmsg));
ex_docmd.c (1 use)
  ex_win_close():
  6354:         EMSG(_(e_nowrtmsg));
quickfix.c (1 use)
  qf_jump():
  1740:         EMSG(_(e_nowrtmsg));
enc_canon_table (5 uses in 1 translation unit) defined static in translation unit mbyte.c, declared in mbyte.c:188
mbyte.c (5 uses)
  enc_canon_search():
  419:     if (STRCMP(name, enc_canon_table[i].name) == 0)
  enc_canon_props():
  440:     return enc_canon_table[i].prop;
  mb_init():
  554:     i = enc_canon_table[idx].prop;
  569:         enc_dbcs_new = enc_canon_table[idx].codepage;
  enc_canonize():
  3041:         r = vim_strsave((char_u *)enc_canon_table[i].name);
ex_pressedreturn (5 uses in 1 translation unit) defined static in translation unit ex_docmd.c, declared in ex_docmd.c:21
ex_docmd.c (5 uses)
  do_exmode():
  642:     ex_pressedreturn = FALSE;
  666:         if (ex_pressedreturn)
  679:     else if (ex_pressedreturn && !ex_no_reprint)    /* must be at EOF */
  do_one_cmd():
  1740:         ex_pressedreturn = TRUE;
  1748:         ex_pressedreturn = TRUE;
exe_name (5 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:906
gui_mac.c (1 use)
  gui_mch_prepare():
  2956:     exe_name = FullPathFromFSSpec_save(applDir);
misc1.c (4 uses)
  vim_getenv():
  3941:         p = exe_name;
  3955:         if (p == exe_name)
  3975:         if (p == exe_name)
  3995:         if (p == exe_name || p == p_hf)
expand_modes (5 uses in 1 translation unit) defined static in translation unit menu.c, declared in menu.c:1218
menu.c (5 uses)
  set_context_in_menu_cmd():
  1284:     expand_modes = get_menu_cmd_modes(cmd, forceit, NULL, &unmenu);
  1286:         expand_modes = MENU_ALL_MODES;
  1306:             || ((menu->modes & expand_modes) == 0x0))
  get_menu_name():
  1365:     if (menu->modes & expand_modes)
  get_menu_names():
  1407:     if (menu->modes & expand_modes)
extra_shell_arg (5 uses in 1 translation unit) defined static in translation unit os_unix.c, declared in os_unix.c:199
os_unix.c (5 uses)
  mch_call_shell():
  3756:     if (extra_shell_arg != NULL)
  3757:         argv[argc++] = (char *)extra_shell_arg;
  mch_expand_wildcards():
  5364:     extra_shell_arg = (char_u *)"-G";   /* Use zsh NULL_GLOB option */
  5372:     extra_shell_arg = (char_u *)"-f";    /* Use csh fast option */
  5384:     extra_shell_arg = NULL;        /* cleanup */
first_msg_hist (5 uses in 1 translation unit) defined static in translation unit message.c, declared in message.c:53
message.c (5 uses)
  add_msg_hist():
  787:     if (first_msg_hist == NULL)
  788:         first_msg_hist = last_msg_hist;
  delete_first_msg():
  804:     p = first_msg_hist;
  805:     first_msg_hist = p->next;
  ex_messages():
  831:     for (p = first_msg_hist; p != NULL && !got_int; p = p->next)
force_menu_update (5 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:449
menu.c (5 uses)
  add_menu_path():
  663:             force_menu_update = TRUE;
  menu_nable_recurse():
  883:     force_menu_update = TRUE;
  free_menu():
  1047:     force_menu_update = TRUE;
  gui_update_menus():
  1895:     if (force_menu_update || mode != prev_mode)
  1900:     force_menu_update = FALSE;
gDialogHotKeys (5 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:157
gui_mac.c (5 uses)
  DialogHotkeyFilterProc():
  5542:     if (gDialogHotKeys && gDialogHotKeys[keyHit])
  5542:     if (gDialogHotKeys && gDialogHotKeys[keyHit])
  5547:         *itemHit = gDialogHotKeys[keyHit];
  gui_mch_dialog():
  5757:     gDialogHotKeys = NULL;
  5761:     gDialogHotKeys = (short *)&hotKeys;
gMacSystemVersion (5 uses in 1 translation unit) defined in translation unit gui_mac.c, declared in gui_mac.c:58
gui_mac.c (5 uses)
  gui_mch_init():
  3049:     if (Gestalt(gestaltSystemVersion, &gMacSystemVersion) != noErr)
  3050:     gMacSystemVersion = 0x1000; /* TODO: Default to minimum sensible value */
  draw_string_QD():
  3964:     if (gMacSystemVersion >= 0x1020)
  3981:     if (((gMacSystemVersion >= 0x1020 && p_antialias) || p_linespace != 0)
  4007:     if (gMacSystemVersion >= 0x1020 && p_antialias)
hisnum (5 uses in 1 translation unit) defined static in translation unit ex_getln.c, declared in ex_getln.c:58
ex_getln.c (5 uses)
  in_history():
  5128:     history[type][i].hisnum = ++hisnum[type];
  add_to_history():
  5194:         --hisnum[histype];
  5213:     hisptr->hisnum = ++hisnum[histype];
  clr_history():
  5407:     hisnum[histype] = 0;    /* reset identifier counter */
  finish_viminfo_history():
  5852:         history[type][idx++].hisnum = ++hisnum[type];
hl_attr_table (5 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:82
syntax.c (5 uses)
  do_highlight():
  6855:         for (i = sizeof(hl_attr_table) / sizeof(int); --i >= 0; )
  6860:             attr |= hl_attr_table[i];
  highlight_list_arg():
  8239:         for (i = 0; hl_attr_table[i] != 0; ++i)
  8241:         if (iarg & hl_attr_table[i])
  8246:             iarg &= ~hl_attr_table[i];        /* don't want "inverse" */
ignore_script (5 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:958
ex_cmds2.c (3 uses)
  do_debug():
  173:         save_ignore_script = ignore_script;
  174:         ignore_script = TRUE;
  182:         ignore_script = save_ignore_script;
getchar.c (2 uses)
  openscript():
  1369:     if (ignore_script)
  inchar():
  2882:         && !ignore_script
im_is_active (5 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:63
gui_mac.c (5 uses)
  im_on_window_switch():
  6403:     im_is_active = TRUE;
  6428:     im_is_active = FALSE;
  im_set_active():
  6456:     im_is_active = TRUE;
  6487:     im_is_active = FALSE;
  im_get_status():
  6501:     return im_is_active;
item_compare_func_err (5 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:15074
eval.c (5 uses)
  item_compare2():
  15123:     if (item_compare_func_err)
  15141:     res = get_tv_number_chk(&rettv, &item_compare_func_err);
  15142:     if (item_compare_func_err)
  f_sort():
  15206:     item_compare_func_err = FALSE;
  15218:         if (!item_compare_func_err)
last_maptick (5 uses in 1 translation unit) defined static in translation unit ex_getln.c, declared in ex_getln.c:5160
ex_getln.c (5 uses)
  add_to_history():
  5187:     if (maptick == last_maptick)
  5198:     last_maptick = -1;
  5215:         last_maptick = maptick;
  del_history_idx():
  5493:     if (histype == HIST_SEARCH && maptick == last_maptick && i == idx)
  5494:     last_maptick = -1;
last_matchgroup (5 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:3702
syntax.c (5 uses)
  syn_list_one():
  3764:     last_matchgroup = 0;
  put_pattern():
  3925:     if (last_matchgroup != spp->sp_syn_match_id)
  3927:     last_matchgroup = spp->sp_syn_match_id;
  3930:     if (last_matchgroup == 0)
  3933:         msg_outtrans(HL_TABLE()[last_matchgroup - 1].sg_name);
lcs_trail (5 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1124
message.c (2 uses)
  msg_prt_line():
  1571:     if (list && lcs_trail)
  1645:         c = lcs_trail;
option.c (1 use)
  set_chars_option():
  6773:     {&lcs_trail,    "trail"},
screen.c (2 uses)
  win_line():
  2971:     if (wp->w_p_list && lcs_trail)
  4035:             c = lcs_trail;
mapped_ctrl_c (5 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:912
getchar.c (1 use)
  do_map():
  3571:     mapped_ctrl_c = TRUE;
misc1.c (3 uses)
  get_keystroke():
  3069:     int        save_mapped_ctrl_c = mapped_ctrl_c;
  3072:     mapped_ctrl_c = FALSE;    /* mappings are not used here */
  3163:     mapped_ctrl_c = save_mapped_ctrl_c;
ui.c (1 use)
  ui_inchar():
  177:     if (mapped_ctrl_c)
may_garbage_collect (5 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:312
eval.c (1 use)
  garbage_collect():
  6135:     may_garbage_collect = FALSE;
getchar.c (3 uses)
  before_blocking():
  1472:     if (may_garbage_collect)
  vgetc():
  1527:     if (may_garbage_collect && want_garbage_collect)
  1742:     may_garbage_collect = FALSE;
main.c (1 use)
  main_loop():
  1168:     may_garbage_collect = (!cmdwin && !noexmode);
mediumVersion (5 uses in 1 translation unit) defined static in translation unit version.c, declared in version.c:31
version.c (5 uses)
  do_intro_line():
  1855:     STRCPY(vers, mediumVersion);
  1859:         if (isalpha((int)mediumVersion[3]))
  1861:         if (isalpha((int)mediumVersion[4]))
  1863:                                mediumVersion + 5);
  1866:                                mediumVersion + 4);
mf_dont_release (5 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:563
memfile.c (3 uses)
  mf_close_file():
  299:     mf_dont_release = TRUE;
  302:     mf_dont_release = FALSE;
  mf_release():
  850:     if (mf_dont_release)
memline.c (2 uses)
  ml_get_buf():
  2109:     if (buf->b_ml.ml_line_lnum != lnum || mf_dont_release)
  ml_find_line():
  3248:         && !mf_dont_release)
need_fileinfo (5 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:161
buffer.c (1 use)
  enter_buffer():
  1416:         need_fileinfo = TRUE;    /* display file info after redraw */
fileio.c (1 use)
  readfile():
  325:     need_fileinfo = FALSE;
main.c (3 uses)
  main_loop():
  1017:         need_fileinfo = FALSE;
  1132:         if (need_fileinfo)        /* show file info after redraw */
  1135:         need_fileinfo = FALSE;
new_insert_skip (5 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:257
edit.c (5 uses)
  edit():
  568:     new_insert_skip = 0;
  571:     new_insert_skip = (int)STRLEN(ptr);
  stop_arrow():
  6280:     new_insert_skip = 2;
  stop_insert():
  6319:                        && (int)STRLEN(ptr) > new_insert_skip))
  6323:     last_insert_skip = new_insert_skip;
new_pixel_width (5 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:490
gui.c (5 uses)
  gui_resize_shell():
  1285:     new_pixel_width = pixel_width;
  1329:     pixel_width = new_pixel_width;
  1331:     new_pixel_width = 0;
  gui_may_resize_shell():
  1349:     w = new_pixel_width;
  1351:     new_pixel_width = 0;
newline_on_exit (5 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:194
main.c (1 use)
  main():
  740:     newline_on_exit = TRUE;
message.c (1 use)
  wait_return():
  1045:     newline_on_exit = TRUE;
os_unix.c (3 uses)
  exit_scroll():
  2942:     if (newline_on_exit || msg_didout)
  mch_exit():
  2986:     if (swapping_screen() && !newline_on_exit)
  2997:     if (!swapping_screen() || newline_on_exit)
next_match_m_endpos (5 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:331
syntax.c (5 uses)
  syn_current_attr():
  2127:                 next_match_m_endpos = endpos;
  2151:             if (next_match_m_endpos.lnum == current_lnum
  2152:                 && next_match_m_endpos.col == current_col
  push_next_match():
  2395:         update_si_end(cur_si, (int)(next_match_m_endpos.col), TRUE);
  2400:         cur_si->si_m_endpos = next_match_m_endpos;
no_smartcase (5 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:340
normal.c (1 use)
  nv_ident():
  5429:         no_smartcase = TRUE;    /* don't use 'smartcase' now */
search.c (4 uses)
  search_regcomp():
  168:     no_smartcase = spats[i].no_scs;
  save_re_pat():
  285:     spats[idx].no_scs = no_smartcase;
  ignorecase():
  359:     if (ic && !no_smartcase && p_scs
  393:     no_smartcase = FALSE;
old_fn (5 uses in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:856
if_python.c (5 uses)
  PythonIO_Flush():
  891:     if (old_fn && buffer_len)
  894:     old_fn(buffer);
  writer():
  905:     if (fn != old_fn && old_fn != NULL)
  905:     if (fn != old_fn && old_fn != NULL)
  908:     old_fn = fn;
oldtitle (5 uses in 1 translation unit) defined static in translation unit os_unix.c, declared in os_unix.c:142
os_unix.c (5 uses)
  mch_suspend():
  1125:     vim_free(oldtitle);
  1126:     oldtitle = NULL;
  mch_settitle():
  1969:     if (oldtitle == NULL
  mch_restore_title():
  2034:             (oldtitle ? oldtitle : p_titleold) : NULL,
  2034:             (oldtitle ? oldtitle : p_titleold) : NULL,
opchars (5 uses in 1 translation unit) defined static in translation unit ops.c, declared in ops.c:134
ops.c (5 uses)
  get_op_type():
  182:     if (opchars[i][0] == char1 && opchars[i][1] == char2)
  182:     if (opchars[i][0] == char1 && opchars[i][1] == char2)
  op_on_lines():
  195:     return opchars[op][2];
  get_op_char():
  207:     return opchars[optype][0];
  get_extra_op_char():
  217:     return opchars[optype][1];
orig_line_count (5 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:724
edit.c (3 uses)
  edit():
  433:     orig_line_count = curbuf->b_ml.ml_line_count;
  stop_arrow():
  6274:         orig_line_count = curbuf->b_ml.ml_line_count;
  ins_bs():
  8368:                    || curwin->w_cursor.lnum > orig_line_count)
misc1.c (2 uses)
  open_line():
  578:     if (curwin->w_cursor.lnum < orig_line_count)
  1322:     if (!(State & VREPLACE_FLAG) || old_cursor.lnum >= orig_line_count)
p_hls (5 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:529
option.c (2 uses)
  set_bool_option():
  7215:     else if ((int *)varp == &p_ic && p_hls)
  7222:     else if ((int *)varp == &p_hls)
screen.c (1 use)
  start_search_hl():
  6476:     if (p_hls && !no_hlsearch)
search.c (2 uses)
  save_re_pat():
  289:     if (p_hls)
  set_last_search_pat():
  451:     if (p_hls && idx == last_idx && !no_hlsearch)
p_iconstring (5 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:544
buffer.c (3 uses)
  maketitle():
  3178:     if (*p_iconstring != NUL)
  3191:                             p_iconstring, use_sandbox,
  3200:         i_str = p_iconstring;
option.c (2 uses)
  did_set_string_option():
  6132:     else if (varp == &p_titlestring || varp == &p_iconstring)
  6143:     did_set_title(varp == &p_iconstring);
p_linespace (5 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:571
gui_mac.c (4 uses)
  gui_mch_init_font():
  3519:     gui.char_height = font_info.ascent + font_info.descent + p_linespace;
  gui_mch_adjust_charheight():
  3538:     gui.char_height = font_info.ascent + font_info.descent + p_linespace;
  3539:     gui.char_ascent = font_info.ascent + p_linespace / 2;
  draw_string_QD():
  3981:     if (((gMacSystemVersion >= 0x1020 && p_antialias) || p_linespace != 0)
option.c (1 use)
  set_num_option():
  7714:     else if (pp == &p_linespace)
p_sol (5 uses in 4 translation units) defined in translation unit main.c, declared in ./option.h:741
buffer.c (2 uses)
  buflist_getfile():
  1902:     if (!p_sol && col != 0)
  buflist_getfpos():
  1930:     if (p_sol)
edit.c (1 use)
  beginline():
  6522:     if ((flags & BL_SOL) && !p_sol)
ex_cmds.c (1 use)
  do_ecmd():
  3713:         if (solcol >= 0 && !p_sol)
normal.c (1 use)
  do_pending_operator():
  2068:         if (!p_sol && oap->motion_type == MLINE && !oap->end_adjusted
p_sps (5 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:736
option.c (3 uses)
  option_expand():
  5010:         (char_u **)options[opt_idx].var == &p_sps ? (char_u *)"file:" :
  did_set_string_option():
  6303:     else if (varp == &p_sps)
  set_context_in_set_cmd():
  9810:     if (options[opt_idx].var == (char_u *)&p_sps
spell.c (2 uses)
  spell_check_sps():
  9982:     for (p = p_sps; *p != NUL; )
  spell_find_suggest():
  10538:     sps_copy = vim_strsave(p_sps);
p_ss (5 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:724
move.c (3 uses)
  curs_columns():
  1074:         if (p_ss == 0 || diff >= textwidth / 2 || off_right >= off_left)
  1078:         if (diff < p_ss)
  1079:             diff = p_ss;
option.c (2 uses)
  set_num_option():
  8029:     if (p_ss < 0)
  8032:     p_ss = 0;
p_ssop_values (5 uses in 1 translation unit) defined static in translation unit option.c, declared in ./option.h:674
option.c (5 uses)
  didset_options():
  5034:     (void)opt_strings_flags(p_ssop, p_ssop_values, &ssop_flags, TRUE);
  5035:     (void)opt_strings_flags(p_vop, p_ssop_values, &vop_flags, TRUE);
  did_set_string_option():
  5559:     if (opt_strings_flags(p_ssop, p_ssop_values, &ssop_flags, TRUE) != OK)
  5564:         (void)opt_strings_flags(oldval, p_ssop_values, &ssop_flags, TRUE);
  5571:     if (opt_strings_flags(p_vop, p_ssop_values, &vop_flags, TRUE) != OK)
p_stl (5 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:711
option.c (1 use)
  did_set_string_option():
  6345:     else if (gvarp == &p_stl || varp == &p_ruf)
screen.c (4 uses)
  updateWindow():
  720:         || *p_stl != NUL || *wp->w_p_stl != NUL
  win_redr_status():
  5740:     else if (*p_stl != NUL || *wp->w_p_stl != NUL)
  win_redr_custom():
  6053:         p = p_stl;
  showruler():
  9344:     if ((*p_stl != NUL || *curwin->w_p_stl != NUL) && curwin->w_status_height)
p_tenc (5 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:754
option.c (5 uses)
  did_set_string_option():
  5672:     else if (varp == &p_enc || gvarp == &p_fenc || varp == &p_tenc)
  5731:         if (((varp == &p_enc && *p_tenc != NUL) || varp == &p_tenc))
  5731:         if (((varp == &p_enc && *p_tenc != NUL) || varp == &p_tenc))
  5733:         convert_setup(&input_conv, p_tenc, p_enc);
  5734:         convert_setup(&output_conv, p_enc, p_tenc);
p_titlestring (5 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:765
buffer.c (3 uses)
  maketitle():
  3073:     if (*p_titlestring != NUL)
  3086:                           p_titlestring, use_sandbox,
  3095:         t_str = p_titlestring;
option.c (2 uses)
  did_set_string_option():
  6132:     else if (varp == &p_titlestring || varp == &p_iconstring)
  6135:     int    flagval = (varp == &p_titlestring) ? STL_IN_TITLE : STL_IN_ICON;
p_tm (5 uses in 4 translation units) defined in translation unit main.c, declared in ./option.h:760
getchar.c (1 use)
  vgetorpeek():
  2735:                         : p_tm)), typebuf.tb_change_cnt);
misc1.c (1 use)
  get_keystroke():
  3096:            && (!p_ttimeout || waited * 100L < (p_ttm < 0 ? p_tm : p_ttm)))
normal.c (1 use)
  normal_cmd():
  1048:         long towait = (p_ttm >= 0 ? p_ttm : p_tm);
option.c (2 uses)
  set_num_option():
  7969:     if (p_tm < 0)
  7972:     p_tm = 0;
p_vdir (5 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:820
ex_docmd.c (4 uses)
  ex_mkrc():
  8679:     if (using_vdir && !mch_isdir(p_vdir))
  8680:     vim_mkdir_emsg(p_vdir, 0755);
  get_view_file():
  10583:     retval = alloc((unsigned)(STRLEN(sname) + len + STRLEN(p_vdir) + 9));
  10586:     STRCPY(retval, p_vdir);
option.c (1 use)
  set_context_in_set_cmd():
  9765:         || p == (char_u *)&p_vdir
p_wcm (5 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:854
ex_getln.c (2 uses)
  getcmdline():
  436:         && !(c == p_wc && KeyTyped) && c != p_wcm
  773:     if ((c == p_wc && !gotesc && KeyTyped) || c == p_wcm)
option.c (3 uses)
  do_set():
  4310:                     || (long *)varp == &p_wcm)
  4317:                 if (value == 0 && (long *)varp != &p_wcm)
  wc_use_keyname():
  10098:     if (((long *)varp == &p_wc) || ((long *)varp == &p_wcm))
postponed_split_flags (5 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1038
ex_docmd.c (4 uses)
  ex_wincmd():
  8049:     postponed_split_flags = cmdmod.split;
  8052:     postponed_split_flags = 0;
  ex_stag():
  9259:     postponed_split_flags = cmdmod.split;
  9262:     postponed_split_flags = 0;
tag.c (1 use)
  jumpto_tag():
  3118:                                postponed_split_flags);
prt_ascii_encoding (5 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1457
hardcopy.c (5 uses)
  mch_print_init():
  2614:         prt_ascii_encoding = "ascii";
  2616:         prt_ascii_encoding = prt_ps_mbfonts[cmap].ascii_enc;
  mch_print_begin():
  3015:         if (!prt_find_resource(prt_ascii_encoding, &res_encoding))
  3017:         EMSG2(_("E456: Can't find PostScript resource file \"%s.ps\""),
  3172:         p_encoding = (char_u *)prt_ascii_encoding;
prt_conv (5 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1449
hardcopy.c (5 uses)
  mch_print_cleanup():
  2245:     convert_setup(&prt_conv, NULL, NULL);
  mch_print_begin():
  3028:     prt_conv.vc_type = CONV_NONE;
  3031:     if (FAIL == convert_setup(&prt_conv, p_enc, p_encoding))
  3039:     prt_do_conv = prt_conv.vc_type != CONV_NONE;
  mch_print_text_out():
  3523:     p = string_convert(&prt_conv, p, &len);
prt_in_ascii (5 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1455
hardcopy.c (5 uses)
  mch_print_begin_page():
  3327:     prt_in_ascii = !prt_out_mbyte;
  mch_print_text_out():
  3411:     if (prt_in_ascii)
  3416:         prt_in_ascii = FALSE;
  3424:         prt_in_ascii = TRUE;
  3474:         if (!prt_in_ascii)
prt_new_bgcol (5 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1425
hardcopy.c (5 uses)
  prt_flush_buffer():
  1669:     if (prt_do_bgcol && (prt_new_bgcol != PRCOLOR_WHITE))
  1686:         r = ((unsigned)prt_new_bgcol & 0xff0000) >> 16;
  1687:         g = ((unsigned)prt_new_bgcol & 0xff00) >> 8;
  1688:         b = prt_new_bgcol & 0xff;
  mch_print_text_out():
  3504:         prt_new_bgcol = prt_bgcol;
prt_number_width (5 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1404
hardcopy.c (5 uses)
  prt_get_cpl():
  2333:     prt_number_width = PRINT_NUMBER_WIDTH * prt_char_width;
  2339:         prt_number_width /= 2;
  2341:     prt_left_margin += prt_number_width;
  2344:     prt_number_width = 0.0;
  mch_print_start_line():
  3370:     prt_pos_x -= prt_number_width;
prt_ps_mbfonts (5 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1223
hardcopy.c (5 uses)
  mch_print_init():
  2517:     for (cmap = 0; cmap < NUM_ELEMENTS(prt_ps_mbfonts); cmap++)
  2517:     for (cmap = 0; cmap < NUM_ELEMENTS(prt_ps_mbfonts); cmap++)
  2518:         if (prt_match_encoding((char *)p_encoding, &prt_ps_mbfonts[cmap],
  2523:         if (prt_match_charset((char *)p_pmcs, &prt_ps_mbfonts[cmap],
  2616:         prt_ascii_encoding = prt_ps_mbfonts[cmap].ascii_enc;
prt_right_margin (5 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1398
hardcopy.c (5 uses)
  prt_get_cpl():
  2346:     return (int)((prt_right_margin - prt_left_margin) / prt_char_width);
  mch_print_init():
  2679:     prt_right_margin = (float)right;
  mch_print_text_out():
  3597:     need_break = (next_pos > prt_right_margin) &&
  3598:             ((next_pos - prt_right_margin) > (prt_right_margin*1e-5));
  3598:             ((next_pos - prt_right_margin) > (prt_right_margin*1e-5));
pum_base_width (5 uses in 1 translation unit) defined static in translation unit popupmnu.c, declared in popupmnu.c:24
popupmnu.c (5 uses)
  pum_display():
  166:     pum_base_width = max_width;
  pum_redraw():
  402:             || pum_base_width + n >= pum_width)
  414:         screen_fill(row, row + 1, col, pum_col + pum_base_width + n,
  416:         col = pum_col + pum_base_width + n;
  418:         totwidth = pum_base_width + n;
pum_do_redraw (5 uses in 1 translation unit) defined static in translation unit popupmnu.c, declared in popupmnu.c:31
popupmnu.c (5 uses)
  pum_set_selected():
  636:             pum_do_redraw = TRUE;
  638:             pum_do_redraw = FALSE;
  645:             pum_do_redraw = TRUE;
  647:             pum_do_redraw = FALSE;
  pum_visible():
  696:     return !pum_do_redraw && pum_array != NULL;
redir_varname (5 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:913
eval.c (5 uses)
  var_redir_start():
  935:     redir_varname = vim_strsave(name);
  936:     if (redir_varname == NULL)
  950:     redir_endp = get_lval(redir_varname, NULL, redir_lval, FALSE, FALSE, FALSE,
  var_redir_stop():
  1046:     vim_free(redir_varname);
  1047:     redir_varname = NULL;
reg_buf (5 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3140
regexp.c (5 uses)
  reg_getline():
  3254:     return ml_get_buf(reg_buf, reg_firstlnum + lnum, FALSE);
  vim_regexec_multi():
  3342:     reg_buf = buf;
  3345:     reg_maxline = reg_buf->b_ml.ml_line_count - lnum;
  regmatch():
  3920:         if (reg_buf != curbuf || VIsual.lnum == 0)
  vim_regsub_multi():
  6865:     reg_buf = curbuf;        /* always works on the current buffer! */
reg_do_extmatch (5 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:996
regexp.c (2 uses)
  regatom():
  1781:         case '(': if (reg_do_extmatch != REX_SET)
  1800:         case '9': if (reg_do_extmatch != REX_USE)
syntax.c (3 uses)
  syn_cmd_region():
  4877:         reg_do_extmatch = REX_SET;
  4879:         reg_do_extmatch = REX_USE;
  4881:         reg_do_extmatch = 0;
reg_endzp (5 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3261
regexp.c (5 uses)
  regtry():
  3709:         if (reg_startzp[i] != NULL && reg_endzp[i] != NULL)
  3712:                     (int)(reg_endzp[i] - reg_startzp[i]));
  regmatch():
  4508:             save_se(&rp->rs_un.sesave, &reg_endzpos[no],
  4996:         restore_se(&rp->rs_un.sesave, &reg_endzpos[rp->rs_no],
  cleanup_zsubexpr():
  5845:         vim_memset(reg_endzp, 0, sizeof(char_u *) * NSUBEXP);
reg_endzpos (5 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3263
regexp.c (5 uses)
  regtry():
  3701:             && reg_endzpos[i].lnum == reg_startzpos[i].lnum)
  3705:                    reg_endzpos[i].col - reg_startzpos[i].col);
  regmatch():
  4508:             save_se(&rp->rs_un.sesave, &reg_endzpos[no],
  4996:         restore_se(&rp->rs_un.sesave, &reg_endzpos[rp->rs_no],
  cleanup_zsubexpr():
  5840:         vim_memset(reg_endzpos, 0xff, sizeof(lpos_T) * NSUBEXP);
regflags (5 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:587
regexp.c (5 uses)
  vim_regcomp():
  1042:     r->regflags = regflags;
  regcomp_start():
  1144:     regflags = 0;
  regconcat():
  1351:                 regflags |= RF_ICOMBINE;
  1356:                 regflags |= RF_ICASE;
  1360:                 regflags |= RF_NOICASE;
replace_stack_len (5 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:6922
edit.c (5 uses)
  replace_push():
  6932:     if (replace_stack_len <= replace_stack_nr)
  6934:     replace_stack_len += 50;
  6935:     p = lalloc(sizeof(char_u) * replace_stack_len, TRUE);
  6938:         replace_stack_len -= 50;
  replace_flush():
  7116:     replace_stack_len = 0;
resel_VIsual_line_count (5 uses in 1 translation unit) defined static in translation unit normal.c, declared in normal.c:22
normal.c (5 uses)
  do_pending_operator():
  1663:         resel_VIsual_line_count = oap->line_count;
  1691:             redo_VIsual_line_count = resel_VIsual_line_count;
  nv_visual():
  7386:         if (resel_VIsual_mode != 'v' || resel_VIsual_line_count > 1)
  7389:                     resel_VIsual_line_count * cap->count0 - 1;
  7396:         if (resel_VIsual_line_count <= 1)
resel_VIsual_mode (5 uses in 1 translation unit) defined static in translation unit normal.c, declared in normal.c:21
normal.c (5 uses)
  do_pending_operator():
  1654:         resel_VIsual_mode = VIsual_mode;
  1689:             redo_VIsual_mode = resel_VIsual_mode;
  nv_visual():
  7365:         if (resel_VIsual_mode == NUL)   /* there is none */
  7386:         if (resel_VIsual_mode != 'v' || resel_VIsual_line_count > 1)
  7393:         VIsual_mode = resel_VIsual_mode;
restricted (5 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:602
ex_cmds.c (1 use)
  check_restricted():
  4133:     if (restricted)
main.c (2 uses)
  parse_command_name():
  1440:     restricted = TRUE;
  command_line_scan():
  1976:         restricted = TRUE;
os_unix.c (2 uses)
  set_signals():
  1165:     signal(SIGTSTP, restricted ? SIG_IGN : SIG_DFL);
  mch_expand_wildcards():
  5194:     if (secure || restricted)
search_match_lines (5 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:337
ex_cmds.c (1 use)
  do_sub():
  4668:                 search_match_lines = regmatch.endpos[0].lnum
ex_getln.c (1 use)
  getcmdline():
  1781:         curwin->w_cursor.lnum += search_match_lines;
screen.c (2 uses)
  win_line():
  2867:         && lnum <= curwin->w_cursor.lnum + search_match_lines)
  2874:     if (lnum == curwin->w_cursor.lnum + search_match_lines)
search.c (1 use)
  searchit():
  883:             search_match_lines = endpos.lnum - matchpos.lnum;
sps_limit (5 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:9965
spell.c (5 uses)
  spell_check_sps():
  9980:     sps_limit = 9999;
  9990:         sps_limit = getdigits(&s);
  10007:         sps_limit = 9999;
  spell_suggest():
  10100:     if (sps_limit > (int)Rows - 2)
  10103:     limit = sps_limit;
swap_exists_did_quit (5 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:927
buffer.c (3 uses)
  goto_buffer():
  708:     swap_exists_did_quit = TRUE;
  handle_swap_exists():
  747:     swap_exists_did_quit = TRUE;
  ex_buffer_all():
  4679:         swap_exists_did_quit = TRUE;
main.c (2 uses)
  main():
  859:     swap_exists_did_quit = FALSE;
  868:     if (swap_exists_did_quit)
sys_menu (5 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:436
gui.c (2 uses)
  gui_init():
  338:         sys_menu = TRUE;
  340:         sys_menu = FALSE;
menu.c (3 uses)
  add_menu_path():
  536:             if (!sys_menu)
  546:             if (!sys_menu)
  727:     if (sys_menu)
tc_max_len (5 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:3530
term.c (5 uses)
  clear_termcodes():
  3542:     tc_max_len = 0;
  add_termcode():
  3596:     if (tc_len == tc_max_len)
  3598:     tc_max_len += 20;
  3600:                 (unsigned)(tc_max_len * sizeof(struct termcode)));
  3603:         tc_max_len -= 20;
term_is_xterm (5 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1290
screen.c (3 uses)
  screen_line():
  5135:             term_is_xterm
  screen_puts_len():
  6362:             term_is_xterm
  screen_fill():
  7205:             term_is_xterm
term.c (2 uses)
  set_termname():
  1905:     term_is_xterm = vim_is_xterm(term);
  1926:     if (term_is_xterm)
top_file_num (5 uses in 1 translation unit) defined static in translation unit buffer.c, declared in buffer.c:1490
buffer.c (5 uses)
  buflist_new():
  1645:     buf->b_fnum = top_file_num++;
  1646:     if (top_file_num < 0)        /* wrap around (may cause duplicates) */
  1654:         top_file_num = 1;
  wipe_buffer():
  5517:     if (buf->b_fnum == top_file_num - 1)
  5518:     --top_file_num;
total_mem_used (5 uses in 1 translation unit) defined static in translation unit memfile.c, declared in memfile.c:78
memfile.c (5 uses)
  mf_close():
  264:     total_mem_used -= hp->bh_page_count * mfp->mf_page_size;
  mf_new_page_size():
  331:     total_mem_used += new_size - mfp->mf_page_size;
  mf_ins_used():
  810:     total_mem_used += hp->bh_page_count * mfp->mf_page_size;
  mf_rem_used():
  830:     total_mem_used -= hp->bh_page_count * mfp->mf_page_size;
  mf_release():
  858:                   || (total_mem_used >> 10) >= (long_u)p_mmt);
use_viminfo (5 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:978
ex_cmds.c (4 uses)
  no_viminfo():
  1646:     return (use_viminfo != NULL && STRCMP(use_viminfo, "NONE") == 0);
  1646:     return (use_viminfo != NULL && STRCMP(use_viminfo, "NONE") == 0);
  viminfo_filename():
  2007:     if (use_viminfo != NULL)
  2008:         file = use_viminfo;
main.c (1 use)
  command_line_scan():
  2080:             use_viminfo = (char_u *)argv[0];
vop_flags (5 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:822
ex_docmd.c (3 uses)
  ex_mkrc():
  8688:         flagp = &vop_flags;
  put_view():
  10236:             flagp == &vop_flags
  10310:                  flagp == &vop_flags || !(*flagp & SSOP_OPTIONS));
option.c (2 uses)
  didset_options():
  5035:     (void)opt_strings_flags(p_vop, p_ssop_values, &vop_flags, TRUE);
  did_set_string_option():
  5571:     if (opt_strings_flags(p_vop, p_ssop_values, &vop_flags, TRUE) != OK)
where_paste_started (5 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:652
edit.c (4 uses)
  edit():
  379:     if (where_paste_started.lnum != 0)
  380:     Insstart = where_paste_started;
  488:     if (where_paste_started.lnum)
  531:     where_paste_started.lnum = 0;
normal.c (1 use)
  do_mouse():
  2868:         where_paste_started = curwin->w_cursor;
xt_index_in (5 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:5376
term.c (5 uses)
  req_codes_from_term():
  5383:     xt_index_in = 0;
  req_more_codes_from_term():
  5399:     while (xt_index_out < xt_index_in + 10 && key_names[xt_index_out] != NULL)
  got_code_from_term():
  5443:         xt_index_in = i;
  5480:     ++xt_index_in;
  check_for_codes_from_term():
  5496:     if (xt_index_out == 0 || xt_index_out == xt_index_in)
y_append (5 uses in 1 translation unit) defined static in translation unit ops.c, declared in ops.c:66
ops.c (5 uses)
  get_yank_register():
  858:     y_append = FALSE;
  872:     y_append = TRUE;
  stuff_yank():
  1094:     if (y_append && y_current->y_array != NULL)
  op_yank():
  2835:     if (y_append && y_current->y_array != NULL)
  write_reg_contents_ex():
  5995:     if (!y_append && !must_append)
au_need_clean (4 uses in 1 translation unit) defined static in translation unit fileio.c, declared in fileio.c:7228
fileio.c (4 uses)
  au_remove_pat():
  7327:     au_need_clean = TRUE;
  au_remove_cmds():
  7344:     au_need_clean = TRUE;
  au_cleanup():
  7358:     if (autocmd_busy || !au_need_clean)
  7397:     au_need_clean = FALSE;
autocmd_match (4 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1023
ex_docmd.c (1 use)
  eval_vars():
  9542:         result = autocmd_match;
fileio.c (3 uses)
  apply_autocmds_group():
  8596:     save_autocmd_match = autocmd_match;
  8699:     autocmd_match = fname;
  8805:     autocmd_match = save_autocmd_match;
autocmd_nested (4 uses in 1 translation unit) defined static in translation unit fileio.c, declared in fileio.c:8381
fileio.c (4 uses)
  apply_autocmds_group():
  8546:     if (autocmd_busy && !(force || autocmd_nested))
  8598:     save_autocmd_nested = autocmd_nested;
  8798:     autocmd_nested = save_autocmd_nested;
  getnextac():
  9010:     autocmd_nested = ac->nested;
breakcheck_count (4 uses in 1 translation unit) defined static in translation unit misc1.c, declared in misc1.c:8407
misc1.c (4 uses)
  line_breakcheck():
  8412:     if (++breakcheck_count >= BREAKCHECK_SKIP)
  8414:     breakcheck_count = 0;
  fast_breakcheck():
  8425:     if (++breakcheck_count >= BREAKCHECK_SKIP * 10)
  8427:     breakcheck_count = 0;
buffer_size (4 uses in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:854
if_python.c (4 uses)
  buffer_ensure():
  864:     if (n < buffer_size)
  867:     new_size = buffer_size;
  871:     if (new_size != buffer_size)
  884:     buffer_size = new_size;
can_f_submatch (4 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:6809
regexp.c (4 uses)
  vim_regsub_both():
  6908:         && !can_f_submatch        /* can't do this recursively */
  6944:         can_f_submatch = TRUE;
  6967:         can_f_submatch = FALSE;
  reg_submatch():
  7214:     if (!can_f_submatch || no < 0)
clip_unnamed (4 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:505
normal.c (1 use)
  nv_put():
  9053:             || (clip_unnamed && (regname == '*' || regname == '+'))
ops.c (2 uses)
  adjust_clip_reg():
  1558:     if (*rp == 0 && clip_unnamed)
  op_yank():
  3086:         || (!deleting && oap->regname == 0 && clip_unnamed)))
option.c (1 use)
  check_clipboard_option():
  6991:     clip_unnamed = new_unnamed;
cmp_flags (4 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:355
mbyte.c (2 uses)
  utf_toupper():
  2223:     if (a < 128 && (cmp_flags & CMP_KEEPASCII))
  utf_tolower():
  2256:     if (a < 128 && (cmp_flags & CMP_KEEPASCII))
option.c (2 uses)
  didset_options():
  5030:     (void)opt_strings_flags(p_cmp, p_cmp_values, &cmp_flags, TRUE);
  did_set_string_option():
  6486:     if (opt_strings_flags(p_cmp, p_cmp_values, &cmp_flags, TRUE) != OK)
compat_hashtab (4 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:123
eval.c (4 uses)
  eval_init():
  770:     hash_init(&compat_hashtab);
  789:         hash_add(&compat_hashtab, p->vv_di.di_key);
  find_var_ht():
  18000:     hi = hash_find(&compat_hashtab, name);
  18002:         return &compat_hashtab;
confirm_msg_used (4 uses in 1 translation unit) defined static in translation unit message.c, declared in message.c:41
message.c (4 uses)
  do_more_prompt():
  2517:         if (!confirm_msg_used)
  2532:         if (confirm_msg_used)
  display_confirm_msg():
  3589:     ++confirm_msg_used;
  3592:     --confirm_msg_used;
curbuf_lock (4 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:614
ex_getln.c (1 use)
  curbuf_locked():
  1998:     if (curbuf_lock > 0)
fileio.c (1 use)
  check_timestamps():
  6255:             || autocmd_busy || curbuf_lock > 0
misc1.c (2 uses)
  change_warning():
  2970:     ++curbuf_lock;
  2972:     --curbuf_lock;
curr_bg (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:101
hardcopy.c (4 uses)
  prt_set_bg():
  338:     if (bg != curr_bg)
  340:     curr_bg = bg;
  ex_hardcopy():
  664:     curr_bg = (long_u)0xffffffffL;
  mch_print_begin_page():
  3347:     curr_bg = (long_u)0xffffffff;
curr_bold (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:99
hardcopy.c (4 uses)
  prt_set_font():
  351:     if (curr_bold != bold
  357:     curr_bold = bold;
  ex_hardcopy():
  667:     curr_bold = MAYBE;
  mch_print_begin_page():
  3349:     curr_bold = MAYBE;
curr_fg (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:102
hardcopy.c (4 uses)
  prt_set_fg():
  327:     if (fg != curr_fg)
  329:     curr_fg = fg;
  ex_hardcopy():
  665:     curr_fg = (long_u)0xffffffffL;
  mch_print_begin_page():
  3348:     curr_fg = (long_u)0xffffffff;
curr_tmode (4 uses in 1 translation unit) defined static in translation unit os_unix.c, declared in os_unix.c:205
os_unix.c (4 uses)
  mch_delay():
  552:     old_tmode = curr_tmode;
  553:     if (curr_tmode == TMODE_RAW)
  mch_settmode():
  3140:     curr_tmode = tmode;
  mch_breakcheck():
  4530:     if (curr_tmode == TMODE_RAW && RealWaitForChar(read_cmd_fd, 0L, NULL))
current_augroup (4 uses in 1 translation unit) defined static in translation unit fileio.c, declared in fileio.c:7226
fileio.c (4 uses)
  do_augroup():
  7527:     current_augroup = AUGROUP_DEFAULT;
  7532:         current_augroup = i;
  do_autocmd_event():
  7934:     findgroup = current_augroup;
  8122:             ap->group = current_augroup;
current_copyID (4 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:129
eval.c (4 uses)
  garbage_collect():
  6123:     int        copyID = ++current_copyID;
  f_deepcopy():
  8677:     item_copy(&argvars[0], rettv, TRUE, noref == 0 ? ++current_copyID : 0);
  list_one_var():
  18180:     s = echo_string(&v->di_tv, &tofree, numbuf, ++current_copyID);
  ex_echo():
  18587:         p = echo_string(&rettv, &tofree, numbuf, ++current_copyID);
current_id (4 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:208
syntax.c (4 uses)
  get_syntax_attr():
  1756:     current_id = 0;
  syn_current_attr():
  2219:     current_id = 0;
  2240:         current_id = sip->si_id;
  syn_get_id():
  6108:     return (trans ? current_trans_id : current_id);
current_state_stored (4 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:356
syntax.c (4 uses)
  syntax_start():
  502:     if (!current_state_stored)
  store_current_state():
  1470:     current_state_stored = TRUE;
  syn_current_attr():
  1833:     current_state_stored = FALSE;
  1841:     current_state_stored = FALSE;
cursor_is_off (4 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:3426
term.c (4 uses)
  cursor_on():
  3434:     if (cursor_is_off)
  3437:     cursor_is_off = FALSE;
  cursor_off():
  3449:     if (!cursor_is_off)
  3451:     cursor_is_off = TRUE;
deadly_signal (4 uses in 1 translation unit) defined static in translation unit os_unix.c, declared in os_unix.c:202
os_unix.c (4 uses)
  deathtrap():
  1014:     deadly_signal = sigarg;
  may_core_dump():
  3039:     if (deadly_signal != 0)
  3041:     signal(deadly_signal, SIG_DFL);
  3042:     kill(getpid(), deadly_signal);    /* Die using the signal we caught */
debug_skipped (4 uses in 1 translation unit) defined static in translation unit ex_cmds2.c, declared in ex_cmds2.c:320
ex_cmds2.c (4 uses)
  dbg_check_breakpoint():
  336:     debug_skipped = FALSE;
  357:         debug_skipped = TRUE;
  368:         debug_skipped = TRUE;
  dbg_check_skipped():
  384:     if (debug_skipped)
did_add_space (4 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:277
edit.c (4 uses)
  auto_format():
  6088:         did_add_space = TRUE;
  check_auto_format():
  6110:     if (did_add_space)
  6115:         did_add_space = FALSE;
  6128:         did_add_space = FALSE;
did_restart_edit (4 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:258
edit.c (4 uses)
  edit():
  323:     did_restart_edit = restart_edit;
  539:     if (!p_im && did_restart_edit == 0)
  552:     if (!p_im && did_restart_edit == 0)
  stop_insert():
  6318:     if (did_restart_edit == 0 || (ptr != NULL
did_swapwrite_msg (4 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1007
getchar.c (1 use)
  inchar():
  2871:     did_swapwrite_msg = FALSE;  /* display swap file write error again */
memfile.c (3 uses)
  mf_write():
  1122:         if (!did_swapwrite_msg)
  1124:         did_swapwrite_msg = TRUE;
  1127:     did_swapwrite_msg = FALSE;
did_wait_return (4 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:186
message.c (2 uses)
  wait_return():
  1049:     did_wait_return = TRUE;
  msg_puts_display():
  1846:     did_wait_return = FALSE;
normal.c (1 use)
  normal_cmd():
  1217:         && !did_wait_return
screen.c (1 use)
  check_for_delay():
  7264:         && !did_wait_return
diff_a_works (4 uses in 1 translation unit) defined static in translation unit diff.c, declared in diff.c:30
diff.c (4 uses)
  ex_diffupdate():
  754:     if (diff_a_works != MAYBE)
  756:     diff_a_works = ok;
  765:     diff_a_works = MAYBE;
  diff_file():
  835:             diff_a_works == FALSE ? "" : "-a ",
diff_need_scrollbind (4 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:426
diff.c (1 use)
  diff_mark_adjust_tp():
  470:     diff_need_scrollbind = TRUE;
main.c (2 uses)
  main_loop():
  1072:         if (diff_need_scrollbind)
  1075:         diff_need_scrollbind = FALSE;
window.c (1 use)
  enter_tabpage():
  3561:     diff_need_scrollbind = TRUE;
dragRectEnbl (4 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:136
gui_mac.c (4 uses)
  gui_mac_doInContentClick():
  1759:         dragRectEnbl = TRUE;
  gui_mac_doMouseMovedEvent():
  2511:     if (dragRectEnbl)
  gui_mac_doMouseUpEvent():
  2528:     dragRectEnbl = FALSE;
  gui_mch_init():
  3097:     dragRectEnbl = FALSE;
dragRgn (4 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:134
gui_mac.c (4 uses)
  gui_mch_init():
  3098:     dragRgn = NULL;
  gui_mch_wait_for_chars():
  4466:         dragRgn = cursorRgn;
  4467:         RectRgn(dragRgn, &dragRect);
  4482:     if (WaitNextEventWrp(mask, &event, sleeppyTick, dragRgn))
dumsft (4 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:13070
spell.c (4 uses)
  suggest_try_soundalike_finish():
  13153:             vim_free(HI2SFT(hi));
  13153:             vim_free(HI2SFT(hi));
  add_sound_suggest():
  13215:     sft = HI2SFT(hi);
  13215:     sft = HI2SFT(hi);
e_emptykey (4 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:99
eval.c (4 uses)
  get_lval():
  2486:             EMSG(_(e_emptykey));
  2580:             EMSG(_(e_emptykey));
  eval_index():
  4990:                 EMSG(_(e_emptykey));
  get_dict_tv():
  6760:             EMSG(_(e_emptykey));
e_invcmd (4 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1387
ex_cmds.c (2 uses)
  do_sub():
  4427:         EMSG(_(e_invcmd));
  ex_global():
  5255:     EMSG(_(e_invcmd));
ex_docmd.c (2 uses)
  ex_wrongmodifier():
  7023:     eap->errmsg = e_invcmd;
  ex_match():
  10897:     EMSG(e_invcmd);
e_letunexp (4 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:93
eval.c (4 uses)
  ex_let_one():
  2194:         EMSG(_(e_letunexp));
  2241:         EMSG(_(e_letunexp));
  2299:         EMSG(_(e_letunexp));
  2336:         EMSG(_(e_letunexp));
e_nofold (4 uses in 1 translation unit) defined static in translation unit fold.c, declared in fold.c:68
fold.c (4 uses)
  opFoldRange():
  432:     EMSG(_(e_nofold));
  deleteFold():
  807:     EMSG(_(e_nofold));
  setFoldRepeat():
  1260:         EMSG(_(e_nofold));
  setManualFoldWin():
  1412:     EMSG(_(e_nofold));
e_nomatch2 (4 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1426
ex_cmds2.c (1 use)
  do_arglist():
  1835:         EMSG2(_(e_nomatch2), ((char_u **)new_ga.ga_data)[i]);
ex_getln.c (1 use)
  ExpandOne():
  3465:         EMSG2(_(e_nomatch2), str);
quickfix.c (2 uses)
  ex_vimgrep():
  3301:     EMSG2(_(e_nomatch2), s);
  ex_helpgrep():
  3897:     EMSG2(_(e_nomatch2), eap->arg);
e_nopresub (4 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1428
ex_cmds.c (2 uses)
  do_sub():
  4295:             EMSG(_(e_nopresub));
  4311:         EMSG(_(e_nopresub));
regexp.c (1 use)
  regatom():
  1737:         EMSG_RET_NULL(_(e_nopresub));
search.c (1 use)
  search_regcomp():
  160:         EMSG(_(e_nopresub));
e_prev_dir (4 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:1460
diff.c (1 use)
  ex_diffpatch():
  967:         EMSG(_(e_prev_dir));
ex_docmd.c (1 use)
  ex_mkrc():
  8763:             EMSG(_(e_prev_dir));
misc1.c (1 use)
  init_homedir():
  3507:         EMSG(_(e_prev_dir));
os_unix.c (1 use)
  mch_FullName():
  2397:         EMSG(_(e_prev_dir));
e_re_corr (4 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1468
regexp.c (4 uses)
  regmatch():
  4934:         EMSG(_(e_re_corr));
  5315:         EMSG(_(e_re_corr));
  regrepeat():
  5754:     EMSG(_(e_re_corr));
  prog_magic_wrong():
  5799:     EMSG(_(e_re_corr));
escape_chars (4 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1047
ex_docmd.c (3 uses)
  expand_filename():
  4331:         if (vim_strchr(ESCAPE_CHARS, *l) != NULL)
  4333:             l = vim_strsave_escaped(repl, ESCAPE_CHARS);
  ses_put_fname():
  10518:     else if ((vim_strchr(escape_chars, c) != NULL
option.c (1 use)
  ExpandOldSetting():
  10017:     buf = vim_strsave_escaped(var, escape_chars);
exec_from_reg (4 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:103
ex_docmd.c (3 uses)
  ex_at():
  8313:     int    save_efr = exec_from_reg;
  8315:     exec_from_reg = TRUE;
  8326:     exec_from_reg = save_efr;
ex_getln.c (1 use)
  getexline():
  2098:     if (exec_from_reg && vpeekc() == ':')
Exec_reg (4 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:877
getchar.c (1 use)
  vgetorpeek():
  1940:     Exec_reg = FALSE;
normal.c (2 uses)
  normal_cmd():
  884:             && !Exec_reg)
  nv_record():
  8925:         if (!Exec_reg && do_record(cap->nchar) == FAIL)
ops.c (1 use)
  do_execreg():
  1248:     Exec_reg = TRUE;    /* disable the 'q' command */
expand_buffer (4 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:3991
getchar.c (4 uses)
  set_context_in_map_cmd():
  4023:     expand_buffer = FALSE;
  4030:         expand_buffer = TRUE;
  ExpandMappings():
  4109:         else if (i == 4 && !expand_buffer)
  4133:         else if (expand_buffer)
expand_mapmodes (4 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:3988
getchar.c (4 uses)
  set_context_in_map_cmd():
  4013:         expand_mapmodes = get_map_mode(&cmd, forceit || isabbrev);
  4016:         expand_mapmodes = INSERT + CMDLINE;
  4018:         expand_mapmodes += VISUAL + SELECTMODE + NORMAL + OP_PENDING;
  ExpandMappings():
  4140:         if (mp->m_mode & expand_mapmodes)
fill_fold (4 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1134
option.c (1 use)
  set_chars_option():
  6762:     {&fill_fold,    "fold"},
screen.c (3 uses)
  fold_line():
  2373:         if (fill_fold >= 0x80)
  2375:         ScreenLinesUC[off + col] = fill_fold;
  2382:     ScreenLines[off + col++] = fill_fold;
gTSLDefault (4 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:6375
gui_mac.c (4 uses)
  im_on_window_switch():
  6397:     GetDefaultInputMethodOfClass(&gTSCDefault, &gTSLDefault,
  im_set_active():
  6450:     GetDefaultInputMethodOfClass(&gTSCDefault, &gTSLDefault,
  6483:     SetDefaultInputMethodOfClass(gTSCDefault, &gTSLDefault,
  6485:     SetTextServiceLanguage(&gTSLDefault);
had_endbrace (4 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:586
regexp.c (4 uses)
  regcomp_start():
  1138:     vim_memset(had_endbrace, 0, sizeof(had_endbrace));
  1138:     vim_memset(had_endbrace, 0, sizeof(had_endbrace));
  reg():
  1278:     had_endbrace[parno] = TRUE;    /* have seen the close paren */
  regatom():
  1760:         if (!had_endbrace[refnum])
had_eol (4 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:592
regexp.c (4 uses)
  regcomp_start():
  1146:     had_eol = FALSE;
  vim_regcomp_had_eol():
  1158:     return had_eol;
  regatom():
  1587:     had_eol = TRUE;
  1610:         had_eol = TRUE;
im_initialized (4 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:6381
gui_mac.c (4 uses)
  im_on_window_switch():
  6392:     if (im_initialized == 0)
  6394:     im_initialized = 1;
  im_set_active():
  6445:     if (im_initialized == 0)
  6447:     im_initialized = 1;
keyEventHandlerUPP (4 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:74
gui_mac.c (4 uses)
  gui_mch_init():
  3167:     keyEventHandlerUPP = NewEventHandlerUPP(gui_mac_handle_text_input);
  3168:     if (noErr != InstallApplicationEventHandler(keyEventHandlerUPP,
  3173:     keyEventHandlerUPP = NULL;
  gui_mch_exit():
  3267:     if (keyEventHandlerUPP)
KeyStuffed (4 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:963
getchar.c (2 uses)
  vgetorpeek():
  1935:     KeyStuffed = FALSE;
  1961:         KeyStuffed = TRUE;
search.c (1 use)
  searchc():
  1498:     if (!KeyStuffed)    /* don't remember when redoing */
ui.c (1 use)
  im_save_status():
  3099:     if (!p_imdisable && KeyTyped && !KeyStuffed
km_startsel (4 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1141
edit.c (1 use)
  ins_start_select():
  8040:     if (km_startsel)
normal.c (2 uses)
  normal_cmd():
  828:     if (km_startsel)
  1130:     if (!VIsual_active && km_startsel)
option.c (1 use)
  did_set_string_option():
  6212:         km_startsel = (vim_strchr(p_km, 'a') != NULL);
last_insert_skip (4 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:256
edit.c (4 uses)
  stop_insert():
  6323:     last_insert_skip = new_insert_skip;
  set_last_insert():
  6451:     last_insert_skip = 0;
  get_last_insert():
  6857:     return last_insert + last_insert_skip;
  get_last_insert_save():
  6872:     s = vim_strsave(last_insert + last_insert_skip);
last_recorded_len (4 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:113
getchar.c (4 uses)
  get_recorded():
  201:     if ((int)len >= last_recorded_len)
  203:     len -= last_recorded_len;
  gotchars():
  1208:     last_recorded_len += len;
  vgetc():
  1544:       last_recorded_len = 0;
lastmark (4 uses in 1 translation unit) defined static in translation unit undo.c, declared in undo.c:760
undo.c (4 uses)
  undo_time():
  847:     mark = ++lastmark;
  848:     nomark = ++lastmark;
  ex_undolist():
  1426:     mark = ++lastmark;
  1427:     nomark = ++lastmark;
lc_active (4 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:743
os_unix.c (4 uses)
  mch_startjmp():
  883:     lc_active = TRUE;
  mch_endjmp():
  889:     lc_active = FALSE;
  deathtrap():
  924:     if (lc_active)
  929:     lc_active = FALSE;    /* don't jump again */
lc_signal (4 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:740
os_unix.c (4 uses)
  mch_startjmp():
  881:     lc_signal = 0;
  deathtrap():
  927:     lc_signal = sigarg;
  mch_libcall():
  6044:     if (lc_signal != 0)
  6050:         if (lc_signal == signal_info[i].sig)
lcs_prec (4 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1120
option.c (1 use)
  set_chars_option():
  6771:     {&lcs_prec,    "precedes"},
screen.c (3 uses)
  win_line():
  2571:     int        lcs_prec_todo = lcs_prec;   /* lcs_prec until it's been used */
  4296:         c = lcs_prec;
  4807:         lcs_prec_todo = lcs_prec;
maptick (4 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:968
ex_getln.c (3 uses)
  add_to_history():
  5187:     if (maptick == last_maptick)
  5215:         last_maptick = maptick;
  del_history_idx():
  5493:     if (histype == HIST_SEARCH && maptick == last_maptick && i == idx)
getchar.c (1 use)
  gotchars():
  1232:     ++maptick;
mouseWheelHandlerUPP (4 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:57
gui_mac.c (4 uses)
  gui_mch_init():
  3141:     mouseWheelHandlerUPP = NewEventHandlerUPP(gui_mac_mouse_wheel);
  3142:     if (noErr != InstallApplicationEventHandler(mouseWheelHandlerUPP, 1,
  3147:     mouseWheelHandlerUPP = NULL;
  gui_mch_exit():
  3271:     if (mouseWheelHandlerUPP != NULL)
msg_hist_len (4 uses in 1 translation unit) defined static in translation unit message.c, declared in message.c:55
message.c (4 uses)
  add_msg_hist():
  764:     while (msg_hist_len > MAX_MSG_HIST_LEN)
  789:     ++msg_hist_len;
  delete_first_msg():
  802:     if (msg_hist_len <= 0)
  808:     --msg_hist_len;
need_highlight_changed (4 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:977
screen.c (1 use)
  update_screen():
  410:     if (need_highlight_changed)
syntax.c (3 uses)
  do_highlight():
  6649:     need_highlight_changed = TRUE;
  7402:     need_highlight_changed = TRUE;
  highlight_changed():
  8850:     need_highlight_changed = FALSE;
nextchr (4 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:2571
regexp.c (4 uses)
  initchr():
  2586:     curchr = prevprevchr = prevchr = nextchr = -1;
  skipchr():
  2778:     curchr = nextchr;        /* use previously unget char, or -1 */
  2779:     nextchr = -1;
  ungetchr():
  2814:     nextchr = curchr;
no_abbr (4 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:900
edit.c (2 uses)
  insertchar():
  5621:         && !(!no_abbr && !vim_iswordc(c) && vim_iswordc(buf[i - 1])))
  echeck_abbr():
  6894:     if (p_paste || no_abbr || arrow_used)
ex_getln.c (1 use)
  ccheck_abbr():
  3210:     if (p_paste || no_abbr)        /* no abbreviations or in paste mode */
getchar.c (1 use)
  do_map():
  3311:     no_abbr = FALSE;        /* reset flag that indicates there are
num_complex_braces (4 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:578
regexp.c (4 uses)
  regcomp_start():
  1136:     num_complex_braces = 0;
  regpiece():
  1517:         if (num_complex_braces >= 10)
  1520:         reginsert(BRACE_COMPLEX + num_complex_braces, ret);
  1524:         ++num_complex_braces;
oldicon (4 uses in 1 translation unit) defined static in translation unit os_unix.c, declared in os_unix.c:144
os_unix.c (4 uses)
  get_x11_icon():
  1907:         oldicon = T_NAME + 8;
  1909:         oldicon = T_NAME;
  mch_settitle():
  1995:     if (oldicon == NULL
  mch_restore_title():
  2035:                   ((which & 2) && did_set_icon) ? oldicon : NULL);
p_ai (4 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:260
option.c (4 uses)
  buf_copy_options():
  9416:         buf->b_p_ai = p_ai;
  paste_option_changed():
  10299:         p_ai_nopaste = p_ai;
  10332:     p_ai = 0;
  10366:     p_ai = p_ai_nopaste;
p_bdir (4 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:331
fileio.c (2 uses)
  buf_write():
  3544:         dirp = p_bdir;
  3777:         dirp = p_bdir;
option.c (2 uses)
  do_set():
  4466:                         || varp == (char_u *)&p_bdir))
  set_context_in_set_cmd():
  9757:     if (p == (char_u *)&p_bdir
p_bk (4 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:320
fileio.c (4 uses)
  buf_write():
  3371:     dobackup = (p_wb || p_bk || *p_pm != NUL);
  3631:             if (!p_bk)
  3806:             if (!p_bk && mch_getperm(backup) >= 0)
  4649:     if (!p_bk && backup != NULL && mch_remove(backup) != 0)
p_ccv (4 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:366
eval.c (1 use)
  eval_charconvert():
  1064:     if (eval_to_bool(p_ccv, &err, NULL, FALSE))
fileio.c (3 uses)
  readfile():
  1059:     if (fio_flags == 0 && !read_stdin && !read_buffer && *p_ccv != NUL
  1972:             if (*p_ccv != NUL && iconv_fd != (iconv_t)-1)
  buf_write():
  4010:         if (*p_ccv != NUL)
p_et (4 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:293
option.c (4 uses)
  set_options_bin():
  4894:         p_et_nobin = p_et;
  4910:         p_et = FALSE;
  4928:         p_et = p_et_nobin;
  buf_copy_options():
  9429:         buf->b_p_et = p_et;
p_fdls (4 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:447
buffer.c (2 uses)
  get_winopts():
  2448:     if (p_fdls >= 0)
  2449:     curwin->w_p_fdl = p_fdls;
main.c (2 uses)
  create_windows():
  2451:         if (p_fdls >= 0)
  2452:             curwin->w_p_fdl = p_fdls;
p_imdisable (4 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:552
ex_getln.c (1 use)
  getcmdline():
  1024:             if ((p_imdisable && b_im_ptr != NULL)
option.c (2 uses)
  set_bool_option():
  7390:     else if ((int *)varp == &p_imdisable)
  7393:     if (p_imdisable)
ui.c (1 use)
  im_save_status():
  3099:     if (!p_imdisable && KeyTyped && !KeyStuffed
p_km (4 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:562
option.c (4 uses)
  did_set_string_option():
  6205:     else if (varp == &p_km)
  6207:     if (check_opt_strings(p_km, p_km_values, TRUE) != OK)
  6211:         km_stopsel = (vim_strchr(p_km, 'o') != NULL);
  6212:         km_startsel = (vim_strchr(p_km, 'a') != NULL);
p_lcs (4 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:580
option.c (4 uses)
  did_set_string_option():
  5896:     else if (varp == &p_lcs)
  set_chars_option():
  6778:     if (varp == &p_lcs)
  6800:         *(tab[i].cp) = (varp == &p_lcs ? NUL : ' ');
  6801:         if (varp == &p_lcs)
p_ml (4 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:323
option.c (4 uses)
  set_options_bin():
  4893:         p_ml_nobin = p_ml;
  4909:         p_ml = FALSE;
  4927:         p_ml = p_ml_nobin;
  buf_copy_options():
  9431:         buf->b_p_ml = p_ml;
p_mls (4 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:609
buffer.c (1 use)
  do_modelines():
  4770:     if (!curbuf->b_p_ml || (nmlines = (int)p_mls) == 0)
quickfix.c (3 uses)
  ex_vimgrep():
  3122:         save_mls = p_mls;
  3123:         p_mls = 0;
  3141:         p_mls = save_mls;
p_mousem (4 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:615
normal.c (1 use)
  do_mouse():
  2549:         if (STRCMP(p_mousem, "popup_setpos") == 0)
option.c (2 uses)
  did_set_string_option():
  6218:     else if (varp == &p_mousem)
  6220:     if (check_opt_strings(p_mousem, p_mousem_values, FALSE) != OK)
term.c (1 use)
  mouse_model_popup():
  3406:     return (p_mousem[0] == 'p');
p_path (4 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:632
eval.c (1 use)
  findfilendir():
  9221:     char_u    *path = *curbuf->b_p_path == NUL ? p_path : curbuf->b_p_path;
misc2.c (1 use)
  find_file_in_path():
  5296:         *curbuf->b_p_path == NUL ? p_path : curbuf->b_p_path,
option.c (2 uses)
  set_context_in_set_cmd():
  9759:         || p == (char_u *)&p_path
  9770:         if (p == (char_u *)&p_path
p_pmcs (4 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:479
hardcopy.c (4 uses)
  mch_print_init():
  2514:     if (!(props & ENC_8BIT) && ((*p_pmcs != NUL) || !(props & ENC_UNICODE)))
  2523:         if (prt_match_charset((char *)p_pmcs, &prt_ps_mbfonts[cmap],
  2560:         if (*p_pmcs == NUL)
  2565:         vim_strncpy((char_u *)prt_cmap, p_pmcs, sizeof(prt_cmap) - 3);
p_sb (4 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:729
ex_docmd.c (1 use)
  makeopens():
  9944:     if (!p_sb && put_line(fd, "set nosplitbelow") == FAIL)
window.c (3 uses)
  win_split_ins():
  885:             p_sb))))
  944:         before = !p_sb;
  win_altframe():
  2521:     b = p_sb;
p_spr (4 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:739
ex_docmd.c (1 use)
  makeopens():
  9946:     if (!p_spr && put_line(fd, "set nosplitright") == FAIL)
window.c (3 uses)
  win_split_ins():
  883:             (flags & WSP_VERT) ? p_spr :
  941:         before = !p_spr;
  win_altframe():
  2518:     b = p_spr;
p_stal (4 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:578
gui.c (2 uses)
  gui_has_tabline():
  3380:         || p_stal == 0
  3381:         || (p_stal == 1 && first_tabpage->tp_next == NULL))
option.c (1 use)
  set_num_option():
  7707:     else if (pp == &p_stal)
window.c (1 use)
  tabline_height():
  5675:     switch (p_stal)
p_stmp (4 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:706
ex_cmds.c (3 uses)
  do_filter():
  1108:     if (!do_in && do_out && !p_stmp)
  1114:     else if (do_in && !do_out && !p_stmp)
  1121:     else if (do_in && do_out && !p_stmp)
os_unix.c (1 use)
  mch_call_shell():
  3896:         if (p_stmp)
p_sts (4 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:342
option.c (4 uses)
  buf_copy_options():
  9442:         buf->b_p_sts = p_sts;
  paste_option_changed():
  10298:         p_sts_nopaste = p_sts;
  10331:     p_sts = 0;
  10365:     p_sts = p_sts_nopaste;
p_sxq (4 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:701
misc2.c (4 uses)
  call_shell():
  3000:     if (cmd == NULL || *p_sxq == NUL)
  3004:         ncmd = alloc((unsigned)(STRLEN(cmd) + STRLEN(p_sxq) * 2 + 1));
  3007:         STRCPY(ncmd, p_sxq);
  3009:         STRCAT(ncmd, p_sxq);
p_ta (4 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:757
option.c (4 uses)
  did_set_string_option():
  5830:         p_ta = FALSE;
  5832:         p_ta = TRUE;
  set_bool_option():
  7263:     else if ((int *)varp == &p_ta)
  7265:                  p_ta ? (char_u *)DFLT_FFS_VIM : (char_u *)"",
p_tpm (4 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:730
buffer.c (2 uses)
  do_arg_all():
  4495:     if (had_tab > 0 && tabpage_index(NULL) <= p_tpm)
  ex_buffer_all():
  4706:     if (had_tab > 0 && tabpage_index(NULL) <= p_tpm)
window.c (2 uses)
  make_tabpages():
  3410:     if (count > p_tpm)
  3411:     count = p_tpm;
p_ut (4 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:812
gui.c (1 use)
  gui_wait_for_chars():
  2685:     if (gui_mch_wait_for_chars(p_ut) == OK)
option.c (2 uses)
  set_num_option():
  8024:     if (p_ut < 0)
  8027:     p_ut = 2000;
os_unix.c (1 use)
  mch_inchar():
  358:     if (WaitForChar(p_ut) == 0)
p_ve (4 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:826
option.c (4 uses)
  didset_options():
  5042:     (void)opt_strings_flags(p_ve, p_ve_values, &ve_flags, TRUE);
  did_set_string_option():
  6557:     else if (varp == &p_ve)
  6559:     if (opt_strings_flags(p_ve, p_ve_values, &ve_flags, TRUE) != OK)
  6561:     else if (STRCMP(p_ve, oldval) != 0)
printer_page_num (4 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1244
buffer.c (1 use)
  build_stl_str_hl():
  3717:         num = printer_page_num;
gui.c (2 uses)
  get_tabline_label():
  3442:     printer_page_num = tabpage_index(tp);
  3444:     set_vim_var_nr(VV_LNUM, printer_page_num);
hardcopy.c (1 use)
  prt_header():
  486:     printer_page_num = pagenum;
process_still_running (4 uses in 1 translation unit) defined static in translation unit memline.c, declared in memline.c:1652
memline.c (4 uses)
  swapfile_info():
  1746:             process_still_running = TRUE;
  findswapname():
  4122:             process_still_running = FALSE;
  4174:                     process_still_running
  4180:             if (process_still_running && choice >= 4)
prt_bgcol (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1424
hardcopy.c (4 uses)
  mch_print_begin_page():
  3334:     prt_bgcol = PRCOLOR_WHITE;
  mch_print_text_out():
  3502:     if (prt_bgcol != PRCOLOR_WHITE)
  3504:         prt_new_bgcol = prt_bgcol;
  mch_print_set_bg():
  3637:     prt_bgcol = (int)bgcol;
prt_bgcol_offset (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1405
hardcopy.c (4 uses)
  prt_get_lpp():
  2381:     prt_bgcol_offset = (float)PRT_PS_FONT_TO_USER(prt_line_height,
  2385:     prt_bgcol_offset -= (float)PRT_PS_FONT_TO_USER(prt_line_height,
  2391:     prt_first_line_height = prt_line_height + prt_bgcol_offset;
  mch_print_begin():
  3253:     prt_def_var("BO", prt_bgcol_offset, 2);
prt_bufsiz (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1429
hardcopy.c (4 uses)
  prt_flush_buffer():
  1740:     ga_init2(&prt_ps_buffer, (int)sizeof(char), prt_bufsiz);
  mch_print_init():
  2778:     prt_bufsiz = psettings->chars_per_line;
  2781:     prt_bufsiz *= 2;
  2783:     ga_init2(&prt_ps_buffer, (int)sizeof(char), prt_bufsiz);
prt_collate (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1439
hardcopy.c (4 uses)
  mch_print_init():
  2712:     prt_collate = (!printer_opts[OPT_PRINT_COLLATE].present
  2714:     if (prt_collate)
  mch_print_begin():
  3084:     prt_dsc_requirements(prt_duplex, prt_tumble, prt_collate,
  3162:     prt_write_boolean(prt_collate);
prt_duplex (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1437
hardcopy.c (4 uses)
  mch_print_init():
  2733:     prt_duplex = TRUE;
  2740:         prt_duplex = FALSE;
  mch_print_begin():
  3084:     prt_dsc_requirements(prt_duplex, prt_tumble, prt_collate,
  3159:     prt_write_boolean(prt_duplex);
prt_font (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1416
hardcopy.c (4 uses)
  mch_print_begin_page():
  3335:     prt_font = PRT_PS_FONT_ROMAN;
  mch_print_text_out():
  3479:         prt_write_int(prt_font);
  mch_print_set_font():
  3619:     if (font != prt_font)
  3621:     prt_font = font;
prt_half_width (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1456
hardcopy.c (4 uses)
  mch_print_start_line():
  3378:     prt_half_width = FALSE;
  mch_print_text_out():
  3434:     if (prt_half_width)
  3438:         prt_half_width = FALSE;
  3446:         prt_half_width = TRUE;
prt_left_margin (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1397
hardcopy.c (4 uses)
  prt_get_cpl():
  2341:     prt_left_margin += prt_number_width;
  2346:     return (int)((prt_right_margin - prt_left_margin) / prt_char_width);
  mch_print_init():
  2678:     prt_left_margin = (float)left;
  mch_print_start_line():
  3368:     prt_pos_x = prt_left_margin;
prt_need_bgcol (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1422
hardcopy.c (4 uses)
  mch_print_init():
  2791:     prt_need_bgcol = FALSE;
  mch_print_text_out():
  3505:         if (prt_need_bgcol)
  3510:     prt_need_bgcol = FALSE;
  mch_print_set_bg():
  3639:     prt_need_bgcol = TRUE;
prt_need_fgcol (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1420
hardcopy.c (4 uses)
  mch_print_init():
  2790:     prt_need_fgcol = FALSE;
  mch_print_text_out():
  3483:     if (prt_need_fgcol)
  3499:         prt_need_fgcol = FALSE;
  mch_print_set_fg():
  3650:     prt_need_fgcol = TRUE;
prt_need_underline (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1417
hardcopy.c (4 uses)
  mch_print_init():
  2792:     prt_need_underline = FALSE;
  mch_print_text_out():
  3512:     if (prt_need_underline)
  3514:     prt_need_underline = FALSE;
  mch_print_set_font():
  3629:     prt_need_underline = TRUE;
prt_num_copies (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1436
hardcopy.c (4 uses)
  mch_print_init():
  2711:     prt_num_copies = 1;
  2724:     prt_num_copies = 1;
  mch_print_begin():
  3090:                     , prt_num_copies);
  3157:     prt_write_int(prt_num_copies);
prt_page_num (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1428
hardcopy.c (4 uses)
  mch_print_init():
  2785:     prt_page_num = 0;
  mch_print_end():
  3270:     prt_dsc_ints("Pages", 1, &prt_page_num);
  mch_print_begin_page():
  3318:     prt_page_num++;
  3320:     page_num[0] = page_num[1] = prt_page_num;
prt_portrait (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1435
hardcopy.c (4 uses)
  mch_print_init():
  2633:     prt_portrait = (!printer_opts[OPT_PRINT_PORTRAIT].present
  2661:     if (prt_portrait)
  mch_print_begin():
  2896:     if (prt_portrait)
  mch_print_begin_page():
  3338:     if (!prt_portrait)
prt_pos_x_moveto (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1406
hardcopy.c (4 uses)
  prt_flush_buffer():
  1675:         prt_write_real(prt_pos_x_moveto, 2);
  1701:         prt_write_real(prt_pos_x_moveto, 2);
  1730:         prt_write_real(prt_pos_x_moveto, 2);
  mch_print_text_out():
  3465:         prt_pos_x_moveto = prt_pos_x;
prt_pos_y_moveto (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1407
hardcopy.c (4 uses)
  prt_flush_buffer():
  1676:         prt_write_real(prt_pos_y_moveto, 2);
  1702:         prt_write_real(prt_pos_y_moveto, 2);
  1731:         prt_write_real(prt_pos_y_moveto, 2);
  mch_print_text_out():
  3466:         prt_pos_y_moveto = prt_pos_y;
prt_text_run (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1427
hardcopy.c (4 uses)
  prt_flush_buffer():
  1682:         prt_write_real(prt_text_run, 2);
  1708:         prt_write_real(prt_text_run, 2);
  mch_print_text_out():
  3461:     prt_text_run = 0;
  3592:     prt_text_run += char_width;
prt_top_margin (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1399
hardcopy.c (4 uses)
  prt_get_lpp():
  2394:     lpp = (int)((prt_top_margin - prt_bottom_margin) / prt_line_height);
  2397:     prt_top_margin -= prt_line_height * prt_header_height();
  mch_print_init():
  2680:     prt_top_margin = (float)top;
  mch_print_start_line():
  3372:     prt_pos_y = prt_top_margin - prt_first_line_height -
prt_tumble (4 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1438
hardcopy.c (4 uses)
  mch_print_init():
  2734:     prt_tumble = FALSE;
  2745:         prt_tumble = TRUE;
  mch_print_begin():
  3084:     prt_dsc_requirements(prt_duplex, prt_tumble, prt_collate,
  3160:     prt_write_boolean(prt_tumble);
quitmore (4 uses in 1 translation unit) defined static in translation unit ex_docmd.c, declared in ex_docmd.c:20
ex_docmd.c (4 uses)
  do_one_cmd():
  1702:     if (quitmore
  1708:     --quitmore;
  check_more():
  5006:         && ARGCOUNT > 1 && !arg_had_last && n >= 0 && quitmore == 0)
  5029:         quitmore = 2;        /* next try to quit is allowed */
re_has_z (4 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:582
regexp.c (4 uses)
  vim_regcomp():
  1049:     r->reghasz = re_has_z;
  regcomp_start():
  1141:     re_has_z = 0;
  regatom():
  1789:               re_has_z = REX_SET;
  1803:               re_has_z = REX_USE;
regnpar (4 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:579
regexp.c (4 uses)
  regcomp_start():
  1137:     regnpar = 1;
  reg():
  1199:     if (regnpar >= NSUBEXP)
  1201:     parno = regnpar;
  1202:     ++regnpar;
regnzpar (4 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:581
regexp.c (4 uses)
  regcomp_start():
  1140:     regnzpar = 1;
  reg():
  1188:     if (regnzpar >= NSUBEXP)
  1190:     parno = regnzpar;
  1191:     regnzpar++;
ru_wid (4 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:575
option.c (4 uses)
  did_set_string_option():
  6350:         ru_wid = 0;
  6359:         ru_wid = wid;
  comp_col():
  8886:     ru_col = (ru_wid ? ru_wid : COL_RULER) + 1;
  8886:     ru_col = (ru_wid ? ru_wid : COL_RULER) + 1;
save_p_ls (4 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1071
ex_getln.c (3 uses)
  getcmdline():
  462:         else if (save_p_ls != -1)
  465:             p_ls = save_p_ls;
  472:             save_p_ls = -1;
screen.c (1 use)
  win_redr_status_matches():
  5676:             save_p_ls = p_ls;
screen_char_attr (4 uses in 1 translation unit) defined static in translation unit screen.c, declared in screen.c:177
screen.c (4 uses)
  screen_char():
  6918:     if (screen_char_attr != 0)
  6919:     attr = screen_char_attr;
  screen_draw_rectangle():
  7019:     screen_char_attr = HL_INVERSE;
  7045:     screen_char_attr = 0;
scriptout (4 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:983
getchar.c (2 uses)
  updatescript():
  1490:     if (c && scriptout)
  1491:     putc(c, scriptout);
main.c (2 uses)
  command_line_scan():
  2145:             if (scriptout != NULL)
  2147:             if ((scriptout = mch_fopen(argv[0],
search_match_endcol (4 uses in 4 translation units) defined in translation unit main.c, declared in ./globals.h:338
ex_cmds.c (1 use)
  do_sub():
  4670:                 search_match_endcol = regmatch.endpos[0].col;
ex_getln.c (1 use)
  getcmdline():
  1782:         curwin->w_cursor.col = search_match_endcol;
screen.c (1 use)
  win_line():
  2877:         pos.col = search_match_endcol;
search.c (1 use)
  searchit():
  884:             search_match_endcol = endpos.col;
searchcmdlen (4 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:994
ex_docmd.c (2 uses)
  get_address():
  3935:                 searchcmdlen = 0;
  3946:                 cmd += searchcmdlen;
search.c (2 uses)
  do_search():
  1131:         searchcmdlen += (int)(STRLEN(pat) - STRLEN(strcopy));
  1173:         searchcmdlen += (int)(p - pat);
showcmd_visual (4 uses in 1 translation unit) defined static in translation unit normal.c, declared in normal.c:3656
normal.c (4 uses)
  clear_showcmd():
  3705:     showcmd_visual = TRUE;
  3711:     showcmd_visual = FALSE;
  add_to_showcmd():
  3755:     if (showcmd_visual)
  3758:     showcmd_visual = FALSE;
sigstk (4 uses in 1 translation unit) defined static in translation unit os_unix.c, declared in os_unix.c:753
os_unix.c (4 uses)
  init_signal_stack():
  777:     sigstk.ss_sp = signal_stack;
  779:     sigstk.ss_size = SIGSTKSZ;
  780:     sigstk.ss_flags = 0;
  781:     (void)sigaltstack(&sigstk, NULL);
sort_abort (4 uses in 1 translation unit) defined static in translation unit ex_cmds.c, declared in ex_cmds.c:280
ex_cmds.c (4 uses)
  sort_compare():
  311:     if (sort_abort)
  315:     sort_abort = TRUE;
  ex_sort():
  381:     sort_abort = sort_ic = sort_rx = sort_nr = sort_oct = sort_hex = 0;
  515:     if (sort_abort)
sort_ic (4 uses in 1 translation unit) defined static in translation unit ex_cmds.c, declared in ex_cmds.c:276
ex_cmds.c (4 uses)
  sort_compare():
  333:     result = sort_ic ? STRICMP(sortbuf1, sortbuf2)
  ex_sort():
  381:     sort_abort = sort_ic = sort_rx = sort_nr = sort_oct = sort_hex = 0;
  388:         sort_ic = TRUE;
  524:         || (sort_ic ? STRICMP(s, sortbuf1) : STRCMP(s, sortbuf1)) != 0)
specialColor (4 uses in 1 translation unit) defined in translation unit gui_mac.c, declared in gui_mac.c:3910
gui_mac.c (4 uses)
  gui_mch_set_sp_color():
  3918:     specialColor.red = Red(color) * 0x0101;
  3919:     specialColor.green = Green(color) * 0x0101;
  3920:     specialColor.blue = Blue(color) * 0x0101;
  draw_undercurl():
  3934:     RGBForeColor(&specialColor);
spell_bad_len (4 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:186
edit.c (4 uses)
  ins_compl_new_leader():
  3220:     spell_bad_len = 0;    /* need to redetect bad word */
  ins_complete():
  4923:         if (spell_bad_len > 0)
  4924:         compl_col = curs_col - spell_bad_len;
  spell_back_to_badword():
  6247:     spell_bad_len = spell_move_to(curwin, BACKWARD, TRUE, TRUE, NULL);
spell_redraw_lnum (4 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1317
edit.c (3 uses)
  check_spell_redraw():
  6229:     if (spell_redraw_lnum != 0)
  6231:     linenr_T    lnum = spell_redraw_lnum;
  6233:     spell_redraw_lnum = 0;
screen.c (1 use)
  win_line():
  3974:                 spell_redraw_lnum = lnum;
starttime (4 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1545
main.c (1 use)
  main():
  211:     starttime = time(NULL);
undo.c (3 uses)
  undo_time():
  811:         target = (long)(curbuf->b_u_seq_time - starttime) + step;
  823:         closest = (long)(time(NULL) - starttime + 1);
  858:         val = (long)(dosec ? (uhp->uh_time - starttime) : uhp->uh_seq);
subcommands (4 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:5922
syntax.c (4 uses)
  ex_syntax():
  5969:         if (subcommands[i].name == NULL)
  5974:         if (STRCMP(subcmd_name, (char_u *)subcommands[i].name) == 0)
  5977:         (subcommands[i].func)(eap, FALSE);
  get_syntax_name():
  6081:     return (char_u *)subcommands[idx].name;
ttym_flags (4 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:799
option.c (2 uses)
  didset_options():
  5045:     (void)opt_strings_flags(p_ttym, p_ttym_values, &ttym_flags, FALSE);
  did_set_string_option():
  6167:     if (opt_strings_flags(p_ttym, p_ttym_values, &ttym_flags, FALSE) != OK)
os_unix.c (2 uses)
  use_xterm_mouse():
  2067:     if (ttym_flags == TTYM_XTERM2)
  2069:     if (ttym_flags == TTYM_XTERM)
typeahead_char (4 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:51
getchar.c (4 uses)
  typeahead_noflush():
  416:     typeahead_char = c;
  vgetorpeek():
  1946:     if (typeahead_char != 0)
  1948:         c = typeahead_char;
  1950:         typeahead_char = 0;
typebuf_was_filled (4 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1270
eval.c (1 use)
  f_feedkeys():
  9169:         typebuf_was_filled = TRUE;
getchar.c (3 uses)
  typebuf_changed():
  1087:         || typebuf_was_filled
  del_typebuf():
  1186:     typebuf_was_filled = FALSE;
  input_available():
  3030:         || typebuf_was_filled
varnamebuflen (4 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:3624
eval.c (4 uses)
  cat_prefix_varname():
  3637:     if (len > varnamebuflen)
  3644:         varnamebuflen = 0;
  3647:     varnamebuflen = len;
  get_user_var_name():
  3749:     varnamebuflen = 0;
viminfo_errcnt (4 uses in 1 translation unit) defined static in translation unit ex_cmds.c, declared in ex_cmds.c:1640
ex_cmds.c (4 uses)
  viminfo_error():
  1665:     if (++viminfo_errcnt >= 10)
  read_viminfo():
  1710:     viminfo_errcnt = 0;
  write_viminfo():
  1966:     viminfo_errcnt = 0;
  1978:     if (viminfo_errcnt || vim_rename(tempname, fname) == -1)
vr_lines_changed (4 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:725
edit.c (2 uses)
  edit():
  434:     vr_lines_changed = 1;
  stop_arrow():
  6275:         vr_lines_changed = 1;
misc1.c (2 uses)
  open_line():
  1340:     if (curwin->w_cursor.lnum >= Insstart.lnum + vr_lines_changed)
  1346:         vr_lines_changed++;
already_warned (3 uses in 1 translation unit) defined static in translation unit fileio.c, declared in fileio.c:6221
fileio.c (3 uses)
  check_timestamps():
  6263:     already_warned = FALSE;
  buf_check_timestamp():
  6547:         if (State > NORMAL_BUSY || (State & CMDLINE) || already_warned)
  6583:         already_warned = TRUE;
bangredo (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:993
ex_cmds.c (2 uses)
  do_bang():
  996:     if (bangredo)        /* put cmd in redo buffer for ! command */
  1000:     bangredo = FALSE;
normal.c (1 use)
  do_pending_operator():
  1924:         bangredo = TRUE;    /* do_bang() will put cmd in redo buffer */
bot_top_msg (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1535
search.c (2 uses)
  searchit():
  930:         give_warning((char_u *)_(dir == BACKWARD
  search_for_exact_line():
  1432:             give_warning((char_u *)_(bot_top_msg), TRUE);
spell.c (1 use)
  spell_move_to():
  2239:             give_warning((char_u *)_(bot_top_msg), TRUE);
BufferType (3 uses in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:1438
if_python.c (3 uses)
  BufferNew():
  1490:     self = PyObject_NEW(BufferObject, &BufferType);
  1490:     self = PyObject_NEW(BufferObject, &BufferType);
  PythonMod_Init():
  2349:     BufferType.ob_type = &PyType_Type;
can_update_cursor (3 uses in 1 translation unit) defined static in translation unit gui.c, declared in gui.c:39
gui.c (3 uses)
  gui_update_cursor():
  906:     if (!can_update_cursor)
  gui_dont_update_cursor():
  1776:     can_update_cursor = FALSE;
  gui_can_update_cursor():
  1783:     can_update_cursor = TRUE;
cedit_key (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1145
ex_getln.c (1 use)
  getcmdline():
  723:     if (c == cedit_key || c == K_CMDWIN)
option.c (2 uses)
  check_cedit():
  4821:     cedit_key = -1;
  4827:     cedit_key = n;
check_for_codes (3 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:1452
term.c (3 uses)
  check_termcode():
  4094:                 check_for_codes = TRUE;
  4114:         else if (check_for_codes
  gather_termleader():
  5213:     if (check_for_codes)
cmd_showtail (3 uses in 1 translation unit) defined static in translation unit ex_getln.c, declared in ex_getln.c:43
ex_getln.c (3 uses)
  nextwild():
  3238:     cmd_showtail = expand_showtail(xp);
  ExpandOne():
  3418:                             findex, cmd_showtail);
  showmatches():
  3808:     showtail = cmd_showtail;
compiled_sys (3 uses in 1 translation unit) defined in translation unit auto/pathdef.c, declared in auto/pathdef.c:10
version.c (3 uses)
  list_version():
  1485:     if (*compiled_user != NUL || *compiled_sys != NUL)
  1493:     if (*compiled_sys != NUL)
  1496:         MSG_PUTS(compiled_sys);
compiled_user (3 uses in 1 translation unit) defined in translation unit auto/pathdef.c, declared in auto/pathdef.c:9
version.c (3 uses)
  list_version():
  1485:     if (*compiled_user != NUL || *compiled_sys != NUL)
  1488:     if (*compiled_user != NUL)
  1491:         MSG_PUTS(compiled_user);
compl_was_interrupted (3 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:108
edit.c (3 uses)
  ins_compl_bs():
  3189:                              || compl_was_interrupted)
  ins_compl_addleader():
  3290:     if (compl_was_interrupted)
  ins_complete():
  5169:     compl_was_interrupted = compl_interrupted;
compress_inc (3 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:4966
spell.c (3 uses)
  tree_add_word():
  7487:         spin->si_blocks_cnt += compress_inc;
  7512:     spin->si_blocks_cnt -= compress_inc;
  spell_check_msm():
  7572:     compress_inc = incr;
crc_32_tab (3 uses in 1 translation unit) defined static in translation unit misc2.c, declared in misc2.c:3581
misc2.c (3 uses)
  make_crc_tab():
  3599:     crc_32_tab[t] = v;
  update_keys():
  3628:     keys[0] = CRC32(keys[0], c);
  3631:     keys[2] = CRC32(keys[2], (int)(keys[1] >> 24));
ctrl_c_interrupts (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:913
ui.c (3 uses)
  ui_inchar():
  178:         ctrl_c_interrupts = FALSE;
  201:     ctrl_c_interrupts = TRUE;
  fill_input_buf():
  1866:         if (inbuf[inbufcount] == 3 && ctrl_c_interrupts)
ctrl_x_msgs (3 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:40
edit.c (3 uses)
  ins_ctrl_x():
  1971:     edit_submode = (char_u *)_(CTRL_X_MSG(ctrl_x_mode));
  ins_complete():
  4978:         edit_submode = (char_u *)_(ctrl_x_msgs[CTRL_X_LOCAL_MSG]);
  4980:         edit_submode = (char_u *)_(CTRL_X_MSG(ctrl_x_mode));
curr_italic (3 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:98
hardcopy.c (3 uses)
  prt_set_font():
  352:         || curr_italic != italic
  356:     curr_italic = italic;
  ex_hardcopy():
  666:     curr_italic = MAYBE;
curr_underline (3 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:100
hardcopy.c (3 uses)
  prt_set_font():
  353:         || curr_underline != underline)
  355:     curr_underline = underline;
  ex_hardcopy():
  668:     curr_underline = MAYBE;
current_attr (3 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:206
syntax.c (3 uses)
  syn_current_attr():
  2217:     current_attr = 0;
  2238:         current_attr = sip->si_attr;
  2336:     return current_attr;
current_line_id (3 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:363
syntax.c (3 uses)
  syn_start_line():
  981:     ++current_line_id;
  syn_current_attr():
  1991:                 if (spp->sp_line_id == current_line_id
  1994:                 spp->sp_line_id = current_line_id;
current_tabmenu (3 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:456
edit.c (1 use)
  ins_tabline():
  8770:     if (c != K_TABMENU || current_tabmenu != TABLINE_MENU_CLOSE
normal.c (1 use)
  handle_tabmenu():
  5093:     switch (current_tabmenu)
term.c (1 use)
  check_termcode():
  4825:         current_tabmenu = (int)bytes[1];
cursorRgn (3 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:133
gui_mac.c (3 uses)
  gui_mch_init():
  3100:     cursorRgn = NewRgn();
  gui_mch_exit():
  3264:     DisposeRgn(cursorRgn);
  gui_mch_wait_for_chars():
  4466:         dragRgn = cursorRgn;
debug_did_msg (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:225
ex_cmds2.c (2 uses)
  do_debug():
  141:     if (!debug_did_msg)
  293:     debug_did_msg = TRUE;
getchar.c (1 use)
  gotchars():
  1227:     debug_did_msg = FALSE;
debug_greedy (3 uses in 1 translation unit) defined static in translation unit ex_cmds2.c, declared in ex_cmds2.c:77
ex_cmds2.c (3 uses)
  do_debug():
  169:     if (!debug_greedy)
  ex_debuggreedy():
  594:     debug_greedy = TRUE;
  596:     debug_greedy = FALSE;
debug_skipped_name (3 uses in 1 translation unit) defined static in translation unit ex_cmds2.c, declared in ex_cmds2.c:321
ex_cmds2.c (3 uses)
  dbg_check_breakpoint():
  358:         debug_skipped_name = debug_breakpoint_name;
  369:         debug_skipped_name = NULL;
  dbg_check_skipped():
  392:     debug_breakpoint_name = debug_skipped_name;
detected_8bit (3 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:142
term.c (3 uses)
  set_termname():
  1612:     detected_8bit = FALSE;        /* reset 8-bit detection */
  term_is_8bit():
  2361:     return (detected_8bit || strstr((char *)name, "8bit") != NULL);
  switch_to_8bit():
  3778:     detected_8bit = TRUE;
dialog_busy (3 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:2090
gui_mac.c (3 uses)
  gui_mac_unicode_key_event():
  2120:     if (dialog_busy)
  gui_mch_dialog():
  5847:     dialog_busy = TRUE;
  5860:     dialog_busy = FALSE;
did_endif (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:175
ex_docmd.c (2 uses)
  do_cmdline():
  1056:     did_endif = FALSE;
  1481:         || (did_endif && KeyTyped && !did_emsg)
ex_eval.c (1 use)
  ex_endif():
  904:     did_endif = TRUE;
did_lcd (3 uses in 1 translation unit) defined static in translation unit ex_docmd.c, declared in ex_docmd.c:378
ex_docmd.c (3 uses)
  ex_mkrc():
  8633:     did_lcd = FALSE;
  put_view():
  10402:     did_lcd = TRUE;
  ses_fname():
  10467:         && !did_lcd)
did_outofmem_msg (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1005
getchar.c (1 use)
  inchar():
  2870:     did_outofmem_msg = FALSE;   /* display out of memory message (again) */
misc2.c (2 uses)
  do_outofmem_msg():
  945:     if (!did_outofmem_msg)
  950:     did_outofmem_msg = TRUE;
did_set_spelltab (3 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:746
spell.c (3 uses)
  init_spell_chartab():
  9558:     did_set_spelltab = FALSE;
  set_spell_finish():
  9725:     if (did_set_spelltab)
  9744:     did_set_spelltab = TRUE;
did_syncbind (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:686
ex_docmd.c (1 use)
  ex_syncbind():
  7704:     did_syncbind = TRUE;
normal.c (2 uses)
  do_check_scrollbind():
  3885:     if (did_syncbind)
  3886:         did_syncbind = FALSE;
diff_busy (3 uses in 1 translation unit) defined static in translation unit diff.c, declared in diff.c:18
diff.c (3 uses)
  diff_mark_adjust_tp():
  274:         && !diff_busy)
  ex_diffgetput():
  2125:     diff_busy = TRUE;
  2336:     diff_busy = FALSE;
display_tick (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1311
screen.c (1 use)
  update_screen():
  357:     ++display_tick;        /* let syntax code know we're in a next round of
syntax.c (2 uses)
  syntax_start():
  492:     syn_buf->b_sst_lasttick = display_tick;
  store_current_state():
  1467:     sp->sst_tick = display_tick;
do_clear_sb_text (3 uses in 1 translation unit) defined static in translation unit message.c, declared in message.c:2153
message.c (3 uses)
  store_sb_text():
  2168:     if (do_clear_sb_text)
  2171:     do_clear_sb_text = FALSE;
  may_clear_sb_text():
  2211:     do_clear_sb_text = TRUE;
dragRect (3 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:135
gui_mac.c (3 uses)
  gui_mac_doInContentClick():
  1754:         SetRect(&dragRect, FILL_X(X_2_COL(thePoint.h)),
  gui_mac_doMouseMovedEvent():
  2506:     SetRect(&dragRect, FILL_X(X_2_COL(thePoint.h)),
  gui_mch_wait_for_chars():
  4467:         RectRgn(dragRgn, &dragRect);
e_afftrailing (3 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:991
spell.c (3 uses)
  spell_read_aff():
  5542:             smsg((char_u *)_(e_afftrailing), fname, lnum, items[lasti]);
  5585:             smsg((char_u *)_(e_afftrailing), fname, lnum, items[lasti]);
  5792:             smsg((char_u *)_(e_afftrailing), fname, lnum, items[3]);
e_backslash (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1353
ex_cmds.c (2 uses)
  do_sub():
  4247:         EMSG(_(e_backslash));
  ex_global():
  5222:         EMSG(_(e_backslash));
ex_docmd.c (1 use)
  get_address():
  3958:                 EMSG(_(e_backslash));
e_dictreq (3 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:101
eval.c (3 uses)
  f_call():
  8200:         EMSG(_(e_dictreq));
  f_has_key():
  11272:     EMSG(_(e_dictreq));
  dict_list():
  11978:     EMSG(_(e_dictreq));
e_emptybuf (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1519
ex_docmd.c (3 uses)
  do_exmode():
  663:         EMSG(_(e_emptybuf));
  682:         EMSG(_(e_emptybuf));
  ex_print():
  6654:     EMSG(_(e_emptybuf));
e_endif (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1359
ex_docmd.c (1 use)
  do_cmdline():
  1308:         EMSG(_(e_endif));
ex_eval.c (2 uses)
  ex_endwhile():
  1227:         eap->errmsg = e_endif;
  get_end_emsg():
  2226:     return e_endif;
e_illvar (3 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:110
eval.c (3 uses)
  set_var():
  18267:     EMSG2(_(e_illvar), name);
  18320:         EMSG2(_(e_illvar), name);
  18329:         EMSG2(_(e_illvar), varname);
e_isadir2 (3 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1389
ex_cmds.c (1 use)
  check_overwrite():
  2754:         EMSG2(_(e_isadir2), ffname);
ex_docmd.c (1 use)
  open_exfile():
  8848:     EMSG2(_(e_isadir2), fname);
spell.c (1 use)
  mkspell():
  9092:         EMSG2(_(e_isadir2), wfname);
e_maxmempat (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1518
regexp.c (3 uses)
  regmatch():
  4838:             EMSG(_(e_maxmempat));
  4883:         EMSG(_(e_maxmempat));
  regstack_push():
  5343:     EMSG(_(e_maxmempat));
e_nogroup (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1420
syntax.c (2 uses)
  syn_cmd_clear():
  3448:             EMSG2(_(e_nogroup), arg);
  syn_cmd_list():
  3659:             EMSG2(_(e_nogroup), arg);
window.c (1 use)
  match_add():
  6308:     EMSG2(_(e_nogroup), grp);
e_noinstext (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1422
edit.c (1 use)
  stuff_inserted():
  6806:     EMSG(_(e_noinstext));
ops.c (2 uses)
  do_execreg():
  1207:         EMSG(_(e_noinstext));
  get_spec_reg():
  1473:         EMSG(_(e_noinstext));
e_nomatch (3 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1425
ex_cmds2.c (1 use)
  do_arglist():
  1849:         EMSG(_(e_nomatch));
ex_docmd.c (1 use)
  ex_open():
  7391:         EMSG(_(e_nomatch));
quickfix.c (1 use)
  ex_vimgrep():
  3075:     EMSG(_(e_nomatch));
e_nomenu (3 uses in 1 translation unit) defined static in translation unit menu.c, declared in menu.c:66
menu.c (3 uses)
  menu_nable_recurse():
  877:     EMSG2(_(e_nomenu), name);
  remove_menu():
  970:         EMSG2(_(e_nomenu), name);
  show_menus():
  1115:         EMSG2(_(e_nomenu), name);
e_noname (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1427
ex_cmds2.c (2 uses)
  dbg_parsearg():
  465:         EMSG(_(e_noname));
  check_fname():
  1612:     EMSG(_(e_noname));
ex_docmd.c (1 use)
  get_view_file():
  10566:     EMSG(_(e_noname));
e_noprevre (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1430
ops.c (1 use)
  get_spec_reg():
  1465:         EMSG(_(e_noprevre));
search.c (2 uses)
  search_regcomp():
  162:         EMSG(_(e_noprevre));
  do_search():
  1112:         EMSG(_(e_noprevre));
e_notread (3 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1441
ex_cmds.c (1 use)
  do_filter():
  1229:             EMSG2(_(e_notread), otmp);
misc1.c (1 use)
  get_cmd_output():
  9455:     EMSG2(_(e_notread), tempname);
os_unix.c (1 use)
  mch_expand_wildcards():
  5452:     EMSG2(_(e_notread), tempname);
e_null (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1443
regexp.c (3 uses)
  vim_regcomp():
  1001:     EMSG_RET_NULL(_(e_null));
  vim_regexec_both():
  3413:     EMSG(_(e_null));
  vim_regsub_both():
  6895:     EMSG(_(e_null));
e_patnotf2 (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1457
ex_cmds.c (2 uses)
  do_sub():
  5107:         EMSG2(_(e_patnotf2), get_search_pat());
  ex_global():
  5285:         smsg((char_u *)_(e_patnotf2), pat);
search.c (1 use)
  searchit():
  949:         EMSG2(_(e_patnotf2), mr_pattern);
e_scroll (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1485
option.c (3 uses)
  set_num_option():
  7982:         errmsg = e_scroll;
  8003:         errmsg = e_scroll;
  8009:     errmsg = e_scroll;
enc_alias_table (3 uses in 1 translation unit) defined static in translation unit mbyte.c, declared in mbyte.c:326
mbyte.c (3 uses)
  enc_alias_search():
  3057:     for (i = 0; enc_alias_table[i].name != NULL; ++i)
  3058:     if (STRCMP(name, enc_alias_table[i].name) == 0)
  3059:         return enc_alias_table[i].canon;
ex_keep_indent (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:205
ex_cmds.c (2 uses)
  ex_append():
  3882:     ex_keep_indent = FALSE;
  3908:     if (ex_keep_indent)
ex_getln.c (1 use)
  getexmodeline():
  2264:             ex_keep_indent = TRUE;
ex_normal_lock (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:955
ex_docmd.c (1 use)
  ex_normal():
  8922:     if (ex_normal_lock > 0)
getchar.c (2 uses)
  eval_map_expr():
  4428:     ++ex_normal_lock;
  4434:     --ex_normal_lock;
expand_menu (3 uses in 1 translation unit) defined static in translation unit menu.c, declared in menu.c:1217
menu.c (3 uses)
  set_context_in_menu_cmd():
  1332:     expand_menu = menu;
  get_menu_name():
  1353:     menu = expand_menu;
  get_menu_names():
  1391:     menu = expand_menu;
expand_what (3 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:6003
syntax.c (3 uses)
  set_context_in_syntax_cmd():
  6041:     expand_what = EXP_SUBCMD;
  6056:         expand_what = EXP_CASE;
  get_syntax_name():
  6080:     if (expand_what == EXP_SUBCMD)
filetype_indent (3 uses in 1 translation unit) defined static in translation unit ex_docmd.c, declared in ex_docmd.c:10726
ex_docmd.c (3 uses)
  ex_filetype():
  10751:         filetype_indent ? (filetype_detect ? "ON" : "(on)") : "OFF");
  10786:         filetype_indent = TRUE;
  10807:         filetype_indent = FALSE;
filetype_plugin (3 uses in 1 translation unit) defined static in translation unit ex_docmd.c, declared in ex_docmd.c:10725
ex_docmd.c (3 uses)
  ex_filetype():
  10750:         filetype_plugin ? (filetype_detect ? "ON" : "(on)") : "OFF",
  10781:         filetype_plugin = TRUE;
  10802:         filetype_plugin = FALSE;
fill_stl (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1129
option.c (1 use)
  set_chars_option():
  6759:     {&fill_stl,    "stl"},
screen.c (2 uses)
  fillchar_status():
  9267:     fill = fill_stl;
  9279:             || (fill_stl != fill_stlnc)))
fill_stlnc (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1130
option.c (1 use)
  set_chars_option():
  6760:     {&fill_stlnc,    "stlnc"},
screen.c (2 uses)
  fillchar_status():
  9272:     fill = fill_stlnc;
  9279:             || (fill_stl != fill_stlnc)))
fill_vert (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1133
option.c (1 use)
  set_chars_option():
  6761:     {&fill_vert,    "vert"},
screen.c (2 uses)
  fillchar_vsep():
  9297:     if (*attr == 0 && fill_vert == ' ')
  9300:     return fill_vert;
garbage_collect_at_exit (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:314
eval.c (2 uses)
  garbage_collect():
  6136:     garbage_collect_at_exit = FALSE;
  f_garbagecollect():
  9749:     garbage_collect_at_exit = TRUE;
main.c (1 use)
  getout():
  1338:     if (garbage_collect_at_exit)
global_need_beginline (3 uses in 1 translation unit) defined static in translation unit ex_cmds.c, declared in ex_cmds.c:4170
ex_cmds.c (3 uses)
  do_sub():
  5096:         global_need_beginline = TRUE;
  global_exe():
  5314:     global_need_beginline = FALSE;
  5329:     if (global_need_beginline)
gTSCDefault (3 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:6379
gui_mac.c (3 uses)
  im_on_window_switch():
  6397:     GetDefaultInputMethodOfClass(&gTSCDefault, &gTSLDefault,
  im_set_active():
  6450:     GetDefaultInputMethodOfClass(&gTSCDefault, &gTSLDefault,
  6483:     SetDefaultInputMethodOfClass(gTSCDefault, &gTSLDefault,
gTSLInsert (3 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:6374
gui_mac.c (3 uses)
  im_set_active():
  6458:     slptr = &gTSLInsert;
  6473:     err = GetTextServiceLanguage(&gTSLInsert);
  6475:         slptr = &gTSLInsert;
gTSLWindow (3 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:6373
gui_mac.c (3 uses)
  im_on_window_switch():
  6405:     slptr = &gTSLWindow;
  6420:     err = GetTextServiceLanguage(&gTSLWindow);
  6422:         slptr = &gTSLWindow;
gui_prev_topfill (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:407
gui.c (2 uses)
  gui_send_mouse_event():
  3010:         || curwin->w_topfill != gui_prev_topfill
  3036:     gui_prev_topfill = curwin->w_topfill;
ui.c (1 use)
  jump_to_mouse():
  2597:     gui_prev_topfill = curwin->w_topfill;
gui_prev_topline (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:405
gui.c (2 uses)
  gui_send_mouse_event():
  3008:     if (curwin->w_topline != gui_prev_topline
  3034:     gui_prev_topline = curwin->w_topline;
ui.c (1 use)
  jump_to_mouse():
  2595:     gui_prev_topline = curwin->w_topline;
gui_win_x (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:494
ex_docmd.c (1 use)
  ex_winpos():
  8103:         gui_win_x = x;
gui_mac.c (2 uses)
  gui_mch_open():
  3231:     if (gui_win_x != -1 && gui_win_y != -1)
  3232:     gui_mch_set_winpos(gui_win_x, gui_win_y);
gui_win_y (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:495
ex_docmd.c (1 use)
  ex_winpos():
  8104:         gui_win_y = y;
gui_mac.c (2 uses)
  gui_mch_open():
  3231:     if (gui_win_x != -1 && gui_win_y != -1)
  3232:     gui_mch_set_winpos(gui_win_x, gui_win_y);
has_mouse_termcode (3 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:2067
term.c (3 uses)
  set_mouse_termcode():
  2104:     has_mouse_termcode |= HMT_NORMAL;
  del_mouse_termcode():
  2143:     has_mouse_termcode &= ~HMT_NORMAL;
  setmouse():
  3340:     if (*p_mouse == NUL || has_mouse_termcode == 0)
highlight_stlnc (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:355
screen.c (1 use)
  win_redr_custom():
  6103:         curattr = highlight_stlnc[hltab[n].userhl - 1];
syntax.c (2 uses)
  highlight_changed():
  8962:         highlight_stlnc[i] = 0;
  9019:         highlight_stlnc[i] = syn_id2attr(hlcnt + i + 1);
highlight_user (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:353
screen.c (1 use)
  win_redr_custom():
  6106:         curattr = highlight_user[hltab[n].userhl - 1];
syntax.c (2 uses)
  highlight_changed():
  8960:         highlight_user[i] = 0;
  8971:         highlight_user[i] = syn_id2attr(id);
history_names (3 uses in 1 translation unit) defined static in translation unit ex_getln.c, declared in ex_getln.c:4988
ex_getln.c (3 uses)
  get_histtype():
  5150:     for (i = 0; history_names[i] != NULL; ++i)
  5151:     if (STRNICMP(name, history_names[i], len) == 0)
  ex_history():
  5651:     STRCAT(STRCAT(IObuff, history_names[histype1]), " history");
hl_name_table (3 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:79
syntax.c (3 uses)
  do_highlight():
  6857:             len = (int)STRLEN(hl_name_table[i]);
  6858:             if (STRNICMP(arg + off, hl_name_table[i], len) == 0)
  highlight_list_arg():
  8245:             STRCAT(buf, hl_name_table[i]);
in_mch_delay (3 uses in 1 translation unit) defined static in translation unit os_unix.c, declared in os_unix.c:203
os_unix.c (3 uses)
  mch_delay():
  551:     in_mch_delay = TRUE;
  615:     in_mch_delay = FALSE;
  deathtrap():
  940:     if (in_mch_delay && sigarg == SIGQUIT)
include_groups (3 uses in 1 translation unit) defined static in translation unit fileio.c, declared in fileio.c:9092
fileio.c (3 uses)
  set_context_in_autocmd():
  9104:     include_groups = FALSE;
  9123:         include_groups = TRUE;
  get_event_name():
  9154:     if (!include_groups || AUGROUP_NAME(idx) == NULL)
initmappings (3 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:4990
getchar.c (3 uses)
  init_mappings():
  5079:     for (i = 0; i < sizeof(initmappings) / sizeof(struct initmap); ++i)
  5080:     add_map(initmappings[i].arg, initmappings[i].mode);
  5080:     add_map(initmappings[i].arg, initmappings[i].mode);
inputsecret_flag (3 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:11586
eval.c (3 uses)
  get_user_input():
  11670:         getcmdline_prompt(inputsecret_flag ? NUL : '@', p, echo_attr,
  f_inputsecret():
  11837:     ++inputsecret_flag;
  11840:     --inputsecret_flag;
Insstart_textlen (3 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:251
edit.c (3 uses)
  edit():
  388:     Insstart_textlen = linetabsize(ml_get_curline());
  insertchar():
  5484:                 || Insstart_textlen <= (colnr_T)textwidth)
  stop_arrow():
  6269:     Insstart_textlen = linetabsize(ml_get_curline());
invalid_bot (3 uses in 1 translation unit) defined static in translation unit fold.c, declared in fold.c:75
fold.c (3 uses)
  foldLevel():
  264:     else if (lnum >= invalid_top && lnum <= invalid_bot)
  foldUpdateIEMS():
  2183:     invalid_bot = bot;
  2290:         invalid_bot = end;
item_compare_ic (3 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:15072
eval.c (3 uses)
  item_compare():
  15100:     if (item_compare_ic)
  f_sort():
  15178:     item_compare_ic = FALSE;
  15192:             item_compare_ic = TRUE;
keep_filetype (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:371
fileio.c (3 uses)
  buf_reload():
  6674:         keep_filetype = TRUE;        /* don't detect 'filetype' */
  6722:     keep_filetype = FALSE;
  apply_autocmds_group():
  8728:     did_filetype = keep_filetype;
keep_msg_more (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:160
message.c (1 use)
  set_keep_msg():
  1106:     keep_msg_more = FALSE;
misc1.c (2 uses)
  msgmore():
  3292:     if (keep_msg != NULL && !keep_msg_more)
  3321:         keep_msg_more = TRUE;
KeyNoremap (3 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:79
getchar.c (3 uses)
  ins_char_typebuf():
  1069:     (void)ins_typebuf(buf, KeyNoremap, 0, !KeyTyped, cmd_silent);
  vgetorpeek():
  2315:                     KeyNoremap = typebuf.tb_noremap[
  check_abbr():
  4244:     if ((KeyNoremap & (RM_NONE|RM_SCRIPT)) != 0)
last_event (3 uses in 1 translation unit) defined static in translation unit fileio.c, declared in fileio.c:7247
fileio.c (3 uses)
  show_autocmd():
  7271:     if (event != last_event || ap->group != last_group)
  7282:     last_event = event;
  do_autocmd():
  7850:     last_event = (event_T)-1;        /* for listing the event name */
last_group (3 uses in 1 translation unit) defined static in translation unit fileio.c, declared in fileio.c:7248
fileio.c (3 uses)
  show_autocmd():
  7271:     if (event != last_event || ap->group != last_group)
  7283:     last_group = ap->group;
  do_autocmd():
  7851:     last_group = AUGROUP_ERROR;        /* for listing the group name */
last_sourcing_lnum (3 uses in 1 translation unit) defined static in translation unit message.c, declared in message.c:416
message.c (3 uses)
  reset_last_sourcing():
  428:     last_sourcing_lnum = 0;
  get_emsg_lnum():
  480:         && (other_sourcing_name() || sourcing_lnum != last_sourcing_lnum)
  msg_source():
  515:     last_sourcing_lnum = sourcing_lnum;  /* only once for each line */
lcs_ext (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1119
option.c (1 use)
  set_chars_option():
  6769:     {&lcs_ext,    "extends"},
screen.c (2 uses)
  win_line():
  4519:     if (lcs_ext
  4533:         c = lcs_ext;
lcs_nbsp (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1121
option.c (1 use)
  set_chars_option():
  6770:     {&lcs_nbsp,    "nbsp"},
screen.c (2 uses)
  win_line():
  3857:             ) && lcs_nbsp)
  3859:         c = lcs_nbsp;
longVersion (3 uses in 2 translation units) defined in translation unit version.c, declared in version.c:51
main.c (2 uses)
  mainerr():
  2933:     mch_errmsg(longVersion);
  usage():
  2987:     mch_msg(longVersion);
version.c (1 use)
  list_version():
  1387:     MSG(longVersion);
maphash_valid (3 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:72
getchar.c (3 uses)
  vgetorpeek():
  2036:             if (no_mapping == 0 && maphash_valid
  validate_maphash():
  3634:     if (!maphash_valid)
  3637:     maphash_valid = TRUE;
menu_mode_chars (3 uses in 1 translation unit) defined static in translation unit menu.c, declared in menu.c:62
menu.c (3 uses)
  show_menus_recursive():
  1173:         msg_putchar(menu_mode_chars[bit]);
  popup_mode_name():
  1565:     p[5] = menu_mode_chars[idx];
  gui_show_popupmenu():
  1945:     mode = menu_mode_chars[mode];
modified_was_set (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:369
buffer.c (2 uses)
  open_buffer():
  113:     modified_was_set = FALSE;
  206:         || modified_was_set    /* ":set modified" used in autocmd */
option.c (1 use)
  set_bool_option():
  7300:     modified_was_set = value;
mouse_past_bottom (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:386
normal.c (1 use)
  do_mouse():
  2845:         if (mouse_past_bottom)
ui.c (2 uses)
  jump_to_mouse():
  2407:     mouse_past_bottom = FALSE;
  2761:     mouse_past_bottom = TRUE;
mouse_past_eol (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:387
normal.c (1 use)
  do_mouse():
  2848:     else if (mouse_past_eol)
ui.c (2 uses)
  jump_to_mouse():
  2408:     mouse_past_eol = FALSE;
  2785:     mouse_past_eol = TRUE;
msg_compressing (3 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:995
spell.c (3 uses)
  tree_add_word():
  7518:         msg_puts((char_u *)_(msg_compressing));
  spell_make_sugfile():
  8549:     spell_message(spin, (char_u *)_(msg_compressing));
  mkspell():
  9188:         spell_message(&spin, (char_u *)_(msg_compressing));
need_clear_zsubexpr (3 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3013
regexp.c (3 uses)
  regtry():
  3654:     need_clear_zsubexpr = TRUE;
  cleanup_zsubexpr():
  5834:     if (need_clear_zsubexpr)
  5847:     need_clear_zsubexpr = FALSE;
next_match_eos_pos (3 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:336
syntax.c (3 uses)
  syn_current_attr():
  2131:                 next_match_eos_pos = eos_pos;
  push_next_match():
  2424:         cur_si->si_m_endpos = next_match_eos_pos;
  2425:         cur_si->si_h_endpos = next_match_eos_pos;
next_match_extmatch (3 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:339
syntax.c (3 uses)
  syn_current_attr():
  2134:                 unref_extmatch(next_match_extmatch);
  2135:                 next_match_extmatch = cur_extmatch;
  push_next_match():
  2391:     cur_si->si_extmatch = ref_extmatch(next_match_extmatch);
next_match_h_startpos (3 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:332
syntax.c (3 uses)
  syn_current_attr():
  2129:                 next_match_h_startpos = hl_startpos;
  push_next_match():
  2386:     cur_si->si_h_startpos = next_match_h_startpos;
  2421:         cur_si->si_h_startpos = next_match_h_startpos;
no_lines_msg (3 uses in 3 translation units) defined in translation unit main.c, declared in ./globals.h:1150
buffer.c (1 use)
  fileinfo():
  2965:     vim_snprintf((char *)buffer + len, IOSIZE - len, "%s", _(no_lines_msg));
memline.c (1 use)
  ml_delete_int():
  2798:         set_keep_msg((char_u *)_(no_lines_msg), 0);
ops.c (1 use)
  cursor_pos_info():
  6235:     MSG(_(no_lines_msg));
no_zero_mapping (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:880
getchar.c (1 use)
  vgetorpeek():
  2037:                 && (no_zero_mapping == 0 || c1 != '0')
normal.c (2 uses)
  normal_cmd():
  709:         ++no_zero_mapping;        /* don't map zero here */
  714:         --no_zero_mapping;
noremapbuf_init (3 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:111
getchar.c (3 uses)
  init_typebuf():
  884:     typebuf.tb_noremap = noremapbuf_init;
  ins_typebuf():
  988:     if (typebuf.tb_noremap != noremapbuf_init)
  free_typebuf():
  1286:     if (typebuf.tb_buf == noremapbuf_init)
nv_max_linear (3 uses in 1 translation unit) defined static in translation unit normal.c, declared in normal.c:459
normal.c (3 uses)
  init_normal_cmds():
  504:     nv_max_linear = i - 1;
  find_command():
  533:     if (cmdchar <= nv_max_linear)
  537:     bot = nv_max_linear + 1;
orig_topfill (3 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:3785
term.c (3 uses)
  set_mouse_topline():
  3804:     orig_topfill = wp->w_topfill;
  check_termcode():
  4706:                     && orig_topfill == curwin->w_topfill
  4723:             orig_topfill = curwin->w_topfill;
orig_topline (3 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:3783
term.c (3 uses)
  set_mouse_topline():
  3802:     orig_topline = wp->w_topline;
  check_termcode():
  4704:                 && ((orig_topline == curwin->w_topline
  4721:             orig_topline = curwin->w_topline;
out_buf (3 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:2529
term.c (3 uses)
  out_flush():
  2545:     ui_write(out_buf, len);
  out_char():
  2588:     out_buf[out_pos++] = c;
  out_char_nf():
  2609:     out_buf[out_pos++] = c;
p_ai_nopaste (3 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:375
option.c (3 uses)
  buf_copy_options():
  9417:         buf->b_p_ai_nopaste = p_ai_nopaste;
  paste_option_changed():
  10299:         p_ai_nopaste = p_ai;
  10366:     p_ai = p_ai_nopaste;
p_ambw (3 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:310
mbyte.c (1 use)
  utf_char2cells():
  1240:     if (c >= 0x80 && *p_ambw == 'd' && intable(ambiguous, sizeof(ambiguous), c))
option.c (2 uses)
  did_set_string_option():
  5587:     else if (varp == &p_ambw)
  5589:     if (check_opt_strings(p_ambw, p_ambw_values, FALSE) != OK)
p_antialias (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:313
gui_mac.c (3 uses)
  draw_string_QD():
  3967:     UInt32 qd_flags = (p_antialias ?
  3981:     if (((gMacSystemVersion >= 0x1020 && p_antialias) || p_linespace != 0)
  4007:     if (gMacSystemVersion >= 0x1020 && p_antialias)
p_bkc (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:321
option.c (3 uses)
  didset_options():
  5032:     (void)opt_strings_flags(p_bkc, p_bkc_values, &bkc_flags, TRUE);
  did_set_string_option():
  5468:     else if (varp == &p_bkc)
  5470:     if (opt_strings_flags(p_bkc, p_bkc_values, &bkc_flags, TRUE) != OK)
p_bkc_values (3 uses in 1 translation unit) defined static in translation unit option.c, declared in ./option.h:324
option.c (3 uses)
  didset_options():
  5032:     (void)opt_strings_flags(p_bkc, p_bkc_values, &bkc_flags, TRUE);
  did_set_string_option():
  5470:     if (opt_strings_flags(p_bkc, p_bkc_values, &bkc_flags, TRUE) != OK)
  5477:         (void)opt_strings_flags(oldval, p_bkc_values, &bkc_flags, TRUE);
p_breakat (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:351
option.c (3 uses)
  did_set_string_option():
  6126:     else if (varp == &p_breakat)
  fill_breakat_flags():
  10491:     if (p_breakat != NULL)
  10492:     for (p = p_breakat; *p; p++)
p_cdpath (3 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:634
misc2.c (1 use)
  find_directory_in_path():
  5329:     return find_file_in_path_option(ptr, len, options, TRUE, p_cdpath,
option.c (2 uses)
  set_context_in_set_cmd():
  9762:         || p == (char_u *)&p_cdpath
  9772:             || p == (char_u *)&p_cdpath
p_cedit (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:370
option.c (3 uses)
  check_cedit():
  4820:     if (*p_cedit == NUL)
  4824:     n = string_to_key(p_cedit);
  did_set_string_option():
  5911:     else if (varp == &p_cedit)
p_cmp (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:354
option.c (3 uses)
  didset_options():
  5030:     (void)opt_strings_flags(p_cmp, p_cmp_values, &cmp_flags, TRUE);
  did_set_string_option():
  6484:     else if (varp == &p_cmp)
  6486:     if (opt_strings_flags(p_cmp, p_cmp_values, &cmp_flags, TRUE) != OK)
p_cwh (3 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:371
ex_getln.c (1 use)
  ex_window():
  5993:     if (win_split((int)p_cwh, WSP_BOT) == FAIL)
option.c (2 uses)
  set_num_option():
  8018:     if (p_cwh < 1)
  8021:     p_cwh = 1;
p_deco (3 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:364
edit.c (2 uses)
  ins_bs():
  8563:         if (enc_utf8 && p_deco)
  8573:         if (enc_utf8 && p_deco && cpc[0] != NUL)
misc1.c (1 use)
  del_bytes():
  2222:     if (p_deco && use_delcombine && enc_utf8
p_dex (3 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:406
diff.c (2 uses)
  ex_diffupdate():
  733:     if (*p_dex != NUL)
  diff_file():
  817:     if (*p_dex != NUL)
eval.c (1 use)
  eval_diff():
  1113:     (void)eval_to_bool(p_dex, &err, NULL, FALSE);
p_dy (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:416
option.c (3 uses)
  didset_options():
  5040:     (void)opt_strings_flags(p_dy, p_dy_values, &dy_flags, TRUE);
  did_set_string_option():
  6245:     else if (varp == &p_dy)
  6247:     if (opt_strings_flags(p_dy, p_dy_values, &dy_flags, TRUE) != OK)
p_et_nobin (3 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:366
option.c (3 uses)
  set_options_bin():
  4894:         p_et_nobin = p_et;
  4928:         p_et = p_et_nobin;
  buf_copy_options():
  9430:         buf->b_p_et_nobin = p_et_nobin;
p_fcl (3 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:446
fold.c (1 use)
  foldCheckClose():
  541:     if (*p_fcl != NUL)    /* can only be "all" right now */
option.c (2 uses)
  did_set_string_option():
  6542:     else if (varp == &p_fcl)
  6544:     if (check_opt_strings(p_fcl, p_fcl_values, TRUE) != OK)
p_fdo (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:448
option.c (3 uses)
  didset_options():
  5038:     (void)opt_strings_flags(p_fdo, p_fdo_values, &fdo_flags, TRUE);
  did_set_string_option():
  6536:     else if (varp == &p_fdo)
  6538:     if (opt_strings_flags(p_fdo, p_fdo_values, &fdo_flags, TRUE) != OK)
p_fenc (3 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:295
option.c (3 uses)
  did_set_string_option():
  5672:     else if (varp == &p_enc || gvarp == &p_fenc || varp == &p_tenc)
  5674:     if (gvarp == &p_fenc)
  buf_copy_options():
  9405:         buf->b_p_fenc = vim_strsave(p_fenc);
p_ff_values (3 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:2828
option.c (3 uses)
  did_set_string_option():
  5804:     else if (check_opt_strings(*varp, p_ff_values, FALSE) != OK)
  5824:     if (check_opt_strings(p_ffs, p_ff_values, TRUE) != OK)
  check_ff_value():
  10689:     return check_opt_strings(p, p_ff_values, FALSE);
p_fp (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:467
normal.c (3 uses)
  do_pending_operator():
  1973:         if (*p_fp != NUL)
  op_colon():
  2135:     if (*p_fp == NUL)
  2138:         stuffReadbuff(p_fp);
p_hl (3 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:528
option.c (2 uses)
  did_set_string_option():
  5542:     else if (varp == &p_hl)
  6645:     if (varp == &p_hl)
syntax.c (1 use)
  highlight_changed():
  8865:         p = p_hl;
p_iminsert (3 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:303
option.c (3 uses)
  set_num_option():
  7787:     p_iminsert = curbuf->b_p_iminsert;
  buf_copy_options():
  9510:         buf->b_p_iminsert = p_iminsert;
  set_iminsert_global():
  9599:     p_iminsert = curbuf->b_p_iminsert;
p_imsearch (3 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:304
option.c (3 uses)
  set_num_option():
  7811:     p_imsearch = curbuf->b_p_imsearch;
  buf_copy_options():
  9511:         buf->b_p_imsearch = p_imsearch;
  set_imsearch_global():
  9608:     p_imsearch = curbuf->b_p_imsearch;
p_is (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:554
ex_getln.c (3 uses)
  getcmdline():
  1399:         if (p_is && !cmd_silent && (firstc == '/' || firstc == '?'))
  1709:     if (p_is && !cmd_silent && (firstc == '/' || firstc == '?'))
  cmdline_paste():
  2975:     if (p_is && regname == Ctrl_W)
p_js (3 uses in 3 translation units) defined in translation unit main.c, declared in ./option.h:559
edit.c (1 use)
  ins_compl_get_exp():
  4155:                     if (p_js
ops.c (1 use)
  do_join():
  4211:         if (       p_js
search.c (1 use)
  find_pattern_in_path():
  4936:                 if (p_js
p_key (3 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:318
option.c (3 uses)
  did_set_string_option():
  5838:     else if (gvarp == &p_key)
  buf_copy_options():
  9499:         buf->b_p_key = vim_strsave(p_key);
  option_value2string():
  10075:     else if (opp->var == (char_u *)&p_key && *varp)
p_lpl (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:583
main.c (3 uses)
  main():
  566:     if (p_lpl)
  command_line_scan():
  1685:             p_lpl = FALSE;
  source_startup_scripts():
  2720:         p_lpl = FALSE;            /* don't load plugins either */
p_macatsui_last (3 uses in 1 translation unit) defined in translation unit gui_mac.c, declared in gui_mac.c:169
gui_mac.c (3 uses)
  gui_mac_create_atsui_style():
  3438:     p_macatsui_last = p_macatsui;
  gui_mch_draw_string():
  4241:     if (p_macatsui == 0 && p_macatsui_last != 0)
  4244:     else if (p_macatsui != 0 && p_macatsui_last == 0)
p_ml_nobin (3 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:367
option.c (3 uses)
  set_options_bin():
  4893:         p_ml_nobin = p_ml;
  4927:         p_ml = p_ml_nobin;
  buf_copy_options():
  9432:         buf->b_p_ml_nobin = p_ml_nobin;
p_mmp (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:601
regexp.c (3 uses)
  regmatch():
  4836:             if ((long)((unsigned)regstack.ga_len >> 10) >= p_mmp)
  4881:         if ((long)((unsigned)regstack.ga_len >> 10) >= p_mmp)
  regstack_push():
  5341:     if ((long)((unsigned)regstack.ga_len >> 10) >= p_mmp)
p_secure (3 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:664
gui.c (1 use)
  gui_init():
  414:             secure = p_secure;
main.c (2 uses)
  source_startup_scripts():
  2793:         secure = p_secure;
  2818:             secure = p_secure;
p_slm (3 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:667
normal.c (1 use)
  may_start_select():
  7447:             && (vim_strchr(p_slm, c) != NULL));
option.c (2 uses)
  did_set_string_option():
  6186:     else if (varp == &p_slm)
  6188:     if (check_opt_strings(p_slm, p_slm_values, TRUE) != OK)
p_ssop (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:670
option.c (3 uses)
  didset_options():
  5034:     (void)opt_strings_flags(p_ssop, p_ssop_values, &ssop_flags, TRUE);
  did_set_string_option():
  5557:     else if (varp == &p_ssop)
  5559:     if (opt_strings_flags(p_ssop, p_ssop_values, &ssop_flags, TRUE) != OK)
p_sts_nopaste (3 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:374
option.c (3 uses)
  buf_copy_options():
  9443:         buf->b_p_sts_nopaste = p_sts_nopaste;
  paste_option_changed():
  10298:         p_sts_nopaste = p_sts;
  10365:     p_sts = p_sts_nopaste;
p_tags (3 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:748
option.c (2 uses)
  option_expand():
  5008:         (char_u **)options[opt_idx].var == &p_tags, FALSE,
  set_context_in_set_cmd():
  9783:         if (p == (char_u *)&p_tags)
tag.c (1 use)
  get_tagfname():
  2619:                          ? curbuf->b_p_tags : p_tags);
p_terse (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:756
option.c (3 uses)
  set_bool_option():
  7171:     else if ((int *)varp == &p_terse)
  7178:     if (p_terse && p == NULL)
  7185:     else if (!p_terse && p != NULL)
p_tf (3 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:773
screen.c (2 uses)
  win_line():
  4749:         if (p_tf
  win_do_lines():
  8285:     if (wp->w_next != NULL && p_tf) /* don't delete/insert on fast terminal */
term.c (1 use)
  set_termname():
  1977:     p_tf = TRUE;
p_ttimeout (3 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:770
getchar.c (2 uses)
  vgetorpeek():
  2501:             && (p_timeout || (keylen == KL_PART_KEY && p_ttimeout))
  2730:                     || !(p_timeout || (p_ttimeout
misc1.c (1 use)
  get_keystroke():
  3096:            && (!p_ttimeout || waited * 100L < (p_ttm < 0 ? p_tm : p_ttm)))
p_ttym (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:798
option.c (3 uses)
  didset_options():
  5045:     (void)opt_strings_flags(p_ttym, p_ttym_values, &ttym_flags, FALSE);
  did_set_string_option():
  6162:     else if (varp == &p_ttym)
  6167:     if (opt_strings_flags(p_ttym, p_ttym_values, &ttym_flags, FALSE) != OK)
p_tw_nobin (3 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:368
option.c (3 uses)
  set_options_bin():
  4891:         p_tw_nobin = p_tw;
  4925:         p_tw = p_tw_nobin;
  buf_copy_options():
  9421:         buf->b_p_tw_nobin = p_tw_nobin;
p_tw_nopaste (3 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:372
option.c (3 uses)
  buf_copy_options():
  9420:         buf->b_p_tw_nopaste = p_tw_nopaste;
  paste_option_changed():
  10296:         p_tw_nopaste = p_tw;
  10363:     p_tw = p_tw_nopaste;
p_vop (3 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:821
option.c (3 uses)
  didset_options():
  5035:     (void)opt_strings_flags(p_vop, p_ssop_values, &vop_flags, TRUE);
  did_set_string_option():
  5569:     else if (varp == &p_vop)
  5571:     if (opt_strings_flags(p_vop, p_ssop_values, &vop_flags, TRUE) != OK)
p_wm_nobin (3 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:369
option.c (3 uses)
  set_options_bin():
  4892:         p_wm_nobin = p_wm;
  4926:         p_wm = p_wm_nobin;
  buf_copy_options():
  9424:         buf->b_p_wm_nobin = p_wm_nobin;
p_wm_nopaste (3 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:373
option.c (3 uses)
  buf_copy_options():
  9423:         buf->b_p_wm_nopaste = p_wm_nopaste;
  paste_option_changed():
  10297:         p_wm_nopaste = p_wm;
  10364:     p_wm = p_wm_nopaste;
p_wop (3 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:840
ex_docmd.c (1 use)
  set_one_cmd_context():
  3636:         if (*p_wop != NUL)
option.c (2 uses)
  did_set_string_option():
  5633:     else if (varp == &p_wop)
  5635:     if (check_opt_strings(p_wop, p_wop_values, TRUE) != OK)
prev_ccline_used (3 uses in 1 translation unit) defined static in translation unit ex_getln.c, declared in ex_getln.c:2857
ex_getln.c (3 uses)
  save_cmdline():
  2868:     if (!prev_ccline_used)
  2871:     prev_ccline_used = TRUE;
  get_ccline_ptr():
  5249:     if (prev_ccline_used && prev_ccline.cmdbuff != NULL)
prev_lnum (3 uses in 1 translation unit) defined static in translation unit fold.c, declared in fold.c:84
fold.c (3 uses)
  foldLevel():
  262:     else if (lnum == prev_lnum && prev_lnum_lvl >= 0)
  foldUpdateIEMSRecurse():
  2645:         prev_lnum = flp->lnum;
  2655:         prev_lnum = 0;
prev_lnum_lvl (3 uses in 1 translation unit) defined static in translation unit fold.c, declared in fold.c:85
fold.c (3 uses)
  foldLevel():
  262:     else if (lnum == prev_lnum && prev_lnum_lvl >= 0)
  263:     return prev_lnum_lvl;
  foldUpdateIEMSRecurse():
  2646:         prev_lnum_lvl = flp->lvl;
prev_which_scrollbars (3 uses in 1 translation unit) defined static in translation unit gui.c, declared in gui.c:3109
gui.c (3 uses)
  gui_init_which_components():
  3251:         if (gui.which_scrollbars[i] != prev_which_scrollbars[i]
  3268:         if (gui.which_scrollbars[i] != prev_which_scrollbars[i])
  3281:         prev_which_scrollbars[i] = gui.which_scrollbars[i];
prt_do_bgcol (3 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1423
hardcopy.c (3 uses)
  prt_flush_buffer():
  1669:     if (prt_do_bgcol && (prt_new_bgcol != PRCOLOR_WHITE))
  mch_print_text_out():
  3506:         prt_do_bgcol = TRUE;
  3509:         prt_do_bgcol = FALSE;
prt_page_height (3 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1396
hardcopy.c (3 uses)
  mch_print_init():
  2664:     prt_page_height = prt_mediasize[i].height;
  2669:     prt_page_height = prt_mediasize[i].width;
  2676:     prt_page_margins(prt_page_width, prt_page_height, &left, &right, &top,
prt_page_width (3 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1395
hardcopy.c (3 uses)
  mch_print_init():
  2663:     prt_page_width = prt_mediasize[i].width;
  2668:     prt_page_width = prt_mediasize[i].height;
  2676:     prt_page_margins(prt_page_width, prt_page_height, &left, &right, &top,
prt_underline (3 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1418
hardcopy.c (3 uses)
  mch_print_text_out():
  3513:         prt_do_underline = prt_underline;
  mch_print_set_font():
  3625:     if (prt_underline != iUnderline)
  3627:     prt_underline = iUnderline;
RangeType (3 uses in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:1680
if_python.c (3 uses)
  RangeNew():
  1711:     self = PyObject_NEW(RangeObject, &RangeType);
  1711:     self = PyObject_NEW(RangeObject, &RangeType);
  PythonMod_Init():
  2350:     RangeType.ob_type = &PyType_Type;
recordbuff (3 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:49
getchar.c (3 uses)
  get_recorded():
  193:     p = get_buffcont(&recordbuff, TRUE);
  194:     free_buff(&recordbuff);
  gotchars():
  1220:         add_buff(&recordbuff, buf, 1L);
reg_tofreelen (3 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3114
regexp.c (3 uses)
  vim_regexec_both():
  3579:     if (reg_tofreelen > 400)
  regmatch():
  4581:                          || len >= (int)reg_tofreelen)
  4591:                     reg_tofreelen = len;
REGEXP_ABBR (3 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:398
regexp.c (3 uses)
  skip_anyof():
  891:             || (!cpo_lit && vim_strchr(REGEXP_ABBR, p[1]) != NULL)))
  regatom():
  2113:                     && vim_strchr(REGEXP_ABBR,
  peekchr():
  2714:         else if (vim_strchr(REGEXP_ABBR, c))
save_level (3 uses in 1 translation unit) defined static in translation unit search.c, declared in search.c:301
search.c (3 uses)
  save_search_patterns():
  306:     if (save_level++ == 0)
  restore_search_patterns():
  324:     if (--save_level == 0)
  set_last_search_pat():
  439:     if (save_level)
save_redobuff (3 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:46
getchar.c (3 uses)
  saveRedobuff():
  487:     save_redobuff = redobuff;
  493:     s = get_buffcont(&save_redobuff, FALSE);
  restoreRedobuff():
  512:     redobuff = save_redobuff;
saved_last_idx (3 uses in 1 translation unit) defined static in translation unit search.c, declared in search.c:95
search.c (3 uses)
  save_search_patterns():
  314:     saved_last_idx = last_idx;
  restore_search_patterns():
  330:     last_idx = saved_last_idx;
  set_last_search_pat():
  447:     saved_last_idx = last_idx;
showcmd_is_clear (3 uses in 1 translation unit) defined static in translation unit normal.c, declared in normal.c:3655
normal.c (3 uses)
  clear_showcmd():
  3714:     if (showcmd_is_clear)
  display_showcmd():
  3846:     showcmd_is_clear = TRUE;
  3850:     showcmd_is_clear = FALSE;
signal_stack (3 uses in 1 translation unit) defined static in translation unit os_unix.c, declared in os_unix.c:759
os_unix.c (3 uses)
  init_signal_stack():
  764:     if (signal_stack != NULL)
  777:     sigstk.ss_sp = signal_stack;
  mch_early_init():
  2881:     signal_stack = malloc(SIGSTKSZ);
sort_rx (3 uses in 1 translation unit) defined static in translation unit ex_cmds.c, declared in ex_cmds.c:278
ex_cmds.c (3 uses)
  ex_sort():
  381:     sort_abort = sort_ic = sort_rx = sort_nr = sort_oct = sort_hex = 0;
  390:         sort_rx = TRUE;
  461:         if (sort_rx)
tabLabelsSize (3 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:6543
gui_mac.c (3 uses)
  dbItemDataCallback():
  6581:     assert(itemID - 1 >= 0 && itemID - 1 < tabLabelsSize);
  gui_mch_update_tabline():
  6866:     for (i = 0; i < tabLabelsSize; ++i)
  6871:     tabLabelsSize = numTabs;
top_bot_msg (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1534
search.c (2 uses)
  searchit():
  930:         give_warning((char_u *)_(dir == BACKWARD
  search_for_exact_line():
  1418:             give_warning((char_u *)_(top_bot_msg), TRUE);
spell.c (1 use)
  spell_move_to():
  2222:             give_warning((char_u *)_(top_bot_msg), TRUE);
typebuf_init (3 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:110
getchar.c (3 uses)
  init_typebuf():
  883:     typebuf.tb_buf = typebuf_init;
  ins_typebuf():
  979:     if (typebuf.tb_buf != typebuf_init)
  free_typebuf():
  1282:     if (typebuf.tb_buf == typebuf_init)
username (3 uses in 1 translation unit) defined static in translation unit misc2.c, declared in misc2.c:19
misc2.c (3 uses)
  get_user_name():
  5588:     if (username == NULL)
  5592:     username = vim_strsave(buf);
  5595:     vim_strncpy(buf, username, len - 1);
verbose_did_open (3 uses in 1 translation unit) defined static in translation unit message.c, declared in message.c:3107
message.c (3 uses)
  verbose_stop():
  3120:     verbose_did_open = FALSE;
  verbose_open():
  3130:     if (verbose_fd == NULL && !verbose_did_open)
  3133:     verbose_did_open = TRUE;
viminfo_add_at_front (3 uses in 1 translation unit) defined static in translation unit ex_getln.c, declared in ex_getln.c:5691
ex_getln.c (3 uses)
  prepare_viminfo_history():
  5731:     viminfo_add_at_front = (asklen != 0);
  read_viminfo_history():
  5779:                             viminfo_add_at_front))
  finish_viminfo_history():
  5825:     if (viminfo_add_at_front)
want_garbage_collect (3 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:313
eval.c (2 uses)
  garbage_collect():
  6134:     want_garbage_collect = FALSE;
  f_garbagecollect():
  9746:     want_garbage_collect = TRUE;
getchar.c (1 use)
  vgetc():
  1527:     if (may_garbage_collect && want_garbage_collect)
WindowType (3 uses in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:1920
if_python.c (3 uses)
  WindowNew():
  1970:     self = PyObject_NEW(WindowObject, &WindowType);
  1970:     self = PyObject_NEW(WindowObject, &WindowType);
  PythonMod_Init():
  2351:     WindowType.ob_type = &PyType_Type;
winEventHandlerUPP (3 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:75
gui_mac.c (3 uses)
  gui_mch_init():
  3183:     winEventHandlerUPP = NewEventHandlerUPP(gui_mac_handle_window_activate);
  3184:     if (noErr != InstallWindowEventHandler(gui.VimWindow,
  3190:     winEventHandlerUPP = NULL;
ap (2 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:12980
eval.c (2 uses)
  f_printf():
  13004:     len = vim_vsnprintf(NULL, 0, fmt, ap, argvars + 1);
  13011:         (void)vim_vsnprintf((char *)s, len + 1, fmt, ap, argvars + 1);
bl_maxval (2 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3744
regexp.c (2 uses)
  regmatch():
  4694:             bl_maxval = OPERAND_MAX(scan);
  4815:             rst.maxval = bl_maxval;
bl_minval (2 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:3743
regexp.c (2 uses)
  regmatch():
  4693:             bl_minval = OPERAND_MIN(scan);
  4814:             rst.minval = bl_minval;
bottommsg (2 uses in 1 translation unit) defined static in translation unit tag.c, declared in tag.c:89
tag.c (2 uses)
  do_tag():
  304:             EMSG(_(bottommsg));
  394:             EMSG(_(bottommsg));
builtin_termcaps (2 uses in 1 translation unit) defined static in translation unit term.c, declared in term.c:144
term.c (2 uses)
  find_builtin_term():
  1461:     p = builtin_termcaps;
  set_termname():
  1794:         for (termp = &(builtin_termcaps[0]); termp->bt_string != NULL;
chartab_initialized (2 uses in 1 translation unit) defined static in translation unit charset.c, declared in charset.c:22
charset.c (2 uses)
  buf_init_chartab():
  277:     chartab_initialized = TRUE;
  transchar():
  539:     if ((!chartab_initialized && (
clip_autoselect (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:506
option.c (1 use)
  check_clipboard_option():
  6992:     clip_autoselect = new_autoselect;
ui.c (1 use)
  clip_isautosel():
  565:         clip_autoselect);
clip_autoselectml (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:507
option.c (1 use)
  check_clipboard_option():
  6993:     clip_autoselectml = new_autoselectml;
ui.c (1 use)
  clip_process_selection():
  750:             clip_autoselectml))
clip_exclude_prog (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:508
option.c (2 uses)
  check_clipboard_option():
  6994:     vim_free(clip_exclude_prog);
  6995:     clip_exclude_prog = new_exclude_prog;
cmdidxs (2 uses in 1 translation unit) defined static in translation unit ex_docmd.c, declared in ex_docmd.c:475
ex_docmd.c (2 uses)
  find_command():
  2817:         eap->cmdidx = cmdidxs[CharOrdLow(*eap->cmd)];
  2819:         eap->cmdidx = cmdidxs[26];
compress_added (2 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:4967
spell.c (2 uses)
  tree_add_word():
  7513:     spin->si_compress_cnt = compress_added;
  spell_check_msm():
  7573:     compress_added = added;
compress_start (2 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:4965
spell.c (2 uses)
  tree_add_word():
  7505:         : spin->si_blocks_cnt >= compress_start)
  spell_check_msm():
  7571:     compress_start = start;
confirm_msg_tail (2 uses in 1 translation unit) defined static in translation unit message.c, declared in message.c:43
message.c (2 uses)
  msg_puts_display():
  1942:             s = confirm_msg_tail;
  msg_show_console_dialog():
  3573:         confirm_msg_tail = msgp;
current_scrollbar (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:463
gui.c (2 uses)
  gui_drag_scrollbar():
  3769:     current_scrollbar = sb_num;
  gui_do_scroll():
  4148:     for (wp = firstwin, i = 0; i < current_scrollbar; wp = W_NEXT(wp), i++)
debug_breakpoint_lnum (2 uses in 1 translation unit) defined static in translation unit ex_cmds2.c, declared in ex_cmds2.c:311
ex_cmds2.c (2 uses)
  dbg_check_breakpoint():
  351:             (long)debug_breakpoint_lnum);
  dbg_breakpoint():
  818:     debug_breakpoint_lnum = lnum;
did_set_icon (2 uses in 1 translation unit) defined static in translation unit os_unix.c, declared in os_unix.c:145
os_unix.c (2 uses)
  mch_settitle():
  2016:     did_set_icon = TRUE;
  mch_restore_title():
  2035:                   ((which & 2) && did_set_icon) ? oldicon : NULL);
did_set_title (2 uses in 1 translation unit) defined static in translation unit os_unix.c, declared in os_unix.c:143
os_unix.c (2 uses)
  mch_settitle():
  1990:     did_set_title = TRUE;
  mch_restore_title():
  2033:     mch_settitle(((which & 1) && did_set_title) ?
diff_foldcolumn (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:425
diff.c (2 uses)
  diff_win_options():
  1107:     wp->w_p_fdc = diff_foldcolumn;
  diffopt_changed():
  1814:     diff_foldcolumn = diff_foldcolumn_new;
digraphdefault (2 uses in 1 translation unit) defined static in translation unit digraph.c, declared in digraph.c:41
digraph.c (2 uses)
  getexactdigraph():
  2154:     dp = digraphdefault;
  listdigraphs():
  2297:     dp = digraphdefault;
disallow_gui (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1531
gui_mac.c (1 use)
  gui_mch_init_check():
  2971:     if (disallow_gui) /* see main.c for reason to disallow */
main.c (1 use)
  parse_command_name():
  1428:     disallow_gui = TRUE;
dollar_command (2 uses in 1 translation unit) defined static in translation unit ex_docmd.c, declared in ex_docmd.c:506
ex_docmd.c (2 uses)
  repl_cmdline():
  4523:     if (eap->do_ecmd_cmd != NULL && eap->do_ecmd_cmd != dollar_command)
  getargcmd():
  4615:         command = dollar_command;
e_affform (2 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:993
spell.c (2 uses)
  set_spell_chartab():
  9620:         EMSG(_(e_affform));
  9670:     EMSG(_(e_affform));
e_affrange (2 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:994
spell.c (2 uses)
  set_spell_chartab():
  9646:         EMSG(_(e_affrange));
  9659:         EMSG(_(e_affrange));
e_bufloaded (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1524
ex_cmds.c (1 use)
  do_write():
  2584:         EMSG(_(e_bufloaded));
spell.c (1 use)
  spell_add_word():
  9343:         EMSG(_(e_bufloaded));
e_curdir (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1357
ex_cmds.c (1 use)
  check_secure():
  4152:     EMSG(_(e_curdir));
ex_docmd.c (1 use)
  ex_autocmd():
  4832:     eap->errmsg = e_curdir;
e_dictrange (2 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:107
eval.c (2 uses)
  get_lval():
  2516:             EMSG(_(e_dictrange));
  eval_index():
  4976:             EMSG(_(e_dictrange));
e_endfor (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1362
ex_docmd.c (1 use)
  do_cmdline():
  1306:         EMSG(_(e_endfor));
ex_eval.c (1 use)
  get_end_emsg():
  2225:     return e_endfor;
e_endtry (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1360
ex_docmd.c (1 use)
  do_cmdline():
  1302:         EMSG(_(e_endtry));
ex_eval.c (1 use)
  ex_endwhile():
  1229:         eap->errmsg = e_endtry;
e_endwhile (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1361
ex_docmd.c (1 use)
  do_cmdline():
  1304:         EMSG(_(e_endwhile));
ex_eval.c (1 use)
  get_end_emsg():
  2223:     return e_endwhile;
e_exists (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1366
ex_cmds.c (1 use)
  check_overwrite():
  2771:         EMSG(_(e_exists));
spell.c (1 use)
  mkspell():
  9087:         EMSG(_(e_exists));
e_format (2 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:989
spell.c (2 uses)
  find_word():
  1316:         EMSG(_(e_format));
  spell_load_file():
  2796:         EMSG(_(e_format));
e_funcdict (2 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:105
eval.c (2 uses)
  ex_function():
  19089:         EMSG(_(e_funcdict));
  19300:         EMSG(_(e_funcdict));
e_funcexts (2 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:104
eval.c (2 uses)
  ex_function():
  19091:         emsg_funcname(e_funcexts, name);
  19277:         emsg_funcname(e_funcexts, name);
e_funcref (2 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:106
eval.c (2 uses)
  trans_function_name():
  19503:         EMSG(_(e_funcref));
  ex_delfunction():
  20086:         EMSG(_(e_funcref));
e_invalpat (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1522
ex_cmds.c (1 use)
  ex_sort():
  411:         EMSG(_(e_invalpat));
quickfix.c (1 use)
  ex_vimgrep():
  3043:     EMSG(_(e_invalpat));
e_missbrac (2 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:96
eval.c (2 uses)
  get_lval():
  2559:             EMSG(_(e_missbrac));
  eval_index():
  4851:         EMSG(_(e_missbrac));
e_noalt (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1404
buffer.c (2 uses)
  buflist_getfile():
  1844:         EMSG(_(e_noalt));
  getaltfname():
  2741:         EMSG(_(e_noalt));
e_nolastcmd (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1423
ops.c (2 uses)
  do_execreg():
  1172:         EMSG(_(e_nolastcmd));
  get_spec_reg():
  1459:         EMSG(_(e_nolastcmd));
e_notcreate (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1438
eval.c (1 use)
  f_writefile():
  16810:     EMSG2(_(e_notcreate), *fname == NUL ? (char_u *)_("<empty>") : fname);
ex_cmds.c (1 use)
  do_filter():
  1152:         (void)EMSG2(_(e_notcreate), itmp);    /* will call wait_return */
e_notset (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1527
edit.c (1 use)
  ins_complete():
  4894:         EMSG2(_(e_notset), ctrl_x_mode == CTRL_X_FUNCTION
spell.c (1 use)
  spell_add_word():
  9321:         EMSG2(_(e_notset), "spellfile");
e_othermode (2 uses in 1 translation unit) defined static in translation unit menu.c, declared in menu.c:65
menu.c (2 uses)
  remove_menu():
  940:             EMSG(_(e_othermode));
  show_menus():
  1105:             EMSG(_(e_othermode));
e_printf (2 uses in 1 translation unit) defined static in translation unit message.c, declared in message.c:3818
message.c (2 uses)
  tv_nr():
  3836:     EMSG(_(e_printf));
  tv_str():
  3860:     EMSG(_(e_printf));
e_quickfix (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1464
quickfix.c (2 uses)
  qf_jump():
  1436:     EMSG(_(e_quickfix));
  qf_list():
  1909:     EMSG(_(e_quickfix));
e_readonlyvar (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1471
eval.c (2 uses)
  check_changedtick():
  2361:     EMSG2(_(e_readonlyvar), arg);
  var_check_ro():
  18367:     EMSG2(_(e_readonlyvar), name);
e_swapclose (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1490
memfile.c (2 uses)
  mf_close():
  257:         EMSG(_(e_swapclose));
  mf_close_file():
  307:     EMSG(_(e_swapclose));
e_toomanyarg (2 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:102
eval.c (2 uses)
  call_func():
  7668:             emsg_funcname(e_toomanyarg, name);
  f_remove():
  13600:         EMSG2(_(e_toomanyarg), "remove()");
e_undefvar (2 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:95
eval.c (2 uses)
  get_lval():
  2451:     EMSG2(_(e_undefvar), lp->ll_name);
  get_var_tv():
  17547:         EMSG2(_(e_undefvar), name);
e_usingsid (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1508
eval.c (1 use)
  trans_function_name():
  19576:         EMSG(_(e_usingsid));
term.c (1 use)
  replace_termcodes():
  5036:             EMSG(_(e_usingsid));
e_wildexpand (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1498
os_unix.c (2 uses)
  mch_expand_wildcards():
  5408:         MSG(_(e_wildexpand));
  5428:         MSG(_(e_wildexpand));
e_winheight (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1500
option.c (2 uses)
  set_num_option():
  7626:         errmsg = e_winheight;
  7655:         errmsg = e_winheight;
e_winwidth (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1502
option.c (2 uses)
  set_num_option():
  7671:         errmsg = e_winwidth;
  7690:         errmsg = e_winwidth;
e_zerocount (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1506
ex_cmds.c (1 use)
  do_sub():
  4391:         EMSG(_(e_zerocount));
ex_docmd.c (1 use)
  do_one_cmd():
  2431:         errormsg = (char_u *)_(e_zerocount);
ex_exitval (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:180
main.c (1 use)
  getout():
  1226:     exitval += ex_exitval;
message.c (1 use)
  emsg():
  569:     ex_exitval = 1;
expand_emenu (2 uses in 1 translation unit) defined static in translation unit menu.c, declared in menu.c:1219
menu.c (2 uses)
  set_context_in_menu_cmd():
  1274:     expand_emenu = (*cmd == 'e');
  get_menu_names():
  1396:         || (expand_emenu && menu_is_separator(menu->dname))
expand_isabbrev (2 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:3989
getchar.c (2 uses)
  set_context_in_map_cmd():
  4020:     expand_isabbrev = isabbrev;
  ExpandMappings():
  4126:         if (expand_isabbrev)
expand_option_flags (2 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:9614
option.c (2 uses)
  set_context_in_set_cmd():
  9630:     expand_option_flags = opt_flags;
  ExpandOldSetting():
  10009:     option_value2string(&options[expand_option_idx], expand_option_flags);
features (2 uses in 1 translation unit) defined static in translation unit version.c, declared in version.c:59
version.c (2 uses)
  list_version():
  1572:     for (i = 0; features[i] != NULL; ++i)
  1574:     version_msg(features[i]);
foldCase (2 uses in 1 translation unit) defined static in translation unit mbyte.c, declared in mbyte.c:2049
mbyte.c (2 uses)
  utf_fold():
  2130:     return utf_convert(a, foldCase, sizeof(foldCase));
  2130:     return utf_convert(a, foldCase, sizeof(foldCase));
font_argument (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:470
gui.c (2 uses)
  gui_init():
  477:     if (font_argument != NULL)
  478:     set_option_value((char_u *)"gfn", 0L, (char_u *)font_argument, 0);
gIsFontFallbackSet (2 uses in 1 translation unit) defined in translation unit gui_mac.c, declared in gui_mac.c:174
gui_mac.c (2 uses)
  gui_mch_set_font():
  3666:     if (p_macatsui && !gIsFontFallbackSet)
  3679:         gIsFontFallbackSet = TRUE;
globvars_var (2 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:116
eval.c (2 uses)
  eval_init():
  768:     init_var_dict(&globvardict, &globvars_var);
  find_var_in_ht():
  17950:         case 'g': return &globvars_var;
gScrollAction (2 uses in 1 translation unit) defined in translation unit gui_mac.c, declared in gui_mac.c:150
gui_mac.c (2 uses)
  gui_mac_doInContentClick():
  1699:         TrackControl(theControl, thePoint, gScrollAction);
  gui_mch_init():
  3091:     gScrollAction = NewControlActionUPP(gui_mac_scroll_action);
gScrollDrag (2 uses in 1 translation unit) defined in translation unit gui_mac.c, declared in gui_mac.c:151
gui_mac.c (2 uses)
  gui_mac_doInContentClick():
  1706:         TrackControl(theControl, thePoint, gScrollDrag);
  gui_mch_init():
  3092:     gScrollDrag   = NewControlActionUPP(gui_mac_drag_thumb);
gTSCInsert (2 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:6378
gui_mac.c (2 uses)
  im_set_active():
  6462:         err = SetDefaultInputMethodOfClass(gTSCInsert, slptr,
  6478:         GetDefaultInputMethodOfClass(&gTSCInsert, slptr,
gTSCWindow (2 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:6377
gui_mac.c (2 uses)
  im_on_window_switch():
  6409:         err = SetDefaultInputMethodOfClass(gTSCWindow, slptr,
  6425:         GetDefaultInputMethodOfClass(&gTSCWindow, slptr,
ind_hash_comment (2 uses in 1 translation unit) defined static in translation unit misc1.c, declared in misc1.c:4866
misc1.c (2 uses)
  cin_skipcomment():
  4884:     if (ind_hash_comment != 0 && s != prev_s && *s == '#')
  get_c_indent():
  6254:         case '#': ind_hash_comment = n; break;
initialised (2 uses in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:419
if_python.c (2 uses)
  Python_Init():
  506:     if (!initialised)
  537:     initialised = 1;
km_stopsel (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1140
normal.c (1 use)
  normal_cmd():
  819:     if (km_stopsel
option.c (1 use)
  did_set_string_option():
  6211:         km_stopsel = (vim_strchr(p_km, 'o') != NULL);
lasticon (2 uses in 1 translation unit) defined static in translation unit buffer.c, declared in buffer.c:3037
buffer.c (2 uses)
  maketitle():
  3225:     mustset |= ti_change(i_str, &lasticon);
  resettitle():
  3260:     mch_settitle(lasttitle, lasticon);
lastMouseTick (2 uses in 1 translation unit) defined static in translation unit gui_mac.c, declared in gui_mac.c:130
gui_mac.c (2 uses)
  gui_mac_doInContentClick():
  1738:     dblClick = ((theEvent->when - lastMouseTick) < GetDblTime());
  gui_mac_doMouseUpEvent():
  2527:     lastMouseTick = theEvent->when;
lasttitle (2 uses in 1 translation unit) defined static in translation unit buffer.c, declared in buffer.c:3036
buffer.c (2 uses)
  maketitle():
  3173:     mustset = ti_change(t_str, &lasttitle);
  resettitle():
  3260:     mch_settitle(lasttitle, lasticon);
latin1flags (2 uses in 1 translation unit) defined static in translation unit charset.c, declared in charset.c:1567
charset.c (2 uses)
  vim_islower():
  1591:         return (latin1flags[c] & LATIN1LOWER) == LATIN1LOWER;
  vim_isupper():
  1616:         return (latin1flags[c] & LATIN1UPPER) == LATIN1UPPER;
lc_jump_env (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:738
os_unix.c (2 uses)
  deathtrap():
  930:     LONGJMP(lc_jump_env, 1);
  mch_libcall():
  5972:     if (SETJMP(lc_jump_env) != 0)
m_onlyone (2 uses in 1 translation unit) defined static in translation unit window.c, declared in window.c:95
window.c (2 uses)
  do_window():
  339:             MSG(_(m_onlyone));
  close_others():
  3085:         MSG(_(m_onlyone));
next_match_end_idx (2 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:338
syntax.c (2 uses)
  syn_current_attr():
  2133:                 next_match_end_idx = end_idx;
  push_next_match():
  2405:         cur_si->si_end_idx = next_match_end_idx;
next_match_eoe_pos (2 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:337
syntax.c (2 uses)
  syn_current_attr():
  2132:                 next_match_eoe_pos = eoe_pos;
  push_next_match():
  2404:         cur_si->si_eoe_pos = next_match_eoe_pos;
next_match_flags (2 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:335
syntax.c (2 uses)
  syn_current_attr():
  2130:                 next_match_flags = flags;
  push_next_match():
  2403:         cur_si->si_flags |= next_match_flags;
next_match_h_endpos (2 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:333
syntax.c (2 uses)
  syn_current_attr():
  2128:                 next_match_h_endpos = hl_endpos;
  push_next_match():
  2401:         cur_si->si_h_endpos = next_match_h_endpos;
old_mod_mask (2 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:1503
getchar.c (2 uses)
  vgetc():
  1539:     mod_mask = old_mod_mask;
  vungetc():
  1849:     old_mod_mask = mod_mask;
old_showcmd_buf (2 uses in 1 translation unit) defined static in translation unit normal.c, declared in normal.c:3654
normal.c (2 uses)
  push_showcmd():
  3823:     STRCPY(old_showcmd_buf, showcmd_buf);
  pop_showcmd():
  3832:     STRCPY(showcmd_buf, old_showcmd_buf);
old_termresponse (2 uses in 1 translation unit) defined static in translation unit fileio.c, declared in fileio.c:8859
fileio.c (2 uses)
  block_autocmds():
  8872:     old_termresponse = get_vim_var_str(VV_TERMRESPONSE);
  unblock_autocmds():
  8887:               && get_vim_var_str(VV_TERMRESPONSE) != old_termresponse)
p_aw (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:316
ex_cmds2.c (2 uses)
  autowrite():
  1309:     if (!(p_aw || p_awa) || !p_write
  autowrite_all():
  1333:     if (!(p_aw || p_awa) || !p_write)
p_bin (2 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:261
option.c (2 uses)
  set_options_bin():
  4911:         p_bin = TRUE;    /* needed when called for the "-b" argument */
  buf_copy_options():
  9425:         buf->b_p_bin = p_bin;
p_bsk (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:334
fileio.c (2 uses)
  buf_write():
  3373:     if (dobackup && *p_bsk != NUL && match_file_list(p_bsk, sfname, ffname))
  3373:     if (dobackup && *p_bsk != NUL && match_file_list(p_bsk, sfname, ffname))
p_cb (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:374
option.c (2 uses)
  did_set_string_option():
  6265:     else if (varp == &p_cb)
  check_clipboard_option():
  6954:     for (p = p_cb; *p != NUL; )
p_cmp_values (2 uses in 1 translation unit) defined static in translation unit option.c, declared in ./option.h:357
option.c (2 uses)
  didset_options():
  5030:     (void)opt_strings_flags(p_cmp, p_cmp_values, &cmp_flags, TRUE);
  did_set_string_option():
  6486:     if (opt_strings_flags(p_cmp, p_cmp_values, &cmp_flags, TRUE) != OK)
p_cms (2 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:283
option.c (2 uses)
  did_set_string_option():
  6530:     else if (gvarp == &p_cms)
  buf_copy_options():
  9451:         buf->b_p_cms = vim_strsave(p_cms);
p_com (2 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:280
option.c (2 uses)
  did_set_string_option():
  5864:     else if (gvarp == &p_com)
  buf_copy_options():
  9448:         buf->b_p_com = vim_strsave(p_com);
p_cpt (2 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:286
option.c (2 uses)
  did_set_string_option():
  6373:     else if (gvarp == &p_cpt)
  buf_copy_options():
  9436:         buf->b_p_cpt = vim_strsave(p_cpt);
p_def (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:400
search.c (2 uses)
  find_pattern_in_path():
  4574:     if (type == FIND_DEFINE && (*curbuf->b_p_def != NUL || *p_def != NUL))
  4577:                ? p_def : curbuf->b_p_def, p_magic ? RE_MAGIC : 0);
p_dict (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:410
edit.c (2 uses)
  has_compl_option():
  1984:     if (dict_opt ? (*curbuf->b_p_dict == NUL && *p_dict == NUL
  ins_compl_get_exp():
  3979:                  ? p_dict
p_dip (2 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:404
diff.c (1 use)
  diffopt_changed():
  1759:     p = p_dip;
option.c (1 use)
  did_set_string_option():
  6493:     else if (varp == &p_dip)
p_dy_values (2 uses in 1 translation unit) defined static in translation unit option.c, declared in ./option.h:419
option.c (2 uses)
  didset_options():
  5040:     (void)opt_strings_flags(p_dy, p_dy_values, &dy_flags, TRUE);
  did_set_string_option():
  6247:     if (opt_strings_flags(p_dy, p_dy_values, &dy_flags, TRUE) != OK)
p_ef (2 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:431
main.c (1 use)
  main():
  669:     if (qf_init(NULL, p_ef, p_efm, TRUE) < 0)
quickfix.c (1 use)
  ex_cfile():
  2954:     if (qf_init(wp, p_ef, p_efm, (eap->cmdidx != CMD_caddfile
p_ek (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:439
term.c (2 uses)
  may_req_termresponse():
  3292:         && p_ek
  check_termcode():
  3925:     if (*tp == ESC && !p_ek && (State & INSERT))
p_exrc (2 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:440
gui.c (1 use)
  gui_init():
  405:         if (p_exrc)
main.c (1 use)
  source_startup_scripts():
  2787:     if (p_exrc)
p_fcs (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:814
option.c (2 uses)
  set_init_1():
  3239:     (void)set_chars_option(&p_fcs);
  did_set_string_option():
  5903:     else if (varp == &p_fcs)
p_fdo_values (2 uses in 1 translation unit) defined static in translation unit option.c, declared in ./option.h:451
option.c (2 uses)
  didset_options():
  5038:     (void)opt_strings_flags(p_fdo, p_fdo_values, &fdo_flags, TRUE);
  did_set_string_option():
  6538:     if (opt_strings_flags(p_fdo, p_fdo_values, &fdo_flags, TRUE) != OK)
p_fencs (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:442
fileio.c (2 uses)
  readfile():
  869:     else if (*p_fencs == NUL)
  876:     fenc_next = p_fencs;        /* try items in 'fileencodings' */
p_ff (2 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:297
option.c (2 uses)
  did_set_string_option():
  5800:     else if (gvarp == &p_ff)
  buf_copy_options():
  9407:         buf->b_p_ff = vim_strsave(p_ff);
p_gp (2 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:434
ex_docmd.c (1 use)
  replace_makeprg():
  4168:         program = p_gp;
quickfix.c (1 use)
  grep_internal():
  2687:         && STRCMP("internal",
p_gtl (2 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:510
gui.c (1 use)
  get_tabline_label():
  3430:     opt = (tooltip ? &p_gtt : &p_gtl);
option.c (1 use)
  did_set_string_option():
  6156:     else if (varp == &p_gtl)
p_guicursor (2 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:501
misc2.c (1 use)
  parse_shape_opt():
  3235:         modep = p_guicursor;
option.c (1 use)
  did_set_string_option():
  6096:     else if (varp == &p_guicursor)
p_header (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:484
hardcopy.c (2 uses)
  prt_header():
  469:     if (*p_header != NUL)
  492:                           p_header, use_sandbox,
p_isf (2 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:556
charset.c (1 use)
  buf_init_chartab():
  161:         p = p_isf;        /* third round: 'isfname' */
option.c (1 use)
  did_set_string_option():
  5498:         || varp == &p_isf)
p_isi (2 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:557
charset.c (1 use)
  buf_init_chartab():
  157:         p = p_isi;        /* first round: 'isident' */
option.c (1 use)
  did_set_string_option():
  5495:     else if (  varp == &p_isi
p_isp (2 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:558
charset.c (1 use)
  buf_init_chartab():
  159:         p = p_isp;        /* second round: 'isprint' */
option.c (1 use)
  did_set_string_option():
  5497:         || varp == &p_isp
p_kp (2 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:560
normal.c (1 use)
  nv_ident():
  5406:     kp = (*curbuf->b_p_kp == NUL ? p_kp : curbuf->b_p_kp);
option.c (1 use)
  do_set():
  4428:                 if (varp == (char_u *)&p_kp
p_ma (2 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:324
option.c (2 uses)
  buf_copy_options():
  9561:         buf->b_p_ma = p_ma;
  reset_modifiable():
  9587:     p_ma = FALSE;
p_mat (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:592
search.c (2 uses)
  showmatch():
  2472:         ui_delay(p_mat * 100L, TRUE);
  2474:         ui_delay(p_mat * 100L, FALSE);
p_mmd (2 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:599
ex_docmd.c (1 use)
  ex_normal():
  8927:     if (ex_normal_busy >= p_mmd)
getchar.c (1 use)
  vgetorpeek():
  2388:             if (++mapdepth >= p_mmd)
p_mousef (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:612
gui.c (2 uses)
  gui_mouse_moved():
  4568:     if (p_mousef
  gui_mouse_correct():
  4637:     if (!(gui.in_use && p_mousef))
p_mps (2 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:326
option.c (2 uses)
  did_set_string_option():
  5847:     else if (gvarp == &p_mps)
  buf_copy_options():
  9456:         buf->b_p_mps = vim_strsave(p_mps);
p_msm (2 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:607
option.c (1 use)
  did_set_string_option():
  6309:     else if (varp == &p_msm)
spell.c (1 use)
  spell_check_msm():
  7544:     char_u    *p = p_msm;
p_nf (2 uses in 1 translation unit) defined static in translation unit option.c, declared in option.c:327
option.c (2 uses)
  did_set_string_option():
  5549:     else if (gvarp == &p_nf)
  buf_copy_options():
  9455:         buf->b_p_nf = vim_strsave(p_nf);
p_opfunc (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:624
normal.c (2 uses)
  op_function():
  2158:     if (*p_opfunc == NUL)
  2175:     (void)call_func_retnr(p_opfunc, 1, argv, FALSE);
p_pex (2 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:629
diff.c (1 use)
  ex_diffpatch():
  937:     if (*p_pex != NUL)
eval.c (1 use)
  eval_patch():
  1130:     (void)eval_to_bool(p_pex, &err, NULL, FALSE);
p_pmfn (2 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:478
hardcopy.c (1 use)
  parse_printmbfont():
  173:     return parse_list_options(p_pmfn, mbfont_opts, OPT_MBFONT_NUM_OPTIONS);
option.c (1 use)
  did_set_string_option():
  6113:     else if (varp == &p_pmfn)
p_popt (2 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:483
hardcopy.c (1 use)
  parse_printoptions():
  162:     return parse_list_options(p_popt, printer_opts, OPT_PRINT_NUM_OPTIONS);
option.c (1 use)
  did_set_string_option():
  6110:     else if (varp == &p_popt)
p_rdt (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:637
screen.c (2 uses)
  win_update():
  853:     profile_setlimit(p_rdt, &(cur->hl.tm));
  start_search_hl():
  6482:     profile_setlimit(p_rdt, &search_hl.tm);
p_remap (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:639
getchar.c (2 uses)
  vgetorpeek():
  2039:                 || (p_remap
  2249:                     || (p_remap && typebuf.tb_noremap[
p_sr (2 uses in 2 translation units) defined in translation unit main.c, declared in ./option.h:713
misc1.c (1 use)
  open_line():
  1365:         if (p_sr)
ops.c (1 use)
  op_shift():
  261:         shift_line(oap->op_type == OP_LSHIFT, p_sr, amount, FALSE);
p_sws (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:743
memfile.c (2 uses)
  mf_sync():
  623:     if ((flags & MFS_FLUSH) && *p_sws != NUL)
  639:     if (STRCMP(p_sws, "fsync") == 0)
p_tal (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:732
screen.c (2 uses)
  win_redr_custom():
  5995:     p = p_tal;
  draw_tabline():
  9104:     if (*p_tal != NUL)
p_tbi (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:772
term.c (2 uses)
  set_termname():
  1600:     int        builtin_first = p_tbi;
  add_termcap_entry():
  2279:     builtin_first = p_tbi;
p_tbs (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:745
tag.c (2 uses)
  find_tags():
  1462:                 && (findall || pats->headlen == 0 || !p_tbs));
  1465:       linear = (pats->headlen == 0 || !p_tbs || round == 2);
p_timeout (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:759
getchar.c (2 uses)
  vgetorpeek():
  2501:             && (p_timeout || (keylen == KL_PART_KEY && p_ttimeout))
  2730:                     || !(p_timeout || (p_ttimeout
p_tsr (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:768
edit.c (2 uses)
  has_compl_option():
  1989:          : (*curbuf->b_p_tsr == NUL && *p_tsr == NUL))
  ins_compl_get_exp():
  3976:                  ? p_tsr
p_ttym_values (2 uses in 1 translation unit) defined static in translation unit option.c, declared in ./option.h:801
option.c (2 uses)
  didset_options():
  5045:     (void)opt_strings_flags(p_ttym, p_ttym_values, &ttym_flags, FALSE);
  did_set_string_option():
  6167:     if (opt_strings_flags(p_ttym, p_ttym_values, &ttym_flags, FALSE) != OK)
p_ttyscroll (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:796
screen.c (2 uses)
  screen_ins_lines():
  8368:     if (!screen_valid(TRUE) || line_count <= 0 || line_count > p_ttyscroll)
  screen_del_lines():
  8587:                      (!force && line_count > p_ttyscroll))
p_ve_values (2 uses in 1 translation unit) defined static in translation unit option.c, declared in ./option.h:829
option.c (2 uses)
  didset_options():
  5042:     (void)opt_strings_flags(p_ve, p_ve_values, &ve_flags, TRUE);
  did_set_string_option():
  6559:     if (opt_strings_flags(p_ve, p_ve_values, &ve_flags, TRUE) != OK)
p_wa (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:869
ex_cmds.c (2 uses)
  do_write():
  2612:         && !p_wa)
  check_overwrite():
  2742:         && !p_wa
p_wig (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:849
misc1.c (2 uses)
  expand_wildcards():
  8460:     if (*p_wig)
  8473:         if (match_file_list(p_wig, (*file)[i], ffname))
p_wim (2 uses in 1 translation unit) defined in translation unit main.c, declared in ./option.h:855
option.c (2 uses)
  did_set_string_option():
  5625:     else if (varp == &p_wim)
  check_opt_wim():
  10572:     for (p = p_wim; *p; ++p)
pc_attr (2 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:1527
edit.c (2 uses)
  edit_putchar():
  1584:         screen_getbytes(pc_row, pc_col, pc_bytes, &pc_attr);
  edit_unputchar():
  1606:         screen_puts(pc_bytes, pc_row - msg_scrolled, pc_col, pc_attr);
pc_bytes (2 uses in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:1523
edit.c (2 uses)
  edit_putchar():
  1584:         screen_getbytes(pc_row, pc_col, pc_bytes, &pc_attr);
  edit_unputchar():
  1606:         screen_puts(pc_bytes, pc_row - msg_scrolled, pc_col, pc_attr);
prt_bottom_margin (2 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1400
hardcopy.c (2 uses)
  prt_get_lpp():
  2394:     lpp = (int)((prt_top_margin - prt_bottom_margin) / prt_line_height);
  mch_print_init():
  2681:     prt_bottom_margin = (float)bottom;
prt_do_underline (2 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1419
hardcopy.c (2 uses)
  prt_flush_buffer():
  1697:     if (prt_do_underline)
  mch_print_text_out():
  3513:         prt_do_underline = prt_underline;
prt_first_line_height (2 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1402
hardcopy.c (2 uses)
  prt_get_lpp():
  2391:     prt_first_line_height = prt_line_height + prt_bgcol_offset;
  mch_print_start_line():
  3372:     prt_pos_y = prt_top_margin - prt_first_line_height -
prt_hexchar (2 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1458
hardcopy.c (2 uses)
  mch_print_text_out():
  3535:         ch = prt_hexchar[(unsigned)(*p) >> 4];
  3537:         ch = prt_hexchar[(*p) & 0xf];
prt_pos_y (2 uses in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:3361
hardcopy.c (2 uses)
  mch_print_start_line():
  3372:     prt_pos_y = prt_top_margin - prt_first_line_height -
  mch_print_text_out():
  3466:         prt_pos_y_moveto = prt_pos_y;
pum_kind_width (2 uses in 1 translation unit) defined static in translation unit popupmnu.c, declared in popupmnu.c:25
popupmnu.c (2 uses)
  pum_display():
  167:     pum_kind_width = kind_width;
  pum_redraw():
  393:         n = pum_kind_width + 1;
pygilstate (2 uses in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:426
if_python.c (2 uses)
  Python_SaveThread():
  439:     PyGILState_Release(pygilstate);
  Python_RestoreThread():
  453:     pygilstate = PyGILState_Ensure();
RangeEnd (2 uses in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:392
if_python.c (2 uses)
  DoPythonCommand():
  587:     RangeEnd = eap->line2;
  CurrentGetattr():
  2271:     return RangeNew(curbuf, RangeStart, RangeEnd);
RangeStart (2 uses in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:391
if_python.c (2 uses)
  DoPythonCommand():
  586:     RangeStart = eap->line1;
  CurrentGetattr():
  2271:     return RangeNew(curbuf, RangeStart, RangeEnd);
really_exiting (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:595
misc1.c (1 use)
  preserve_exit():
  8351:     really_exiting = TRUE;
misc2.c (1 use)
  vim_free():
  1579:     if (x != NULL && !really_exiting)
reg_strict (2 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:604
regexp.c (2 uses)
  regcomp_start():
  1134:     reg_strict = (re_flags & RE_STRICT);
  regatom():
  2289:         else if (reg_strict)
reg_string (2 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:602
regexp.c (2 uses)
  regcomp_start():
  1133:     reg_string = (re_flags & RE_STRING);
  regatom():
  1672:     if (reg_string)
REGEXP_INRANGE (2 uses in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:397
regexp.c (2 uses)
  skip_anyof():
  890:         && (vim_strchr(REGEXP_INRANGE, p[1]) != NULL
  regatom():
  2111:                 && (vim_strchr(REGEXP_INRANGE, regparse[1]) != NULL
save_level (2 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:478
getchar.c (2 uses)
  saveRedobuff():
  485:     if (save_level++ == 0)
  restoreRedobuff():
  509:     if (--save_level == 0)
save_old_redobuff (2 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:47
getchar.c (2 uses)
  saveRedobuff():
  489:     save_old_redobuff = old_redobuff;
  restoreRedobuff():
  514:     old_redobuff = save_old_redobuff;
save_p_wmh (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:1072
ex_getln.c (1 use)
  getcmdline():
  466:             p_wmh = save_p_wmh;
screen.c (1 use)
  win_redr_status_matches():
  5677:             save_p_wmh = p_wmh;
saved_no_hlsearch (2 uses in 1 translation unit) defined static in translation unit search.c, declared in search.c:97
search.c (2 uses)
  save_search_patterns():
  316:     saved_no_hlsearch = no_hlsearch;
  restore_search_patterns():
  332:     no_hlsearch = saved_no_hlsearch;
saved_typebuf (2 uses in 1 translation unit) defined static in translation unit getchar.c, declared in getchar.c:1296
getchar.c (2 uses)
  save_typebuf():
  1302:     saved_typebuf[curscript] = typebuf;
  closescript():
  1435:     typebuf = saved_typebuf[curscript];
spell_expand_need_cap (2 uses in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:15921
spell.c (2 uses)
  spell_expand_check_cap():
  15927:     spell_expand_need_cap = check_need_cap(curwin->w_cursor.lnum, col);
  expand_spelling():
  15946:     spell_suggest_list(&ga, pat, 100, spell_expand_need_cap, TRUE);
spo_name_tab (2 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:125
syntax.c (2 uses)
  put_pattern():
  3961:         msg_puts((char_u *)spo_name_tab[i]);
  get_syn_pattern():
  5379:         if (STRNCMP(end, spo_name_tab[idx], 3) == 0)
syn_cmdlinep (2 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:246
syntax.c (2 uses)
  syn_cmd_include():
  4481:     if (expand_filename(eap, syn_cmdlinep, &errormsg) == FAIL)
  ex_syntax():
  5957:     syn_cmdlinep = eap->cmdlinep;
syn_win (2 uses in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:352
syntax.c (2 uses)
  syntax_start():
  484:     syn_win = wp;
  syn_regexec():
  3100:     if (vim_regexec_multi(rmp, syn_win, syn_buf, lnum, col, NULL) > 0)
toLower (2 uses in 1 translation unit) defined static in translation unit mbyte.c, declared in mbyte.c:2140
mbyte.c (2 uses)
  utf_tolower():
  2270:     return utf_convert(a, toLower, sizeof(toLower));
  2270:     return utf_convert(a, toLower, sizeof(toLower));
topmsg (2 uses in 1 translation unit) defined static in translation unit tag.c, declared in tag.c:90
tag.c (2 uses)
  do_tag():
  318:             EMSG(_(topmsg));
  389:             EMSG(_(topmsg));
toUpper (2 uses in 1 translation unit) defined static in translation unit mbyte.c, declared in mbyte.c:2175
mbyte.c (2 uses)
  utf_toupper():
  2237:     return utf_convert(a, toUpper, sizeof(toUpper));
  2237:     return utf_convert(a, toUpper, sizeof(toUpper));
vgetc_im_active (2 uses in 2 translation units) defined in translation unit main.c, declared in ./globals.h:965
getchar.c (1 use)
  vgetorpeek():
  2771:             vgetc_im_active = im_get_status();
ui.c (1 use)
  im_save_status():
  3109:     if (vgetc_im_active)
viminfo_hislen (2 uses in 1 translation unit) defined static in translation unit ex_getln.c, declared in ex_getln.c:5690
ex_getln.c (2 uses)
  prepare_viminfo_history():
  5754:     viminfo_hislen[type] = len;
  read_viminfo_history():
  5773:     if (viminfo_hisidx[type] < viminfo_hislen[type])
vimvars_var (2 uses in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:362
eval.c (2 uses)
  eval_init():
  769:     init_var_dict(&vimvardict, &vimvars_var);
  find_var_in_ht():
  17951:         case 'v': return &vimvars_var;
all_cflags (1 use in 1 translation unit) defined in translation unit auto/pathdef.c, declared in auto/pathdef.c:7
version.c (1 use)
  list_version():
  1651:     version_msg((char *)all_cflags);
all_lflags (1 use in 1 translation unit) defined in translation unit auto/pathdef.c, declared in auto/pathdef.c:8
version.c (1 use)
  list_version():
  1662:     version_msg((char *)all_lflags);
BufferMethods (1 use in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:1420
if_python.c (1 use)
  BufferGetattr():
  1526:     return Py_FindMethod(BufferMethods, self, name);
BufListType (1 use in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:1854
if_python.c (1 use)
  PythonMod_Init():
  2352:     BufListType.ob_type = &PyType_Type;
case_args (1 use in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:6068
syntax.c (1 use)
  get_syntax_name():
  6082:     return (char_u *)case_args[idx];
cterm_color_16 (1 use in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:84
hardcopy.c (1 use)
  prt_get_term_color():
  267:     return cterm_color_16[colorindex % 16];
cterm_color_8 (1 use in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:78
hardcopy.c (1 use)
  prt_get_term_color():
  268:     return cterm_color_8[colorindex % 8];
CurrentType (1 use in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:2235
if_python.c (1 use)
  PythonMod_Init():
  2354:     CurrentType.ob_type = &PyType_Type;
decomp_table (1 use in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:6480
regexp.c (1 use)
  mb_decompose():
  6540:     d = decomp_table[c - 0xfb20];
e_abort (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1351
ops.c (1 use)
  op_delete():
  1715:         EMSG(_(e_abort));
e_affname (1 use in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:992
spell.c (1 use)
  affitem2flag():
  6083:     smsg((char_u *)_(e_affname), fname, lnum, item);
e_failed (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1367
ex_docmd.c (1 use)
  ex_cd():
  7873:         EMSG(_(e_failed));
e_font (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1373
gui_mac.c (1 use)
  gui_mch_get_font():
  3556:         EMSG2(_(e_font), name);
e_for (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1364
ex_eval.c (1 use)
  ex_endwhile():
  1206:     err = e_for;
e_hitend (1 use in 1 translation unit) defined static in translation unit edit.c, declared in edit.c:60
edit.c (1 use)
  ins_complete():
  5035:                  ? (char_u *)_(e_hitend) : (char_u *)_(e_patnotf);
e_invaddr (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1380
ex_docmd.c (1 use)
  ex_copymove():
  8217:     EMSG(_(e_invaddr));
e_libcall (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1392
os_unix.c (1 use)
  mch_libcall():
  6071:     EMSG2(_(e_libcall), funcname);
e_longname (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1493
fileio.c (1 use)
  buf_write():
  2943:     EMSG(_(e_longname));
e_markinval (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1400
mark.c (1 use)
  check_mark():
  615:     EMSG(_(e_markinval));
e_marknotset (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1401
mark.c (1 use)
  check_mark():
  610:         EMSG(_(e_marknotset));
e_nesting (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1403
getchar.c (1 use)
  openscript():
  1365:     EMSG(_(e_nesting));
e_noabbr (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1405
ex_docmd.c (1 use)
  do_exmap():
  7994:     case 2: EMSG(isabbrev ? _(e_noabbr) : _(e_nomap));
e_noarabic (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1417
main.c (1 use)
  command_line_scan():
  1740:         mch_errmsg(_(e_noarabic));
e_nobang (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1406
ex_docmd.c (1 use)
  do_one_cmd():
  2219:     errormsg = (char_u *)_(e_nobang);
e_nofarsi (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1414
main.c (1 use)
  command_line_scan():
  1781:         mch_errmsg(_(e_nofarsi));
e_nofunc (1 use in 1 translation unit) defined static in translation unit eval.c, declared in eval.c:109
eval.c (1 use)
  ex_delfunction():
  20107:         EMSG2(_(e_nofunc), eap->arg);
e_nohebrew (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1411
main.c (1 use)
  command_line_scan():
  1799:         mch_errmsg(_(e_nohebrew));
e_nomap (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1424
ex_docmd.c (1 use)
  do_exmap():
  7994:     case 2: EMSG(isabbrev ? _(e_noabbr) : _(e_nomap));
e_noprev (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1429
ex_cmds.c (1 use)
  do_bang():
  945:         EMSG(_(e_noprev));
e_norange (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1431
ex_docmd.c (1 use)
  do_one_cmd():
  2212:         errormsg = (char_u *)_(e_norange);
e_number_exp (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1445
digraph.c (1 use)
  putdigraph():
  2257:         EMSG(_(e_number_exp));
e_openerrf (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1448
quickfix.c (1 use)
  qf_init_ext():
  254:     EMSG2(_(e_openerrf), efile);
e_patnotf (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1455
edit.c (1 use)
  ins_complete():
  5035:                  ? (char_u *)_(e_hitend) : (char_u *)_(e_patnotf);
e_re_damg (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1467
regexp.c (1 use)
  vim_regsub_both():
  7123:                 EMSG(_(e_re_damg));
e_readerrf (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1475
quickfix.c (1 use)
  qf_init_ext():
  829:     EMSG(_(e_readerrf));
e_readonly (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1469
ex_cmds.c (1 use)
  check_readonly():
  2974:         EMSG(_(e_readonly));
e_readonlysbx (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1472
eval.c (1 use)
  var_check_ro():
  18372:     EMSG2(_(e_readonlysbx), name);
e_screenmode (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1483
os_unix.c (1 use)
  mch_screenmode():
  3407:     EMSG(_(e_screenmode));
e_shellempty (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1486
misc2.c (1 use)
  call_shell():
  2985:     EMSG(_(e_shellempty));
e_spell_trunc (1 use in 1 translation unit) defined static in translation unit spell.c, declared in spell.c:990
spell.c (1 use)
  spell_load_file():
  2802:         EMSG(_(e_spell_trunc));
e_tagstack (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1491
tag.c (1 use)
  do_tag():
  293:         EMSG(_(e_tagstack));
e_toocompl (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1492
getchar.c (1 use)
  ins_typebuf():
  954:         EMSG(_(e_toocompl));    /* also calls flush_buffers */
e_toomany (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1495
ex_getln.c (1 use)
  ExpandOne():
  3503:             EMSG(_(e_toomany));
e_toomsbra (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1494
regexp.c (1 use)
  regatom():
  2284:             EMSG_RET_NULL(_(e_toomsbra));    /* Cannot happen? */
e_umark (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1497
mark.c (1 use)
  check_mark():
  602:     EMSG(_(e_umark));
e_while (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:1363
ex_eval.c (1 use)
  ex_endwhile():
  1201:     err = e_while;
Error (1 use in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:940
if_python.c (1 use)
  PythonIO_Init():
  954:     PySys_SetObject("stderr", (PyObject *)(void *)&Error);
found_reverse_arg (1 use in 1 translation unit) defined in translation unit main.c, declared in ./globals.h:467
option.c (1 use)
  set_init_1():
  3162:     if (found_reverse_arg)
highlight_init_both (1 use in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:6183
syntax.c (1 use)
  init_highlight():
  6416:     pp = highlight_init_both;
highlight_init_dark (1 use in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:6310
syntax.c (1 use)
  init_highlight():
  6429:     pp = highlight_init_dark;
highlight_init_light (1 use in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:6230
syntax.c (1 use)
  init_highlight():
  6427:     pp = highlight_init_light;
last_breakp (1 use in 1 translation unit) defined static in translation unit ex_cmds2.c, declared in ex_cmds2.c:420
ex_cmds2.c (1 use)
  ex_breakadd():
  578:         DEBUGGY(gap, gap->ga_len).dbg_nr = ++last_breakp;
latin1lower (1 use in 1 translation unit) defined static in translation unit charset.c, declared in charset.c:1569
charset.c (1 use)
  vim_tolower():
  1666:         return latin1lower[c];
latin1upper (1 use in 1 translation unit) defined static in translation unit charset.c, declared in charset.c:1568
charset.c (1 use)
  vim_toupper():
  1641:         return latin1upper[c];
main_errors (1 use in 1 translation unit) defined static in translation unit main.c, declared in main.c:142
main.c (1 use)
  mainerr():
  2935:     mch_errmsg(_(main_errors[n]));
META_flags (1 use in 1 translation unit) defined static in translation unit regexp.c, declared in regexp.c:614
regexp.c (1 use)
  peekchr():
  2693:             c <= '~' && META_flags[c]
mt_names (1 use in 1 translation unit) defined static in translation unit tag.c, declared in tag.c:64
tag.c (1 use)
  do_tag():
  640:                        mt_names[matches[i][0] & MT_MASK]);
Output (1 use in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:933
if_python.c (1 use)
  PythonIO_Init():
  953:     PySys_SetObject("stdout", (PyObject *)(void *)&Output);
OutputMethods (1 use in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:719
if_python.c (1 use)
  OutputGetattr():
  757:     return Py_FindMethod(OutputMethods, self, name);
OutputType (1 use in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:726
if_python.c (1 use)
  PythonIO_Init():
  951:     OutputType.ob_type = &PyType_Type;
p_ambw_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2824
option.c (1 use)
  did_set_string_option():
  5589:     if (check_opt_strings(p_ambw, p_ambw_values, FALSE) != OK)
p_ar (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:315
fileio.c (1 use)
  buf_check_timestamp():
  6430:     else if ((buf->b_p_ar >= 0 ? buf->b_p_ar : p_ar)
p_bg_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2826
option.c (1 use)
  did_set_string_option():
  5597:     if (check_opt_strings(p_bg, p_bg_values, FALSE) == OK)
p_bh (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:266
option.c (1 use)
  did_set_string_option():
  6318:     else if (gvarp == &p_bh)
p_bomb (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:263
option.c (1 use)
  buf_copy_options():
  9427:         buf->b_p_bomb = p_bomb;
p_bs_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2862
option.c (1 use)
  did_set_string_option():
  6478:     else if (check_opt_strings(p_bs, p_bs_values, TRUE) != OK)
p_bsdir_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2844
option.c (1 use)
  did_set_string_option():
  6197:     if (check_opt_strings(p_bsdir, p_bsdir_values, FALSE) != OK
p_bt (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:267
option.c (1 use)
  did_set_string_option():
  6325:     else if (gvarp == &p_bt)
p_bufhidden_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2860
option.c (1 use)
  did_set_string_option():
  6320:     if (check_opt_strings(curbuf->b_p_bh, p_bufhidden_values, FALSE) != OK)
p_buftype_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2856
option.c (1 use)
  did_set_string_option():
  6327:     if (check_opt_strings(curbuf->b_p_bt, p_buftype_values, FALSE) != OK)
p_cfu (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:289
option.c (1 use)
  buf_copy_options():
  9439:         buf->b_p_cfu = vim_strsave(p_cfu);
p_ci (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:270
option.c (1 use)
  buf_copy_options():
  9460:         buf->b_p_ci = p_ci;
p_cin (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:272
option.c (1 use)
  buf_copy_options():
  9462:         buf->b_p_cin = p_cin;
p_cink (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:273
option.c (1 use)
  buf_copy_options():
  9463:         buf->b_p_cink = vim_strsave(p_cink);
p_cino (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:274
option.c (1 use)
  buf_copy_options():
  9464:         buf->b_p_cino = vim_strsave(p_cino);
p_cinw (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:277
option.c (1 use)
  buf_copy_options():
  9475:         buf->b_p_cinw = vim_strsave(p_cinw);
p_cot_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2872
option.c (1 use)
  did_set_string_option():
  6418:     if (check_opt_strings(p_cot, p_cot_values, TRUE) != OK)
p_debug_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2850
option.c (1 use)
  did_set_string_option():
  6240:     if (check_opt_strings(p_debug, p_debug_values, TRUE) != OK)
p_dg (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:413
digraph.c (1 use)
  do_digraph():
  2061:     else if (p_dg)
p_ead_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2852
option.c (1 use)
  did_set_string_option():
  6258:     if (check_opt_strings(p_ead, p_ead_values, FALSE) != OK)
p_eb (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:429
message.c (1 use)
  emsg():
  637:     if (p_eb)
p_ed (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:423
ex_cmds.c (1 use)
  do_sub():
  4329:     if (!p_ed)
p_ep (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:428
option.c (1 use)
  get_equalprg():
  9188:     return p_ep;
p_fcl_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2869
option.c (1 use)
  did_set_string_option():
  6544:     if (check_opt_strings(p_fcl, p_fcl_values, TRUE) != OK)
p_fdm_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2864
option.c (1 use)
  did_set_string_option():
  6504:     if (check_opt_strings(*varp, p_fdm_values, FALSE) != OK
p_fex (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:313
option.c (1 use)
  buf_copy_options():
  9496:         buf->b_p_fex = vim_strsave(p_fex);
p_flp (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:299
option.c (1 use)
  buf_copy_options():
  9454:         buf->b_p_flp = vim_strsave(p_flp);
p_fo (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:298
option.c (1 use)
  buf_copy_options():
  9453:         buf->b_p_fo = vim_strsave(p_fo);
p_fs (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:469
fileio.c (1 use)
  buf_write():
  4347:     if (p_fs && fsync(fd) != 0 && !device)
p_gd (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:471
ex_cmds.c (1 use)
  do_sub():
  4331:         if (p_gd)        /* default is global on */
p_gefm (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:433
quickfix.c (1 use)
  ex_make():
  2778:                 && eap->cmdidx != CMD_lmake) ? p_gefm : p_efm,
p_gtt (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:511
gui.c (1 use)
  get_tabline_label():
  3430:     opt = (tooltip ? &p_gtt : &p_gtl);
p_guipty (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:495
os_unix.c (1 use)
  mch_call_shell():
  3780:     if (p_guipty && !(options & (SHELL_READ|SHELL_WRITE)))
p_hi (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:530
ex_getln.c (1 use)
  init_history():
  5014:     newlen = (int)p_hi;
p_hid (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:520
quickfix.c (1 use)
  buf_hide():
  2673:     return (p_hid || cmdmod.hide);
p_imcmdline (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:551
ex_getln.c (1 use)
  getcmdline():
  299:     else if (p_imcmdline)
p_inc (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:401
search.c (1 use)
  find_pattern_in_path():
  4566:     inc_opt = (*curbuf->b_p_inc == NUL) ? p_inc : curbuf->b_p_inc;
p_inde (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:309
option.c (1 use)
  buf_copy_options():
  9492:         buf->b_p_inde = vim_strsave(p_inde);
p_indk (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:310
option.c (1 use)
  buf_copy_options():
  9493:         buf->b_p_indk = vim_strsave(p_indk);
p_inex (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:306
option.c (1 use)
  buf_copy_options():
  9529:         buf->b_p_inex = vim_strsave(p_inex);
p_inf (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:315
option.c (1 use)
  buf_copy_options():
  9433:         buf->b_p_inf = p_inf;
p_isk (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:316
option.c (1 use)
  buf_copy_options():
  9553:         buf->b_p_isk = vim_strsave(p_isk);
p_km_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2841
option.c (1 use)
  did_set_string_option():
  6207:     if (check_opt_strings(p_km, p_km_values, TRUE) != OK)
p_lisp (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:321
option.c (1 use)
  buf_copy_options():
  9478:         buf->b_p_lisp = p_lisp;
p_lispwords (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:574
misc1.c (1 use)
  lisp_match():
  8093:     char_u    *word = p_lispwords;
p_mfd (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:597
eval.c (1 use)
  call_user_func():
  20230:     if (depth >= p_mfd)
p_mh (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:613
gui_mac.c (1 use)
  gui_mac_unicode_key_event():
  2116:     if (p_mh)
p_mm (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:600
memfile.c (1 use)
  mf_open():
  208:     mfp->mf_used_count_max = (p_mm << shift) / page_size;
p_mmt (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:602
memfile.c (1 use)
  mf_release():
  858:                   || (total_mem_used >> 10) >= (long_u)p_mmt);
p_mousem_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2835
option.c (1 use)
  did_set_string_option():
  6220:     if (check_opt_strings(p_mousem, p_mousem_values, FALSE) != OK)
p_mouset (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:616
term.c (1 use)
  check_termcode():
  4700:                 && timediff < p_mouset
p_mp (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:590
ex_docmd.c (1 use)
  replace_makeprg():
  4175:         program = p_mp;
p_nf_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2827
option.c (1 use)
  did_set_string_option():
  5551:     if (check_opt_strings(*varp, p_nf_values, TRUE) != OK)
p_ofu (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:290
option.c (1 use)
  buf_copy_options():
  9440:         buf->b_p_ofu = vim_strsave(p_ofu);
p_para (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:625
search.c (1 use)
  startPS():
  2743:                        (!para && inmacro(p_para, s + 1))))
p_pexpr (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:476
eval.c (1 use)
  eval_printexpr():
  1087:     if (eval_to_bool(p_pexpr, &err, NULL, FALSE))
p_pfn (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:482
hardcopy.c (1 use)
  mch_print_init():
  2687:     for (p = p_pfn; (p = vim_strchr(p, ':')) != NULL; ++p)
p_pi (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:331
option.c (1 use)
  buf_copy_options():
  9473:         buf->b_p_pi = p_pi;
p_prompt (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:486
ex_getln.c (1 use)
  getexmodeline():
  2137:     if (p_prompt)
p_qe (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:333
option.c (1 use)
  buf_copy_options():
  9537:         buf->b_p_qe = vim_strsave(p_qe);
p_scbopt_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2847
option.c (1 use)
  did_set_string_option():
  5580:     if (check_opt_strings(p_sbo, p_scbopt_values, TRUE) != OK)
p_sections (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:663
search.c (1 use)
  startPS():
  2742:     if (*s == '.' && (inmacro(p_sections, s + 1) ||
p_sel_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2837
option.c (1 use)
  did_set_string_option():
  6181:         || check_opt_strings(p_sel, p_sel_values, FALSE) != OK)
p_sft (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:721
tag.c (1 use)
  find_tags():
  2291:                 get_it_again = p_sft;
p_shcf (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:696
os_unix.c (1 use)
  mch_call_shell():
  3758:     argv[argc++] = (char *)p_shcf;
p_si (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:337
option.c (1 use)
  buf_copy_options():
  9458:         buf->b_p_si = p_si;
p_slm_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2838
option.c (1 use)
  did_set_string_option():
  6188:     if (check_opt_strings(p_slm, p_slm_values, TRUE) != OK)
p_smc (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:349
option.c (1 use)
  buf_copy_options():
  9483:         buf->b_p_smc = p_smc;
p_sn (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:340
option.c (1 use)
  buf_copy_options():
  9445:         buf->b_p_sn = p_sn;
p_spc (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:353
option.c (1 use)
  buf_copy_options():
  9486:         buf->b_p_spc = vim_strsave(p_spc);
p_spf (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:354
option.c (1 use)
  buf_copy_options():
  9488:         buf->b_p_spf = vim_strsave(p_spf);
p_spl (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:355
option.c (1 use)
  buf_copy_options():
  9489:         buf->b_p_spl = vim_strsave(p_spl);
p_su (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:742
misc1.c (1 use)
  match_suffix():
  8526:     for (setsuf = p_su; *setsuf; )
p_sua (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:344
option.c (1 use)
  buf_copy_options():
  9502:         buf->b_p_sua = vim_strsave(p_sua);
p_sw (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:346
option.c (1 use)
  buf_copy_options():
  9418:         buf->b_p_sw = p_sw;
p_swb_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2849
option.c (1 use)
  did_set_string_option():
  6233:     if (check_opt_strings(p_swb, p_swb_values, TRUE) != OK)
p_swf (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:347
option.c (1 use)
  buf_copy_options():
  9434:         buf->b_p_swf = p_swf;
p_tgst (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:749
tag.c (1 use)
  do_tag():
  206:     if ((!p_tgst && *tag != NUL))
p_titleold (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:764
os_unix.c (1 use)
  mch_restore_title():
  2034:             (oldtitle ? oldtitle : p_titleold) : NULL,
p_to (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:758
normal.c (1 use)
  nv_tilde():
  8197:     if (!p_to
p_tr (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:747
tag.c (1 use)
  expand_tag_fname():
  3370:     if ((p_tr || curbuf->b_help)
p_ts (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:357
option.c (1 use)
  buf_copy_options():
  9555:         buf->b_p_ts = p_ts;
p_tx (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:359
option.c (1 use)
  buf_copy_options():
  9403:         buf->b_p_tx = p_tx;
p_vb (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:824
misc1.c (1 use)
  vim_beep():
  3347:     if (p_vb
p_warn (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:838
ex_cmds.c (1 use)
  do_shell():
  1393:     if (p_warn
p_wb (1 use in 1 translation unit) defined in translation unit main.c, declared in ./option.h:870
fileio.c (1 use)
  buf_write():
  3371:     dobackup = (p_wb || p_bk || *p_pm != NUL);
p_wop_values (1 use in 1 translation unit) defined static in translation unit option.c, declared in option.c:2830
option.c (1 use)
  did_set_string_option():
  5635:     if (check_opt_strings(p_wop, p_wop_values, TRUE) != OK)
prt_resource_types (1 use in 1 translation unit) defined static in translation unit hardcopy.c, declared in hardcopy.c:1290
hardcopy.c (1 use)
  prt_add_resource():
  2813:     prt_dsc_resources("BeginResource", prt_resource_types[resource->type],
RangeMethods (1 use in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:1664
if_python.c (1 use)
  RangeGetattr():
  1745:     return Py_FindMethod(RangeMethods, self, name);
running_syn_inc_tag (1 use in 1 translation unit) defined static in translation unit syntax.c, declared in syntax.c:254
syntax.c (1 use)
  syn_cmd_include():
  4494:     current_syn_inc_tag = ++running_syn_inc_tag;
temp_count (1 use in 1 translation unit) defined static in translation unit fileio.c, declared in fileio.c:6776
fileio.c (1 use)
  vim_tempname():
  6937:     sprintf((char *)itmp, "%s%ld", vim_tempdir, temp_count++);
TheBufferList (1 use in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:2326
if_python.c (1 use)
  PythonMod_Init():
  2365:     PyDict_SetItemString(dict, "buffers", (PyObject *)(void *)&TheBufferList);
TheCurrent (1 use in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:2336
if_python.c (1 use)
  PythonMod_Init():
  2366:     PyDict_SetItemString(dict, "current", (PyObject *)(void *)&TheCurrent);
TheWindowList (1 use in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:2331
if_python.c (1 use)
  PythonMod_Init():
  2367:     PyDict_SetItemString(dict, "windows", (PyObject *)(void *)&TheWindowList);
Version (1 use in 1 translation unit) defined in translation unit version.c, declared in version.c:30
memline.c (1 use)
  ml_open():
  327:     STRNCPY(b0p->b0_version + 4, Version, 6);
VimMethods (1 use in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:1084
if_python.c (1 use)
  PythonMod_Init():
  2359:     mod = Py_InitModule4("vim", VimMethods, (char *)NULL, (PyObject *)NULL, PYTHON_API_VERSION);
WindowMethods (1 use in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:1915
if_python.c (1 use)
  WindowGetattr():
  2028:     return Py_FindMethod(WindowMethods, self, name);
WinListType (1 use in 1 translation unit) defined static in translation unit if_python.c, declared in if_python.c:2171
if_python.c (1 use)
  PythonMod_Init():
  2353:     WinListType.ob_type = &PyType_Type;