pattern           124 attr.c         	const char *pattern;
pattern           146 attr.c         		struct pattern pat;
pattern           259 attr.c         		res->u.pat.pattern = p;
pattern           260 attr.c         		parse_exclude_pattern(&res->u.pat.pattern,
pattern           636 attr.c         			const struct pattern *pat,
pattern           639 attr.c         	const char *pattern = pat->pattern;
pattern           649 attr.c         				      pattern, prefix,
pattern           654 attr.c         			      pattern, prefix, pat->patternlen, pat->flags);
pattern           671 attr.c         				  a->is_macro ? a->u.attr->name : a->u.pat.pattern,
pattern           314 builtin/branch.c 	const char **pattern;
pattern           318 builtin/branch.c static int match_patterns(const char **pattern, const char *refname)
pattern           320 builtin/branch.c 	if (!*pattern)
pattern           322 builtin/branch.c 	while (*pattern) {
pattern           323 builtin/branch.c 		if (!wildmatch(*pattern, refname, 0, NULL))
pattern           325 builtin/branch.c 		pattern++;
pattern           362 builtin/branch.c 	if (!match_patterns(cb->pattern, refname))
pattern           622 builtin/branch.c static int print_ref_list(int kinds, int detached, int verbose, int abbrev, struct commit_list *with_commit, const char **pattern)
pattern           636 builtin/branch.c 	cb.pattern = pattern;
pattern           674 builtin/branch.c 	if (detached && match_patterns(pattern, "HEAD"))
pattern            44 builtin/check-ignore.c 				       bang, exclude->pattern, slash);
pattern            60 builtin/check-ignore.c 				       bang, exclude->pattern, slash, '\0',
pattern           230 builtin/commit.c 		      const char *prefix, const struct pathspec *pattern)
pattern           235 builtin/commit.c 	if (!pattern->nr)
pattern           238 builtin/commit.c 	m = xcalloc(1, pattern->nr);
pattern           241 builtin/commit.c 		char *max_prefix = common_prefix(pattern);
pattern           252 builtin/commit.c 		if (!ce_path_match(ce, pattern, m))
pattern           259 builtin/commit.c 	ret = report_path_error(m, pattern, prefix);
pattern            31 builtin/describe.c static const char *pattern;
pattern           133 builtin/describe.c 	if (pattern && (!is_tag || wildmatch(pattern, path + 10, 0, NULL)))
pattern           407 builtin/describe.c 		OPT_STRING(0, "match",       &pattern, N_("pattern"),
pattern           443 builtin/describe.c 			if (pattern)
pattern           444 builtin/describe.c 				argv_array_pushf(&args, "--refs=refs/tags/%s", pattern);
pattern           362 builtin/fetch.c 				    !remote->fetch[0].pattern)
pattern           882 builtin/grep.c 					opt.pattern_list->pattern);
pattern            14 builtin/ls-remote.c static int tail_match(const char **pattern, const char *path)
pattern            19 builtin/ls-remote.c 	if (!pattern)
pattern            24 builtin/ls-remote.c 	while ((p = *(pattern++)) != NULL) {
pattern            40 builtin/ls-remote.c 	const char **pattern = NULL;
pattern            95 builtin/ls-remote.c 		pattern = xcalloc(argc - i + 1, sizeof(const char *));
pattern           100 builtin/ls-remote.c 			pattern[j - i] = p;
pattern           130 builtin/ls-remote.c 		if (!tail_match(pattern, ref->name))
pattern           404 builtin/reflog.c 	char pattern[FLEX_ARRAY];
pattern           407 builtin/reflog.c static struct reflog_expire_cfg *find_cfg_ent(const char *pattern, size_t len)
pattern           416 builtin/reflog.c 		    !memcmp(ent->pattern, pattern, len))
pattern           420 builtin/reflog.c 	memcpy(ent->pattern, pattern, len);
pattern           443 builtin/reflog.c 	const char *pattern, *key;
pattern           449 builtin/reflog.c 	if (parse_config_key(var, "gc", &pattern, &pattern_len, &key) < 0)
pattern           463 builtin/reflog.c 	if (!pattern) {
pattern           475 builtin/reflog.c 	ent = find_cfg_ent(pattern, pattern_len);
pattern           497 builtin/reflog.c 		if (!wildmatch(ent->pattern, ref, 0, NULL)) {
pattern           465 builtin/remote.c 	refspec.pattern = 1;
pattern            34 builtin/replace.c 	const char *pattern;
pattern            43 builtin/replace.c 	if (!wildmatch(data->pattern, refname, 0, NULL)) {
pattern            66 builtin/replace.c static int list_replace_refs(const char *pattern, const char *format)
pattern            70 builtin/replace.c 	if (pattern == NULL)
pattern            71 builtin/replace.c 		pattern = "*";
pattern            72 builtin/replace.c 	data.pattern = pattern;
pattern            17 builtin/show-ref.c static const char **pattern;
pattern            46 builtin/show-ref.c 	if (pattern) {
pattern            48 builtin/show-ref.c 		const char **p = pattern, *m;
pattern           205 builtin/show-ref.c 	pattern = argv;
pattern           206 builtin/show-ref.c 	if (!*pattern)
pattern           207 builtin/show-ref.c 		pattern = NULL;
pattern           210 builtin/show-ref.c 		if (!pattern)
pattern           212 builtin/show-ref.c 		while (*pattern) {
pattern           215 builtin/show-ref.c 			if (starts_with(*pattern, "refs/") &&
pattern           216 builtin/show-ref.c 			    !read_ref(*pattern, oid.hash)) {
pattern           218 builtin/show-ref.c 					show_one(*pattern, &oid);
pattern           221 builtin/show-ref.c 				die("'%s' - not a valid ref", *pattern);
pattern           224 builtin/show-ref.c 			pattern++;
pattern           872 cache.h        int git_mkstemps_mode(char *pattern, int suffix_len, int mode);
pattern           873 cache.h        int git_mkstemp_mode(char *pattern, int mode);
pattern            20 compat/apple-common-crypto.h #define git_CC_error_check(pattern, err) \
pattern            23 compat/apple-common-crypto.h 			die(pattern, (long)CFErrorGetCode(err)); \
pattern            23 compat/regex/regcomp.c static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern,
pattern           235 compat/regex/regcomp.c re_compile_pattern (const char *pattern,
pattern           249 compat/regex/regcomp.c   ret = re_compile_internal (bufp, pattern, length, re_syntax_options);
pattern           487 compat/regex/regcomp.c 	 const char *__restrict pattern,
pattern           518 compat/regex/regcomp.c   ret = re_compile_internal (preg, pattern, strlen (pattern), syntax);
pattern           743 compat/regex/regcomp.c re_compile_internal (regex_t *preg, const char * pattern, size_t length,
pattern           786 compat/regex/regcomp.c   strncpy (dfa->re_str, pattern, length + 1);
pattern           791 compat/regex/regcomp.c   err = re_string_construct (&regexp, pattern, length, preg->translate,
pattern            34 compat/regex/regex.c # define regcomp(preg, pattern, cflags) __regcomp (preg, pattern, cflags)
pattern            45 compat/regex/regex.c # define re_compile_pattern(pattern, length, bufp) \
pattern            46 compat/regex/regex.c 	__re_compile_pattern (pattern, length, bufp)
pattern            23 compat/win32/dirent.c 	wchar_t pattern[MAX_PATH + 2]; /* + 2 for '/' '*' */
pattern            30 compat/win32/dirent.c 	if ((len = xutftowcs_path(pattern, name)) < 0)
pattern            34 compat/win32/dirent.c 	if (len && !is_dir_sep(pattern[len - 1]))
pattern            35 compat/win32/dirent.c 		pattern[len++] = '/';
pattern            36 compat/win32/dirent.c 	pattern[len++] = '*';
pattern            37 compat/win32/dirent.c 	pattern[len] = 0;
pattern            40 compat/win32/dirent.c 	h = FindFirstFileW(pattern, &fdata);
pattern          2253 diff.c         	return one->driver->funcname.pattern ? &one->driver->funcname : NULL;
pattern          2444 diff.c         			xdiff_set_find_func(&xecfg, pe->pattern, pe->cflags);
pattern            67 dir.c          int fnmatch_icase(const char *pattern, const char *string, int flags)
pattern            69 dir.c          	return wildmatch(pattern, string,
pattern            75 dir.c          		const char *pattern, const char *string,
pattern            79 dir.c          		if (ps_strncmp(item, pattern, string, prefix))
pattern            81 dir.c          		pattern += prefix;
pattern            85 dir.c          		int pattern_len = strlen(++pattern);
pattern            88 dir.c          			ps_strcmp(item, pattern,
pattern            92 dir.c          		return wildmatch(pattern, string,
pattern            98 dir.c          		return wildmatch(pattern, string,
pattern           103 dir.c          static int fnmatch_icase_mem(const char *pattern, int patternlen,
pattern           110 dir.c          	const char *use_pat = pattern;
pattern           113 dir.c          	if (pattern[patternlen]) {
pattern           114 dir.c          		strbuf_add(&pat_buf, pattern, patternlen);
pattern           458 dir.c          void parse_exclude_pattern(const char **pattern,
pattern           463 dir.c          	const char *p = *pattern;
pattern           492 dir.c          	*pattern = p;
pattern           511 dir.c          		x->pattern = s;
pattern           514 dir.c          		x->pattern = string;
pattern           810 dir.c          		   const char *pattern, int prefix, int patternlen,
pattern           815 dir.c          		    !strncmp_icase(pattern, basename, basenamelen))
pattern           820 dir.c          		    !strncmp_icase(pattern + 1,
pattern           825 dir.c          		if (fnmatch_icase_mem(pattern, patternlen,
pattern           835 dir.c          		   const char *pattern, int prefix, int patternlen,
pattern           845 dir.c          	if (*pattern == '/') {
pattern           846 dir.c          		pattern++;
pattern           871 dir.c          		if (strncmp_icase(pattern, name, prefix))
pattern           873 dir.c          		pattern += prefix;
pattern           887 dir.c          	return fnmatch_icase_mem(pattern, patternlen,
pattern           911 dir.c          		const char *exclude = x->pattern;
pattern            25 dir.h          	const char *pattern;
pattern           275 dir.h          extern int fnmatch_icase(const char *pattern, const char *string, int flags);
pattern           282 dir.h          		       const char *pattern, const char *string,
pattern           257 environment.c  int odb_mkstemp(char *template, size_t limit, const char *pattern)
pattern           266 environment.c  		 get_object_directory(), pattern);
pattern           274 environment.c  		 get_object_directory(), pattern);
pattern           733 git-compat-util.h extern int odb_mkstemp(char *template, size_t limit, const char *pattern);
pattern           212 grep.c         	p->pattern = xmemdupz(pat, patlen);
pattern           234 grep.c         			char *cp = p->pattern + p->patternlen, *nl = NULL;
pattern           294 grep.c         						   pat->pattern);
pattern           296 grep.c         			append_grep_pat(ret, pat->pattern, pat->patternlen,
pattern           315 grep.c         	die("%s'%s': %s", where, p->pattern, error);
pattern           328 grep.c         	p->pcre_regexp = pcre_compile(p->pattern, options, &error, &erroffset,
pattern           406 grep.c         	if (opt->fixed || is_fixed(p->pattern, p->patternlen))
pattern           416 grep.c         		kwsincr(p->kws, p->pattern, p->patternlen);
pattern           426 grep.c         	err = regcomp(&p->regexp, p->pattern, opt->regflags);
pattern           522 grep.c         			die("not a pattern expression %s", p->pattern);
pattern           569 grep.c         		fprintf(stderr, "%.*s", (int)p->patternlen, p->pattern);
pattern           725 grep.c         		die("incomplete pattern expression: %s", p->pattern);
pattern           782 grep.c         			free(p->pattern);
pattern          1201 grep.c         		if (gs->driver->funcname.pattern) {
pattern          1203 grep.c         			xdiff_set_find_func(xecfg, pe->pattern, pe->cflags);
pattern            45 grep.h         	char *pattern;
pattern           619 http-backend.c 	const char *pattern;
pattern           660 http-backend.c 		if (regcomp(&re, c->pattern, REG_EXTENDED))
pattern           661 http-backend.c 			die("Bogus regex in service table: %s", c->pattern);
pattern          1599 http-push.c    static int delete_remote_branch(const char *pattern, int force)
pattern          1606 http-push.c    	int patlen = strlen(pattern);
pattern          1617 http-push.c    		    memcmp(name + namelen - patlen, pattern, patlen))
pattern          1625 http-push.c    		return error("No remote branch matches %s", pattern);
pattern          1628 http-push.c    			     pattern);
pattern          1669 http-push.c    				     remote_ref->name, repo->url, pattern);
pattern           229 imap-send.c    static int host_matches(const char *host, const char *pattern)
pattern           231 imap-send.c    	if (pattern[0] == '*' && pattern[1] == '.') {
pattern           232 imap-send.c    		pattern += 2;
pattern           238 imap-send.c    	return *host && *pattern && !strcasecmp(host, pattern);
pattern           170 line-range.c   	char *pattern;
pattern           196 line-range.c   	pattern = xstrndup(arg+1, term-(arg+1));
pattern           202 line-range.c   	if (drv && drv->funcname.pattern) {
pattern           205 line-range.c   		xdiff_set_find_func(xecfg, pe->pattern, pe->cflags);
pattern           208 line-range.c   	reg_error = regcomp(&regexp, pattern, REG_NEWLINE);
pattern           212 line-range.c   		die("-L parameter '%s': %s", pattern, errbuf);
pattern           218 line-range.c   		    pattern, anchor + 1);
pattern           224 line-range.c   		die("-L parameter '%s' matches at EOF", pattern);
pattern           237 line-range.c   	free(pattern);
pattern           330 pathspec.c     static void NORETURN unsupported_magic(const char *pattern,
pattern           354 pathspec.c     	    pattern, sb.buf);
pattern           826 ref-filter.c   static int match_name_as_path(const char **pattern, const char *refname)
pattern           829 ref-filter.c   	for (; *pattern; pattern++) {
pattern           830 ref-filter.c   		const char *p = *pattern;
pattern          1775 refs.c         	const char *pattern;
pattern          1803 refs.c         	if (wildmatch(filter->pattern, refname, 0, NULL))
pattern          2178 refs.c         int for_each_glob_ref_in(each_ref_fn fn, const char *pattern,
pattern          2185 refs.c         	if (!prefix && !starts_with(pattern, "refs/"))
pattern          2189 refs.c         	strbuf_addstr(&real_pattern, pattern);
pattern          2191 refs.c         	if (!has_glob_specials(pattern)) {
pattern          2199 refs.c         	filter.pattern = real_pattern.buf;
pattern          2208 refs.c         int for_each_glob_ref(each_ref_fn fn, const char *pattern, void *cb_data)
pattern          2210 refs.c         	return for_each_glob_ref_in(fn, pattern, NULL, cb_data);
pattern           180 refs.h         extern int for_each_glob_ref(each_ref_fn fn, const char *pattern, void *cb_data);
pattern           181 refs.h         extern int for_each_glob_ref_in(each_ref_fn fn, const char *pattern, const char *prefix, void *cb_data);
pattern           197 refs.h         static inline const char *has_glob_specials(const char *pattern)
pattern           199 refs.h         	return strpbrk(pattern, "?*[");
pattern           578 remote.c       		rs[i].pattern = is_glob;
pattern           904 remote.c       		if (refspec->pattern) {
pattern           930 remote.c       		if (refspec->pattern) {
pattern          1047 remote.c       int count_refspec_match(const char *pattern,
pattern          1051 remote.c       	int patlen = strlen(pattern);
pattern          1061 remote.c       		if (!refname_match(pattern, name))
pattern          1202 remote.c       	if (rs->pattern || rs->matching)
pattern          1286 remote.c       		if (rs[i].pattern) {
pattern          1452 remote.c       		if (rs->pattern || rs->matching)
pattern          1921 remote.c       	if (refspec->pattern) {
pattern            70 remote.h       	unsigned pattern : 1;
pattern          1693 revision.c     static void add_header_grep(struct rev_info *revs, enum grep_header_field field, const char *pattern)
pattern          1695 revision.c     	append_header_grep_pattern(&revs->grep_filter, field, pattern);
pattern          1698 revision.c     static void add_message_grep(struct rev_info *revs, const char *pattern)
pattern          1700 revision.c     	add_grep(revs, pattern, GREP_PATTERN_BODY);
pattern             9 userdiff.c     #define PATTERNS(name, pattern, word_regex)			\
pattern            10 userdiff.c     	{ name, NULL, -1, { pattern, REG_EXTENDED },		\
pattern            12 userdiff.c     #define IPATTERN(name, pattern, word_regex)			\
pattern            13 userdiff.c     	{ name, NULL, -1, { pattern, REG_EXTENDED | REG_ICASE }, \
pattern           189 userdiff.c     	if (git_config_string(&f->pattern, k, v) < 0)
pattern             7 userdiff.h     	const char *pattern;
pattern            58 wildmatch.c    	const uchar *pattern = p;
pattern            91 wildmatch.c    				else if ((prev_p < pattern || *prev_p == '/') &&
pattern           275 wildmatch.c    int wildmatch(const char *pattern, const char *text,
pattern           278 wildmatch.c    	return dowild((const uchar*)pattern, (const uchar*)text, flags);
pattern            15 wildmatch.h    int wildmatch(const char *pattern, const char *text,
pattern           439 wrapper.c      int git_mkstemps_mode(char *pattern, int suffix_len, int mode)
pattern           452 wrapper.c      	len = strlen(pattern);
pattern           459 wrapper.c      	if (strncmp(&pattern[len - 6 - suffix_len], "XXXXXX", 6)) {
pattern           470 wrapper.c      	template = &pattern[len - 6 - suffix_len];
pattern           481 wrapper.c      		fd = open(pattern, O_CREAT | O_EXCL | O_RDWR, mode);
pattern           498 wrapper.c      	pattern[0] = '\0';
pattern           502 wrapper.c      int git_mkstemp_mode(char *pattern, int mode)
pattern           505 wrapper.c      	return git_mkstemps_mode(pattern, 0, mode);
pattern           509 wrapper.c      int gitmkstemps(char *pattern, int suffix_len)
pattern           511 wrapper.c      	return git_mkstemps_mode(pattern, suffix_len, 0600);
pattern           825 wt-status.c    	struct strbuf pattern = STRBUF_INIT;
pattern           827 wt-status.c    	strbuf_addf(&pattern, "\n%c %s", comment_line_char, cut_line);
pattern           828 wt-status.c    	if (starts_with(buf->buf, pattern.buf + 1))
pattern           830 wt-status.c    	else if ((p = strstr(buf->buf, pattern.buf)))
pattern           832 wt-status.c    	strbuf_release(&pattern);