• Home
  • Raw
  • Download

Lines Matching refs:diag

95   DiagnosticsVisitor(DiagnosticsContext& diag) : diag(diag) {}  in DiagnosticsVisitor()  argument
109 Hook suppress{std::bind(&DiagnosticsContext::Suppress, &diag, _1)}; in Check()
110 Hook restore{std::bind(&DiagnosticsContext::Restore, &diag, _1)}; in Check()
121 DiagnosticsContext& diag; member in android::aidl::DiagnosticsVisitor
125 DiagnoseInterfaceName(DiagnosticsContext& diag) : DiagnosticsVisitor(diag) {} in DiagnoseInterfaceName()
128 diag.Report(i.GetLocation(), DiagnosticID::interface_name) in Visit()
135 DiagnoseInoutParameter(DiagnosticsContext& diag) : DiagnosticsVisitor(diag) {} in DiagnoseInoutParameter()
138 diag.Report(a.GetLocation(), DiagnosticID::inout_parameter) in Visit()
147 DiagnoseConstName(DiagnosticsContext& diag) : DiagnosticsVisitor(diag) {} in DiagnoseConstName()
150 diag.Report(e.GetLocation(), DiagnosticID::const_name) in Visit()
156 diag.Report(c.GetLocation(), DiagnosticID::const_name) in Visit()
167 DiagnoseExplicitDefault(DiagnosticsContext& diag) : DiagnosticsVisitor(diag) {} in DiagnoseExplicitDefault()
184 diag.Report(v.GetLocation(), DiagnosticID::enum_explicit_default) in CheckExplicitDefault()
192 DiagnoseMixedOneway(DiagnosticsContext& diag) : DiagnosticsVisitor(diag) {} in DiagnoseMixedOneway()
205 diag.Report(i.GetLocation(), DiagnosticID::mixed_oneway) in Visit()
214 DiagnoseOutArray(DiagnosticsContext& diag) : DiagnosticsVisitor(diag) {} in DiagnoseOutArray()
218 diag.Report(m.GetLocation(), DiagnosticID::out_array) in Visit()
228 DiagnoseFileDescriptor(DiagnosticsContext& diag) : DiagnosticsVisitor(diag) {} in DiagnoseFileDescriptor()
231 diag.Report(t.GetLocation(), DiagnosticID::file_descriptor) in Visit()
238 DiagnoseOutNullable(DiagnosticsContext& diag) : DiagnosticsVisitor(diag) {} in DiagnoseOutNullable()
242 diag.Report(a.GetLocation(), DiagnosticID::out_nullable) in Visit()
252 DiagnosticsContext diag(mapping); in Diagnose() local
254 DiagnoseInterfaceName{diag}.Check(doc); in Diagnose()
255 DiagnoseInoutParameter{diag}.Check(doc); in Diagnose()
256 DiagnoseConstName{diag}.Check(doc); in Diagnose()
257 DiagnoseExplicitDefault{diag}.Check(doc); in Diagnose()
258 DiagnoseMixedOneway{diag}.Check(doc); in Diagnose()
259 DiagnoseOutArray{diag}.Check(doc); in Diagnose()
260 DiagnoseFileDescriptor{diag}.Check(doc); in Diagnose()
261 DiagnoseOutNullable{diag}.Check(doc); in Diagnose()
263 return diag.ErrorCount() == 0; in Diagnose()