Home
last modified time | relevance | path

Searched refs:noop (Results 1 - 25 of 90) sorted by relevance

1234

/third_party/node/test/parallel/
H A Dtest-http2-compat-socket-set.js22 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 Dtest-event-emitter-remove-all-listeners.js41 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 Dtest-diagnostics-channel-memory-leak.js11 function noop() {} function
16 subscribe(String(i), noop);
17 unsubscribe(String(i), noop);
H A Dtest-stream-readable-didRead.js6 function noop() {} function
95 readable.on('data', noop);
108 readable.on('data', noop);
109 readable.off('data', noop);
H A Dtest-tty-backwards-api.js7 const noop = () => {};
12 setBlocking: noop,
13 getWindowSize: noop
H A Dtest-http-agent-reuse-drained-socket-only.js32 res.on('data', noop);
96 res.on('data', noop);
114 }, noop);
122 function noop() { } function
H A Dtest-net-connect-options-port.js174 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 Dcommon.js312 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 Dtest-trace-sigint-disabled.js29 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 Darraystream.js4 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 Drepl-tab-completion-nested-repls.js10 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 Dbind-params.js13 const noop = () => {};
23 .on('error', noop)
32 .on('error', noop)
41 .on('error', noop)
/third_party/node/benchmark/http/
H A Dcreate-clientrequest.js17 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 DBUILD_simulator.py18 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 DreachabilityChecks4.js16 declare function noop(): void;
24 noop();
87 noop();
/third_party/node/test/async-hooks/
H A Dinit-hooks.js19 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 Dstate.js62 function noop () { function
76 def.set = noop;
82 : noop;
85 : noop;
/third_party/skia/src/core/
H A DSkRecord.h153 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 Dsubscribe.js9 function noop() {} function
16 channel.subscribe(noop);
H A Dpublish.js10 function noop() {} function
15 channel.subscribe(noop);
/third_party/node/benchmark/streams/
H A Dreadable-bigunevenread.js13 function noop() {}
14 s._read = noop;
H A Dreadable-bigread.js13 function noop() {}
14 s._read = noop;
H A Dreadable-unevenread.js13 function noop() {}
14 s._read = noop;
H A Dreadable-readall.js13 function noop() {}
14 s._read = noop;
/third_party/node/lib/internal/repl/
H A Dawait.js29 const noop = FunctionPrototype;
55 FunctionExpression: noop,
56 ArrowFunctionExpression: noop,
57 MethodDefinition: noop,

Completed in 5 milliseconds

1234