Searched refs:srchpat (Results 1 – 1 of 1) sorted by relevance
3515 static char srchpat[SRCHLEN]; /* last search pattern */ variable3793 if (!srchpat[0]) { in vi_hook()3801 memcpy(srchpat, locpat, srchlen + 1); in vi_hook()3872 if ((size_t)vs->cursor >= sizeof(srchpat) - 1) in vi_hook()3873 vs->cursor = sizeof(srchpat) - 2; in vi_hook()3875 srchpat[0] = '^'; in vi_hook()3877 memmove(srchpat + 1, vs->cbuf, vs->cursor); in vi_hook()3878 srchpat[vs->cursor + 1] = '\0'; in vi_hook()4454 c1, srchpat)) < 0) { in vi_cmd()