Lines Matching refs:pos

338 get_sw_value_pos(buf_T *buf, pos_T *pos)  in get_sw_value_pos()  argument
343 curwin->w_cursor = *pos; in get_sw_value_pos()
355 pos_T pos = curwin->w_cursor; in get_sw_value_indent() local
357 pos.col = getwhitecols_curline(); in get_sw_value_indent()
358 return get_sw_value_pos(buf, &pos); in get_sw_value_indent()
821 pos_T pos; in get_number_indent() local
828 pos.lnum = 0; in get_number_indent()
843 pos.lnum = lnum; in get_number_indent()
844 pos.col = (colnr_T)(*regmatch.endp - ml_get(lnum)); in get_number_indent()
845 pos.coladd = 0; in get_number_indent()
850 if (pos.lnum == 0 || *ml_get_pos(&pos) == NUL) in get_number_indent()
852 getvcol(curwin, &pos, &col, NULL, NULL); in get_number_indent()
1134 pos_T *pos, old_pos; in ins_try_si() local
1143 if (c == '}' && (pos = findmatch(NULL, '{')) != NULL) in ins_try_si()
1151 ptr = ml_get(pos->lnum); in ins_try_si()
1152 i = pos->col; in ins_try_si()
1156 curwin->w_cursor.lnum = pos->lnum; in ins_try_si()
1158 if (ptr[i] == ')' && (pos = findmatch(NULL, '(')) != NULL) in ins_try_si()
1159 curwin->w_cursor = *pos; in ins_try_si()
1896 pos_T *pos, realpos, paren; in get_lisp_indent() local
1910 if ((pos = findmatch(NULL, '(')) == NULL) in get_lisp_indent()
1911 pos = findmatch(NULL, '['); in get_lisp_indent()
1914 paren = *pos; in get_lisp_indent()
1915 pos = findmatch(NULL, '['); in get_lisp_indent()
1916 if (pos == NULL || LT_POSP(pos, &paren)) in get_lisp_indent()
1917 pos = &paren; in get_lisp_indent()
1919 if (pos != NULL) in get_lisp_indent()
1926 while (--curwin->w_cursor.lnum >= pos->lnum) in get_lisp_indent()
1975 curwin->w_cursor.lnum = pos->lnum; in get_lisp_indent()
1976 curwin->w_cursor.col = pos->col; in get_lisp_indent()
1977 col = pos->col; in get_lisp_indent()
2143 pos_T pos; in f_lispindent() local
2149 pos = curwin->w_cursor; in f_lispindent()
2155 curwin->w_cursor = pos; in f_lispindent()