Home
last modified time | relevance | path

Searched refs:add_error (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl.cc268 ParserImpl::Failure::Errored ParserImpl::add_error(const Source& source, in add_error() function in tint::reader::wgsl::ParserImpl
276 add_error(source, msg.str()); in add_error()
280 ParserImpl::Failure::Errored ParserImpl::add_error(const Token& t, in add_error() function in tint::reader::wgsl::ParserImpl
282 add_error(t.source(), err); in add_error()
286 ParserImpl::Failure::Errored ParserImpl::add_error(const Source& source, in add_error() function in tint::reader::wgsl::ParserImpl
289 builder_.Diagnostics().add_error(diag::System::Reader, err, source); in add_error()
340 add_error(Source{{}, p.source().file_path}, in translation_unit()
441 return add_error(next(), "expected declaration after decorations"); in expect_global_decl()
451 return add_error(t, "statement found outside of function body"); in expect_global_decl()
462 return add_error(t.source(), t.to_str()); in expect_global_decl()
[all …]
Dparser_impl.h360 Failure::Errored add_error(const Token& t, const std::string& msg);
369 Failure::Errored add_error(const Source& source,
377 Failure::Errored add_error(const Source& source, const std::string& msg);
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl.cc109 diagnostics_.add_error( in EmitTypeDecl()
148 diagnostics_.add_error(diag::System::Writer, "unknown expression type"); in EmitExpression()
262 diagnostics_.add_error(diag::System::Writer, "unknown literal type"); in EmitLiteral()
342 diagnostics_.add_error(diag::System::Writer, "unknown image format"); in EmitImageFormat()
364 diagnostics_.add_error(diag::System::Writer, "unknown access"); in EmitAccess()
440 diagnostics_.add_error(diag::System::Writer, "unknown texture type"); in EmitType()
464 diagnostics_.add_error(diag::System::Writer, in EmitType()
506 diagnostics_.add_error( in EmitType()
753 diagnostics_.add_error(diag::System::Writer, in EmitBinary()
853 diagnostics_.add_error( in EmitStatement()
/third_party/skia/third_party/externals/tint/src/diagnostic/
Ddiagnostic.h153 void add_error(System system, std::string err_msg) { in add_error() function
165 void add_error(System system, std::string err_msg, const Source& source) { in add_error() function
180 void add_error(System system, in add_error() function
Dformatter_test.cc209 list.add_error(System::Test, "oob", Source{{{10, 20}, {30, 20}}, &file}); in TEST_F()
/third_party/skia/third_party/externals/tint/src/transform/
Dbinding_remapper.cc48 ctx.dst->Diagnostics().add_error( in Run()
117 ctx.dst->Diagnostics().add_error( in Run()
125 ctx.dst->Diagnostics().add_error( in Run()
Dsingle_entry_point.cc37 ctx.dst->Diagnostics().add_error( in Run()
56 ctx.dst->Diagnostics().add_error( in Run()
Drobustness.cc95 b.Diagnostics().add_error(diag::System::Transform, in Transform()
136 b.Diagnostics().add_error(diag::System::Transform, in Transform()
Dnum_workgroups_from_uniform.cc64 ctx.dst->Diagnostics().add_error( in Run()
Dmultiplanar_external_texture.cc111 b.Diagnostics().add_error( in Process()
421 ctx.dst->Diagnostics().add_error( in Run()
Darray_length_from_uniform.cc110 ctx.dst->Diagnostics().add_error( in Run()
Dtransform.cc68 ctx.dst->Diagnostics().add_error( in Requires()
Dvertex_pulling.cc292 ctx.dst->Diagnostics().add_error( in CreateVertexPullingPreamble()
341 ctx.dst->Diagnostics().add_error(diag::System::Transform, err.str()); in CreateVertexPullingPreamble()
921 ctx.dst->Diagnostics().add_error(diag::System::Transform, in Run()
Dcanonicalize_entry_point_io.cc560 ctx.dst->Diagnostics().add_error( in Run()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl.cc269 diagnostics_.add_error(diag::System::Writer, in EmitTypeDecl()
405 diagnostics_.add_error(diag::System::Writer, in EmitBinary()
889 diagnostics_.add_error(diag::System::Writer, in EmitTextureCall()
1091 diagnostics_.add_error(diag::System::Writer, err.str()); in EmitTextureCall()
1393 diagnostics_.add_error( in generate_builtin_name()
1400 diagnostics_.add_error( in generate_builtin_name()
1482 diagnostics_.add_error( in EmitZeroValue()
1517 diagnostics_.add_error(diag::System::Writer, "unknown literal type"); in EmitLiteral()
1550 diagnostics_.add_error( in EmitExpression()
1775 diagnostics_.add_error(diag::System::Writer, "unknown builtin"); in EmitEntryPointFunction()
[all …]
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl.cc88 diagnostics_.add_error( in Generate()
179 diagnostics_.add_error( in EmitBitcast()
371 diagnostics_.add_error(diag::System::Writer, in EmitBinary()
1004 diagnostics_.add_error( in EmitDataPackingCall()
1074 diagnostics_.add_error( in EmitDataUnpackingCall()
1212 diagnostics_.add_error( in EmitTextureCall()
1366 diagnostics_.add_error( in generate_builtin_name()
1448 diagnostics_.add_error( in EmitExpression()
2006 diagnostics_.add_error(diag::System::Writer, "unknown literal type"); in EmitLiteral()
2079 diagnostics_.add_error( in EmitZeroValue()
[all …]
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl.cc546 diagnostics_.add_error(diag::System::Writer, in EmitBitcast()
752 diagnostics_.add_error(diag::System::Writer, in EmitBinary()
1855 diagnostics_.add_error( in EmitDataPackingCall()
1925 diagnostics_.add_error( in EmitDataUnpackingCall()
2219 diagnostics_.add_error( in EmitTextureCall()
2409 diagnostics_.add_error( in generate_builtin_name()
2507 diagnostics_.add_error( in EmitExpression()
2993 diagnostics_.add_error(diag::System::Writer, "unknown literal type"); in EmitLiteral()
3044 diagnostics_.add_error( in EmitZeroValue()
3266 diagnostics_.add_error( in EmitStatement()
[all …]
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser.cc37 builder.Diagnostics().add_error(diag::System::Reader, parser.error()); in Parse()
Dparser_impl_barrier_test.cc43 builder.Diagnostics().add_error(diag::System::Reader, p->error()); in ParseAndBuild()
/third_party/skia/third_party/externals/tint/src/
Dprogram_test.cc83 Diagnostics().add_error(diag::System::Program, "an error message"); in TEST_F()
Dprogram.cc77 diagnostics_.add_error(diag::System::Program, "invalid program generated"); in Program()
/third_party/skia/third_party/externals/tint/src/inspector/
Dinspector.cc575 diagnostics_.add_error(diag::System::Inspector, name + " was not found!"); in FindEntryPointByName()
580 diagnostics_.add_error(diag::System::Inspector, in FindEntryPointByName()
/third_party/rust/crates/nom/doc/archive/
Dupgrading_to_nom_2.md138 The `add_error!` macro has also been renamed to `add_return_error!`.
/third_party/skia/third_party/externals/tint/src/resolver/
Ddependency_graph.cc101 diagnostics.add_error(diag::System::Resolver, msg, source); in AddError()
/third_party/python/Modules/
Dpyexpat.c1654 add_error(PyObject *errors_module, PyObject *codes_dict, in add_error() function
1703 if (add_error(errors_module, codes_dict, rev_codes_dict, \ in add_errors_module()

12