Searched refs:with_import_alloc (Results 1 – 2 of 2) sorted by relevance
| /wasmtime-44.0.1/crates/wasi-preview1-component-adapter/src/ |
| H A D | descriptors.rs | 203 let (preopens, _) = state.with_import_alloc(alloc, || { in open_preopens() 241 let (preopens, _) = state.with_import_alloc(alloc, || { in get_preopen_path()
|
| H A D | lib.rs | 494 let (list, _) = state.with_import_alloc(alloc, || unsafe { in args_get() 533 let (len, alloc) = state.with_import_alloc(alloc, || unsafe { in args_sizes_get() 572 let (list, _) = state.with_import_alloc(alloc, || unsafe { in environ_get() 626 let (len, alloc) = state.with_import_alloc(alloc, || unsafe { in environ_sizes_get() 2927 self.with_import_alloc(ImportAlloc::OneAlloc(alloc), f).0 in with_one_temporary_alloc() 2936 self.with_import_alloc(ImportAlloc::OneAlloc(alloc), f).0 in with_one_import_alloc() 2943 fn with_import_alloc<T>(&self, alloc: ImportAlloc, f: impl FnOnce() -> T) -> (T, ImportAlloc) { in with_import_alloc() method
|