Home
last modified time | relevance | path

Searched refs:kCallback (Results 1 – 6 of 6) sorted by relevance

/third_party/node/test/common/
Dduplexpair.js5 const kCallback = Symbol('Callback'); constant
11 this[kCallback] = null;
16 const callback = this[kCallback];
18 this[kCallback] = null;
25 assert.strictEqual(this[kOtherSide][kCallback], null);
30 this[kOtherSide][kCallback] = callback;
Dcountdown.js5 const kCallback = Symbol('callback'); constant
13 this[kCallback] = common.mustCall(cb);
19 this[kCallback]();
/third_party/node/lib/internal/streams/
Dduplexpair.js9 const kCallback = Symbol('Callback'); constant
15 this[kCallback] = null;
20 const callback = this[kCallback];
22 this[kCallback] = null;
32 this[kOtherSide][kCallback] = callback;
/third_party/node/lib/
Dperf_hooks.js76 const kCallback = Symbol('callback'); constant
348 [kCallback]: {
549 observer.runInAsyncScope(observer[kCallback],
/third_party/mindspore/mindspore/ccsrc/profiler/device/gpu/
Dgpu_profiling.h36 enum class CUPTIApiType { kCallback = 0, kActivity = 1 }; enumerator
Dgpu_profiling.cc250 case CUPTIApiType::kCallback: { in AddEvent()
299 case CUPTIApiType::kCallback: { in ProcessEvents()
370 event.api_type = CUPTIApiType::kCallback; in EventHandleProcess()