Home
last modified time | relevance | path

Searched refs:diff_result (Results 1 – 12 of 12) sorted by relevance

/freebsd-src/contrib/libdiff/include/
H A Ddiff_output.h56 const struct diff_result *result,
60 const struct diff_result *result,
64 const struct diff_result *result);
66 const struct diff_result *r,
69 const struct diff_result *r,
72 const struct diff_result *r,
75 const struct diff_result *r,
79 struct diff_chunk *diff_chunk_get(const struct diff_result *r, int chunk_idx);
83 const struct diff_result *r,
87 struct diff_result *resul
[all...]
H A Ddiff_main.h133 struct diff_result { struct
261 struct diff_result *diff_main(const struct diff_config *config,
264 void diff_result_free(struct diff_result *result);
265 int diff_result_contains_printable_chunks(struct diff_result *result);
/freebsd-src/contrib/libdiff/test/
H A Dresults_test.c15 struct diff_result *result = malloc(sizeof(struct diff_result)); in test_minus_after_plus()
33 *result = (struct diff_result) { in test_minus_after_plus()
93 struct diff_result *result = malloc(sizeof(struct diff_result)); in test_plus_after_plus()
111 *result = (struct diff_result) { in test_plus_after_plus()
/freebsd-src/contrib/libdiff/lib/
H A Ddiff_output_unidiff.c53 const struct diff_result *r, int context_lines) in diff_chunk_get_left_start()
61 const struct diff_result *r, int context_lines) in diff_chunk_get_left_end()
70 const struct diff_result *r, int context_lines) in diff_chunk_get_right_start()
78 const struct diff_result *r, int context_lines) in diff_chunk_get_right_end()
86 diff_chunk_get(const struct diff_result *r, int chunk_idx) in diff_chunk_get()
104 diff_chunk_context_get(struct diff_chunk_context *cc, const struct diff_result *r, in diff_chunk_context_get()
150 struct diff_result *result, in diff_chunk_context_load_change()
238 const struct diff_result *result, in output_unidiff_chunk()
422 const struct diff_result *result, in diff_output_unidiff_chunk()
444 const struct diff_result *result, in diff_output_unidiff()
H A Ddiff_internal.h114 struct diff_result *result;
150 const struct diff_result *result,
H A Ddiff_main.c608 struct diff_result *
612 struct diff_result *result = malloc(sizeof(struct diff_result)); in diff_main()
616 *result = (struct diff_result){}; in diff_main()
641 diff_result_free(struct diff_result *result) in diff_result_free()
650 diff_result_contains_printable_chunks(struct diff_result *result) in diff_result_contains_printable_chunks()
H A Ddiff_output.c178 const struct diff_result *result, in diff_output_chunk_right_version()
213 const struct diff_result *result, in diff_output_trailing_newline_msg()
309 int *last_prototype_idx, const struct diff_result *result, in diff_output_match_function_prototype()
H A Ddiff_output_edscript.c34 const struct diff_result *result, in output_edscript_chunk()
113 const struct diff_result *result) in diff_output_edscript()
H A Ddiff_output_plain.c33 const struct diff_result *result, in output_plain_chunk()
156 const struct diff_result *result, int hunk_headers_only) in diff_output_plain()
/freebsd-src/contrib/diff/src/
H A Ddiff3.c1138 char *diff_result; in read_diff() local
1230 diff_result = xmalloc (current_chunk_size); in read_diff()
1236 size_t bytes = block_read (fd, diff_result + total, bytes_to_read); in read_diff()
1247 diff_result = xrealloc (diff_result, current_chunk_size); in read_diff()
1250 if (total != 0 && diff_result[total-1] != '\n') in read_diff()
1253 *output_placement = diff_result; in read_diff()
1283 return diff_result + total; in read_diff()
/freebsd-src/contrib/libdiff/diff/
H A Ddiff.c198 struct diff_result *result = NULL; in diffreg()
/freebsd-src/usr.bin/diff/
H A Ddiffreg_new.c152 struct diff_result *result = NULL; in diffreg_new()