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

/external/mksh/src/
H A Dedit.c3477 static char srchpat[SRCHLEN]; /* last search pattern */ variable
3737 if (!srchpat[0]) {
3745 memcpy(srchpat, locpat, srchlen + 1);
3815 if ((size_t)es->cursor >= sizeof(srchpat) - 1)
3816 es->cursor = sizeof(srchpat) - 2;
3818 srchpat[0] = '^';
3820 memmove(srchpat + 1, es->cbuf, es->cursor);
3821 srchpat[es->cursor + 1] = '\0';
4395 c1, srchpat)) < 0) {

Completed in 4683 milliseconds