Searched refs:srchlen (Results 1 – 1 of 1) sorted by relevance
3491 static int srchlen; /* length of current search pattern */ variable3775 if (srchlen == 0) { in vi_hook()3783 locpat[srchlen] = '\0'; in vi_hook()3784 memcpy(srchpat, locpat, srchlen + 1); in vi_hook()3788 if (srchlen != 0) { in vi_hook()3789 srchlen--; in vi_hook()3790 vs->linelen -= char_len(locpat[srchlen]); in vi_hook()3799 srchlen = 0; in vi_hook()3808 new_es.cursor = srchlen; in vi_hook()3816 i = (unsigned)srchlen; in vi_hook()[all …]