/third_party/node/test/parallel/ |
H A D | test-http2-compat-socket-set.js | 22 const noop = () => {}; 38 request.socket.on = noop; 39 assert.strictEqual(request.stream.on, noop); 43 request.socket.once = noop; 44 assert.strictEqual(request.stream.once, noop); 48 request.socket.end = noop; 49 assert.strictEqual(request.stream.end, noop); 55 request.socket.emit = noop; 56 assert.strictEqual(request.stream.emit, noop); 60 request.socket.destroy = noop; [all...] |
H A D | test-event-emitter-remove-all-listeners.js | 41 const noop = common.mustNotCall(); 42 ee.on('foo', noop); 43 ee.on('bar', noop); 44 ee.on('baz', noop); 45 ee.on('baz', noop); 52 assert.deepStrictEqual(ee.listeners('foo'), [noop]); 57 assert.deepStrictEqual(fooListeners, [noop]); 58 assert.deepStrictEqual(barListeners, [noop]); 59 assert.deepStrictEqual(bazListeners, [noop, noop]); [all...] |
H A D | test-diagnostics-channel-memory-leak.js | 11 function noop() {} function 16 subscribe(String(i), noop); 17 unsubscribe(String(i), noop);
|
H A D | test-stream-readable-didRead.js | 6 function noop() {} function 95 readable.on('data', noop); 108 readable.on('data', noop); 109 readable.off('data', noop);
|
H A D | test-tty-backwards-api.js | 7 const noop = () => {}; 12 setBlocking: noop, 13 getWindowSize: noop
|
H A D | test-http-agent-reuse-drained-socket-only.js | 32 res.on('data', noop); 96 res.on('data', noop); 114 }, noop); 122 function noop() { } function
|
H A D | test-net-connect-options-port.js | 174 const noop = () => common.mustCall(); 178 const portArgFunctions = doConnect([{ port, family }], noop); 185 noop); 191 const portOptFunctions = doConnect([{ port, family }], noop); 198 noop);
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/mutators/ |
H A D | common.js | 312 const noop = babelTypes.noop(); 313 noop.__loc = index / total; 314 noop.__self = noop; 315 source.ast.program.body.unshift(noop); 327 const noop = babelTypes.noop(); 328 noop.__path = originalPath; 329 noop [all...] |
/third_party/node/test/pseudo-tty/ |
H A D | test-trace-sigint-disabled.js | 29 const noop = mustCall(() => { 32 process.on('SIGINT', noop); 34 process.removeListener('SIGINT', noop); 35 process.on('SIGINT', noop);
|
/third_party/node/test/common/ |
H A D | arraystream.js | 4 function noop() {} function 19 ArrayStream.prototype.pause = noop; 20 ArrayStream.prototype.resume = noop; 21 ArrayStream.prototype.write = noop;
|
/third_party/node/test/fixtures/ |
H A D | repl-tab-completion-nested-repls.js | 10 function noop() {} function 25 ArrayStream.prototype.pause = noop; 26 ArrayStream.prototype.resume = noop; 27 ArrayStream.prototype.write = noop;
|
/third_party/node/benchmark/dgram/ |
H A D | bind-params.js | 13 const noop = () => {}; 23 .on('error', noop) 32 .on('error', noop) 41 .on('error', noop)
|
/third_party/node/benchmark/http/ |
H A D | create-clientrequest.js | 17 function noop() {} function 28 path: new URL(i).path, createConnection: noop, 41 result = new ClientRequest(options[i], { createConnection: noop }); 49 result = new ClientRequest(data[i], { createConnection: noop });
|
/third_party/skia/tools/ |
H A D | BUILD_simulator.py | 18 def noop(*args, **kwargs): function 74 'cc_library': noop, 75 'cc_test': noop, 76 'exports_files': noop,
|
/third_party/typescript/tests/baselines/reference/ |
H A D | reachabilityChecks4.js | 16 declare function noop(): void; 24 noop(); 87 noop();
|
/third_party/node/test/async-hooks/ |
H A D | init-hooks.js | 19 function noop() {} function 39 this.oninit = typeof oninit === 'function' ? oninit : noop; 40 this.onbefore = typeof onbefore === 'function' ? onbefore : noop; 41 this.onafter = typeof onafter === 'function' ? onafter : noop; 42 this.ondestroy = typeof ondestroy === 'function' ? ondestroy : noop; 44 onpromiseResolve : noop;
|
/third_party/jsframework/runtime/main/reactivity/ |
H A D | state.js | 62 function noop () { function 76 def.set = noop; 82 : noop; 85 : noop;
|
/third_party/skia/src/core/ |
H A D | SkRecord.h | 153 static const SkRecords::NoOp noop{}; in f() 154 return f(noop); in f() 164 static const SkRecords::NoOp noop{}; in decltype() 165 return f(const_cast<SkRecords::NoOp*>(&noop)); in decltype()
|
/third_party/node/benchmark/diagnostics_channel/ |
H A D | subscribe.js | 9 function noop() {} function 16 channel.subscribe(noop);
|
H A D | publish.js | 10 function noop() {} function 15 channel.subscribe(noop);
|
/third_party/node/benchmark/streams/ |
H A D | readable-bigunevenread.js | 13 function noop() {} 14 s._read = noop;
|
H A D | readable-bigread.js | 13 function noop() {} 14 s._read = noop;
|
H A D | readable-unevenread.js | 13 function noop() {} 14 s._read = noop;
|
H A D | readable-readall.js | 13 function noop() {} 14 s._read = noop;
|
/third_party/node/lib/internal/repl/ |
H A D | await.js | 29 const noop = FunctionPrototype; 55 FunctionExpression: noop, 56 ArrowFunctionExpression: noop, 57 MethodDefinition: noop,
|