Home
last modified time | relevance | path

Searched refs:Event (Results 1 – 25 of 627) sorted by relevance

12345678910>>...26

/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DRefBaseTests.cpp29 struct Event { struct
35 std::ostream& operator<<(std::ostream& os, const Event& event) { in operator <<()
53 bool operator==(const Event& a, const Event& b) { in operator ==()
57 using Events = std::vector<Event>;
69 mEvents->emplace_back(Event{Action::kReference, mId}); in Reference()
73 mEvents->emplace_back(Event{Action::kRelease, mId}); in Release()
79 events->emplace_back(Event{Action::kAssign, mId, other.mId}); in operator =()
123 EXPECT_THAT(events, testing::ElementsAre(Event{Action::kRelease, 1}, // release ref in TEST()
124 Event{Action::kAssign, 1, 2} // acquire tracker2 in TEST()
135 EXPECT_THAT(events, testing::ElementsAre(Event{Action::kAssign, 1, 0} // nullify ref in TEST()
[all …]
/third_party/node/test/parallel/
Dtest-eventtarget.js6 Event,
24 ok(Event);
40 const ev = new Event('foo');
65 throws(() => new Event('foo', i), {
74 const ev = new Event('foo');
80 const ev = new Event('foo');
86 const ev = new Event('foo');
94 new Event();
97 const ev = new Event('foo', {}, {});
101 const ev = new Event('foo');
[all …]
Dtest-eventtarget-whatwg-once.js7 Event,
30 document.dispatchEvent(new Event('test'));
36 document.dispatchEvent(new Event('test'));
52 document.dispatchEvent(new Event('test'));
56 document.dispatchEvent(new Event('test'));
62 document.dispatchEvent(new Event('test'));
74 document.dispatchEvent(new Event('test'));
77 document.dispatchEvent(new Event('test'));
86 document.dispatchEvent(new Event('test'));
89 document.dispatchEvent(new Event('test'));
Dtest-nodeeventtarget.js6 Event,
39 ok(eventTarget.dispatchEvent(new Event('foo')));
41 eventTarget.dispatchEvent(new Event('foo'));
45 eventTarget.dispatchEvent(new Event('foo'));
66 eventTarget.dispatchEvent(new Event('foo'));
68 eventTarget.dispatchEvent(new Event('foo'));
72 eventTarget.dispatchEvent(new Event('foo'));
93 eventTarget.dispatchEvent(new Event('foo'));
95 eventTarget.dispatchEvent(new Event('foo'));
99 eventTarget.dispatchEvent(new Event('foo'));
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Devent_test.cpp33 for (auto mode : {marl::Event::Mode::Manual, marl::Event::Mode::Auto}) { in TEST_P()
34 auto event = marl::Event(mode); in TEST_P()
45 auto event = marl::Event(marl::Event::Mode::Auto); in TEST_P()
53 auto event = marl::Event(marl::Event::Mode::Manual); in TEST_P()
62 auto event = marl::Event(marl::Event::Mode::Auto); in TEST_P()
63 auto done = marl::Event(marl::Event::Mode::Auto); in TEST_P()
87 auto event = marl::Event(marl::Event::Mode::Manual); in TEST_P()
102 for (auto mode : {marl::Event::Mode::Manual, marl::Event::Mode::Auto}) { in TEST_P()
104 auto eventA = marl::Event(mode); in TEST_P()
105 auto eventB = marl::Event(mode); in TEST_P()
[all …]
Devent_bench.cpp22 BENCHMARK_DEFINE_F(Schedule, Event)(benchmark::State& state) { in BENCHMARK_DEFINE_F() argument
25 marl::containers::vector<marl::Event, 1> events; in BENCHMARK_DEFINE_F()
28 marl::Event prev = events[i]; in BENCHMARK_DEFINE_F()
29 marl::Event next = events[i + 1]; in BENCHMARK_DEFINE_F()
40 BENCHMARK_REGISTER_F(Schedule, Event)->Apply(Schedule::args<512>);
46 marl::Event passToA(marl::Event::Mode::Auto); in BENCHMARK_DEFINE_F()
47 marl::Event passToB(marl::Event::Mode::Auto); in BENCHMARK_DEFINE_F()
48 marl::Event done(marl::Event::Mode::Auto); in BENCHMARK_DEFINE_F()
/third_party/typescript/tests/baselines/reference/
DlambdaArgCrash.symbols2 class Event {
3 >Event : Symbol(Event, Decl(lambdaArgCrash.ts, 0, 0))
6 >_listeners : Symbol(Event._listeners, Decl(lambdaArgCrash.ts, 0, 13))
13 >this._listeners : Symbol(Event._listeners, Decl(lambdaArgCrash.ts, 0, 13))
14 >this : Symbol(Event, Decl(lambdaArgCrash.ts, 0, 0))
15 >_listeners : Symbol(Event._listeners, Decl(lambdaArgCrash.ts, 0, 13))
20 >add : Symbol(Event.add, Decl(lambdaArgCrash.ts, 10, 2))
29 >this._listeners : Symbol(Event._listeners, Decl(lambdaArgCrash.ts, 0, 13))
30 >this : Symbol(Event, Decl(lambdaArgCrash.ts, 0, 0))
31 >_listeners : Symbol(Event._listeners, Decl(lambdaArgCrash.ts, 0, 13))
[all …]
DmetadataOfEventAlias.symbols2 export interface Event { title: string };
3 >Event : Symbol(Event, Decl(event.ts, 0, 0))
4 >title : Symbol(Event.title, Decl(event.ts, 0, 24))
7 import { Event } from './event';
8 >Event : Symbol(Event, Decl(test.ts, 0, 8))
18 @Input event: Event;
21 >Event : Symbol(Event, Decl(test.ts, 0, 8))
DtypeFromPropertyAssignment21.types3 Event.prototype.removeChildren = function () {
4 >Event.prototype.removeChildren = function () { this.textContent = 'nope, not going to happen'} …
5 >Event.prototype.removeChildren : any
6 >Event.prototype : Event
7 >Event : { new (type: string, eventInitDict?: EventInit): Event; prototype: Event; readonly AT_TARG…
8 >prototype : Event
15 >this : Event
DeventEmitterPatternWithRecordOfFunction.types17 emit<Event extends keyof M>(event: Event, ...args: Args<M[Event]>): boolean;
18 >emit : <Event extends keyof M>(event: Event, ...args: Args<M[Event]>) => boolean
19 >event : Event
20 >args : Args<M[Event]>
/third_party/flutter/skia/third_party/externals/angle2/util/
DOSWindow.cpp254 static std::string KeyState(const Event::KeyEvent &event) in KeyState()
284 static void PrintEvent(const Event &event) in PrintEvent()
288 case Event::EVENT_CLOSED: in PrintEvent()
291 case Event::EVENT_MOVED: in PrintEvent()
295 case Event::EVENT_RESIZED: in PrintEvent()
299 case Event::EVENT_LOST_FOCUS: in PrintEvent()
302 case Event::EVENT_GAINED_FOCUS: in PrintEvent()
305 case Event::EVENT_TEXT_ENTERED: in PrintEvent()
309 case Event::EVENT_KEY_PRESSED: in PrintEvent()
313 case Event::EVENT_KEY_RELEASED: in PrintEvent()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
Devent.h28 class Event {
43 MARL_NO_EXPORT inline Event(Mode mode = Mode::Auto,
94 MARL_NO_EXPORT inline static Event any(Mode mode,
102 MARL_NO_EXPORT inline static Event any(const Iterator& begin,
131 Event::Shared::Shared(Allocator* allocator, Mode mode, bool initialState) in Shared()
134 void Event::Shared::signal() { in signal()
150 void Event::Shared::wait() { in wait()
159 bool Event::Shared::wait_for( in wait_for()
172 bool Event::Shared::wait_until( in wait_until()
184 Event::Event(Mode mode /* = Mode::Auto */, in Event() function
[all …]
/third_party/vk-gl-cts/framework/common/
DtcuThreadUtil.hpp41 class Event class
51 Event (void);
52 ~Event (void);
64 Event (const Event&);
65 Event& operator= (const Event&);
72 Object (const char* type, de::SharedPtr<Event> createEvent);
77 void read (de::SharedPtr<Event> event, std::vector<de::SharedPtr<Event> >& deps);
78 void modify (de::SharedPtr<Event> event, std::vector<de::SharedPtr<Event> >& deps);
82 de::SharedPtr<Event> m_modify;
83 std::vector<de::SharedPtr<Event> > m_reads;
[all …]
DtcuThreadUtil.cpp37 Event::Event (void) in Event() function in tcu::ThreadUtil::Event
44 Event::~Event (void) in ~Event()
48 void Event::setResult (Result result) in setResult()
59 Event::Result Event::waitReady (void) in waitReady()
78 Object::Object (const char* type, SharedPtr<Event> e) in Object()
88 void Object::read (SharedPtr<Event> event, std::vector<SharedPtr<Event> >& deps) in read()
97 void Object::modify (SharedPtr<Event> event, std::vector<SharedPtr<Event> >& deps) in modify()
115 , m_event (new Event) in Operation()
130 if (m_deps[depNdx]->waitReady() != Event::RESULT_OK) in execute()
144 m_event->setResult(Event::RESULT_FAILED); in execute()
[all …]
/third_party/skia/third_party/externals/angle2/util/
DOSWindow.cpp260 static std::string KeyState(const Event::KeyEvent &event) in KeyState()
290 static void PrintEvent(const Event &event) in PrintEvent()
294 case Event::EVENT_CLOSED: in PrintEvent()
297 case Event::EVENT_MOVED: in PrintEvent()
301 case Event::EVENT_RESIZED: in PrintEvent()
305 case Event::EVENT_LOST_FOCUS: in PrintEvent()
308 case Event::EVENT_GAINED_FOCUS: in PrintEvent()
311 case Event::EVENT_TEXT_ENTERED: in PrintEvent()
315 case Event::EVENT_KEY_PRESSED: in PrintEvent()
319 case Event::EVENT_KEY_RELEASED: in PrintEvent()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/util/windows/win32/
DWin32Window.cpp252 Event event; in WndProc()
253 event.Type = Event::EVENT_CLOSED; in WndProc()
268 Event event; in WndProc()
269 event.Type = Event::EVENT_MOVED; in WndProc()
292 Event event; in WndProc()
293 event.Type = Event::EVENT_RESIZED; in WndProc()
303 Event event; in WndProc()
304 event.Type = Event::EVENT_GAINED_FOCUS; in WndProc()
311 Event event; in WndProc()
312 event.Type = Event::EVENT_LOST_FOCUS; in WndProc()
[all …]
/third_party/skia/third_party/externals/angle2/util/windows/win32/
DWin32Window.cpp253 Event event; in WndProc()
254 event.Type = Event::EVENT_CLOSED; in WndProc()
269 Event event; in WndProc()
270 event.Type = Event::EVENT_MOVED; in WndProc()
296 Event event; in WndProc()
297 event.Type = Event::EVENT_RESIZED; in WndProc()
307 Event event; in WndProc()
308 event.Type = Event::EVENT_GAINED_FOCUS; in WndProc()
315 Event event; in WndProc()
316 event.Type = Event::EVENT_LOST_FOCUS; in WndProc()
[all …]
/third_party/typescript/tests/lib/
Dlib.d.ts4251 (evt: Event): void;
4284 interface AnimationEvent extends Event {
4296 oncached: (ev: Event) => any;
4297 onchecking: (ev: Event) => any;
4298 ondownloading: (ev: Event) => any;
4299 onerror: (ev: Event) => any;
4300 onnoupdate: (ev: Event) => any;
4301 onobsolete: (ev: Event) => any;
4303 onupdateready: (ev: Event) => any;
4314 addEventListener(type: "cached", listener: (ev: Event) => any, useCapture?: boolean): void;
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLEvent.cpp18 cl_int Event::setUserEventStatus(cl_int executionStatus) in setUserEventStatus()
28 cl_int Event::getInfo(EventInfo name, size_t valueSize, void *value, size_t *valueSizeRet) const in getInfo()
92 cl_int Event::setCallback(cl_int commandExecCallbackType, EventCB pfnNotify, void *userData) in setCallback()
106 cl_int Event::getProfilingInfo(ProfilingInfo name, in getProfilingInfo()
114 Event::~Event() = default;
116 void Event::callback(cl_int commandStatus) in callback()
131 EventPtrs Event::Cast(cl_uint numEvents, const cl_event *eventList) in Cast()
137 events.emplace_back(&(*eventList++)->cast<Event>()); in Cast()
142 Event::Event(Context &context, cl_int &errorCode) in Event() function in cl::Event
148 Event::Event(CommandQueue &queue, in Event() function in cl::Event
DCLEvent.h22 class Event final : public _cl_event, public Object
39 ~Event() override;
58 Event(Context &context, cl_int &errorCode);
60 Event(CommandQueue &queue,
80 inline Context &Event::getContext() in getContext()
85 inline const Context &Event::getContext() const in getContext()
90 inline const CommandQueuePtr &Event::getCommandQueue() const in getCommandQueue()
95 inline cl_command_type Event::getCommandType() const in getCommandType()
100 inline bool Event::wasStatusChanged() const in wasStatusChanged()
106 inline T &Event::getImpl() const in getImpl()
/third_party/skia/third_party/externals/angle2/util/x11/
DX11Window.cpp245 static void AddX11KeyStateToEvent(Event *event, unsigned int state) in AddX11KeyStateToEvent()
504 Event event; in processEvent()
544 event.Type = Event::EVENT_MOUSE_WHEEL_MOVED; in processEvent()
551 event.Type = Event::EVENT_MOUSE_BUTTON_RELEASED; in processEvent()
562 Event event; in processEvent()
589 event.Type = Event::EVENT_MOUSE_BUTTON_RELEASED; in processEvent()
600 Event event; in processEvent()
601 event.Type = Event::EVENT_KEY_PRESSED; in processEvent()
610 Event event; in processEvent()
611 event.Type = Event::EVENT_KEY_RELEASED; in processEvent()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/util/x11/
DX11Window.cpp245 static void AddX11KeyStateToEvent(Event *event, unsigned int state) in AddX11KeyStateToEvent()
496 Event event; in processEvent()
536 event.Type = Event::EVENT_MOUSE_WHEEL_MOVED; in processEvent()
543 event.Type = Event::EVENT_MOUSE_BUTTON_RELEASED; in processEvent()
554 Event event; in processEvent()
581 event.Type = Event::EVENT_MOUSE_BUTTON_RELEASED; in processEvent()
592 Event event; in processEvent()
593 event.Type = Event::EVENT_KEY_PRESSED; in processEvent()
602 Event event; in processEvent()
603 event.Type = Event::EVENT_KEY_RELEASED; in processEvent()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/util/osx/
DOSXWindow.mm12 // Include Carbon to use the keycode names in Carbon's Event.h
45 Event event;
46 event.Type = Event::EVENT_TEST;
62 Event event;
63 event.Type = Event::EVENT_CLOSED;
126 Event event;
127 event.Type = Event::EVENT_CLOSED;
135 Event event;
136 event.Type = Event::EVENT_RESIZED;
145 Event event;
[all …]
/third_party/libinput/doc/user/
Dincorrectly-enabled-hires.rst34 # Event type 0 (EV_SYN)
35 # Event type 1 (EV_KEY)
36 # Event code 272 (BTN_LEFT)
37 # Event type 2 (EV_REL)
38 # Event code 0 (REL_X)
39 # Event code 1 (REL_Y)
40 # Event code 6 (REL_HWHEEL)
41 # Event code 8 (REL_WHEEL)
42 # Event code 11 (REL_WHEEL_HI_RES)
43 # Event code 12 (REL_HWHEEL_HI_RES)
/third_party/vk-gl-cts/execserver/
DxsWin32TestProcess.hpp58 class Event class
61 Event (bool manualReset, bool initialState);
62 ~Event (void);
70 Event (const Event& other);
71 Event& operator= (const Event& other);
90 Event m_cancelEvent;
107 Event m_cancelEvent;

12345678910>>...26