Lines Matching refs:pattern
44 * 5pattern change pattern -- NOT USED
45 * 6pattern find pattern
50 find c|d|e|f|g|i|s|t buffer|pattern\n\
53 e: find pattern\n\
77 "Query the databases for a pattern", FINDHELP },
457 cscope_find(SCR *sp, EXCMD *cmdp, CHAR_T *pattern)
497 INT2CHAR(sp, pattern, STRLEN(pattern) + 1, np, nlen);
601 create_cs_cmd(SCR *sp, char *pattern, size_t *searchp)
609 * Cscope supports a "change pattern" command which we never use,
611 * can't pass " " as the first character of pattern. That way the
612 * user can't ask for pattern 5 so we don't need any special-case
617 if (pattern == NULL)
621 for (; cmdskip(pattern[0]); ++pattern);
622 if (pattern[0] == '\0' || !cmdskip(pattern[1]))
625 *p != '\0' && *p != pattern[0]; ++*searchp, ++p);
629 KEY_NAME(sp, pattern[0]), CSCOPE_QUERIES);
633 /* Skip <blank> characters to the pattern. */
634 for (p = pattern + 1; *p != '\0' && cmdskip(*p); ++p);
640 /* The user can specify the contents of a buffer as the pattern. */
656 tqp->tag[0] = pattern[0];
713 * <filename> <context> <line number> <pattern>
734 /* The rest of the string is the search pattern. */
1019 /* If we don't have a search pattern, use the line number. */
1050 * Tags move to the first non-blank, NOT the search pattern start.