Home
last modified time | relevance | path

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

12345678910>>...168

/external/pdfium/testing/resources/javascript/
Devent_properties_expected.txt2 Alert: PASS: event.change =
3 Alert: PASS: event.change = 'boo' = boo
4 Alert: PASS: event.change = boo
5 Alert: PASS: event.changeEx =
6 Alert: PASS: event.changeEx = 'boo' threw event.changeEx: Operation not supported.
7 Alert: PASS: event.commitKey = 0
8 Alert: PASS: event.commitKey = 'boo' threw event.commitKey: Operation not supported.
9 Alert: PASS: event.fieldFull threw event.fieldFull: unrecognized event
10 Alert: PASS: event.fieldFull = 'boo' threw event.fieldFull: Operation not supported.
11 Alert: PASS: event.keyDown = false
[all …]
Devent_properties.in62 expect("event.change", "");
63 expect("event.change = 'boo'", "boo");
64 expect("event.change", "boo");
66 expect("event.changeEx", "");
67 expectError("event.changeEx = 'boo'");
69 expect("event.commitKey", "");
70 expectError("event.commitKey = 'boo'");
73 // TODO(tsepez): figure out a way to set event names for tests.
74 expectError("event.fieldFull");
75 expectError("event.fieldFull = 'boo'");
[all …]
/external/arm-trusted-firmware/include/lib/el3_runtime/
Dpubsub.h13 #define __pubsub_start_sym(event) __pubsub_##event##_start argument
14 #define __pubsub_end_sym(event) __pubsub_##event##_end argument
15 #define __pubsub_section(event) __pubsub_##event argument
23 #define REGISTER_PUBSUB_EVENT(event) \ argument
24 __pubsub_start_sym(event) +0 FIXED \
26 *(__pubsub_section(event)) \
28 __pubsub_end_sym(event) +0 FIXED EMPTY 0 \
33 #define REGISTER_PUBSUB_EVENT(event) \ argument
34 __pubsub_start_sym(event) = .; \
35 KEEP(*(__pubsub_section(event))); \
[all …]
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
Devent_attributes_test.c17 struct event event, leader; in event_attributes() local
21 event_init(&event, 0x1001e); in event_attributes()
22 event_leader_ebb_init(&event); in event_attributes()
24 FAIL_IF(event_open(&event)); in event_attributes()
25 event_close(&event); in event_attributes()
28 event_init(&event, 0x001e); /* CYCLES - no PMC specified */ in event_attributes()
29 event_leader_ebb_init(&event); in event_attributes()
31 FAIL_IF(event_open(&event) == 0); in event_attributes()
34 event_init(&event, 0x2001e); in event_attributes()
35 event_leader_ebb_init(&event); in event_attributes()
[all …]
Dinstruction_count_test.c25 static int do_count_loop(struct event *event, uint64_t instructions, in do_count_loop() argument
45 event->result.value = ebb_state.stats.pmc_count[4-1]; in do_count_loop()
47 difference = event->result.value - expected; in do_count_loop()
48 percentage = (double)difference / event->result.value * 100; in do_count_loop()
53 printf("Actual %llu\n", event->result.value); in do_count_loop()
63 if (difference / event->result.value) in do_count_loop()
70 static uint64_t determine_overhead(struct event *event) in determine_overhead() argument
75 do_count_loop(event, 0, 0, false); in determine_overhead()
76 overhead = event->result.value; in determine_overhead()
79 do_count_loop(event, 0, 0, false); in determine_overhead()
[all …]
/external/pigweed/pw_trace/py/pw_trace/
Dtrace.py70 for event in events:
71 if event.module is None or event.timestamp_us is None or \
72 event.event_type is None or event.label is None:
77 "pid": event.module,
78 "name": (event.label),
79 "ts": event.timestamp_us
81 if event.event_type == TraceType.DurationStart:
83 line["tid"] = event.label
84 elif event.event_type == TraceType.DurationEnd:
86 line["tid"] = event.label
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/archrast/
Darchrast.cpp137 virtual void Handle(const DrawInstancedEvent& event) in Handle() argument
139 DrawInfoEvent e(event.data.drawId, in Handle()
141 event.data.topology, in Handle()
142 event.data.numVertices, in Handle()
145 event.data.startVertex, in Handle()
146 event.data.numInstances, in Handle()
147 event.data.startInstance, in Handle()
148 event.data.tsEnable, in Handle()
149 event.data.gsEnable, in Handle()
150 event.data.soEnable, in Handle()
[all …]
/external/libtextclassifier/java/src/com/android/textclassifier/common/statsd/
DTextClassifierEventLogger.java39 @Nullable TextClassificationSessionId sessionId, TextClassifierEvent event) { in writeEvent() argument
40 Preconditions.checkNotNull(event); in writeEvent()
45 "TextClassifierEventLogger.writeEvent: sessionId=%s,event=%s", sessionId, event)); in writeEvent()
47 if (event instanceof TextClassifierEvent.TextSelectionEvent) { in writeEvent()
48 logTextSelectionEvent(sessionId, (TextClassifierEvent.TextSelectionEvent) event); in writeEvent()
49 } else if (event instanceof TextClassifierEvent.TextLinkifyEvent) { in writeEvent()
50 logTextLinkifyEvent(sessionId, (TextClassifierEvent.TextLinkifyEvent) event); in writeEvent()
51 } else if (event instanceof TextClassifierEvent.ConversationActionsEvent) { in writeEvent()
52 logConversationActionsEvent(sessionId, (TextClassifierEvent.ConversationActionsEvent) event); in writeEvent()
53 } else if (event instanceof TextClassifierEvent.LanguageDetectionEvent) { in writeEvent()
[all …]
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/logging/
DTextClassificationEventTest.java35 final TextClassifierEvent.TextSelectionEvent event = in testTextSelectionEvent_minimal() local
39 assertThat(event.getEventCategory()).isEqualTo(TextClassifierEvent.CATEGORY_SELECTION); in testTextSelectionEvent_minimal()
40 assertMinimumCommonFields(event); in testTextSelectionEvent_minimal()
41 assertThat(event.getRelativeWordStartIndex()).isEqualTo(0); in testTextSelectionEvent_minimal()
42 assertThat(event.getRelativeWordEndIndex()).isEqualTo(0); in testTextSelectionEvent_minimal()
43 assertThat(event.getRelativeSuggestedWordStartIndex()).isEqualTo(0); in testTextSelectionEvent_minimal()
44 assertThat(event.getRelativeSuggestedWordEndIndex()).isEqualTo(0); in testTextSelectionEvent_minimal()
52 TextClassifierEvent.TextSelectionEvent event = in testTextSelectionEvent_full() local
60 assertThat(event.getEventCategory()).isEqualTo(TextClassifierEvent.CATEGORY_SELECTION); in testTextSelectionEvent_full()
61 assertFullCommonFields(event); in testTextSelectionEvent_full()
[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/grpc-grpc/src/php/tests/unit_tests/
DEndToEndTest.php45 $event = $call->startBatch([
50 $this->assertTrue($event->send_metadata);
51 $this->assertTrue($event->send_close);
53 $event = $this->server->requestCall();
54 $this->assertSame('dummy_method', $event->method);
55 $server_call = $event->call;
57 $event = $server_call->startBatch([
67 $this->assertTrue($event->send_metadata);
68 $this->assertTrue($event->send_status);
69 $this->assertFalse($event->cancelled);
[all …]
DSecureEndToEndTest.php60 $event = $call->startBatch([
65 $this->assertTrue($event->send_metadata);
66 $this->assertTrue($event->send_close);
68 $event = $this->server->requestCall();
69 $this->assertSame('dummy_method', $event->method);
70 $server_call = $event->call;
72 $event = $server_call->startBatch([
82 $this->assertTrue($event->send_metadata);
83 $this->assertTrue($event->send_status);
84 $this->assertFalse($event->cancelled);
[all …]
/external/webrtc/logging/rtc_event_log/encoder/
Drtc_event_log_encoder_legacy.cc260 std::string RtcEventLogEncoderLegacy::Encode(const RtcEvent& event) { in Encode() argument
261 switch (event.GetType()) { in Encode()
264 static_cast<const RtcEventAudioNetworkAdaptation&>(event); in Encode()
269 auto& rtc_event = static_cast<const RtcEventAlrState&>(event); in Encode()
274 auto& rtc_event = static_cast<const RtcEventAudioPlayout&>(event); in Encode()
280 static_cast<const RtcEventAudioReceiveStreamConfig&>(event); in Encode()
286 static_cast<const RtcEventAudioSendStreamConfig&>(event); in Encode()
291 auto& rtc_event = static_cast<const RtcEventBweUpdateDelayBased&>(event); in Encode()
296 auto& rtc_event = static_cast<const RtcEventBweUpdateLossBased&>(event); in Encode()
310 static_cast<const RtcEventIceCandidatePairConfig&>(event); in Encode()
[all …]
/external/dtc/
Dyamltree.c24 #define yaml_emitter_emit_or_die(emitter, event) ( \ argument
26 if (!yaml_emitter_emit(emitter, event)) \
34 yaml_event_t event; in yaml_propval_int() local
48 yaml_sequence_start_event_initialize(&event, NULL, in yaml_propval_int()
50 yaml_emitter_emit_or_die(emitter, &event); in yaml_propval_int()
81 yaml_scalar_event_initialize(&event, NULL, in yaml_propval_int()
85 yaml_scalar_event_initialize(&event, NULL, in yaml_propval_int()
88 yaml_emitter_emit_or_die(emitter, &event); in yaml_propval_int()
91 yaml_sequence_end_event_initialize(&event); in yaml_propval_int()
92 yaml_emitter_emit_or_die(emitter, &event); in yaml_propval_int()
[all …]
/external/bcc/tools/
Dzfsslower.py256 event = ct.cast(data, ct.POINTER(Data)).contents
259 if event.type == 1:
261 elif event.type == 2:
263 elif event.type == 3:
268 event.ts_us, event.task.decode('utf-8', 'replace'), event.pid,
269 type, event.size, event.offset, event.delta_us,
270 event.file.decode('utf-8', 'replace')))
273 event.task.decode('utf-8', 'replace'), event.pid, type, event.size,
274 event.offset / 1024, float(event.delta_us) / 1000,
275 event.file.decode('utf-8', 'replace')))
[all …]
Dtcptracer.py534 event = ctypes.cast(data, ctypes.POINTER(TCPIPV4Evt)).contents
539 start_ts = event.ts_ns
541 print("%-14d" % (event.ts_ns - start_ts), end="")
543 print("%-9.3f" % ((event.ts_ns - start_ts) / 1000000000.0), end="")
544 if event.type == 1:
546 elif event.type == 2:
548 elif event.type == 3:
559 (event.pid, event.comm.decode('utf-8', 'replace'),
560 event.ip,
561 inet_ntop(AF_INET, pack("I", event.saddr)),
[all …]
Dmountsnoop.py336 event = ctypes.cast(data, ctypes.POINTER(Event)).contents
339 if event.type == EventType.EVENT_MOUNT:
340 mounts[event.pid] = {
341 'pid': event.pid,
342 'tgid': event.tgid,
343 'mnt_ns': event.union.enter.mnt_ns,
344 'comm': event.union.enter.comm,
345 'flags': event.union.enter.flags,
347 elif event.type == EventType.EVENT_MOUNT_SOURCE:
348 mounts[event.pid]['source'] = event.union.str
[all …]
/external/angle/util/x11/
DX11Window.cpp18 Bool WaitForMapNotify(Display *dpy, XEvent *event, XPointer window) in WaitForMapNotify() argument
20 return event->type == MapNotify && event->xmap.window == reinterpret_cast<Window>(window); in WaitForMapNotify()
245 static void AddX11KeyStateToEvent(Event *event, unsigned int state) in AddX11KeyStateToEvent() argument
247 event->Key.Shift = state & ShiftMask; in AddX11KeyStateToEvent()
248 event->Key.Control = state & ControlMask; in AddX11KeyStateToEvent()
249 event->Key.Alt = state & Mod1Mask; in AddX11KeyStateToEvent()
250 event->Key.System = state & Mod4Mask; in AddX11KeyStateToEvent()
409 XEvent event; in messageLoop() local
410 XNextEvent(mDisplay, &event); in messageLoop()
411 processEvent(event); in messageLoop()
[all …]
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/
DEventScheduler.java55 FastEventQueue(SchedulableEvent event) { in FastEventQueue() argument
56 mFirst = event; in FastEventQueue()
74 SchedulableEvent event = mFirst; in remove() local
75 mFirst = event.mNext; in remove()
76 return event; in remove()
82 public void add(SchedulableEvent event) { in add() argument
83 event.mNext = null; in add()
84 mLast.mNext = event; in add()
85 mLast = event; in add()
126 SchedulableEvent event = null; in removeEventfromPool() local
[all …]
/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify02.c133 struct inotify_event *event; in verify_inotify() local
134 event = (struct inotify_event *)&event_buf[i]; in verify_inotify()
138 event->mask) in verify_inotify()
154 "name=\"%.*s\"", event->wd, event->mask, in verify_inotify()
155 event->cookie, event->len, event->len, in verify_inotify()
156 event->name); in verify_inotify()
158 } else if ((event_set[test_num].mask == event->mask) in verify_inotify()
161 (event_set[test_num].name, event->name, in verify_inotify()
162 event->len))) { in verify_inotify()
165 if (event->mask == IN_MOVED_FROM) { in verify_inotify()
[all …]
/external/angle/util/windows/win32/
DWin32Window.cpp253 Event event; in WndProc() local
254 event.Type = Event::EVENT_CLOSED; in WndProc()
255 window->pushEvent(event); in WndProc()
269 Event event; in WndProc() local
270 event.Type = Event::EVENT_MOVED; in WndProc()
271 event.Move.X = topLeft.x; in WndProc()
272 event.Move.Y = topLeft.y; in WndProc()
273 window->pushEvent(event); in WndProc()
296 Event event; in WndProc() local
297 event.Type = Event::EVENT_RESIZED; in WndProc()
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/gpu/
Dcupti_tracer.cc349 CuptiTracerEvent event{}; in AddKernelEventUponApiExit() local
350 event.type = CuptiTracerEventType::Kernel; in AddKernelEventUponApiExit()
351 event.source = CuptiTracerEventSource::DriverCallback; in AddKernelEventUponApiExit()
352 event.name = cbdata->symbolName ? cbdata->symbolName : cbdata->functionName; in AddKernelEventUponApiExit()
353 event.start_time_ns = start_time; in AddKernelEventUponApiExit()
354 event.end_time_ns = end_time; in AddKernelEventUponApiExit()
355 event.thread_id = Env::Default()->GetCurrentThreadId(); in AddKernelEventUponApiExit()
356 event.device_id = device_id; in AddKernelEventUponApiExit()
357 event.context_id = cbdata->contextUid; in AddKernelEventUponApiExit()
358 event.correlation_id = cbdata->correlationId; in AddKernelEventUponApiExit()
[all …]
Dcupti_collector.cc39 bool IsHostEvent(const CuptiTracerEvent& event, int64* line_id) { in IsHostEvent() argument
41 if (event.source == CuptiTracerEventSource::DriverCallback) { in IsHostEvent()
42 *line_id = event.thread_id; in IsHostEvent()
46 if (event.type != CuptiTracerEventType::Overhead) { in IsHostEvent()
47 *line_id = event.stream_id; in IsHostEvent()
53 if (event.stream_id != CuptiTracerEvent::kInvalidStreamId) { in IsHostEvent()
54 *line_id = event.stream_id; in IsHostEvent()
56 } else if (event.thread_id != CuptiTracerEvent::kInvalidThreadId && in IsHostEvent()
57 event.thread_id != 0) { in IsHostEvent()
58 *line_id = event.thread_id; in IsHostEvent()
[all …]
/external/webrtc/modules/audio_coding/neteq/
Ddtmf_buffer.cc71 DtmfEvent* event) { in ParseEvent() argument
73 RTC_CHECK(event); in ParseEvent()
79 event->event_no = payload[0]; in ParseEvent()
80 event->end_bit = ((payload[1] & 0x80) != 0); in ParseEvent()
81 event->volume = (payload[1] & 0x3F); in ParseEvent()
82 event->duration = payload[2] << 8 | payload[3]; in ParseEvent()
83 event->timestamp = rtp_timestamp; in ParseEvent()
99 int DtmfBuffer::InsertEvent(const DtmfEvent& event) { in InsertEvent() argument
100 if (event.event_no < 0 || event.event_no > 15 || event.volume < 0 || in InsertEvent()
101 event.volume > 63 || event.duration <= 0 || event.duration > 65535) { in InsertEvent()
[all …]
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_event.cc34 alts_tsi_event** event) { in alts_tsi_event_create() argument
35 if (event == nullptr || handshaker == nullptr || cb == nullptr) { in alts_tsi_event_create()
47 *event = e; in alts_tsi_event_create()
51 void alts_tsi_event_dispatch_to_handshaker(alts_tsi_event* event, bool is_ok) { in alts_tsi_event_dispatch_to_handshaker() argument
52 if (event == nullptr) { in alts_tsi_event_dispatch_to_handshaker()
58 alts_tsi_handshaker_handle_response(event->handshaker, event->recv_buffer, in alts_tsi_event_dispatch_to_handshaker()
59 event->status, &event->details, event->cb, in alts_tsi_event_dispatch_to_handshaker()
60 event->user_data, is_ok); in alts_tsi_event_dispatch_to_handshaker()
63 void alts_tsi_event_destroy(alts_tsi_event* event) { in alts_tsi_event_destroy() argument
64 if (event == nullptr) { in alts_tsi_event_destroy()
[all …]

12345678910>>...168