Lines Matching refs:pos
52 setmark_pos(int c, pos_T *pos, int fnum) in setmark_pos() argument
63 if (pos == &curwin->w_cursor) in setmark_pos()
70 curwin->w_pcmark = *pos; in setmark_pos()
80 buf->b_last_cursor = *pos; in setmark_pos()
88 buf->b_op_start = *pos; in setmark_pos()
93 buf->b_op_end = *pos; in setmark_pos()
100 buf->b_visual.vi_start = *pos; in setmark_pos()
102 buf->b_visual.vi_end = *pos; in setmark_pos()
112 buf->b_namedm[i] = *pos; in setmark_pos()
121 namedfm[i].fmark.mark = *pos; in setmark_pos()
195 pos_T *pos; in movemark() local
240 pos = (pos_T *)-1; in movemark()
243 pos = &(jmp->fmark.mark); in movemark()
244 return pos; in movemark()
341 pos_T pos; in getmark_buf_fnum() local
345 pos = curwin->w_cursor; in getmark_buf_fnum()
353 curwin->w_cursor = pos; in getmark_buf_fnum()
358 pos_T pos; in getmark_buf_fnum() local
361 pos = curwin->w_cursor; in getmark_buf_fnum()
368 curwin->w_cursor = pos; in getmark_buf_fnum()
450 pos_T pos; in getnextmark() local
452 pos = *startpos; in getnextmark()
459 pos.col = 0; in getnextmark()
461 pos.col = MAXCOL; in getnextmark()
470 && LT_POS(pos, curbuf->b_namedm[i])) in getnextmark()
476 && LT_POS(curbuf->b_namedm[i], pos)) in getnextmark()
577 check_mark(pos_T *pos) in check_mark() argument
579 if (pos == NULL) in check_mark()
584 if (pos->lnum <= 0) in check_mark()
588 if (pos->lnum == 0) in check_mark()
592 if (pos->lnum > curbuf->b_ml.ml_line_count) in check_mark()
1409 add_mark(list_T *l, char_u *mname, pos_T *pos, int bufnr, char_u *fname) in add_mark() argument
1414 if (pos->lnum <= 0) in add_mark()
1432 list_append_number(lpos, pos->lnum); in add_mark()
1433 list_append_number(lpos, pos->col + 1); in add_mark()
1434 list_append_number(lpos, pos->coladd); in add_mark()