/third_party/node/test/node-api/test_make_callback_recurse/ |
D | test.js | 7 const makeCallback = binding.makeCallback; constant 15 makeCallback({}, function() { 46 makeCallback({}, common.mustCall(function() { 58 makeCallback({}, common.mustCall(function() { 76 makeCallback({}, common.mustCall(function() { 103 makeCallback({ domain: d1 }, common.mustCall(function() { 105 makeCallback({ domain: d2 }, common.mustCall(function() { 107 makeCallback({ domain: d3 }, common.mustCall(function() { 121 makeCallback({ domain: d1 }, common.mustCall(function() { 123 makeCallback({ domain: d2 }, common.mustCall(function() { [all …]
|
/third_party/node/test/addons/make-callback-recurse/ |
D | test.js | 7 const makeCallback = binding.makeCallback; constant 14 makeCallback({}, () => { 45 makeCallback({}, common.mustCall(() => { 57 makeCallback({}, common.mustCall(() => { 75 makeCallback({}, common.mustCall(() => { 102 makeCallback({ domain: d1 }, common.mustCall(() => { 104 makeCallback({ domain: d2 }, common.mustCall(() => { 106 makeCallback({ domain: d3 }, common.mustCall(() => { 120 makeCallback({ domain: d1 }, common.mustCall(() => { 122 makeCallback({ domain: d2 }, common.mustCall(() => { [all …]
|
/third_party/node/test/addons/make-callback/ |
D | test.js | 7 const makeCallback = binding.makeCallback; constant 9 assert.strictEqual(makeCallback(process, common.mustCall(function() { 15 assert.strictEqual(makeCallback(process, common.mustCall(function(x) { 36 assert.strictEqual(makeCallback(recv, 'one'), 42); 37 assert.strictEqual(makeCallback(recv, 'two', 1337), 42); 41 assert.strictEqual(makeCallback(foreignObject, 'fortytwo'), 42); 51 assert.notStrictEqual(makeCallback(process, target, Object), Object); 65 assert.strictEqual(makeCallback(process, forward, endpoint), Object);
|
/third_party/node/test/node-api/test_make_callback/ |
D | test.js | 7 const makeCallback = binding.makeCallback; constant 21 assert.strictEqual(makeCallback(resource, process, common.mustCall(function() { 27 assert.strictEqual(makeCallback(resource, process, common.mustCall(function(x) { 34 assert.strictEqual(makeCallback(resource, this, 70 assert.notStrictEqual(makeCallback(resource, process, target, Object), Object); 86 assert.strictEqual(makeCallback(resource, process, forward, endpoint), Object);
|
D | test-async-hooks.js | 7 const makeCallback = binding.makeCallback; constant 42 makeCallback(resource, process, function cb() {
|
/third_party/node/test/addons/make-callback-domain-warning/ |
D | test.js | 8 function makeCallback(object, cb) { function 9 binding.makeCallback(object, function someMethod() { setImmediate(cb); }); 26 makeCallback(new Resource(d), common.mustCall(() => { 31 makeCallback({}, common.mustCall(() => { 35 makeCallback(new Resource(d), common.mustCall(() => {
|
/third_party/node/lib/ |
D | fs.js | 189 function makeCallback(cb) { function 234 callback = makeCallback(callback); 525 callback = makeCallback(callback); 569 callback = makeCallback(callback); 1011 callback = makeCallback(callback); 1114 callback = makeCallback(callback); 1166 callback = makeCallback(callback); 1285 req.oncomplete = makeCallback(callback); 1313 req.oncomplete = makeCallback(callback); 1353 callback = makeCallback(callback); [all …]
|
/third_party/node/test/pummel/ |
D | test-net-write-callbacks.js | 43 function makeCallback(c) { function 63 client.write('hello world', makeCallback(i));
|
/third_party/node/test/node-api/test_async_context/ |
D | test-gcable-callback.js | 10 makeCallback, 51 makeCallback(asyncResource, process, () => {
|
D | test.js | 8 makeCallback, 43 makeCallback(resourceWrap, recv, function callback() {
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_IOJS.md | 2164 …ub.com/nodejs/node/commit/1f40b2a636)] - **fs**: add type checking to makeCallback() (cjihrig) [#8…
|
D | CHANGELOG_V9.md | 1568 …/node/commit/715baf8214)] - **fs**: use rest param & Reflect.apply in makeCallback (Mithun Sasidha…
|
D | CHANGELOG_V8.md | 5028 …thub.com/nodejs/node/commit/53828e8bff)] - **test**: extended test to makeCallback cb type check (…
|
D | CHANGELOG_V6.md | 1849 …thub.com/nodejs/node/commit/e6d6a4111c)] - **test**: extended test to makeCallback cb type check (…
|