| /wasmtime-44.0.1/crates/wizer/src/component/ |
| H A D | rewrite.rs | 18 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 D | instrument.rs | 27 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 D | rewrite.rs | 22 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(§ion); in rewrite() 206 encoder.section(s); in rewrite() 212 add_data_section(&mut encoder); in rewrite() [all …]
|
| H A D | instrument.rs | 64 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 D | p3_http_middleware.rs | 145 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 D | Cargo.toml | 37 wasm-encoder = { workspace = true, optional = true } 81 "dep:wasm-encoder",
|
| /wasmtime-44.0.1/docs/ |
| H A D | contributing-implementing-wasm-proposals.md | 14 * [ ] [`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 D | Cargo.toml | 19 wasm-encoder = { workspace = true }
|
| /wasmtime-44.0.1/pulley/ |
| H A D | Cargo.toml | 3 description = "The Pulley interpreter, its bytecode definition, encoder, decoder, and etc..."
|
| H A D | README.md | 108 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 D | Cargo.toml | 31 wasm-encoder = { workspace = true, features = ['wasmparser'] }
|
| /wasmtime-44.0.1/crates/wasi-nn/examples/classification-component-onnx/ |
| H A D | Cargo.lock | 343 name = "wasm-encoder" 364 "wasm-encoder", 455 "wasm-encoder",
|
| /wasmtime-44.0.1/crates/fuzzing/ |
| H A D | Cargo.toml | 33 wasm-encoder = { workspace = true }
|
| /wasmtime-44.0.1/crates/wasi-http/tests/all/p3/ |
| H A D | mod.rs | 434 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 D | Cargo.lock | 4325 "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 D | Cargo.toml | 133 wasm-encoder = { workspace = true } 356 wasm-encoder = "0.246.1"
|
| /wasmtime-44.0.1/crates/wasmtime/ |
| H A D | Cargo.toml | 36 wasm-encoder = { workspace = true, optional = true } 255 coredump = ["dep:wasm-encoder", "runtime", "std"]
|
| /wasmtime-44.0.1/supply-chain/ |
| H A D | audits.toml | 5192 [[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 D | imports.lock | 1974 [[publisher.wasm-encoder]] 1979 [[publisher.wasm-encoder]]
|