Searched refs:first_event (Results 1 – 16 of 16) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/runtime/device/ |
D | memory_scheduler.cc | 212 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/ |
D | dri2.c | 95 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()
|
D | glxext.c | 153 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()
|
D | dri2_glx.c | 702 return glx_dpy->codes.first_event + GLX_BufferSwapComplete; in dri2GetSwapEventType()
|
/third_party/alsa-utils/seq/aplaymidi/ |
D | aplaymidi.c | 60 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.py | 75 first_event = self._completion_queue.poll() 76 if _is_cancellation_event(first_event):
|
D | _read_some_but_not_all_responses_test.py | 54 def first_event(self): member in _ServerDriver 178 server_rpc_event = server_driver.first_event()
|
/third_party/mesa3d/src/glx/apple/ |
D | appledri.c | 102 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/ |
D | xwindowsdri.c | 93 *event_basep = info->codes->first_event;
|
/third_party/weston/xwayland/ |
D | dnd.c | 190 switch (event->response_type - wm->xfixes->first_event) { in weston_wm_handle_dnd_event()
|
D | selection.c | 686 switch (event->response_type - wm->xfixes->first_event) { in weston_wm_handle_selection_event()
|
/third_party/mesa3d/src/gallium/frontends/glx/xlib/ |
D | glx_api.c | 675 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/ |
D | NVCtrl.c | 113 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/ |
D | NVCtrl.c | 113 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/ |
D | xf86dri.c | 103 *event_basep = info->codes->first_event;
|
/third_party/weston/libweston/backend-x11/ |
D | x11.c | 285 b->xkb_event_base = ext->first_event; in x11_backend_setup_xkb()
|