Home
last modified time | relevance | path

Searched refs:first_event (Results 1 – 16 of 16) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dmemory_scheduler.cc212 auto first_event = mem_events[0]; in CountMemUsage() local
213 MS_EXCEPTION_IF_NULL(first_event); in CountMemUsage()
215 if (first_event->type == kInit && mem_events.size() > 1) { in CountMemUsage()
216 first_event = mem_events[1]; in CountMemUsage()
220 for (size_t start_index = first_event->index; start_index <= last_event->index; ++start_index) { in CountMemUsage()
222 total_mem_used[start_index] += first_event->mem_size; in CountMemUsage()
231 min_mem_used_[event->index] += first_event->mem_size; in CountMemUsage()
264 auto first_event = mem_events[0]; in GenEventSpan() local
265 MS_EXCEPTION_IF_NULL(first_event); in GenEventSpan()
267 if (first_event->type == kInit && mem_events.size() > 1) { in GenEventSpan()
[all …]
/third_party/mesa3d/src/glx/
Ddri2.c95 switch ((wire->u.u.type & 0x7f) - info->codes->first_event) { in DRI2WireToEvent()
213 *eventBase = info->codes->first_event; in DRI2QueryExtension()
261 XESetWireToEvent (dpy, info->codes->first_event + i, DRI2WireToEvent); in DRI2QueryVersion()
262 XESetEventToWire (dpy, info->codes->first_event + i, DRI2EventToWire); in DRI2QueryVersion()
Dglxext.c153 switch ((wire->u.u.type & 0x7f) - glx_dpy->codes.first_event) { in XEXT_GENERATE_ERROR_STRING()
899 XESetWireToEvent(dpy, dpyPriv->codes.first_event + i, __glXWireToEvent); in __glXInitialize()
900 XESetEventToWire(dpy, dpyPriv->codes.first_event + i, __glXEventToWire); in __glXInitialize()
Ddri2_glx.c702 return glx_dpy->codes.first_event + GLX_BufferSwapComplete; in dri2GetSwapEventType()
/third_party/alsa-utils/seq/aplaymidi/
Daplaymidi.c60 struct event *first_event; /* list of all events in this track */ member
286 track->first_event = event; in new_event()
599 event = tracks[i].first_event; in cleanup_file_data()
656 tracks[i].current_event = tracks[i].first_event; in play_midi()
/third_party/grpc/src/python/grpcio_tests/tests/unit/_cython/
D_cancel_many_calls_test.py75 first_event = self._completion_queue.poll()
76 if _is_cancellation_event(first_event):
D_read_some_but_not_all_responses_test.py54 def first_event(self): member in _ServerDriver
178 server_rpc_event = server_driver.first_event()
/third_party/mesa3d/src/glx/apple/
Dappledri.c102 switch ((event->u.u.type & 0x7f) - info->codes->first_event) { in wire_to_event()
137 *event_basep = info->codes->first_event;
/third_party/mesa3d/src/glx/windows/
Dxwindowsdri.c93 *event_basep = info->codes->first_event;
/third_party/weston/xwayland/
Ddnd.c190 switch (event->response_type - wm->xfixes->first_event) { in weston_wm_handle_dnd_event()
Dselection.c686 switch (event->response_type - wm->xfixes->first_event) { in weston_wm_handle_selection_event()
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
Dglx_api.c675 int first_event; in generate_error() local
685 if (!XQueryExtension(dpy, GLX_EXTENSION_NAME, &major_opcode, &first_event, &first_error)) { in generate_error()
687 first_event = 0; in generate_error()
/third_party/flutter/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/
DNVCtrl.c113 if (event_basep) *event_basep = info->codes->first_event; in XNVCTRLQueryExtension()
1130 switch ((wire->u.u.type & 0x7F) - info->codes->first_event) { in wire_to_event()
/third_party/skia/third_party/externals/angle2/src/third_party/libXNVCtrl/
DNVCtrl.c113 if (event_basep) *event_basep = info->codes->first_event; in XNVCTRLQueryExtension()
1130 switch ((wire->u.u.type & 0x7F) - info->codes->first_event) { in wire_to_event()
/third_party/libdrm/tests/ttmtest/src/
Dxf86dri.c103 *event_basep = info->codes->first_event;
/third_party/weston/libweston/backend-x11/
Dx11.c285 b->xkb_event_base = ext->first_event; in x11_backend_setup_xkb()