Lines Matching refs:srchlen
3507 static int srchlen; /* length of current search pattern */ variable
3792 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()
3836 srchlen = (int)n; in vi_hook()
3841 if (srchlen == SRCHLEN - 1) in vi_hook()
3844 locpat[srchlen++] = ch; in vi_hook()
4440 srchlen = 0; in vi_cmd()