Lines Matching refs:ctxt

35 /// @param ctxt the current diff context.
39 emit_num_value(uint64_t value, const diff_context& ctxt, ostream& out)
41 if (ctxt.show_hex_values())
53 /// @param ctxt the current diff context to consider.
58 maybe_convert_bits_to_bytes(uint64_t bits, const diff_context& ctxt)
60 if (ctxt.show_offsets_sizes_in_bits())
88 /// @param ctxt the current diff context to consider.
99 const diff_context& ctxt,
105 ? maybe_convert_bits_to_bytes(old_bits, ctxt)
108 ? maybe_convert_bits_to_bytes(new_bits, ctxt)
111 (!can_convert_bits_to_bytes || ctxt.show_offsets_sizes_in_bits ())
116 emit_num_value(o, ctxt, out);
118 emit_num_value(n, ctxt, out);
135 /// @param ctxt the diff context to take into account.
141 const diff_context& ctxt,
147 v = maybe_convert_bits_to_bytes(v, ctxt);
149 (!can_convert_bits_to_bytes || ctxt.show_offsets_sizes_in_bits())
155 emit_num_value(v, ctxt, out);
165 /// @param ctxt the diff context to take into account.
170 const diff_context& ctxt,
172 {show_offset_or_size("", value, ctxt, out);}
176 /// @param ctxt the current diff context.
182 represent(const diff_context& ctxt,
194 report_loc_info(meth, ctxt, out);
206 ctxt, out);
208 emit_num_value(biggest_voffset, ctxt, out);
212 if (ctxt.show_linkage_names()
226 /// @param ctxt the current diff context.
233 const diff_context_sptr& ctxt,
254 *ctxt, out);
255 report_loc_info(d, *ctxt, out);
275 /// @param ctxt the context in which the diff is being reported.
280 diff_context& ctxt,
283 if (!ctxt.show_relative_offset_changes())
307 if (!ctxt.show_offsets_sizes_in_bits())
310 string bits_or_bytes = ctxt.show_offsets_sizes_in_bits()
315 emit_num_value(change, ctxt, out);
334 /// @param ctxt the context in which the diff is being reported.
339 diff_context& ctxt,
342 if (!ctxt.show_relative_offset_changes())
366 if (!ctxt.show_offsets_sizes_in_bits())
369 string bits_or_bytes = ctxt.show_offsets_sizes_in_bits()
374 emit_num_value(change, ctxt, out);
383 /// @param ctxt the diff context to use.
392 diff_context_sptr ctxt,
397 if (!ctxt->get_reporter()->diff_to_be_reported(diff.get()))
414 const bool show_size_offset_changes = ctxt->get_allowed_category()
446 o_offset, *ctxt, out);
486 show_offset_or_size(" at offset", o_offset, *ctxt, out);
505 if (ctxt->get_reporter()->diff_to_be_reported(d.get()))
544 && !(ctxt->get_allowed_category()
559 report_loc_info(n, *ctxt, out);
601 show_numerical_change("offset", o_offset, n_offset, *ctxt, out);
602 maybe_show_relative_offset_change(diff, *ctxt, out);
623 show_numerical_change("size", o_size, n_size, *ctxt, out);
624 maybe_show_relative_size_change(diff, *ctxt, out);
658 if ((ctxt->get_allowed_category() & ACCESS_CHANGE_CATEGORY)
721 /// @param ctxt the content of the current diff.
729 diff_context_sptr ctxt,
756 if (ctxt->get_allowed_category() & SIZE_OR_OFFSET_CHANGE_CATEGORY)
768 emit_num_value(first_array->get_size_in_bits(), *ctxt, out);
773 emit_num_value(second_array->get_size_in_bits(), *ctxt, out);
817 show_numerical_change("type size", fs, ss, *ctxt, out);
822 if (ctxt->show_relative_offset_changes())
827 if ((ctxt->get_allowed_category() & SIZE_OR_OFFSET_CHANGE_CATEGORY)
831 show_numerical_change("type alignment", fa, sa, *ctxt, out,
839 /// @param ctxt the content of the current diff.
846 const diff_context& ctxt,
849 if (!ctxt.show_locs())
882 /// @param ctxt the content of the current diff.
890 diff_context_sptr ctxt,
899 if (!(ctxt->get_allowed_category() & HARMLESS_DECL_NAME_CHANGE_CATEGORY)
916 report_size_and_alignment_changes(first, second, ctxt, out, indent);
1034 const diff_context_sptr& ctxt,
1050 if (report_loc_info(decl2, *ctxt, out))
1059 if ((ctxt->get_allowed_category() & ACCESS_CHANGE_CATEGORY)
1079 /// @param ctxt the diff context.
1087 const diff_context_sptr& ctxt,
1100 *ctxt, out,
1236 const diff_context_sptr& ctxt = d.context();
1238 if (!(ctxt->show_unreachable_types()
1268 report_loc_info(*i, *ctxt, out);
1326 report_loc_info(*i, *ctxt, out);
1347 const diff_context_sptr &ctxt = d->context();
1348 const corpus_diff_sptr &corp_diff = ctxt->get_corpus_diff();
1352 if (!ctxt->show_impacted_interfaces())
1420 const diff_context_sptr& ctxt = d.context();
1422 if ((ctxt->get_allowed_category() & HARMLESS_DATA_MEMBER_CHANGE_CATEGORY)