Lines Matching defs:pattern
45 char newpat[PATLEN + 1]; /* new pattern */
46 char pattern[PATLEN + 1]; /* symbol or text pattern */
331 case ctrl('A'): /* repeat last pattern */
333 if (*pattern != '\0') {
334 (void) addstr(pattern);
347 "End of input field and search pattern history");
354 (void) strcpy(pattern, item->text);
399 /* this is the start of a pattern */
403 (void) strcpy(pattern, newpat);
406 addcmd(field, pattern); /* add to history */
414 /* search for the pattern */
433 } else { /* no pattern--the input was erased */
638 for (s = pattern; *s != '\0'; ++s) { /* old text */