Searched refs:trans_b (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/diff/src/ |
H A D | context.c | 120 long int trans_a, trans_b; in print_context_number_range() local 121 translate_range (file, a, b, &trans_a, &trans_b); in print_context_number_range() 132 if (trans_b <= trans_a) in print_context_number_range() 133 fprintf (outfile, "%ld", trans_b); in print_context_number_range() 135 fprintf (outfile, "%ld,%ld", trans_a, trans_b); in print_context_number_range() 266 long int trans_a, trans_b; in print_unidiff_number_range() local 267 translate_range (file, a, b, &trans_a, &trans_b); in print_unidiff_number_range() 273 if (trans_b <= trans_a) in print_unidiff_number_range() 274 fprintf (outfile, trans_b < trans_a ? "%ld,0" : "%ld", trans_b); in print_unidiff_number_range() 276 fprintf (outfile, "%ld,%ld", trans_a, trans_b - trans_a + 1); in print_unidiff_number_range()
|
H A D | util.c | 627 long int trans_a, trans_b; in print_number_range() local 628 translate_range (file, a, b, &trans_a, &trans_b); in print_number_range() 633 if (trans_b > trans_a) in print_number_range() 634 fprintf (outfile, "%ld%c%ld", trans_a, sepchar, trans_b); in print_number_range() 636 fprintf (outfile, "%ld", trans_b); in print_number_range()
|