Home
last modified time | relevance | path

Searched refs:event (Results 1 – 25 of 2175) sorted by relevance

12345678910>>...87

/external/chromium-trace/catapult/telemetry/telemetry/timeline/
Dtrace_event_importer.py46 def _ProcessAsyncEvent(self, event): argument
50 thread = (self._GetOrCreateProcess(event['pid'])
51 .GetOrCreateThread(event['tid']))
53 'event': event,
56 def _ProcessCounterEvent(self, event): argument
60 if 'id' in event:
61 ctr_name = event['name'] + '[' + str(event['id']) + ']'
63 ctr_name = event['name']
65 ctr = (self._GetOrCreateProcess(event['pid'])
66 .GetOrCreateCounter(event['cat'], ctr_name))
[all …]
Dinspector_importer_unittest.py71 event = (inspector_importer.InspectorTimelineImporter
73 self.assertEquals('Foo', event.name)
74 self.assertEquals(1, event.start)
75 self.assertEquals(3, event.end)
76 self.assertEquals(2, event.duration)
77 self.assertEquals([], event.sub_slices)
85 event = (inspector_importer.InspectorTimelineImporter
87 self.assertEquals('Foo', event.name)
88 self.assertEquals(1, event.start)
89 self.assertEquals(3, event.end)
[all …]
/external/chromium-trace/catapult/tracing/test_data/
Dv8.log204 timer-event-start,"V8.GCCompactor",1936
205 timer-event-end,"V8.GCCompactor",3220
430 timer-event-start,"V8.GCCompactor",5042
431 timer-event-end,"V8.GCCompactor",5967
554 timer-event-start,"V8.GCCompactor",7451
555 timer-event-end,"V8.GCCompactor",8337
780 timer-event-start,"V8.GCCompactor",10021
781 timer-event-end,"V8.GCCompactor",10894
1153 timer-event-start,"V8.ParseLazy",323077
1154 timer-event-end,"V8.ParseLazy",323361
[all …]
/external/ltrace/sysdeps/linux-gnu/
Devents.c43 static Event event; variable
57 enque_event(Event * event) in enque_event() argument
60 event->proc->pid, event->type); in enque_event()
67 *ne = *event; in enque_event()
83 Event * event; in each_qd_event() local
84 for (event = prev; event != NULL; ) { in each_qd_event()
85 switch ((*pred)(event, data)) { in each_qd_event()
87 prev = event; in each_qd_event()
88 event = event->next; in each_qd_event()
93 event->type, in each_qd_event()
[all …]
/external/ltrace/
Dhandle_event.c47 static void handle_signal(Event *event);
48 static void handle_exit(Event *event);
49 static void handle_exit_signal(Event *event);
50 static void handle_syscall(Event *event);
51 static void handle_arch_syscall(Event *event);
52 static void handle_sysret(Event *event);
53 static void handle_arch_sysret(Event *event);
54 static void handle_clone(Event *event);
55 static void handle_exec(Event *event);
56 static void handle_breakpoint(Event *event);
[all …]
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/
DPropertyChangeEventTest.java40 PropertyChangeEvent event = new PropertyChangeEvent(src, "myPropName", in testConstructor_Normal() local
42 assertSame(src, event.getSource()); in testConstructor_Normal()
43 assertEquals("myPropName", event.getPropertyName()); in testConstructor_Normal()
44 assertSame(oldValue, event.getOldValue()); in testConstructor_Normal()
45 assertSame(newValue, event.getNewValue()); in testConstructor_Normal()
46 assertNull(event.getPropagationId()); in testConstructor_Normal()
54 PropertyChangeEvent event = new PropertyChangeEvent(src, null, null, in testConstructor_Null() local
56 assertSame(src, event.getSource()); in testConstructor_Null()
57 assertNull(event.getPropertyName()); in testConstructor_Null()
58 assertSame(null, event.getOldValue()); in testConstructor_Null()
[all …]
/external/v8/src/heap/
Dmemory-reducer.cc29 Event event; in RunInternal() local
42 event.type = kTimer; in RunInternal()
43 event.time_ms = time_ms; in RunInternal()
47 event.should_start_incremental_gc = is_idle || optimize_for_memory; in RunInternal()
48 event.can_start_incremental_gc = in RunInternal()
51 memory_reducer_->NotifyTimer(event); in RunInternal()
65 void MemoryReducer::NotifyTimer(const Event& event) { in NotifyTimer() argument
66 DCHECK_EQ(kTimer, event.type); in NotifyTimer()
68 state_ = Step(state_, event); in NotifyTimer()
95 ScheduleTimer(event.time_ms, state_.next_gc_start_ms - event.time_ms); in NotifyTimer()
[all …]
/external/v8/src/base/platform/
Dcondition-variable.cc139 Event* event = freelist_;
140 freelist_ = event->next_;
141 delete event;
150 Event* event = freelist_;
151 if (event != NULL) {
152 freelist_ = event->next_;
154 event = new Event;
156 event->thread_ = GetCurrentThread();
157 event->notified_ = false;
162 DCHECK_NE(event, we);
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddtmf_buffer.cc72 DtmfEvent* event) { in ParseEvent() argument
74 RTC_CHECK(event); in ParseEvent()
80 event->event_no = payload[0]; in ParseEvent()
81 event->end_bit = ((payload[1] & 0x80) != 0); in ParseEvent()
82 event->volume = (payload[1] & 0x3F); in ParseEvent()
83 event->duration = payload[2] << 8 | payload[3]; in ParseEvent()
84 event->timestamp = rtp_timestamp; in ParseEvent()
100 int DtmfBuffer::InsertEvent(const DtmfEvent& event) { in InsertEvent() argument
101 if (event.event_no < 0 || event.event_no > 15 || in InsertEvent()
102 event.volume < 0 || event.volume > 36 || in InsertEvent()
[all …]
Ddtmf_buffer_unittest.cc32 static uint32_t MakeDtmfPayload(int event, bool end, int volume, int duration) { in MakeDtmfPayload() argument
39 payload |= (event & 0x00FF) << 24; in MakeDtmfPayload()
70 DtmfEvent event; in TEST() local
73 &event)); in TEST()
74 EXPECT_EQ(duration, event.duration); in TEST()
75 EXPECT_EQ(end_bit, event.end_bit); in TEST()
76 EXPECT_EQ(event_no, event.event_no); in TEST()
77 EXPECT_EQ(timestamp, event.timestamp); in TEST()
78 EXPECT_EQ(volume, event.volume); in TEST()
81 DtmfBuffer::ParseEvent(timestamp, payload_ptr, 3, &event)); in TEST()
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.event_1.2.0.v20100503.jar ... public void postEvent (org.osgi.service.event.Event) org.osgi.service.event ...
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DMotionEventTest.java16 private MotionEvent event; field in MotionEventTest
21 event = MotionEvent.obtain(100, 200, MotionEvent.ACTION_MOVE, 5.0f, 10.0f, 0); in setUp()
22 shadowMotionEvent = shadowOf(event); in setUp()
27 assertThat(event.getX(0), equalTo(5.0f)); in addingSecondPointerSetsCount()
28 assertThat(event.getY(0), equalTo(10.0f)); in addingSecondPointerSetsCount()
29 assertThat(event.getPointerCount(), equalTo(1)); in addingSecondPointerSetsCount()
31 shadowOf(event).setPointer2( 20.0f, 30.0f ); in addingSecondPointerSetsCount()
33 assertThat(event.getX(1), equalTo(20.0f)); in addingSecondPointerSetsCount()
34 assertThat(event.getY(1), equalTo(30.0f)); in addingSecondPointerSetsCount()
35 assertThat(event.getPointerCount(), equalTo(2)); in addingSecondPointerSetsCount()
[all …]
/external/autotest/client/site_tests/firmware_TouchMTB/
Dmtb.py54 for event in packet:
57 pretty_event.append('time %.6f,' % event[MTB.EV_TIME])
58 if event.get(MTB.SYN_REPORT):
61 ev_type = event[MTB.EV_TYPE]
63 ev_code = event[MTB.EV_CODE]
66 pretty_event.append('value %d' % event[MTB.EV_VALUE])
77 for event in packet:
78 if event.get(MTB.SYN_REPORT):
79 evemu_event = evemu_format_syn_report % event[MTB.EV_TIME]
81 evemu_event = evemu_format % (event[MTB.EV_TIME],
[all …]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
DCTableCombo.java73 public void handleEvent(Event event) { in init()
74 if (m_popup == event.widget) { in init()
75 handlePopupEvent(event); in init()
78 if (m_text == event.widget) { in init()
79 handleTextEvent(event); in init()
82 if (m_table == event.widget) { in init()
83 handleTableEvent(event); in init()
86 if (m_arrow == event.widget) { in init()
87 handleArrowEvent(event); in init()
90 if (CTableCombo.this == event.widget) { in init()
[all …]
/external/droiddriver/src/io/appium/droiddriver/scroll/
DAccessibilityEventScrollStepStrategy.java80 public boolean accept(AccessibilityEvent event) { in accept() argument
81 if ((event.getEventType() & AccessibilityEvent.TYPE_VIEW_SCROLLED) != 0) { in accept()
86 lastEvent = AccessibilityEvent.obtain(event); in accept()
118 AccessibilityEvent event = doScrollAndReturnEvent(driver.on(containerFinder), direction); in scroll() local
119 if (detectEnd(event, direction.axis())) { in scroll()
121 Logs.log(Log.DEBUG, "reached scroll end with event: " + event); in scroll()
125 if (event != null) { in scroll()
126 event.recycle(); in scroll()
136 protected boolean detectEnd(AccessibilityEvent event, Axis axis) { in detectEnd() argument
137 if (event == null) { in detectEnd()
[all …]
/external/libchrome/base/synchronization/
Dwaitable_event_unittest.cc18 WaitableEvent event(true, false); in TEST() local
20 EXPECT_FALSE(event.IsSignaled()); in TEST()
22 event.Signal(); in TEST()
23 EXPECT_TRUE(event.IsSignaled()); in TEST()
24 EXPECT_TRUE(event.IsSignaled()); in TEST()
26 event.Reset(); in TEST()
27 EXPECT_FALSE(event.IsSignaled()); in TEST()
28 EXPECT_FALSE(event.TimedWait(TimeDelta::FromMilliseconds(10))); in TEST()
30 event.Signal(); in TEST()
31 event.Wait(); in TEST()
[all …]
/external/jmdns/src/javax/jmdns/impl/
DListenerStatus.java57 void serviceAdded(ServiceEvent event) { in serviceAdded() argument
58 String qualifiedName = event.getName() + "." + event.getType(); in serviceAdded()
59 if (null == _addedServices.putIfAbsent(qualifiedName, event.getInfo().clone())) { in serviceAdded()
60 this.getListener().serviceAdded(event); in serviceAdded()
61 ServiceInfo info = event.getInfo(); in serviceAdded()
63 this.getListener().serviceResolved(event); in serviceAdded()
66 logger.finer("Service Added called for a service already added: " + event); in serviceAdded()
76 void serviceRemoved(ServiceEvent event) { in serviceRemoved() argument
77 String qualifiedName = event.getName() + "." + event.getType(); in serviceRemoved()
79 this.getListener().serviceRemoved(event); in serviceRemoved()
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
Dblob_timeline.py26 def IsWriteEvent(event): argument
27 return event.name == WRITE_EVENT_NAME
30 def IsReadEvent(event): argument
31 return event.name == READ_EVENT_NAME
34 def IsEventInInteraction(event, interaction): argument
35 return interaction.start <= event.start <= interaction.end
38 def ThreadDurationIfPresent(event): argument
39 if event.thread_duration:
40 return event.thread_duration
42 return event.duration
[all …]
Drendering_stats.py56 for event in itertools.chain(
59 if event.start >= timeline_range.min and event.end <= timeline_range.max:
60 for ss in event.sub_slices:
87 for event in input_events:
88 data = event.args['data']
102 input_event_latencies.append((start_time, event.name, latency))
114 for event in process.IterAllSlicesOfName(
116 if 'data' in event.args and event.args['data']['frame_count'] == 1:
118 for event in process.IterAllSlicesOfName(
120 if 'data' in event.args and event.args['data']['frame_count'] == 1:
[all …]
/external/wpa_supplicant_8/src/drivers/
Drfkill.c58 struct rfkill_event event; in rfkill_receive() local
62 len = read(rfkill->fd, &event, sizeof(event)); in rfkill_receive()
74 if (event.op != RFKILL_OP_CHANGE || event.idx != rfkill->idx) in rfkill_receive()
79 event.idx, event.type, event.op, event.soft, in rfkill_receive()
80 event.hard); in rfkill_receive()
82 if (event.hard) { in rfkill_receive()
85 } else if (event.soft) { in rfkill_receive()
106 struct rfkill_event event; in rfkill_init() local
140 len = read(rfkill->fd, &event, sizeof(event)); in rfkill_init()
154 if (event.op != RFKILL_OP_ADD || in rfkill_init()
[all …]
/external/snakeyaml/src/test/java/org/pyyaml/
DPyEmitterTest.java74 for (Event event : events) { in _testEmitter()
75 emitter.emit(event); in _testEmitter()
83 Event event = parser.getEvent(); in _testEmitter() local
84 newEvents.add(event); in _testEmitter()
91 Event event = iter1.next(); in _testEmitter() local
93 assertEquals(event.getClass().getName(), newEvent.getClass().getName()); in _testEmitter()
94 if (event instanceof NodeEvent) { in _testEmitter()
95 NodeEvent e1 = (NodeEvent) event; in _testEmitter()
99 if (event instanceof CollectionStartEvent) { in _testEmitter()
100 CollectionStartEvent e1 = (CollectionStartEvent) event; in _testEmitter()
[all …]
/external/libevent/
Dminheap-internal.h40 struct event** p;
46 static inline void min_heap_elem_init(struct event* e);
47 static inline int min_heap_elt_is_top(const struct event *e);
48 static inline int min_heap_elem_greater(struct event *a, struct event *b);
51 static inline struct event* min_heap_top(min_heap_t* s);
53 static inline int min_heap_push(min_heap_t* s, struct event* e);
54 static inline struct event* min_heap_pop(min_heap_t* s);
55 static inline int min_heap_erase(min_heap_t* s, struct event* e);
56 static inline void min_heap_shift_up_(min_heap_t* s, unsigned hole_index, struct event* e);
57 static inline void min_heap_shift_down_(min_heap_t* s, unsigned hole_index, struct event* e);
[all …]
/external/webrtc/webrtc/base/
Devent_unittest.cc17 Event event(false, true); in TEST() local
18 ASSERT_TRUE(event.Wait(0)); in TEST()
22 Event event(true, false); in TEST() local
23 ASSERT_FALSE(event.Wait(0)); in TEST()
25 event.Set(); in TEST()
26 ASSERT_TRUE(event.Wait(0)); in TEST()
27 ASSERT_TRUE(event.Wait(0)); in TEST()
29 event.Reset(); in TEST()
30 ASSERT_FALSE(event.Wait(0)); in TEST()
34 Event event(false, false); in TEST() local
[all …]
/external/pdfium/fpdfsdk/src/javascript/
Devent.h12 class event : public CJS_EmbedObj {
14 event(CJS_Object* pJSObject);
15 ~event() override;
54 JS_STATIC_PROP(change, event);
55 JS_STATIC_PROP(changeEx, event);
56 JS_STATIC_PROP(commitKey, event);
57 JS_STATIC_PROP(fieldFull, event);
58 JS_STATIC_PROP(keyDown, event);
59 JS_STATIC_PROP(modifier, event);
60 JS_STATIC_PROP(name, event);
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DEventReporter.java56 Event event = new Event(); in addEvent() local
57 event.x = x; in addEvent()
58 event.y = y; in addEvent()
59 event.time = time; in addEvent()
60 event.level = level; in addEvent()
61 event.version = version; in addEvent()
62 event.session = session; in addEvent()
65 event.eventType = "death"; in addEvent()
68 event.eventType = "beatLevel"; in addEvent()
71 event.eventType = "beatGame"; in addEvent()
[all …]

12345678910>>...87