Lines Matching refs:pos
137 m->pos.pos[i].lnum = lnum; in match_add()
152 m->pos.pos[i].col = col; in match_add()
153 m->pos.pos[i].len = len; in match_add()
162 m->pos.pos[i].lnum = li->li_tv.vval.v_number; in match_add()
163 m->pos.pos[i].col = 0; in match_add()
164 m->pos.pos[i].len = 0; in match_add()
194 m->pos.toplnum = toplnum; in match_add()
195 m->pos.botlnum = botlnum; in match_add()
258 if (cur->pos.toplnum != 0) in match_delete()
262 if (wp->w_buffer->b_mod_top > cur->pos.toplnum) in match_delete()
263 wp->w_buffer->b_mod_top = cur->pos.toplnum; in match_delete()
264 if (wp->w_buffer->b_mod_bot < cur->pos.botlnum) in match_delete()
265 wp->w_buffer->b_mod_bot = cur->pos.botlnum; in match_delete()
270 wp->w_buffer->b_mod_top = cur->pos.toplnum; in match_delete()
271 wp->w_buffer->b_mod_bot = cur->pos.botlnum; in match_delete()
363 llpos_T *pos = &posmatch->pos[i]; in next_search_hl_pos() local
365 if (pos->lnum == 0) in next_search_hl_pos()
367 if (pos->len == 0 && pos->col < mincol) in next_search_hl_pos()
369 if (pos->lnum == lnum) in next_search_hl_pos()
375 if (pos->col < posmatch->pos[found].col) in next_search_hl_pos()
377 llpos_T tmp = *pos; in next_search_hl_pos()
379 *pos = posmatch->pos[found]; in next_search_hl_pos()
380 posmatch->pos[found] = tmp; in next_search_hl_pos()
390 colnr_T start = posmatch->pos[found].col == 0 in next_search_hl_pos()
391 ? 0 : posmatch->pos[found].col - 1; in next_search_hl_pos()
392 colnr_T end = posmatch->pos[found].col == 0 in next_search_hl_pos()
393 ? MAXCOL : start + posmatch->pos[found].len; in next_search_hl_pos()
528 nmatched = next_search_hl_pos(shl, lnum, &(cur->pos), matchcol); in next_search_hl()
592 cur->pos.cur = 0; in prepare_search_hl()
600 pos_inprogress = cur == NULL || cur->pos.cur == 0 in prepare_search_hl()
660 cur->pos.cur = 0; in prepare_search_hl_line()
744 cur->pos.cur = 0; in update_search_hl()
776 pos_inprogress = !(cur == NULL || cur->pos.cur == 0); in update_search_hl()
1007 llpos = &cur->pos.pos[i]; in f_getmatches()