fragment 170 builtin/apply.c struct fragment *next; fragment 203 builtin/apply.c struct fragment *fragments; fragment 214 builtin/apply.c static void free_fragment_list(struct fragment *list) fragment 217 builtin/apply.c struct fragment *next = list->next; fragment 1379 builtin/apply.c static void recount_diff(const char *line, int size, struct fragment *fragment) fragment 1425 builtin/apply.c fragment->oldlines = oldlines; fragment 1426 builtin/apply.c fragment->newlines = newlines; fragment 1433 builtin/apply.c static int parse_fragment_header(const char *line, int len, struct fragment *fragment) fragment 1441 builtin/apply.c offset = parse_range(line, len, 4, " +", &fragment->oldpos, &fragment->oldlines); fragment 1442 builtin/apply.c offset = parse_range(line, len, offset, " @@", &fragment->newpos, &fragment->newlines); fragment 1473 builtin/apply.c struct fragment dummy; fragment 1564 builtin/apply.c struct patch *patch, struct fragment *fragment) fragment 1571 builtin/apply.c offset = parse_fragment_header(line, len, fragment); fragment 1575 builtin/apply.c recount_diff(line + offset, size - offset, fragment); fragment 1576 builtin/apply.c oldlines = fragment->oldlines; fragment 1577 builtin/apply.c newlines = fragment->newlines; fragment 1644 builtin/apply.c fragment->leading = leading; fragment 1645 builtin/apply.c fragment->trailing = trailing; fragment 1677 builtin/apply.c struct fragment **fragp = &patch->fragments; fragment 1680 builtin/apply.c struct fragment *fragment; fragment 1683 builtin/apply.c fragment = xcalloc(1, sizeof(*fragment)); fragment 1684 builtin/apply.c fragment->linenr = linenr; fragment 1685 builtin/apply.c len = parse_fragment(line, size, patch, fragment); fragment 1688 builtin/apply.c fragment->patch = line; fragment 1689 builtin/apply.c fragment->size = len; fragment 1690 builtin/apply.c oldlines += fragment->oldlines; fragment 1691 builtin/apply.c newlines += fragment->newlines; fragment 1692 builtin/apply.c context += fragment->leading + fragment->trailing; fragment 1694 builtin/apply.c *fragp = fragment; fragment 1695 builtin/apply.c fragp = &fragment->next; fragment 1773 builtin/apply.c static struct fragment *parse_binary_hunk(char **buf_p, fragment 1797 builtin/apply.c struct fragment *frag; fragment 1895 builtin/apply.c struct fragment *forward; fragment 1896 builtin/apply.c struct fragment *reverse; fragment 2072 builtin/apply.c struct fragment *frag = p->fragments; fragment 2679 builtin/apply.c static int apply_one_fragment(struct image *img, struct fragment *frag, fragment 2933 builtin/apply.c struct fragment *fragment = patch->fragments; fragment 2937 builtin/apply.c if (!fragment) fragment 2945 builtin/apply.c if (!fragment->next) fragment 2950 builtin/apply.c fragment = fragment->next; fragment 2952 builtin/apply.c switch (fragment->binary_patch_method) { fragment 2954 builtin/apply.c dst = patch_delta(img->buf, img->len, fragment->patch, fragment 2955 builtin/apply.c fragment->size, &len); fragment 2964 builtin/apply.c img->len = fragment->size; fragment 2965 builtin/apply.c img->buf = xmemdupz(fragment->patch, img->len); fragment 3054 builtin/apply.c struct fragment *frag = patch->fragments; fragment 3849 builtin/apply.c struct fragment *hunk = p->fragments; fragment 4249 builtin/apply.c struct fragment *frag;