grep_opt 89 builtin/grep.c static void add_work(struct grep_opt *opt, enum grep_source_type type, grep_opt 169 builtin/grep.c struct grep_opt *opt = arg; grep_opt 187 builtin/grep.c static void strbuf_out(struct grep_opt *opt, const void *buf, size_t size) grep_opt 193 builtin/grep.c static void start_threads(struct grep_opt *opt) grep_opt 211 builtin/grep.c struct grep_opt *o = grep_opt_dup(opt); grep_opt 283 builtin/grep.c static int grep_sha1(struct grep_opt *opt, const unsigned char *sha1, grep_opt 316 builtin/grep.c static int grep_file(struct grep_opt *opt, const char *filename) grep_opt 345 builtin/grep.c static void append_path(struct grep_opt *opt, const void *data, size_t len) grep_opt 354 builtin/grep.c static void run_pager(struct grep_opt *opt, const char *prefix) grep_opt 370 builtin/grep.c static int grep_cache(struct grep_opt *opt, const struct pathspec *pathspec, int cached) grep_opt 407 builtin/grep.c static int grep_tree(struct grep_opt *opt, const struct pathspec *pathspec, grep_opt 458 builtin/grep.c static int grep_object(struct grep_opt *opt, const struct pathspec *pathspec, grep_opt 494 builtin/grep.c static int grep_objects(struct grep_opt *opt, const struct pathspec *pathspec, grep_opt 513 builtin/grep.c static int grep_directory(struct grep_opt *opt, const struct pathspec *pathspec, grep_opt 537 builtin/grep.c struct grep_opt *grep_opt = opt->value; grep_opt 542 builtin/grep.c grep_opt->pre_context = grep_opt->post_context = 0; grep_opt 550 builtin/grep.c grep_opt->pre_context = grep_opt->post_context = value; grep_opt 556 builtin/grep.c struct grep_opt *grep_opt = opt->value; grep_opt 570 builtin/grep.c append_grep_pat(grep_opt, sb.buf, sb.len, arg, ++lno, grep_opt 581 builtin/grep.c struct grep_opt *grep_opt = opt->value; grep_opt 582 builtin/grep.c append_grep_pattern(grep_opt, "--not", "command line", 0, GREP_NOT); grep_opt 588 builtin/grep.c struct grep_opt *grep_opt = opt->value; grep_opt 589 builtin/grep.c append_grep_pattern(grep_opt, "--and", "command line", 0, GREP_AND); grep_opt 595 builtin/grep.c struct grep_opt *grep_opt = opt->value; grep_opt 596 builtin/grep.c append_grep_pattern(grep_opt, "(", "command line", 0, GREP_OPEN_PAREN); grep_opt 602 builtin/grep.c struct grep_opt *grep_opt = opt->value; grep_opt 603 builtin/grep.c append_grep_pattern(grep_opt, ")", "command line", 0, GREP_CLOSE_PAREN); grep_opt 610 builtin/grep.c struct grep_opt *grep_opt = opt->value; grep_opt 611 builtin/grep.c append_grep_pattern(grep_opt, arg, "-e option", 0, GREP_PATTERN); grep_opt 627 builtin/grep.c struct grep_opt opt; grep_opt 11 grep.c static struct grep_opt grep_defaults; grep_opt 20 grep.c struct grep_opt *opt = &grep_defaults; grep_opt 66 grep.c struct grep_opt *opt = &grep_defaults; grep_opt 135 grep.c void grep_init(struct grep_opt *opt, const char *prefix) grep_opt 137 grep.c struct grep_opt *def = &grep_defaults; grep_opt 164 grep.c void grep_commit_pattern_type(enum grep_pattern_type pattern_type, struct grep_opt *opt) grep_opt 174 grep.c void grep_set_pattern_type_option(enum grep_pattern_type pattern_type, struct grep_opt *opt) grep_opt 258 grep.c void append_header_grep_pattern(struct grep_opt *opt, grep_opt 268 grep.c void append_grep_pattern(struct grep_opt *opt, const char *pat, grep_opt 274 grep.c void append_grep_pat(struct grep_opt *opt, const char *pat, size_t patlen, grep_opt 281 grep.c struct grep_opt *grep_opt_dup(const struct grep_opt *opt) grep_opt 284 grep.c struct grep_opt *ret = xmalloc(sizeof(struct grep_opt)); grep_opt 319 grep.c static void compile_pcre_regexp(struct grep_pat *p, const struct grep_opt *opt) grep_opt 365 grep.c static void compile_pcre_regexp(struct grep_pat *p, const struct grep_opt *opt) grep_opt 399 grep.c static void compile_regexp(struct grep_pat *p, struct grep_opt *opt) grep_opt 608 grep.c static void dump_grep_expression(struct grep_opt *opt) grep_opt 634 grep.c static struct grep_expr *prep_header_patterns(struct grep_opt *opt) grep_opt 698 grep.c static void compile_grep_patterns_real(struct grep_opt *opt) grep_opt 741 grep.c void compile_grep_patterns(struct grep_opt *opt) grep_opt 766 grep.c void free_grep_patterns(struct grep_opt *opt) grep_opt 811 grep.c static void output_color(struct grep_opt *opt, const void *data, size_t size, grep_opt 822 grep.c static void output_sep(struct grep_opt *opt, char sign) grep_opt 830 grep.c static void show_name(struct grep_opt *opt, const char *name) grep_opt 1026 grep.c static int match_expr(struct grep_opt *opt, char *bol, char *eol, grep_opt 1033 grep.c static int match_line(struct grep_opt *opt, char *bol, char *eol, grep_opt 1071 grep.c static int next_match(struct grep_opt *opt, char *bol, char *eol, grep_opt 1095 grep.c static void show_line(struct grep_opt *opt, char *bol, char *eol, grep_opt 1196 grep.c static int match_funcname(struct grep_opt *opt, struct grep_source *gs, char *bol, char *eol) grep_opt 1222 grep.c static void show_funcname_line(struct grep_opt *opt, struct grep_source *gs, grep_opt 1242 grep.c static void show_pre_context(struct grep_opt *opt, struct grep_source *gs, grep_opt 1286 grep.c static int should_lookahead(struct grep_opt *opt) grep_opt 1301 grep.c static int look_ahead(struct grep_opt *opt, grep_opt 1342 grep.c static void std_output(struct grep_opt *opt, const void *buf, size_t size) grep_opt 1399 grep.c static int grep_source_1(struct grep_opt *opt, struct grep_source *gs, int collect_hits) grep_opt 1623 grep.c int grep_source(struct grep_opt *opt, struct grep_source *gs) grep_opt 1644 grep.c int grep_buffer(struct grep_opt *opt, char *buf, unsigned long size) grep_opt 140 grep.h void (*output)(struct grep_opt *opt, const void *data, size_t size); grep_opt 146 grep.h extern void grep_init(struct grep_opt *, const char *prefix); grep_opt 147 grep.h void grep_set_pattern_type_option(enum grep_pattern_type, struct grep_opt *opt); grep_opt 148 grep.h void grep_commit_pattern_type(enum grep_pattern_type, struct grep_opt *opt); grep_opt 150 grep.h extern void append_grep_pat(struct grep_opt *opt, const char *pat, size_t patlen, const char *origin, int no, enum grep_pat_token t); grep_opt 151 grep.h extern void append_grep_pattern(struct grep_opt *opt, const char *pat, const char *origin, int no, enum grep_pat_token t); grep_opt 152 grep.h extern void append_header_grep_pattern(struct grep_opt *, enum grep_header_field, const char *); grep_opt 153 grep.h extern void compile_grep_patterns(struct grep_opt *opt); grep_opt 154 grep.h extern void free_grep_patterns(struct grep_opt *opt); grep_opt 155 grep.h extern int grep_buffer(struct grep_opt *opt, char *buf, unsigned long size); grep_opt 182 grep.h int grep_source(struct grep_opt *opt, struct grep_source *gs); grep_opt 184 grep.h extern struct grep_opt *grep_opt_dup(const struct grep_opt *opt); grep_opt 185 grep.h extern int grep_threads_ok(const struct grep_opt *opt); grep_opt 171 revision.h struct grep_opt grep_filter;