/third_party/node/src/ |
D | node_wasi.cc | 17 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 …]
|
D | node_wasi.h | 14 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;
|
D | debug_utils.h | 49 V(WASI)
|
/third_party/node/test/wasi/ |
D | test-wasi-options-validation.js | 7 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 …]
|
D | test-wasi-start-validation.js | 7 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({});
|
D | test-wasi-initialize-validation.js | 7 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({});
|
D | test-return-on-exit.js | 7 const { WASI } = require('wasi'); 13 const wasi = new WASI({ returnOnExit: true }); 23 const wasi = new WASI({ returnOnExit: true });
|
D | test-wasi-worker-terminate.js | 6 const { WASI } = require('wasi'); 38 const wasi = new WASI({ returnOnExit: true });
|
D | test-wasi-not-started.js | 9 const { WASI } = require('wasi'); 10 const wasi = new WASI({
|
D | test-wasi-stdio.js | 8 const { WASI } = require('wasi'); 22 const wasi = new WASI({ stdin, stdout, stderr, returnOnExit: true });
|
D | test-wasi.js | 14 const { WASI } = require('wasi'); 17 const wasi = new WASI({
|
D | test-wasi-symlinks.js | 11 const { WASI } = require('wasi'); 13 const wasi = new WASI({
|
D | README.md | 1 # WASI Tests
|
/third_party/node/doc/api/ |
D | wasi.md | 1 # 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 …]
|
D | errors.md | 2249 The WASI instance has already started. 2254 The WASI instance has not been started.
|
/third_party/node/test/fixtures/ |
D | outside.txt | 1 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/ |
D | wasi.js | 24 const { WASI: _WASI } = internalBinding('wasi'); 55 class WASI { class 168 module.exports = { WASI }; field
|
/third_party/rust/crates/io-lifetimes/ |
D | Cargo.toml | 33 # 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/ |
D | known_gcc_test_failures.txt | 87 # 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/ |
D | Triple.h | 193 WASI, // Experimental WebAssembly OS enumerator 603 return getOS() == Triple::WASI; in isOSWASI()
|
/third_party/node/deps/cjs-module-lexer/ |
D | CHANGELOG.md | 35 - Doc: Update link to WASI SDK (https://github.com/guybedford/cjs-module-lexer/pull/19)
|
D | README.md | 436 To build download the WASI SDK from https://github.com/WebAssembly/wasi-sdk/releases.
|
/third_party/rust/crates/os_str_bytes/ |
D | README.md | 58 <td>WASI</td>
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Triple.cpp | 214 case WASI: return "wasi"; in getOSTypeName() 521 .StartsWith("wasi", Triple::WASI) in parseOS()
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V13.md | 166 * [[`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) […
|