Lines Matching refs:linep

1901     char_u	*linep,  in check_prevcol()  argument
1908 col -= (*mb_head_off)(linep, linep + col); in check_prevcol()
1911 return (col >= 0 && linep[col] == ch) ? TRUE : FALSE; in check_prevcol()
1919 find_rawstring_end(char_u *linep, pos_T *startpos, pos_T *endpos) in find_rawstring_end() argument
1927 for (p = linep + startpos->col + 1; *p && *p != '('; ++p) in find_rawstring_end()
1929 delim_len = (p - linep) - startpos->col - 1; in find_rawstring_end()
1930 delim_copy = vim_strnsave(linep + startpos->col + 1, delim_len); in find_rawstring_end()
2087 char_u *linep; // pointer to current line in findmatchlimit() local
2109 linep = ml_get(pos.lnum); in findmatchlimit()
2165 ptr = skipwhite(linep); in findmatchlimit()
2166 if (*ptr == '#' && pos.col <= (colnr_T)(ptr - linep)) in findmatchlimit()
2176 else if (linep[pos.col] == '/') in findmatchlimit()
2178 if (linep[pos.col + 1] == '*') in findmatchlimit()
2184 else if (pos.col > 0 && linep[pos.col - 1] == '*') in findmatchlimit()
2191 else if (linep[pos.col] == '*') in findmatchlimit()
2193 if (linep[pos.col + 1] == '/') in findmatchlimit()
2198 else if (pos.col > 0 && linep[pos.col - 1] == '/') in findmatchlimit()
2217 if (linep[pos.col] == NUL && pos.col) in findmatchlimit()
2221 initc = PTR2CHAR(linep + pos.col); in findmatchlimit()
2228 pos.col += mb_ptr2len(linep + pos.col); in findmatchlimit()
2233 if (!cpo_match && *skipwhite(linep) == '#') in findmatchlimit()
2244 for (col = pos.col; check_prevcol(linep, col, '\\', &col);) in findmatchlimit()
2259 ptr = skipwhite(skipwhite(linep) + 1); in findmatchlimit()
2278 linep = ml_get(pos.lnum); in findmatchlimit()
2280 ptr = skipwhite(linep); in findmatchlimit()
2283 pos.col = (colnr_T) (ptr - linep); in findmatchlimit()
2339 comment_col = check_linecomment(linep); in findmatchlimit()
2366 linep = ml_get(pos.lnum); in findmatchlimit()
2367 pos.col = (colnr_T)STRLEN(linep); // pos.col on trailing NUL in findmatchlimit()
2377 comment_col = check_linecomment(linep); in findmatchlimit()
2388 pos.col -= (*mb_head_off)(linep, linep + pos.col); in findmatchlimit()
2393 if (linep[pos.col] == NUL in findmatchlimit()
2415 linep = ml_get(pos.lnum); in findmatchlimit()
2421 comment_col = check_linecomment(linep); in findmatchlimit()
2427 pos.col += (*mb_ptr2len)(linep + pos.col); in findmatchlimit()
2437 (linep[0] == '{' || linep[0] == '}')) in findmatchlimit()
2439 if (linep[0] == findc && count == 0) // match! in findmatchlimit()
2450 if (linep[pos.col] == '*' && linep[pos.col + 1] == '/') in findmatchlimit()
2466 if (linep[pos.col - 1] == 'R' in findmatchlimit()
2467 && linep[pos.col] == '"' in findmatchlimit()
2468 && vim_strchr(linep + pos.col + 1, '(') != NULL) in findmatchlimit()
2474 if (!find_rawstring_end(linep, &pos, in findmatchlimit()
2481 linep = ml_get(pos.lnum); // may have been released in findmatchlimit()
2484 else if ( linep[pos.col - 1] == '/' in findmatchlimit()
2485 && linep[pos.col] == '*' in findmatchlimit()
2486 && (pos.col == 1 || linep[pos.col - 2] != '*') in findmatchlimit()
2493 else if (linep[pos.col - 1] == '*' && linep[pos.col] == '/') in findmatchlimit()
2497 else if (pos.col > 1 && linep[pos.col - 2] == '/' in findmatchlimit()
2524 for (ptr = linep; *ptr; ++ptr) in findmatchlimit()
2526 if (ptr == linep + pos.col + backwards) in findmatchlimit()
2529 && (ptr == linep || ptr[-1] != '\'' || ptr[1] != '\'')) in findmatchlimit()
2572 linep = ml_get(pos.lnum); in findmatchlimit()
2590 c = PTR2CHAR(linep + pos.col); in findmatchlimit()
2595 if (pos.col == 0 || linep[pos.col - 1] != '\\') in findmatchlimit()
2610 if (linep[col] != '\\') in findmatchlimit()
2634 if (linep[pos.col - 2] == '\'') in findmatchlimit()
2639 else if (linep[pos.col - 2] == '\\' && in findmatchlimit()
2640 pos.col > 2 && linep[pos.col - 3] == '\'') in findmatchlimit()
2647 else if (linep[pos.col + 1]) // forward search in findmatchlimit()
2649 if (linep[pos.col + 1] == '\\' && in findmatchlimit()
2650 linep[pos.col + 2] && linep[pos.col + 3] == '\'') in findmatchlimit()
2655 else if (linep[pos.col + 2] == '\'') in findmatchlimit()
2673 && check_prevcol(linep, pos.col, '\\', NULL) in findmatchlimit()
2674 && check_prevcol(linep, pos.col - 1, '#', NULL)) in findmatchlimit()
2687 for (col = pos.col; check_prevcol(linep, col, '\\', &col);) in findmatchlimit()