Home
last modified time | relevance | path

Searched refs:internalBinding (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/third_party/node/test/sequential/
Dtest-async-wrap-getasyncid.js5 const { internalBinding } = require('internal/test/binding');
11 const providers = { ...internalBinding('async_wrap').Providers };
94 const cares = internalBinding('cares_wrap');
113 const FSEvent = internalBinding('fs_event_wrap').FSEvent;
119 const JSStream = internalBinding('js_stream').JSStream;
147 if (typeof internalBinding('crypto').ScryptJob === 'function') {
156 const binding = internalBinding('fs');
186 const binding = internalBinding('pipe_wrap');
197 const binding = internalBinding('pipe_wrap');
210 const Process = internalBinding('process_wrap').Process;
[all …]
/third_party/node/test/parallel/
Dtest-env-newprotomethod-remove-unnecessary-prototypes.js9 const { internalBinding } = require('internal/test/binding');
11 internalBinding('udp_wrap').UDP.prototype.bind6,
12 internalBinding('tcp_wrap').TCP.prototype.bind6,
13 internalBinding('udp_wrap').UDP.prototype.send6,
14 internalBinding('tcp_wrap').TCP.prototype.bind,
15 internalBinding('udp_wrap').UDP.prototype.close,
16 internalBinding('tcp_wrap').TCP.prototype.open,
Dtest-whatwg-url-canparse.js9 let internalBinding; variable
11 internalBinding = require('internal/test/binding').internalBinding;
17 const { canParse } = internalBinding('url');
Dtest-accessor-properties.js13 const { internalBinding } = require('internal/test/binding');
14 const TTY = internalBinding('tty_wrap').TTY;
15 const UDP = internalBinding('udp_wrap').UDP;
42 const crypto = internalBinding('crypto');
Dtest-dns-resolve-promises.js5 const { internalBinding } = require('internal/test/binding');
6 const cares = internalBinding('cares_wrap');
7 const { UV_EPERM } = internalBinding('uv');
Dtest-dns-lookupService.js5 const { internalBinding } = require('internal/test/binding');
6 const cares = internalBinding('cares_wrap');
7 const { UV_ENOENT } = internalBinding('uv');
Dtest-tcp-wrap.js27 const { internalBinding } = require('internal/test/binding');
28 const { TCP, constants: TCPConstants } = internalBinding('tcp_wrap');
29 const { UV_EINVAL } = internalBinding('uv');
Dtest-net-end-close.js7 const { internalBinding } = require('internal/test/binding');
8 const { UV_EOF } = internalBinding('uv');
9 const { streamBaseState, kReadBytesOrError } = internalBinding('stream_wrap');
Dtest-dns-lookup-promises-options-deprecated.js5 const { internalBinding } = require('internal/test/binding');
6 const cares = internalBinding('cares_wrap');
7 cares.getaddrinfo = () => internalBinding('uv').UV_ENOMEM;
Dtest-internal-module-wrap.js6 const { internalBinding } = require('internal/test/binding');
7 const { ModuleWrap } = internalBinding('module_wrap');
8 const { getPromiseDetails, isPromise } = internalBinding('util');
Dtest-fs-sync-fd-leak.js27 const { internalBinding } = require('internal/test/binding');
28 const { UV_EBADF } = internalBinding('uv');
45 internalBinding('fs').fstat = function(fd, bigint, _, ctx) {
Dtest-dgram-create-socket-handle-fd.js9 const { internalBinding } = require('internal/test/binding');
10 const { UDP } = internalBinding('udp_wrap');
11 const { TCP, constants } = internalBinding('tcp_wrap');
Dtest-trace-events-dynamic-enable.js9 const { internalBinding } = require('internal/test/binding');
15 } = internalBinding('constants');
17 const { trace } = internalBinding('trace_events');
Dtest-tcp-wrap-connect.js5 const { internalBinding } = require('internal/test/binding');
10 } = internalBinding('tcp_wrap');
11 const { ShutdownWrap } = internalBinding('stream_wrap');
/third_party/node/lib/internal/bootstrap/
Drealm.js160 return internalBinding(module);
179 let internalBinding; variable
183 internalBinding = function internalBinding(module) { function
198 } = internalBinding('builtins');
340 const { ModuleWrap } = internalBinding('module_wrap');
390 fn(this.exports, requireFn, this, process, internalBinding, primordials);
407 internalBinding, property
439 } = internalBinding('errors');
455 setInternalLoaders(internalBinding, requireBuiltin);
Dnode.js68 const config = internalBinding('config');
79 } = internalBinding('util');
159 const binding = internalBinding('builtins');
181 const rawMethods = internalBinding('process_methods');
215 const credentials = internalBinding('credentials');
229 internalBinding('async_wrap').setupHooks(nativeHooks);
253 const { setTraceCategoryStateUpdateHandler } = internalBinding('trace_events');
347 const { setupTimers } = internalBinding('timers');
368 } = internalBinding('errors');
430 const bufferBinding = internalBinding('buffer');
/third_party/node/lib/internal/process/
Dpre_execution.js82 assert(internalBinding('worker').isMainThread);
108 assert(!internalBinding('worker').isMainThread);
171 const binding = internalBinding('process_methods');
307 internalBinding('wasm_web_api').setImplementation((streamState, source) => {
320 if (internalBinding('config').hasOpenSSL) {
416 const { isTraceCategoryEnabled } = internalBinding('trace_events');
431 if (internalBinding('config').hasInspector) {
436 internalBinding('inspector').registerAsyncHook(enable, disable);
449 const utilBinding = internalBinding('util');
482 const { noBrowserGlobals } = internalBinding('config');
[all …]
/third_party/node/lib/internal/test/
Dbinding.js12 globalThis.internalBinding = internalBinding;
16 module.exports = { internalBinding, primordials }; property
/third_party/node/test/pseudo-tty/
Dtest-tty-wrap.js5 const { internalBinding } = require('internal/test/binding');
6 const { TTY } = internalBinding('tty_wrap');
7 const { WriteWrap } = internalBinding('stream_wrap');
Dtest-async-wrap-getasyncid-tty.js8 const { internalBinding } = require('internal/test/binding');
9 const { TTYWRAP } = internalBinding('async_wrap').Providers;
10 const tty_wrap = internalBinding('tty_wrap');
/third_party/node/lib/
Dv8.js40 } = internalBinding('serdes');
46 if (internalBinding('config').hasInspector) {
47 profiler = internalBinding('profiler');
51 const { copy } = internalBinding('buffer');
59 } = internalBinding('heap_utils');
91 const binding = internalBinding('v8');
/third_party/node/lib/internal/bootstrap/switches/
Dis_main_thread.js4 const rawMethods = internalBinding('process_methods');
45 const { guessHandleType } = internalBinding('util');
301 if (internalBinding('config').hasInspector) {
305 internalBinding('wasm_web_api');
307 internalBinding('worker');
/third_party/node/lib/internal/
Ddgram.js9 const { UDP } = internalBinding('udp_wrap');
10 const { guessHandleType } = internalBinding('util');
15 const { UV_EINVAL } = internalBinding('uv');
Dutil.js55 const { signals } = internalBinding('constants').os;
64 } = internalBinding('util');
65 const { isNativeError } = internalBinding('types');
89 uvBinding ??= internalBinding('uv');
664 _DOMException ??= internalBinding('messaging').DOMException;
669 _DOMException ??= internalBinding('messaging').DOMException;
788 internalBinding('profiler').setCoverageDirectory(coverageDirectory);
789 internalBinding('profiler').setSourceMapCacheGetter(sourceMapCacheToObject);
/third_party/node/lib/internal/modules/esm/
Dutils.js14 } = internalBinding('util');
18 } = internalBinding('symbols');
34 } = internalBinding('module_wrap');

12345678910>>...12