Lines Matching refs:pp
3856 char_u **pp, // return: start of selected text in get_visual_text() argument
3869 *pp = ml_get_curline(); in get_visual_text()
3870 *lenp = (int)STRLEN(*pp); in get_visual_text()
3876 *pp = ml_get_pos(&curwin->w_cursor); in get_visual_text()
3881 *pp = ml_get_pos(&VIsual); in get_visual_text()
3884 if (**pp == NUL) in get_visual_text()
3888 *lenp += (*mb_ptr2len)(*pp + (*lenp - 1)) - 1; in get_visual_text()
6863 pos_T *pp; in unadjust_for_sel() local
6868 pp = &curwin->w_cursor; in unadjust_for_sel()
6870 pp = &VIsual; in unadjust_for_sel()
6871 if (pp->coladd > 0) in unadjust_for_sel()
6872 --pp->coladd; in unadjust_for_sel()
6874 if (pp->col > 0) in unadjust_for_sel()
6876 --pp->col; in unadjust_for_sel()
6877 mb_adjustpos(curbuf, pp); in unadjust_for_sel()
6879 else if (pp->lnum > 1) in unadjust_for_sel()
6881 --pp->lnum; in unadjust_for_sel()
6882 pp->col = (colnr_T)STRLEN(ml_get(pp->lnum)); in unadjust_for_sel()