Lines Matching refs:apply_state

39 static int parse_whitespace_option(struct apply_state *state, const char *option)  in parse_whitespace_option()
73 static int parse_ignorewhitespace_option(struct apply_state *state, in parse_ignorewhitespace_option()
89 int init_apply_state(struct apply_state *state, in init_apply_state()
117 void clear_apply_state(struct apply_state *state) in clear_apply_state()
131 int check_apply_state(struct apply_state *state, int force_apply) in check_apply_state()
171 static void set_default_whitespace_mode(struct apply_state *state) in set_default_whitespace_mode()
726 static int guess_p_value(struct apply_state *state, const char *nameline) in guess_p_value()
835 static int parse_traditional_patch(struct apply_state *state, in parse_traditional_patch()
1516 static int find_header(struct apply_state *state, in find_header()
1596 static void record_ws_error(struct apply_state *state, in record_ws_error()
1619 static void check_whitespace(struct apply_state *state, in check_whitespace()
1648 static int parse_fragment(struct apply_state *state, in parse_fragment()
1770 static int parse_single_patch(struct apply_state *state, in parse_single_patch()
1875 static struct fragment *parse_binary_hunk(struct apply_state *state, in parse_binary_hunk()
1988 static int parse_binary(struct apply_state *state, in parse_binary()
2038 static void prefix_one(struct apply_state *state, char **name) in prefix_one()
2047 static void prefix_patch(struct apply_state *state, struct patch *p) in prefix_patch()
2059 static void add_name_limit(struct apply_state *state, in add_name_limit()
2069 static int use_patch(struct apply_state *state, struct patch *p) in use_patch()
2107 static int parse_chunk(struct apply_state *state, char *buffer, unsigned long size, struct patch *p… in parse_chunk()
2208 static void show_stats(struct apply_state *state, struct patch *patch) in show_stats()
2446 static int match_fragment(struct apply_state *state, in match_fragment()
2652 static int find_pos(struct apply_state *state, in find_pos()
2758 static void update_image(struct apply_state *state, in update_image()
2832 static int apply_one_fragment(struct apply_state *state, in apply_one_fragment()
3088 static int apply_binary_fragment(struct apply_state *state, in apply_binary_fragment()
3136 static int apply_binary(struct apply_state *state, in apply_binary()
3216 static int apply_fragments(struct apply_state *state, struct image *img, struct patch *patch) in apply_fragments()
3266 static struct patch *in_fn_table(struct apply_state *state, const char *name) in in_fn_table()
3305 static void add_to_fn_table(struct apply_state *state, struct patch *patch) in add_to_fn_table()
3329 static void prepare_fn_table(struct apply_state *state, struct patch *patch) in prepare_fn_table()
3357 static struct patch *previous_patch(struct apply_state *state, in previous_patch()
3380 static int verify_index_match(struct apply_state *state, in verify_index_match()
3395 static int load_patch_target(struct apply_state *state, in load_patch_target()
3429 static int load_preimage(struct apply_state *state, in load_preimage()
3486 static int three_way_merge(struct apply_state *state, in three_way_merge()
3531 static int load_current(struct apply_state *state, in load_current()
3570 static int try_threeway(struct apply_state *state, in try_threeway()
3653 static int apply_data(struct apply_state *state, struct patch *patch, in apply_data()
3692 static int check_preimage(struct apply_state *state, in check_preimage()
3769 static int check_to_create(struct apply_state *state, in check_to_create()
3815 static uintptr_t register_symlink_changes(struct apply_state *state, in register_symlink_changes()
3830 static uintptr_t check_symlink_changes(struct apply_state *state, const char *path) in check_symlink_changes()
3840 static void prepare_symlink_changes(struct apply_state *state, struct patch *patch) in prepare_symlink_changes()
3854 static int path_is_beyond_symlink_1(struct apply_state *state, struct strbuf *name) in path_is_beyond_symlink_1()
3891 static int path_is_beyond_symlink(struct apply_state *state, const char *name_) in path_is_beyond_symlink()
3926 static int check_patch(struct apply_state *state, struct patch *patch) in check_patch()
4032 static int check_patch_list(struct apply_state *state, struct patch *patch) in check_patch_list()
4052 static int read_apply_cache(struct apply_state *state) in read_apply_cache()
4062 static int get_current_oid(struct apply_state *state, const char *path, in get_current_oid()
4111 static int build_fake_ancestor(struct apply_state *state, struct patch *list) in build_fake_ancestor()
4169 static void stat_patch_list(struct apply_state *state, struct patch *patch) in stat_patch_list()
4183 static void numstat_patch_list(struct apply_state *state, in numstat_patch_list()
4275 static void patch_stats(struct apply_state *state, struct patch *patch) in patch_stats()
4297 static int remove_file(struct apply_state *state, struct patch *patch, int rmdir_empty) in remove_file()
4311 static int add_index_file(struct apply_state *state, in add_index_file()
4367 static int try_create_file(struct apply_state *state, const char *path, in try_create_file()
4416 static int create_one_file(struct apply_state *state, in create_one_file()
4476 static int add_conflicted_stages_file(struct apply_state *state, in add_conflicted_stages_file()
4508 static int create_file(struct apply_state *state, struct patch *patch) in create_file()
4528 static int write_out_one_result(struct apply_state *state, in write_out_one_result()
4553 static int write_out_one_reject(struct apply_state *state, struct patch *patch) in write_out_one_reject()
4633 static int write_out_results(struct apply_state *state, struct patch *list) in write_out_results()
4693 static int apply_patch(struct apply_state *state, in apply_patch()
4832 struct apply_state *state = opt->value; in apply_option_parse_exclude()
4843 struct apply_state *state = opt->value; in apply_option_parse_include()
4856 struct apply_state *state = opt->value; in apply_option_parse_p()
4868 struct apply_state *state = opt->value; in apply_option_parse_space_change()
4882 struct apply_state *state = opt->value; in apply_option_parse_whitespace()
4895 struct apply_state *state = opt->value; in apply_option_parse_directory()
4905 int apply_all_patches(struct apply_state *state, in apply_all_patches()
5011 struct apply_state *state, in apply_parse_options()