| /wasmtime-44.0.1/pulley/src/ |
| H A D | disas.rs | 6 use alloc::string::String; 19 disas: String, 22 temp: String, 42 disas: String::new(), in new() 45 temp: String::new(), in new() 119 fn disas(&self, position: usize, disas: &mut String); in disas() argument 123 fn disas(&self, _position: usize, disas: &mut String) { in disas() argument 129 fn disas(&self, _position: usize, disas: &mut String) { in disas() argument 135 fn disas(&self, _position: usize, disas: &mut String) { in disas() argument 141 fn disas(&self, _position: usize, disas: &mut String) { in disas() argument [all …]
|
| /wasmtime-44.0.1/crates/component-macro/tests/expanded/ |
| H A D | many-arguments_async.rs | 201 pub a1: wasmtime::component::__internal::String, 203 pub a2: wasmtime::component::__internal::String, 205 pub a3: wasmtime::component::__internal::String, 207 pub a4: wasmtime::component::__internal::String, 209 pub a5: wasmtime::component::__internal::String, 211 pub a6: wasmtime::component::__internal::String, 213 pub a7: wasmtime::component::__internal::String, 215 pub a8: wasmtime::component::__internal::String, 217 pub a9: wasmtime::component::__internal::String, 219 pub a10: wasmtime::component::__internal::String, [all …]
|
| H A D | many-arguments.rs | 201 pub a1: wasmtime::component::__internal::String, 203 pub a2: wasmtime::component::__internal::String, 205 pub a3: wasmtime::component::__internal::String, 207 pub a4: wasmtime::component::__internal::String, 209 pub a5: wasmtime::component::__internal::String, 211 pub a6: wasmtime::component::__internal::String, 213 pub a7: wasmtime::component::__internal::String, 215 pub a8: wasmtime::component::__internal::String, 217 pub a9: wasmtime::component::__internal::String, 219 pub a10: wasmtime::component::__internal::String, [all …]
|
| H A D | many-arguments_concurrent.rs | 201 pub a1: wasmtime::component::__internal::String, 203 pub a2: wasmtime::component::__internal::String, 205 pub a3: wasmtime::component::__internal::String, 207 pub a4: wasmtime::component::__internal::String, 209 pub a5: wasmtime::component::__internal::String, 211 pub a6: wasmtime::component::__internal::String, 213 pub a7: wasmtime::component::__internal::String, 215 pub a8: wasmtime::component::__internal::String, 217 pub a9: wasmtime::component::__internal::String, 219 pub a10: wasmtime::component::__internal::String, [all …]
|
| H A D | many-arguments_tracing_async.rs | 201 pub a1: wasmtime::component::__internal::String, 203 pub a2: wasmtime::component::__internal::String, 205 pub a3: wasmtime::component::__internal::String, 207 pub a4: wasmtime::component::__internal::String, 209 pub a5: wasmtime::component::__internal::String, 211 pub a6: wasmtime::component::__internal::String, 213 pub a7: wasmtime::component::__internal::String, 215 pub a8: wasmtime::component::__internal::String, 217 pub a9: wasmtime::component::__internal::String, 219 pub a10: wasmtime::component::__internal::String, [all …]
|
| H A D | strings.rs | 201 fn b(&mut self) -> wasmtime::component::__internal::String; in b() argument 204 a: wasmtime::component::__internal::String, in c() argument 205 b: wasmtime::component::__internal::String, in c() argument 206 ) -> wasmtime::component::__internal::String; in c() argument 212 fn b(&mut self) -> wasmtime::component::__internal::String { in b() argument 217 a: wasmtime::component::__internal::String, in c() argument 218 b: wasmtime::component::__internal::String, in c() argument 219 ) -> wasmtime::component::__internal::String { in c() argument 260 wasmtime::component::__internal::String, in add_to_linker() 261 wasmtime::component::__internal::String, in add_to_linker() [all …]
|
| H A D | strings_concurrent.rs | 197 x: wasmtime::component::__internal::String, in a() argument 202 Output = wasmtime::component::__internal::String, in b() 206 a: wasmtime::component::__internal::String, in c() argument 207 b: wasmtime::component::__internal::String, in c() argument 209 Output = wasmtime::component::__internal::String, in c() 255 wasmtime::component::__internal::String, in add_to_linker() 256 wasmtime::component::__internal::String, in add_to_linker() 341 (wasmtime::component::__internal::String,), in load() 357 arg0: wasmtime::component::__internal::String, in call_a() argument 392 arg0: wasmtime::component::__internal::String, in call_c() argument [all …]
|
| H A D | strings_async.rs | 202 x: wasmtime::component::__internal::String, in a() argument 207 Output = wasmtime::component::__internal::String, in b() 211 a: wasmtime::component::__internal::String, in c() argument 212 b: wasmtime::component::__internal::String, in c() argument 214 Output = wasmtime::component::__internal::String, in c() 220 x: wasmtime::component::__internal::String, in a() argument 227 Output = wasmtime::component::__internal::String, in b() 233 a: wasmtime::component::__internal::String, in c() argument 234 b: wasmtime::component::__internal::String, in c() argument 282 wasmtime::component::__internal::String, in add_to_linker() [all …]
|
| H A D | strings_tracing_async.rs | 202 x: wasmtime::component::__internal::String, in a() argument 207 Output = wasmtime::component::__internal::String, in b() 211 a: wasmtime::component::__internal::String, in c() argument 212 b: wasmtime::component::__internal::String, in c() argument 214 Output = wasmtime::component::__internal::String, in c() 220 x: wasmtime::component::__internal::String, in a() argument 227 Output = wasmtime::component::__internal::String, in b() 233 a: wasmtime::component::__internal::String, in c() argument 234 b: wasmtime::component::__internal::String, in c() argument 311 wasmtime::component::__internal::String, in add_to_linker() [all …]
|
| /wasmtime-44.0.1/crates/wasi-config/src/ |
| H A D | lib.rs | 82 pub struct WasiConfigVariables(HashMap<String, String>); 84 impl<S: Into<String>> FromIterator<(S, S)> for WasiConfigVariables { 101 pub fn insert(&mut self, key: impl Into<String>, value: impl Into<String>) -> &mut Self { in insert() argument 126 fn get(&mut self, key: String) -> Result<Result<Option<String>, generated::Error>> { in get() argument 130 fn get_all(&mut self) -> Result<Result<Vec<(String, String)>, generated::Error>> { in get_all() argument
|
| /wasmtime-44.0.1/crates/wasi-keyvalue/src/ |
| H A D | lib.rs | 90 Other(String), 101 in_memory_data: HashMap<String, Vec<u8>>, 107 in_memory_data: HashMap<String, Vec<u8>>, 120 K: Into<String>, in in_memory_data() argument 140 in_memory_data: HashMap<String, Vec<u8>>, 164 fn open(&mut self, identifier: String) -> Result<Resource<Bucket>, Error> { in open() 230 key: String, in increment() argument 238 let current_value = String::from_utf8(value.clone()) in increment() 252 keys: Vec<String>, in get_many() argument 253 ) -> Result<Vec<Option<(String, Vec<u8>)>>, Error> { in get_many() argument [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/inst/ |
| H A D | regs.rs | 11 use alloc::string::{String, ToString}; 149 fn show_ireg(reg: RealReg) -> String { in show_ireg() argument 162 fn show_vreg(reg: RealReg) -> String { in show_vreg() argument 166 fn show_reg(reg: Reg) -> String { in show_reg() argument 178 pub fn pretty_print_reg(reg: Reg) -> String { in pretty_print_reg() argument 182 fn show_reg_sized(reg: Reg, size: OperandSize) -> String { in show_reg_sized() argument 190 pub fn pretty_print_reg_sized(reg: Reg, size: OperandSize) -> String { in pretty_print_reg_sized() argument 196 pub fn show_ireg_sized(reg: Reg, size: OperandSize) -> String { in show_ireg_sized() argument 212 pub fn show_vreg_scalar(reg: Reg, size: ScalarSize) -> String { in show_vreg_scalar() argument 235 pub fn show_vreg_vector(reg: Reg, size: VectorSize) -> String { in show_vreg_vector() argument [all …]
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/s390x/inst/ |
| H A D | regs.rs | 3 use alloc::string::String; 80 pub fn show_reg(reg: Reg) -> String { in show_reg() argument 92 pub fn maybe_show_fpr(reg: Reg) -> Option<String> { in maybe_show_fpr() argument 101 pub fn pretty_print_reg(reg: Reg) -> String { in pretty_print_reg() argument 105 pub fn pretty_print_regpair(pair: RegPair) -> String { in pretty_print_regpair() argument 123 pub fn pretty_print_fp_regpair(pair: RegPair) -> String { in pretty_print_fp_regpair() argument 141 pub fn pretty_print_reg_mod(rd: Writable<Reg>, ri: Reg) -> String { in pretty_print_reg_mod() argument 151 pub fn pretty_print_regpair_mod(rd: WritableRegPair, ri: RegPair) -> String { in pretty_print_regpair_mod() argument 169 pub fn pretty_print_regpair_mod_lo(rd: WritableRegPair, ri: Reg) -> String { in pretty_print_regpair_mod_lo() argument 184 pub fn pretty_print_fpr(reg: Reg) -> (String, Option<String>) { in pretty_print_fpr() argument
|
| /wasmtime-44.0.1/crates/wit-bindgen/src/ |
| H A D | rust.rs | 18 fn wasmtime_path(&self) -> String; in wasmtime_path() argument 34 fn ty(&self, ty: &Type, mode: TypeMode) -> String { in ty() argument 49 Type::String => match mode { in ty() 89 let mut out = String::new(); in tyid() 202 let mut out = String::new(); in type_name_in_interface() 241 fn stream(&self, ty: Option<&Type>) -> String { in stream() argument 263 fn handle(&self, handle: &Handle) -> String { in handle() argument 307 String::new() in generics() 339 fn param_name(&self, ty: TypeId) -> String { in param_name() argument 353 fn result_name(&self, ty: TypeId) -> String { in result_name() argument [all …]
|
| /wasmtime-44.0.1/crates/test-programs/src/bin/ |
| H A D | async_transmit_callee.rs | 25 mut caller_stream_rx: StreamReader<String>, in exchange() argument 26 caller_future_rx1: FutureReader<String>, in exchange() argument 27 caller_future_rx2: FutureReader<String>, in exchange() argument 29 StreamReader<String>, in exchange() argument 30 FutureReader<String>, in exchange() 31 FutureReader<String>, in exchange() 35 let (callee_future_tx2, callee_future_rx2) = wit_future::new(|| String::new()); in exchange()
|
| /wasmtime-44.0.1/examples/resource-component/ |
| H A D | main.rs | 61 pub storage: HashMap<String, String>, 65 async fn log(&mut self, msg: String) -> Result<(), wasmtime::Error> { in log() 84 key: String, in get() argument 85 ) -> Result<Option<String>, wasmtime::Error> { in get() argument 93 key: String, in set() argument 94 value: String, in set() argument 104 key: String, in remove() argument 105 ) -> Result<Option<String>> { in remove() argument
|
| /wasmtime-44.0.1/cranelift/srcgen/src/ |
| H A D | lib.rs | 90 lines: Vec<String>, 125 fn get_indent(&self) -> String { in get_indent() argument 127 String::new() in get_indent() 265 fn parse_multiline(s: &str) -> Vec<String> { in parse_multiline() argument 326 expr: String, 327 arms: BTreeMap<(Vec<String>, String), BTreeSet<String>>, 329 catch_all: Option<String>, 334 pub fn new(expr: impl Into<String>) -> Self { in new() 348 pub fn arm<T: Into<String>, S: Into<String>>(&mut self, name: T, fields: Vec<S>, body: T) { in arm() argument 365 pub fn arm_no_fields(&mut self, name: impl Into<String>, body: impl Into<String>) { in arm_no_fields() argument [all …]
|
| /wasmtime-44.0.1/crates/c-api/src/types/ |
| H A D | import.rs | 7 pub(crate) module: String, 8 pub(crate) name: String, 18 pub(crate) fn new(module: String, name: String, ty: CExternType) -> wasm_importtype_t { in new() argument 38 let module = String::from_utf8(module).ok()?; in wasm_importtype_new() 39 let name = String::from_utf8(name).ok()?; in wasm_importtype_new()
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | cli_tests.rs | 1598 fn finish(mut self) -> Result<(String, String)> { in finish() argument 1602 fn _finish(&mut self) -> Result<(String, String)> { in _finish() argument 1633 async fn send_request(&self, req: http::Request<String>) -> Result<http::Response<String>> { in send_request() argument 1646 req: http::Request<String>, in send_request_with() argument 1721 .body(String::new()) in p2_cli_serve_echo_env() 1736 .body(String::new()) in p2_cli_serve_echo_env() 1763 .body(String::new()) in p2_cli_serve_outgoing_body_config() 1789 .body(String::new()) in p2_cli_serve_respect_pooling_options() 1871 .body(String::new()) in p2_cli_serve_quick_rebind_allowed() 2011 .body(String::new()) in p2_cli_serve_authority_and_scheme() [all …]
|
| /wasmtime-44.0.1/crates/c-api/src/component/ |
| H A D | val.rs | 115 name: wasm_name_t::from_name(String::new()), in default() 131 fn from((name, val): &(String, Val)) -> Self { in from() argument 146 fn from(value: &[(String, Val)]) -> Self { in from() argument 171 impl From<&wasmtime_component_valflags_t> for Vec<String> { 177 .map(|mut x| String::from_utf8(x.take())) in from() 183 impl From<&[String]> for wasmtime_component_valflags_t { 184 fn from(value: &[String]) -> Self { in from() 266 String(wasm_name_t), enumerator 300 wasmtime_component_val_t::String(x) => { in from() 301 Val::String(String::from_utf8(x.clone().take()).unwrap()) in from() [all …]
|
| /wasmtime-44.0.1/crates/wizer/src/ |
| H A D | lib.rs | 63 init_func: String, 89 func_renames: Vec<(String, String)>, 104 fn parse_rename(s: &str) -> Result<(String, String)> { in parse_rename() argument 116 rename_src_to_dst: HashMap<String, String>, 119 rename_dsts: HashSet<String>, 123 fn parse(renames: &[(String, String)]) -> Result<FuncRenames> { in parse() argument 160 pub fn init_func(&mut self, init_func: impl Into<String>) -> &mut Self { in init_func()
|
| /wasmtime-44.0.1/crates/wasi/src/p2/host/ |
| H A D | env.rs | 5 fn get_environment(&mut self) -> wasmtime::Result<Vec<(String, String)>> { in get_environment() argument 8 fn get_arguments(&mut self) -> wasmtime::Result<Vec<String>> { in get_arguments() argument 11 fn initial_cwd(&mut self) -> wasmtime::Result<Option<String>> { in initial_cwd() argument
|
| /wasmtime-44.0.1/tests/ |
| H A D | wasi.rs | 228 let mut msg = String::new(); in run_test() 236 String::from_utf8_lossy(&result.stdout).replace("\n", "\n ") in run_test() 243 String::from_utf8_lossy(&result.stderr).replace("\n", "\n ") in run_test() 275 args: Vec<String>, 277 dirs: Vec<String>, 279 env: HashMap<String, String>, 281 stderr: Option<String>, 282 stdout: Option<String>, 293 fn matches_or_missing(a: &Option<String>, b: &[u8]) -> bool { in matches_or_missing() argument 295 .map(|s| s == &String::from_utf8_lossy(b)) in matches_or_missing()
|
| /wasmtime-44.0.1/crates/fuzzing/wasm-spec-interpreter/src/ |
| H A D | without_library.rs | 11 pub fn instantiate(_module: &[u8]) -> Result<SpecInstance, String> { in instantiate() argument 19 ) -> Result<Vec<SpecValue>, String> { in interpret() argument 26 ) -> Result<Vec<SpecValue>, String> { in interpret_legacy() argument 30 pub fn export(_instance: &SpecInstance, _name: &str) -> Result<SpecExport, String> { in export() argument
|
| /wasmtime-44.0.1/cranelift/isle/isle/src/ |
| H A D | error.rs | 91 context: String, 97 msg: String, 106 msg: String, 115 msg: String, 124 msg: String, 135 msg: String, 282 pub message: String, 284 pub notes: Vec<String>, 290 message: String::new(), in error() 296 pub fn with_message(mut self, message: impl Into<String>) -> Self { in with_message() [all …]
|