Home
last modified time | relevance | path

Searched refs:errors (Results 1 – 25 of 80) sorted by relevance

1234

/wasmtime-44.0.1/cranelift/codegen/src/verifier/
H A Dmod.rs235 errors.0 in from()
244 Err(errors) in from()
267 if errors.is_empty() { in verify_function()
271 Err(errors) in verify_function()
292 verifier.run(errors) in verify_context()
749 errors.fatal(( in verify_sig_ref()
926 errors.fatal(( in verify_callee_patchability()
933 errors.fatal(( in verify_callee_patchability()
940 errors.fatal(( in verify_callee_patchability()
1102 errors.fatal(( in verify_bitcast()
[all …]
/wasmtime-44.0.1/cranelift/codegen/src/
H A Dprint_errors.rs20 errors: VerifierErrors, in pretty_verifier_error()
22 let mut errors = errors.0; in pretty_verifier_error() localVariable
24 let num_errors = errors.len(); in pretty_verifier_error()
86 errors: &mut Vec<VerifierError>, in pretty_block_header_error()
95 while i != errors.len() { in pretty_block_header_error()
96 match errors[i].location { in pretty_block_header_error()
124 errors: &mut Vec<VerifierError>, in pretty_instruction_error()
133 while i != errors.len() { in pretty_instruction_error()
134 match errors[i].location { in pretty_instruction_error()
160 errors: &mut Vec<VerifierError>, in pretty_preamble_error()
[all …]
H A Dcontext.rs253 let mut errors = VerifierErrors::default(); in verify() localVariable
254 let _ = verify_context(&self.func, &self.cfg, &self.domtree, fisa, &mut errors); in verify()
256 if errors.is_empty() { in verify()
259 Err(errors) in verify()
/wasmtime-44.0.1/cranelift/filetests/src/
H A Dtest_verifier.rs56 Err(ref errors) if expected.is_empty() => { in run()
60 Err(errors) => { in run()
61 let mut errors = errors.0; in run() localVariable
66 let pos = errors in run()
75 errors.swap_remove(pos); in run()
81 for err in errors { in run()
H A Drunner.rs75 errors: usize, field
93 errors: 0, in new()
182 self.errors += 1; in path_error()
244 self.errors += 1; in finish_job()
364 match self.errors { in run()
379 match self.errors { in run_passes()
/wasmtime-44.0.1/cranelift/isle/isle/src/
H A Doverlap.rs13 let (terms, mut errors) = trie_again::build(termenv); in check()
14 errors.append(&mut check_overlaps(&terms, termenv).report()); in check()
16 if errors.is_empty() { in check()
19 Err(errors) in check()
39 let mut errors = Vec::new(); in report() localVariable
62 errors.push(Error::OverlapError { in report()
68 errors.extend( in report()
77 errors.sort_by_key(|err| match err { in report()
82 errors in report()
H A Derror.rs10 pub errors: Vec<Error>, field
16 if self.errors.is_empty() { in fmt()
19 let diagnostics = Vec::from_iter(self.errors.iter().map(|e| { in fmt()
76 if self.errors.len() > 1 { in fmt()
77 writeln!(f, "found {} errors", self.errors.len())?; in fmt()
153 pub fn new(errors: Vec<Error>, files: Arc<Files>) -> Self { in new()
154 Self { errors, files } in new()
160 errors: vec![Error::IoError { in from_io()
H A Drecursion.rs17 let mut errors = Vec::new(); in check() localVariable
22 errors.push(Error::RecursionError { in check()
29 if errors.is_empty() { in check()
32 Err(errors) in check()
/wasmtime-44.0.1/crates/wasi-nn/src/
H A Dwit.rs140 pub use generated::errors::Error;
159 generated::errors::add_to_linker::<_, HasWasiNnView>(l, f)?; in add_to_linker()
324 impl generated::errors::HostError for WasiNnView<'_> {
328 ErrorCode::InvalidArgument => Ok(generated::errors::ErrorCode::InvalidArgument), in code()
329 ErrorCode::InvalidEncoding => Ok(generated::errors::ErrorCode::InvalidEncoding), in code()
330 ErrorCode::Timeout => Ok(generated::errors::ErrorCode::Timeout), in code()
331 ErrorCode::RuntimeError => Ok(generated::errors::ErrorCode::RuntimeError), in code()
333 Ok(generated::errors::ErrorCode::UnsupportedOperation) in code()
335 ErrorCode::TooLarge => Ok(generated::errors::ErrorCode::TooLarge), in code()
336 ErrorCode::NotFound => Ok(generated::errors::ErrorCode::NotFound), in code()
[all …]
/wasmtime-44.0.1/tests/misc_testsuite/
H A Dlinking-errors.wast20 ;; errors on globals
33 ;; errors on tables
42 ;; errors on memories
47 ;; errors on functions
/wasmtime-44.0.1/crates/fuzzing/src/oracles/
H A Ddiff_wasmi.rs50 wasmi::errors::ErrorKind::Instantiation( in trap_code()
51 wasmi::errors::InstantiationError::ElementSegmentDoesNotFit { .. }, in trap_code()
53 wasmi::errors::ErrorKind::Memory(wasmi::errors::MemoryError::OutOfBoundsAccess) => { in trap_code()
56 wasmi::errors::ErrorKind::Table(wasmi::errors::TableError::CopyOutOfBounds) => { in trap_code()
/wasmtime-44.0.1/cranelift/src/
H A Drun.rs38 let mut errors = 0; in run() localVariable
55 errors += 1; in run()
68 match errors { in run()
H A Dinterpret.rs28 let mut errors = 0; in run() localVariable
42 errors += 1; in run()
55 match errors { in run()
/wasmtime-44.0.1/crates/wasi/src/p3/wit/deps/
H A Dsockets.wit173 /// # Typical errors
195 /// # Typical errors
231 /// # Typical errors
279 /// # Typical errors
336 /// # Typical errors
366 /// # Typical errors
388 /// # Typical errors
400 /// # Typical errors
429 /// # Typical errors
459 /// # Typical errors
[all …]
/wasmtime-44.0.1/crates/wasi-http/src/p3/wit/deps/
H A Dsockets.wit173 /// # Typical errors
195 /// # Typical errors
231 /// # Typical errors
279 /// # Typical errors
336 /// # Typical errors
366 /// # Typical errors
388 /// # Typical errors
400 /// # Typical errors
429 /// # Typical errors
459 /// # Typical errors
[all …]
/wasmtime-44.0.1/crates/wiggle/generate/src/
H A Dconfig.rs14 pub errors: ErrorConf, field
25 syn::custom_keyword!(errors);
55 } else if lookahead.peek(kw::errors) { in parse()
56 input.parse::<kw::errors>()?; in parse()
101 let mut errors = None; in build() localVariable
115 if errors.is_some() { in build()
118 errors = Some(c); in build()
150 errors: errors.take().unwrap_or_default(), in build()
H A Dcodegen_settings.rs12 pub errors: ErrorTransform, field
32 let errors = ErrorTransform::new(error_conf, doc)?; in new() localVariable
34 errors, in new()
H A Dlib.rs24 .map(|t| define_datatype(&t, settings.errors.for_name(&t))); in generate()
39 let user_error_methods = settings.errors.iter().filter_map(|errtype| match errtype { in generate()
/wasmtime-44.0.1/crates/wiggle/macro/src/
H A Dlib.rs147 &config.errors, in from_witx()
202 &config.c.errors, in wasmtime_integration()
/wasmtime-44.0.1/crates/wasi-common/src/
H A Dlib.rs137 errors: { errno => trappable Error },
146 errors: { errno => trappable Error },
/wasmtime-44.0.1/crates/wasi-nn/wit/
H A Dwasi-nn.wit15 import errors;
64 use errors.{error};
112 use errors.{error};
129 /// TODO: create function-specific errors (https://github.com/WebAssembly/wasi-nn/issues/42)
130 interface errors {
/wasmtime-44.0.1/crates/debugger/wit/deps/
H A Dsockets.wit144 /// errors are network-related errors.
177 /// # Typical errors
204 /// # Typical errors
271 /// # Typical errors
312 /// # Typical errors
354 /// # Typical errors
392 /// # Typical errors
413 /// # Typical errors
425 /// # Typical errors
604 /// # Typical errors
[all …]
/wasmtime-44.0.1/crates/wasi/src/p2/wit/deps/
H A Dsockets.wit144 /// errors are network-related errors.
177 /// # Typical errors
204 /// # Typical errors
271 /// # Typical errors
312 /// # Typical errors
354 /// # Typical errors
392 /// # Typical errors
413 /// # Typical errors
425 /// # Typical errors
604 /// # Typical errors
[all …]
/wasmtime-44.0.1/crates/wasi-http/wit/deps/
H A Dsockets.wit144 /// errors are network-related errors.
177 /// # Typical errors
204 /// # Typical errors
271 /// # Typical errors
312 /// # Typical errors
354 /// # Typical errors
392 /// # Typical errors
413 /// # Typical errors
425 /// # Typical errors
604 /// # Typical errors
[all …]
/wasmtime-44.0.1/crates/wiggle/tests/
H A Derrors.rs28 errors: { errno => trappable ErrnoT },
126 errors: { errno => RichError, errno2 => AnotherRichError },

1234