Home
last modified time | relevance | path

Searched refs:wasi (Results 1 – 25 of 26) sorted by relevance

12

/third_party/node/src/
Dnode_wasi.cc14 namespace wasi { namespace
17 inline void Debug(WASI* wasi, Args&&... args) { in Debug() argument
18 Debug(wasi->env(), DebugCategory::WASI, std::forward<Args>(args)...); in Debug()
58 #define GET_BACKING_STORE_OR_RETURN(wasi, args, mem_ptr, mem_size) \ argument
60 uvwasi_errno_t err = (wasi)->backingStore((mem_ptr), (mem_size)); \
257 WASI* wasi; in ArgsGet() local
265 ASSIGN_INITIALIZED_OR_RETURN_UNWRAP(&wasi, args.This()); in ArgsGet()
266 Debug(wasi, "args_get(%d, %d)\n", argv_offset, argv_buf_offset); in ArgsGet()
267 GET_BACKING_STORE_OR_RETURN(wasi, args, &memory, &mem_size); in ArgsGet()
271 wasi->uvw_.argv_buf_size); in ArgsGet()
[all …]
Dnode_wasi.h11 namespace wasi {
Dnode_binding.cc86 V(wasi) \
/third_party/node/test/wasi/
Dtest-wasi-start-validation.js15 const wasi = new WASI(); constant
18 () => { wasi.start(); },
28 const wasi = new WASI({}); constant
34 () => { wasi.start(instance); },
44 const wasi = new WASI({}); constant
54 () => { wasi.start(instance); },
64 const wasi = new WASI({}); constant
78 () => { wasi.start(instance); },
88 const wasi = new WASI({}); constant
96 () => { wasi.start(instance); },
[all …]
Dtest-wasi-initialize-validation.js15 const wasi = new WASI(); constant
18 () => { wasi.initialize(); },
28 const wasi = new WASI({}); constant
34 () => { wasi.initialize(instance); },
44 const wasi = new WASI({}); constant
54 () => { wasi.initialize(instance); },
64 const wasi = new WASI({}); constant
78 () => { wasi.initialize(instance); },
88 const wasi = new WASI({}); constant
96 () => { wasi.initialize(instance); },
[all …]
Dtest-return-on-exit.js13 const wasi = new WASI({ returnOnExit: true }); constant
14 const importObject = { wasi_snapshot_preview1: wasi.wasiImport };
17 assert.strictEqual(wasi.start(instance), 120);
23 const wasi = new WASI({ returnOnExit: true }); constant
25 wasi.wasiImport.proc_exit = patchedExit.bind(wasi.wasiImport);
26 const importObject = { wasi_snapshot_preview1: wasi.wasiImport };
30 wasi.start(instance);
DREADME.md3 Compile with clang and `wasm32-wasi` target. The clang version used must be
4 built with wasi-libc. You can specify the location for clang and the sysroot
7 $ make CC=/usr/local/opt/llvm/bin/clang SYSROOT=/path/to/wasi-libc/sysroot
Dtest-wasi-worker-terminate.js38 const wasi = new WASI({ returnOnExit: true });
39 const imports = { wasi_snapshot_preview1: wasi.wasiImport };
43 wasi.start(instance);
Dtest-wasi-stdio.js22 const wasi = new WASI({ stdin, stdout, stderr, returnOnExit: true }); constant
23 const importObject = { wasi_snapshot_preview1: wasi.wasiImport };
28 strictEqual(wasi.start(instance), 0);
Dtest-wasi.js17 const wasi = new WASI({ constant
25 const importObject = { wasi_snapshot_preview1: wasi.wasiImport };
32 wasi.start(instance);
DMakefile1 CC = /opt/wasi-sdk/bin/clang
2 TARGET = wasm32-unknown-wasi
Dtest-wasi-symlinks.js13 const wasi = new WASI({ constant
21 const importObject = { wasi_snapshot_preview1: wasi.wasiImport };
28 wasi.start(instance);
Dtest-wasi-not-started.js10 const wasi = new WASI({ constant
13 const importObject = { wasi_snapshot_preview1: wasi.wasiImport };
Dwasi.status1 prefix wasi
/third_party/node/doc/api/
Dwasi.md7 <!-- source_link=lib/wasi.js -->
15 import { WASI } from 'wasi';
17 const wasi = new WASI({
24 const importObject = { wasi_snapshot_preview1: wasi.wasiImport };
29 wasi.start(instance);
35 const { WASI } = require('wasi');
36 const wasi = new WASI({
43 const importObject = { wasi_snapshot_preview1: wasi.wasiImport };
49 wasi.start(instance);
92 The `--experimental-wasi-unstable-preview1` and `--experimental-wasm-bigint`
[all …]
Ddocumentation.md89 | [webassembly_system_interface_(wasi)](wasi.html) | (1) Experimental |
Dcli.md301 ### `--experimental-wasi-unstable-preview1`
309 description: changed from `--experimental-wasi-unstable-preview0` to
310 `--experimental-wasi-unstable-preview1`.
1352 * `--experimental-wasi-unstable-preview1`
/third_party/node/deps/cjs-module-lexer/
DREADME.md436 To build download the WASI SDK from https://github.com/WebAssembly/wasi-sdk/releases.
438 The Makefile assumes the existence of "wasi-sdk-11.0" and "wabt" (optional) as sibling folders to t…
/third_party/e2fsprogs/config/
Dconfig.sub1740 | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
/third_party/freetype/builds/unix/
Dconfig.sub1722 | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
/third_party/wayland_standard/
Dconfig.sub1723 | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
/third_party/python/
Dconfig.sub1750 | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
/third_party/node/doc/changelogs/
DCHANGELOG_V13.md189 * **wasi**: add returnOnExit option (Colin Ihrig) [#32101](https://github.com/nodejs/node/pull/3210…
299 * [[`dd83bd266d`](https://github.com/nodejs/node/commit/dd83bd266d)] - **(SEMVER-MINOR)** **wasi**:…
659 * [[`38ea53629b`](https://github.com/nodejs/node/commit/38ea53629b)] - **test**: add wasi test for …
661 * [[`583d1d9f55`](https://github.com/nodejs/node/commit/583d1d9f55)] - **test**: improve wasi stat …
663 * [[`099c921f40`](https://github.com/nodejs/node/commit/099c921f40)] - **test**: add wasi test for …
841 * [[`bdaac04c10`](https://github.com/nodejs/node/commit/bdaac04c10)] - **wasi**: improve use of pri…
961 * [[`1bcc07b758`](https://github.com/nodejs/node/commit/1bcc07b758)] - **doc,wasi**: use code marku…
1020 * [[`07e82db764`](https://github.com/nodejs/node/commit/07e82db764)] - **test**: get lib/wasi.js co…
1039 * [[`614b074f3b`](https://github.com/nodejs/node/commit/614b074f3b)] - **wasi**: refactor destructu…
1040 * [[`8491e1c3c6`](https://github.com/nodejs/node/commit/8491e1c3c6)] - **wasi**: fix serdes bugs fr…
[all …]
DCHANGELOG_V12.md416 * [[`dbe2d85f66`](https://github.com/nodejs/node/commit/dbe2d85f66)] - **test**: add wasi test for …
418 * [[`8438d1498d`](https://github.com/nodejs/node/commit/8438d1498d)] - **test**: improve wasi stat …
419 * [[`596920dbf4`](https://github.com/nodejs/node/commit/596920dbf4)] - **test**: add wasi test for …
454 * [[`a91a824108`](https://github.com/nodejs/node/commit/a91a824108)] - **wasi**: improve use of pri…
752 A new core module, `wasi`, is introduced to provide an implementation of the
753 [WebAssembly System Interface](https://wasi.dev/) specification.
960 * [[`255e3cdd40`](https://github.com/nodejs/node/commit/255e3cdd40)] - **doc,wasi**: use code marku…
1135 * [[`b3e0bc2e91`](https://github.com/nodejs/node/commit/b3e0bc2e91)] - **test**: get lib/wasi.js co…
1138 * [[`ceca54940b`](https://github.com/nodejs/node/commit/ceca54940b)] - **test**: simplify test-wasi
1141 …m/nodejs/node/commit/8f5ffffb61)] - **test**: add test for validation for wasi.start() argument (R…
[all …]
DCHANGELOG_V14.md1348 * [[`0dea86634d`](https://github.com/nodejs/node/commit/0dea86634d)] - **wasi**: refactor to avoid …
1925 * [[`df93cb47da`](https://github.com/nodejs/node/commit/df93cb47da)] - **test**: fix wasi/test-retu…
2708 * [[`8357b56984`](https://github.com/nodejs/node/commit/8357b56984)] - **test**: add wasi readdir()…
2822 * [[`be71e717c5`](https://github.com/nodejs/node/commit/be71e717c5)] - **meta**: enable wasi for CO…
3069 * [[`2fa24c0ccc`](https://github.com/nodejs/node/commit/2fa24c0ccc)] - **wasi**: add \_\_wasi\_fd\_…
3330 * [[`6be685a99d`](https://github.com/nodejs/node/commit/6be685a99d)] - **wasi**: add reactor suppor…
3687 * [[`af14c1f776`](https://github.com/nodejs/node/commit/af14c1f776)] - **wasi**: allow WASI stdio t…
3688 * [[`5eecea375f`](https://github.com/nodejs/node/commit/5eecea375f)] - **wasi**: simplify WASI memo…
3689 * [[`f98e888fdd`](https://github.com/nodejs/node/commit/f98e888fdd)] - **wasi**: refactor and enabl…
3690 * [[`6b20e8442f`](https://github.com/nodejs/node/commit/6b20e8442f)] - **wasi**: relax WebAssembly.…
[all …]

12