Searched refs:srchlen (Results 1 – 1 of 1) sorted by relevance
3463 static int srchlen; /* length of current search pattern */ variable3730 if (srchlen == 0) { in vi_hook()3738 locpat[srchlen] = '\0'; in vi_hook()3739 memcpy(srchpat, locpat, srchlen + 1); in vi_hook()3743 if (srchlen != 0) { in vi_hook()3744 srchlen--; in vi_hook()3745 es->linelen -= char_len(locpat[srchlen]); in vi_hook()3754 srchlen = 0; in vi_hook()3763 new_es.cursor = srchlen; in vi_hook()3771 i = (unsigned)srchlen; in vi_hook()[all …]