Home
last modified time | relevance | path

Searched refs:makeCallback (Results 1 – 14 of 14) sorted by relevance

/third_party/node/test/node-api/test_make_callback_recurse/
Dtest.js7 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/
Dtest.js7 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/
Dtest.js7 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/
Dtest.js7 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);
Dtest-async-hooks.js7 const makeCallback = binding.makeCallback; constant
42 makeCallback(resource, process, function cb() {
/third_party/node/test/addons/make-callback-domain-warning/
Dtest.js8 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/
Dfs.js189 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/
Dtest-net-write-callbacks.js43 function makeCallback(c) { function
63 client.write('hello world', makeCallback(i));
/third_party/node/test/node-api/test_async_context/
Dtest-gcable-callback.js10 makeCallback,
51 makeCallback(asyncResource, process, () => {
Dtest.js8 makeCallback,
43 makeCallback(resourceWrap, recv, function callback() {
/third_party/node/doc/changelogs/
DCHANGELOG_IOJS.md2164 …ub.com/nodejs/node/commit/1f40b2a636)] - **fs**: add type checking to makeCallback() (cjihrig) [#8…
DCHANGELOG_V9.md1568 …/node/commit/715baf8214)] - **fs**: use rest param & Reflect.apply in makeCallback (Mithun Sasidha…
DCHANGELOG_V8.md5028 …thub.com/nodejs/node/commit/53828e8bff)] - **test**: extended test to makeCallback cb type check (…
DCHANGELOG_V6.md1849 …thub.com/nodejs/node/commit/e6d6a4111c)] - **test**: extended test to makeCallback cb type check (…