Home
last modified time | relevance | path

Searched refs:srchpat (Results 1 – 1 of 1) sorted by relevance

/third_party/mksh/
Dedit.c3582 static char srchpat[SRCHLEN]; /* last search pattern */ variable
3863 if (!srchpat[0]) { in vi_hook()
3871 memcpy(srchpat, locpat, srchlen + 1); in vi_hook()
3943 if ((size_t)vs->cursor >= sizeof(srchpat) - 1) in vi_hook()
3944 vs->cursor = sizeof(srchpat) - 2; in vi_hook()
3946 srchpat[0] = '^'; in vi_hook()
3948 memcpy(srchpat + 1, vs->cbuf, vs->cursor); in vi_hook()
3949 srchpat[vs->cursor + 1] = '\0'; in vi_hook()
4520 if ((c2 = grabsearch(srchpat, modified, hnum, b)) < 0) { in vi_cmd()