Home
last modified time | relevance | path

Searched refs:eventName (Results 1 – 25 of 63) sorted by relevance

123

/third_party/node/deps/undici/src/types/
Ddispatcher.d.ts41 on(eventName: 'connect', callback: (origin: URL, targets: readonly Dispatcher[]) => void): this;
42 …on(eventName: 'disconnect', callback: (origin: URL, targets: readonly Dispatcher[], error: Errors.…
43 …on(eventName: 'connectionError', callback: (origin: URL, targets: readonly Dispatcher[], error: Er…
44 on(eventName: 'drain', callback: (origin: URL) => void): this;
47 once(eventName: 'connect', callback: (origin: URL, targets: readonly Dispatcher[]) => void): this;
48 …once(eventName: 'disconnect', callback: (origin: URL, targets: readonly Dispatcher[], error: Error…
49 …once(eventName: 'connectionError', callback: (origin: URL, targets: readonly Dispatcher[], error: …
50 once(eventName: 'drain', callback: (origin: URL) => void): this;
53 off(eventName: 'connect', callback: (origin: URL, targets: readonly Dispatcher[]) => void): this;
54 …off(eventName: 'disconnect', callback: (origin: URL, targets: readonly Dispatcher[], error: Errors…
[all …]
/third_party/node/deps/npm/node_modules/event-target-shim/dist/
Devent-target-shim.js542 function defineEventAttributeDescriptor(eventName) { argument
546 let node = listeners.get(eventName);
564 let node = listeners.get(eventName);
571 listeners.set(eventName, node.next);
573 listeners.delete(eventName);
592 listeners.set(eventName, newNode);
609 function defineEventAttribute(eventTargetPrototype, eventName) { argument
612 `on${eventName}`,
613 defineEventAttributeDescriptor(eventName)
686 addEventListener(eventName, listener, options) { argument
[all …]
Devent-target-shim.mjs534 * @param {string} eventName The event name to get property descriptor.
538 function defineEventAttributeDescriptor(eventName) { argument
542 let node = listeners.get(eventName);
560 let node = listeners.get(eventName);
567 listeners.set(eventName, node.next);
569 listeners.delete(eventName);
588 listeners.set(eventName, newNode);
602 * @param {string} eventName The event name to define.
605 function defineEventAttribute(eventTargetPrototype, eventName) { argument
608 `on${eventName}`,
[all …]
/third_party/node/test/parallel/
Dtest-stream-pipe-unpipe-streams.js49 srcCheckEventNames.forEach((eventName) => {
51 source.listenerCount(eventName), 0,
52 `source's '${eventName}' event listeners not removed`
68 destCheckEventNames.forEach((eventName) => {
70 dest.listenerCount(eventName), 0,
71 `destination{${currentDestId}}'s '${eventName}' event ` +
/third_party/typescript/src/tsserver/
DnodeServer.ts590 …const eventName: protocol.TypesInstallerInitializationFailedEventName = "typesInstallerInitializat…
591 this.event(body, eventName);
599 const eventName: protocol.BeginInstallTypesEventName = "beginInstallTypes";
600 this.event(body, eventName);
613 const eventName: protocol.TelemetryEventName = "telemetry";
614 this.event(body, eventName);
622 const eventName: protocol.EndInstallTypesEventName = "endInstallTypes";
623 this.event(body, eventName);
674 private socketEventQueue: { body: any, eventName: string }[] | undefined;
679 const event = (body: object, eventName: string) => {
[all …]
/third_party/node/benchmark/events/
Dee-listen-unique.js23 for (const eventName of eventNames) {
25 ee.on(eventName, listeners[k]);
28 for (const eventName of eventNames) {
30 ee.removeListener(eventName, listeners[k]);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DDebugAnnotator9.cpp18 const char *eventName, in beginEvent() argument
21 angle::LoggingAnnotator::beginEvent(context, entryPoint, eventName, eventMessage); in beginEvent()
28 const char *eventName, in endEvent() argument
31 angle::LoggingAnnotator::endEvent(context, eventName, entryPoint); in endEvent()
DDebugAnnotator9.h23 const char *eventName,
26 const char *eventName,
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DLoggingAnnotator.cpp23 const char *eventName, in beginEvent() argument
26 ANGLE_TRACE_EVENT_BEGIN0("gpu.angle", eventName); in beginEvent()
29 void LoggingAnnotator::endEvent(gl::Context *context, const char *eventName, EntryPoint entryPoint) in endEvent() argument
31 ANGLE_TRACE_EVENT_END0("gpu.angle", eventName); in endEvent()
DLoggingAnnotator.h29 const char *eventName,
31 void endEvent(gl::Context *context, const char *eventName, EntryPoint entryPoint) override;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DDebugAnnotator11.cpp24 const char *eventName, in beginEvent() argument
27 angle::LoggingAnnotator::beginEvent(context, entryPoint, eventName, eventMessage); in beginEvent()
37 const char *eventName, in endEvent() argument
40 angle::LoggingAnnotator::endEvent(context, eventName, entryPoint); in endEvent()
/third_party/typescript/src/testRunner/unittests/tsserver/events/
DprojectUpdatedInBackground.ts57 eventName: server.ProjectsUpdatedInBackgroundEvent,
66 eventName: server.ProjectsUpdatedInBackgroundEvent,
101 eventName: server.ProjectsUpdatedInBackgroundEvent,
110 eventName: server.ProjectsUpdatedInBackgroundEvent,
215 eventName: server.ProjectsUpdatedInBackgroundEvent,
449 eventName: server.ProjectsUpdatedInBackgroundEvent,
460 eventName: server.ProjectsUpdatedInBackgroundEvent,
489 … return JSON.stringify(event && { eventName: event.eventName, data: event.data });
500 assert.strictEqual(actualEvent.eventName, expectedEvent.eventName);
DprojectLoading.ts36 { eventName: server.ProjectLoadingStartEvent, data: { project, reason } },
37 { eventName: server.ProjectLoadingFinishEvent, data: { project } }
222 const actual = getEvents().map(e => ({ eventName: e.event, data: e.body }));
225 … return { eventName: e.eventName, data: { projectName: project.getProjectName(), ...rest } };
/third_party/parse5/packages/parse5-sax-parser/lib/
Dindex.ts216 protected emitIfListenerExists(eventName: string, token: SaxToken): boolean {
217 if (this.listenerCount(eventName) === 0) {
221 this._emitToken(eventName, token);
226 protected _emitToken(eventName: string, token: SaxToken): void {
227 this.emit(eventName, token);
/third_party/parse5/packages/parse5-html-rewriting-stream/lib/
Dindex.ts84 protected override emitIfListenerExists(eventName: string, token: SaxToken): boolean {
85 if (!super.emitIfListenerExists(eventName, token)) {
96 protected override _emitToken(eventName: string, token: SaxToken): void {
97 this.emit(eventName, token, this._getRawHtml(token.sourceCodeLocation!));
/third_party/node/test/fixtures/wpt/dom/events/non-cancelable-when-passive/resources/
Dscrolling.js10 async function runTest({target, eventName, passive, expectCancelable}) { property
15 target.addEventListener(eventName, function (event) {
31 await t.step_wait(() => arrived, `Didn't get event ${eventName} on ${target.localName}`);
/third_party/typescript/tests/baselines/reference/
DsignatureHelpJSDocCallbackTag.baseline52 "name": "eventName",
61 "text": "eventName",
234 "name": "eventName",
243 "text": "eventName",
416 "name": "eventName",
425 "text": "eventName",
DcontrolFlowGenericTypes.js137 function once<ET, T extends EventEmitter<ET>>(emittingObject: T, eventName: keyof ET): void {
138 emittingObject.off(eventName, 0);
139 emittingObject.off(eventName as typeof eventName, 0);
325 function once(emittingObject, eventName) { argument
326 emittingObject.off(eventName, 0);
327 emittingObject.off(eventName, 0);
DcontrolFlowGenericTypes.types367 function once<ET, T extends EventEmitter<ET>>(emittingObject: T, eventName: keyof ET): void {
368 >once : <ET, T extends EventEmitter<ET>>(emittingObject: T, eventName: keyof ET) => void
370 >eventName : keyof ET
372 emittingObject.off(eventName, 0);
373 >emittingObject.off(eventName, 0) : void
377 >eventName : keyof ET
380 emittingObject.off(eventName as typeof eventName, 0);
381 >emittingObject.off(eventName as typeof eventName, 0) : void
385 >eventName as typeof eventName : keyof ET
386 >eventName : keyof ET
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DDebugAnnotatorVk.cpp24 const char *eventName, in beginEvent() argument
27 angle::LoggingAnnotator::beginEvent(context, entryPoint, eventName, eventMessage); in beginEvent()
36 const char *eventName, in endEvent() argument
39 angle::LoggingAnnotator::endEvent(context, eventName, entryPoint); in endEvent()
/third_party/python/Lib/idlelib/
Dconfig.py483 for eventName in eventNames:
484 event = '<<' + eventName + '>>'
500 for eventName in eventNames:
502 'extensions', keysName, eventName, default='').split()
503 event = '<<' + eventName + '>>'
519 for eventName in eventNames:
521 'extensions', bindsName, eventName, default='').split()
522 event = '<<' + eventName + '>>'
533 eventName = eventStr[2:-2] #trim off the angle brackets
534 binding = self.GetOption('keys', keySetName, eventName, default='',
/third_party/typescript/src/testRunner/unittests/tsserver/
Dhelpers.ts296 getEvent<T extends server.ProjectServiceEvent>(eventName: T["eventName"]): T["data"] {
299 if (e.eventName === eventName) {
311 hasZeroEvent<T extends server.ProjectServiceEvent>(eventName: T["eventName"]) {
312 this.events.forEach(event => assert.notEqual(event.eventName, eventName));
442 public event<T extends object>(body: T, eventName: string) {
443 this.events.push(server.toEvent(eventName, body));
444 super.event(body, eventName);
489 …if (isArray(eventNames) ? eventNames.some(eventName => e.eventName === eventName) : eventNames ===…
511 …return (isArray(eventNames) ? eventNames.some(eventName => e.event === eventName) : e.event === ev…
/third_party/typescript/tests/cases/conformance/controlFlow/
DcontrolFlowGenericTypes.ts138 function once<ET, T extends EventEmitter<ET>>(emittingObject: T, eventName: keyof ET): void {
139 emittingObject.off(eventName, 0);
140 emittingObject.off(eventName as typeof eventName, 0);
/third_party/node/lib/internal/test_runner/
Dharness.js31 function createProcessEventHandler(eventName, rootTest) { argument
52 `triggered an ${eventName} event.`;
56 `triggered an ${eventName} event, caught by the test runner.`;
64 test.fail(new ERR_TEST_FAILURE(err, eventName));
/third_party/node/doc/api/
Devents.md427 * `eventName` {string|symbol} The name of the event being listened for
500 * `eventName` {string|symbol} The event name
505 ### `emitter.addListener(eventName, listener)`
511 * `eventName` {string|symbol}
514 Alias for `emitter.on(eventName, listener)`.
516 ### `emitter.emit(eventName[, ...args])`
522 * `eventName` {string|symbol}
527 `eventName`, in the order they were registered, passing the supplied arguments
649 ### `emitter.listenerCount(eventName[, listener])`
659 * `eventName` {string|symbol} The name of the event being listened for
[all …]

123