Home
last modified time | relevance | path

Searched refs:encoder (Results 1 – 19 of 19) sorted by relevance

/wasmtime-44.0.1/crates/wizer/src/component/
H A Drewrite.rs18 let mut encoder = wasm_encoder::Component::new(); in rewrite_component() localVariable
42 encoder.section(&wasm_encoder::RawSection { in rewrite_component()
60 reencoder.raw_section(&mut encoder, s); in rewrite_component()
65 encoder.finish() in rewrite_component()
82 encoder: &mut wasm_encoder::Component, in raw_section()
94 encoder.section(section); in raw_section()
111 encoder, in raw_section()
117 self.rewrite(encoder, section.data, Self::parse_component_alias_section); in raw_section()
121 encoder, in raw_section()
138 encoder: &mut wasm_encoder::Component, in rewrite()
[all …]
H A Dinstrument.rs27 let mut encoder = wasm_encoder::Component::new(); in instrument() localVariable
34 encoder.section(raw); in instrument()
64 builder.build(&mut encoder)?; in instrument()
67 Ok(encoder.finish()) in instrument()
110 self.finish(encoder); in build()
346 encoder.section(&extra_instances); in finish()
351 encoder.section(&self.extra_aliases); in finish()
352 encoder.section(&self.extra_types); in finish()
353 encoder.section(&self.extra_canonicals); in finish()
360 encoder.section(&extra_component_instances); in finish()
[all …]
/wasmtime-44.0.1/crates/wizer/src/
H A Drewrite.rs22 let mut encoder = wasm_encoder::Module::new(); in rewrite() localVariable
53 encoder.section(&data_section); in rewrite()
62 add_data_section(&mut encoder); in rewrite()
63 encoder.section(s); in rewrite()
80 encoder.section(&memories); in rewrite()
124 encoder.section(&globals); in rewrite()
157 encoder.section(&exports); in rewrite()
201 encoder.section(&section); in rewrite()
206 encoder.section(s); in rewrite()
212 add_data_section(&mut encoder); in rewrite()
[all …]
H A Dinstrument.rs64 let mut encoder = wasm_encoder::Module::new(); in instrument() localVariable
100 encoder.section(&exports); in instrument()
106 encoder.section(section); in instrument()
114 encoder.finish() in instrument()
/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Dp3_http_middleware.rs145 let mut encoder = DeflateEncoder::new(Vec::new(), Compression::fast()); in handle() localVariable
151 encoder.write_all(&chunk).unwrap(); in handle()
152 let remaining = pipe_tx.write_all(mem::take(encoder.get_mut())).await; in handle()
154 *encoder.get_mut() = remaining; in handle()
158 let remaining = pipe_tx.write_all(encoder.finish().unwrap()).await; in handle()
/wasmtime-44.0.1/crates/environ/
H A DCargo.toml37 wasm-encoder = { workspace = true, optional = true }
81 "dep:wasm-encoder",
/wasmtime-44.0.1/docs/
H A Dcontributing-implementing-wasm-proposals.md14 * [ ] [`wasm-encoder`] - binary encoding
54 [`wasm-encoder`]: https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-encoder
/wasmtime-44.0.1/crates/wasi-preview1-component-adapter/
H A DCargo.toml19 wasm-encoder = { workspace = true }
/wasmtime-44.0.1/pulley/
H A DCargo.toml3 description = "The Pulley interpreter, its bytecode definition, encoder, decoder, and etc..."
H A DREADME.md108 encoder, etc... from that definition. This also avoids any kind of drift where
109 the encoder and decoder get out of sync with each other, for example.
/wasmtime-44.0.1/crates/wizer/
H A DCargo.toml31 wasm-encoder = { workspace = true, features = ['wasmparser'] }
/wasmtime-44.0.1/crates/wasi-nn/examples/classification-component-onnx/
H A DCargo.lock343 name = "wasm-encoder"
364 "wasm-encoder",
455 "wasm-encoder",
/wasmtime-44.0.1/crates/fuzzing/
H A DCargo.toml33 wasm-encoder = { workspace = true }
/wasmtime-44.0.1/crates/wasi-http/tests/all/p3/
H A Dmod.rs434 let mut encoder = DeflateEncoder::new(Vec::new(), Compression::fast()); in test_http_echo() localVariable
435 encoder.write_all(body).unwrap(); in test_http_echo()
436 Bytes::from(encoder.finish().unwrap()) in test_http_echo()
/wasmtime-44.0.1/
H A DCargo.lock4325 "wasm-encoder 0.246.1",
4411 "wasm-encoder 0.246.1",
4417 name = "wasm-encoder"
4427 name = "wasm-encoder"
4444 "wasm-encoder 0.245.0",
4456 "wasm-encoder 0.246.1",
4470 "wasm-encoder 0.246.1",
4485 "wasm-encoder 0.246.1",
4634 "wasm-encoder 0.246.1",
4747 "wasm-encoder 0.246.1",
[all …]
H A DCargo.toml133 wasm-encoder = { workspace = true }
356 wasm-encoder = "0.246.1"
/wasmtime-44.0.1/crates/wasmtime/
H A DCargo.toml36 wasm-encoder = { workspace = true, optional = true }
255 coredump = ["dep:wasm-encoder", "runtime", "std"]
/wasmtime-44.0.1/supply-chain/
H A Daudits.toml5192 [[audits.wasm-encoder]]
5198 [[audits.wasm-encoder]]
5204 [[audits.wasm-encoder]]
5210 [[audits.wasm-encoder]]
5216 [[audits.wasm-encoder]]
5222 [[audits.wasm-encoder]]
5228 [[audits.wasm-encoder]]
5234 [[audits.wasm-encoder]]
5240 [[audits.wasm-encoder]]
5246 [[audits.wasm-encoder]]
[all …]
H A Dimports.lock1974 [[publisher.wasm-encoder]]
1979 [[publisher.wasm-encoder]]