Home
last modified time | relevance | path

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

/wasmtime-44.0.1/crates/wasi-preview1-component-adapter/src/
H A Dlib.rs1098 .with_one_import_alloc(ptr, len, || file.fd.read(len as u64, offset))?; in fd_pread()
1275 .with_one_import_alloc(ptr, len, || blocking_mode.read(wasi_stream, read_len)) in fd_read()
1949 .with_one_import_alloc(buf, buf_len, || file.fd.readlink_at(path))? in path_readlink()
2222 state.with_one_import_alloc( in poll_oneoff()
2370 .with_one_import_alloc(buf, buf_len, || random::get_random_bytes(buf_len as u64)); in random_get()
2934 fn with_one_import_alloc<T>(&self, base: *mut u8, len: usize, f: impl FnOnce() -> T) -> T { in with_one_import_alloc() method