Searched refs:srchlen (Results 1 – 1 of 1) sorted by relevance
3463 static int srchlen; /* length of current search pattern */ variable3739 if (srchlen == 0) { in vi_hook()3747 locpat[srchlen] = '\0'; in vi_hook()3748 memcpy(srchpat, locpat, srchlen + 1); in vi_hook()3752 if (srchlen != 0) { in vi_hook()3753 srchlen--; in vi_hook()3754 es->linelen -= char_len((unsigned char)locpat[srchlen]); in vi_hook()3763 srchlen = 0; in vi_hook()3769 int i, n = srchlen; in vi_hook()3780 for (i = srchlen; --i >= n; ) in vi_hook()[all …]