Searched refs:srchlen (Results 1 – 1 of 1) sorted by relevance
3507 static int srchlen; /* length of current search pattern */ variable3792 if (srchlen == 0) { in vi_hook()3800 locpat[srchlen] = '\0'; in vi_hook()3801 memcpy(srchpat, locpat, srchlen + 1); in vi_hook()3805 if (srchlen != 0) { in vi_hook()3806 srchlen--; in vi_hook()3807 vs->linelen -= char_len(locpat[srchlen]); in vi_hook()3816 srchlen = 0; in vi_hook()3825 new_es.cursor = srchlen; in vi_hook()3833 i = (unsigned)srchlen; in vi_hook()[all …]