Home
last modified time | relevance | path

Searched refs:WASI (Results 1 – 25 of 28) sorted by relevance

12

/third_party/node/src/
Dnode_wasi.cc17 inline void Debug(WASI* wasi, Args&&... args) { in Debug()
18 Debug(wasi->env(), DebugCategory::WASI, std::forward<Args>(args)...); in Debug()
123 WASI::WASI(Environment* env, in WASI() function in node::wasi::WASI
140 WASI::~WASI() { in ~WASI()
145 void WASI::MemoryInfo(MemoryTracker* tracker) const { in MemoryInfo()
150 void WASI::CheckAllocatedSize(size_t previous_size) const { in CheckAllocatedSize()
154 void WASI::IncreaseAllocatedSize(size_t size) { in IncreaseAllocatedSize()
158 void WASI::DecreaseAllocatedSize(size_t size) { in DecreaseAllocatedSize()
162 void WASI::New(const FunctionCallbackInfo<Value>& args) { in New()
231 new WASI(env, args.This(), &options); in New()
[all …]
Dnode_wasi.h14 class WASI : public BaseObject,
15 public mem::NgLibMemoryManager<WASI, uvwasi_mem_t> {
17 WASI(Environment* env,
23 SET_MEMORY_INFO_NAME(WASI)
24 SET_SELF_SIZE(WASI)
86 ~WASI() override;
Ddebug_utils.h49 V(WASI)
/third_party/node/test/wasi/
Dtest-wasi-options-validation.js7 const { WASI } = require('wasi');
10 new WASI({});
13 assert.throws(() => { new WASI({ args: 'fhqwhgads' }); },
17 assert.throws(() => { new WASI({ env: 'fhqwhgads' }); },
21 assert.throws(() => { new WASI({ preopens: 'fhqwhgads' }); },
25 assert.throws(() => { new WASI({ returnOnExit: 'fhqwhgads' }); },
29 assert.throws(() => { new WASI({ stdin: 'fhqwhgads' }); },
33 assert.throws(() => { new WASI({ stdout: 'fhqwhgads' }); },
37 assert.throws(() => { new WASI({ stderr: 'fhqwhgads' }); },
42 assert.throws(() => { new WASI(value); },
[all …]
Dtest-wasi-start-validation.js7 const { WASI } = require('wasi');
15 const wasi = new WASI();
28 const wasi = new WASI({});
44 const wasi = new WASI({});
64 const wasi = new WASI({});
88 const wasi = new WASI({});
106 const wasi = new WASI({});
133 const wasi = new WASI({});
150 const wasi = new WASI({});
174 const wasi = new WASI({});
Dtest-wasi-initialize-validation.js7 const { WASI } = require('wasi');
15 const wasi = new WASI();
28 const wasi = new WASI({});
44 const wasi = new WASI({});
64 const wasi = new WASI({});
88 const wasi = new WASI({});
106 const wasi = new WASI({});
133 const wasi = new WASI({});
150 const wasi = new WASI({});
174 const wasi = new WASI({});
Dtest-return-on-exit.js7 const { WASI } = require('wasi');
13 const wasi = new WASI({ returnOnExit: true });
23 const wasi = new WASI({ returnOnExit: true });
Dtest-wasi-worker-terminate.js6 const { WASI } = require('wasi');
38 const wasi = new WASI({ returnOnExit: true });
Dtest-wasi-not-started.js9 const { WASI } = require('wasi');
10 const wasi = new WASI({
Dtest-wasi-stdio.js8 const { WASI } = require('wasi');
22 const wasi = new WASI({ stdin, stdout, stderr, returnOnExit: true });
Dtest-wasi.js14 const { WASI } = require('wasi');
17 const wasi = new WASI({
Dtest-wasi-symlinks.js11 const { WASI } = require('wasi');
13 const wasi = new WASI({
DREADME.md1 # WASI Tests
/third_party/node/doc/api/
Dwasi.md1 # WebAssembly System Interface (WASI)
9 The WASI API provides an implementation of the [WebAssembly System Interface][]
10 specification. WASI gives sandboxed WebAssembly applications access to the
15 import { WASI } from 'wasi';
17 const wasi = new WASI({
35 const { WASI } = require('wasi');
36 const wasi = new WASI({
58 ;; Import the required fd_write WASI function which will write the given io vectors to stdout
95 ## Class: `WASI`
102 The `WASI` class provides the WASI system call API and additional convenience
[all …]
Derrors.md2249 The WASI instance has already started.
2254 The WASI instance has not been started.
/third_party/node/test/fixtures/
Doutside.txt1 this file is part of the WASI tests. it exists outside of the sandbox, and
2 should be inaccessible from the WASI tests.
/third_party/node/lib/
Dwasi.js24 const { WASI: _WASI } = internalBinding('wasi');
55 class WASI { class
168 module.exports = { WASI }; field
/third_party/rust/crates/io-lifetimes/
DCargo.toml33 # These dependencies are currently disabled on WASI, because we need to
34 # enable some features which don't work on WASI yet. So for now, WASI users
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
Dknown_gcc_test_failures.txt87 # WASI doesn't have stdjmp.h yet
91 # WASI doesn't have pthread.h yet
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DTriple.h193 WASI, // Experimental WebAssembly OS enumerator
603 return getOS() == Triple::WASI; in isOSWASI()
/third_party/node/deps/cjs-module-lexer/
DCHANGELOG.md35 - Doc: Update link to WASI SDK (https://github.com/guybedford/cjs-module-lexer/pull/19)
DREADME.md436 To build download the WASI SDK from https://github.com/WebAssembly/wasi-sdk/releases.
/third_party/rust/crates/os_str_bytes/
DREADME.md58 <td>WASI</td>
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTriple.cpp214 case WASI: return "wasi"; in getOSTypeName()
521 .StartsWith("wasi", Triple::WASI) in parseOS()
/third_party/node/doc/changelogs/
DCHANGELOG_V13.md166 * [[`09ca76befa`](https://github.com/nodejs/node/commit/09ca76befa)] - **test**: verify that WASI e…
286 * [[`1428de8ee6`](https://github.com/nodejs/node/commit/1428de8ee6)] - **test**: add WASI test for …
940 …github.com/nodejs/node/commit/d6f942003b)] - **doc,lib,src,test**: rename WASI CLI flag (cjihrig) …
1027 …://github.com/nodejs/node/commit/d36ae62bd7)] - **test**: remove obsolete WASI test (cjihrig) [#30…
1117 * [[`c2d95529f6`](https://github.com/nodejs/node/commit/c2d95529f6)] - **test**: improve WASI start…
1248 …hub.com/nodejs/node/commit/8ad53ab2b7)] - **src**: free preopen memory in WASI::New() (Colin Ihrig…
1249 …com/nodejs/node/commit/e6e379ea41)] - **src**: use checked allocations in WASI::New() (Colin Ihrig…
1264 * [[`25e3696a07`](https://github.com/nodejs/node/commit/25e3696a07)] - **test**: improve WASI optio…
1308 * Introduce initial WASI support (cjihrig) [#30258](https://github.com/nodejs/node/pull/30258)
1490 …node/commit/9ec53cf5c1)] - **(SEMVER-MINOR)** **wasi**: introduce initial WASI support (cjihrig) […

12