Lines Matching refs:out_msg
718 DiagMessage* out_msg) { in BuildAttributeMismatchMessage() argument
719 *out_msg << "expected"; in BuildAttributeMismatchMessage()
721 *out_msg << " boolean"; in BuildAttributeMismatchMessage()
725 *out_msg << " color"; in BuildAttributeMismatchMessage()
729 *out_msg << " dimension"; in BuildAttributeMismatchMessage()
733 *out_msg << " enum"; in BuildAttributeMismatchMessage()
737 *out_msg << " flags"; in BuildAttributeMismatchMessage()
741 *out_msg << " float"; in BuildAttributeMismatchMessage()
745 *out_msg << " fraction"; in BuildAttributeMismatchMessage()
749 *out_msg << " integer"; in BuildAttributeMismatchMessage()
753 *out_msg << " reference"; in BuildAttributeMismatchMessage()
757 *out_msg << " string"; in BuildAttributeMismatchMessage()
760 *out_msg << " but got " << value; in BuildAttributeMismatchMessage()
763 bool Attribute::Matches(const Item& item, DiagMessage* out_msg) const { in Matches()
779 if (out_msg) { in Matches()
780 BuildAttributeMismatchMessage(*this, item, out_msg); in Matches()
795 if (out_msg) { in Matches()
796 *out_msg << item << " is not a valid enum"; in Matches()
813 if (out_msg) { in Matches()
814 *out_msg << item << " is not a valid flag"; in Matches()
823 if (out_msg) { in Matches()
824 *out_msg << item << " is less than minimum integer " << min_int; in Matches()
828 if (out_msg) { in Matches()
829 *out_msg << item << " is greater than maximum integer " << max_int; in Matches()