/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_cc.h | 156 * called when congestion event happens (e.g., when packet is lost). 237 * a specific event happens. 240 ngtcp2_cc_event_type event, ngtcp2_tstamp ts); 266 * when congestion event happens (.e.g, packet is lost). 300 * :member:`event` is a callback function which is called when a 301 * specific event happens. 303 ngtcp2_cc_event event; member 360 /* prior stores the congestion state when a congestion event occurs 361 in order to restore the state when it turns out that the event is 419 ngtcp2_cc_event_type event, ngtcp2_tstam [all...] |
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-trace.cc | 41 // Why copy? Well, the trace event mechanism requires null-terminated in MaybeUtf8() 71 // Given that this is used primarily for trace event categories and names, 180 // We support passing one additional trace event argument with the in BUILTIN() 202 ctx.event()->set_name(*name); in BUILTIN() 206 auto annotation = ctx.event()->add_debug_annotations(); in BUILTIN() 211 auto legacy_event = ctx.event()->set_legacy_event(); in BUILTIN()
|
/third_party/pulseaudio/src/modules/bluetooth/ |
H A D | a2dp-codec-gst.c | 133 GstEvent *event; in gst_codec_init() local 166 /* First, send stream-start sticky event */ in gst_codec_init() 178 /* Second, send caps sticky event */ in gst_codec_init() 184 /* Third, send segment sticky event */ in gst_codec_init() 186 event = gst_event_new_segment(&segment); in gst_codec_init() 187 gst_pad_send_event(info->pad_sink, event); in gst_codec_init()
|
/third_party/skia/tools/debugger/ |
H A D | DebugLayerManager.cpp | 25 SkDebugf("Could not set command playhead for event {%d, %d}, it is not tracked by" in setCommand() 57 DrawEvent event = { local 65 fDraws.set(k, std::move(event)); 90 // Fetch the draw event in getLayerAsImage() 115 DebugLayerManager::DrawEventSummary DebugLayerManager::event(int nodeId, int frame) const { in event() function in DebugLayerManager
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
H A D | epoll.rs | 140 /// `epoll_ctl(self, EPOLL_CTL_ADD, data, event)`—Adds an element to an 169 /// `epoll_ctl(self, EPOLL_CTL_MOD, target, event)`—Modifies an element in 213 /// For each event of interest, an element is written to `events`. On 302 self.iter.next().map(|event| { in next() 304 // `'context` for it. And we know this event is associated with this in next() 306 let decoded = unsafe { (*self.context).decode(event.encoded) }; in next() 308 (event.event_flags, decoded) in next() 313 /// A record of an event that occurred.
|
/third_party/ffmpeg/libavutil/ |
H A D | hwcontext_opencl.c | 1794 av_log(hwfc, AV_LOG_ERROR, "Failed to wait for event " in opencl_wait_events() 1803 "event: %d.\n", cle); in opencl_wait_events() 2216 cl_event event; in opencl_unmap_from_qsv() local 2224 0, NULL, &event); in opencl_unmap_from_qsv() 2230 opencl_wait_events(dst_fc, &event, 1); in opencl_unmap_from_qsv() 2255 cl_event event; in opencl_map_from_qsv() local 2309 0, NULL, &event); in opencl_map_from_qsv() 2317 err = opencl_wait_events(dst_fc, &event, 1); in opencl_map_from_qsv() 2350 cl_event event; in opencl_unmap_from_dxva2() local 2357 0, NULL, &event); in opencl_unmap_from_dxva2() 2376 cl_event event; opencl_map_from_dxva2() local 2515 cl_event event; opencl_unmap_from_d3d11() local 2535 cl_event event; opencl_map_from_d3d11() local [all...] |
/third_party/node/deps/v8/tools/ |
H A D | ll_prof.py | 54 # -e cycles: use cpu-cycles event (run "perf list" for details) 382 event = self.code_create_struct.from_buffer(self.log, self.log_pos) 383 self.log_pos += ctypes.sizeof(event) 384 start_address = event.code_address 385 end_address = start_address + event.code_size 386 name = self.log[self.log_pos:self.log_pos + event.name_size] 388 self.log_pos += event.name_size 390 self.log_pos += event.code_size 408 event = self.code_move_struct.from_buffer(self.log, self.log_pos) 409 self.log_pos += ctypes.sizeof(event) [all...] |
/third_party/libinput/src/ |
H A D | evdev-fallback.c | 32 #include "util-input-event.h" 489 * never got a pressed event for or key presses for keys that we in fallback_process_key() 585 * cancel event if we just switched to a palm touch. And the in fallback_process_touch() 627 struct libinput_event *event, in fallback_lid_keyboard_event() 635 if (event->type != LIBINPUT_EVENT_KEYBOARD_KEY) in fallback_lid_keyboard_event() 657 /* Posting the event here means we preempt the keyboard events that in fallback_lid_keyboard_event() 658 * caused us to wake up, so the lid event is always passed on before in fallback_lid_keyboard_event() 659 * the key event. in fallback_lid_keyboard_event() 967 struct input_event *event, in fallback_interface_process() 983 switch (event in fallback_interface_process() 626 fallback_lid_keyboard_event(uint64_t time, struct libinput_event *event, void *data) fallback_lid_keyboard_event() argument 965 fallback_interface_process(struct evdev_dispatch *evdev_dispatch, struct evdev_device *device, struct input_event *event, uint64_t time) fallback_interface_process() argument 1312 fallback_tablet_mode_switch_event(uint64_t time, struct libinput_event *event, void *data) fallback_tablet_mode_switch_event() argument [all...] |
/device/soc/rockchip/common/vendor/drivers/rockchip/ |
H A D | io-domain.c | 146 static int rockchip_iodomain_notify(struct notifier_block *nb, unsigned long event, void *data)
in rockchip_iodomain_notify() argument 165 if (event & REGULATOR_EVENT_PRE_VOLTAGE_CHANGE) {
in rockchip_iodomain_notify() 169 } else if (event & (REGULATOR_EVENT_VOLTAGE_CHANGE | REGULATOR_EVENT_ABORT_VOLTAGE_CHANGE)) {
in rockchip_iodomain_notify() 180 if (event == REGULATOR_EVENT_PRE_VOLTAGE_CHANGE) {
in rockchip_iodomain_notify() 186 if (ret && event == REGULATOR_EVENT_PRE_VOLTAGE_CHANGE) {
in rockchip_iodomain_notify()
|
/device/soc/rockchip/common/vendor/drivers/devfreq/ |
H A D | rockchip_bus.c | 201 static int rockchip_bus_clk_notifier(struct notifier_block *nb, unsigned long event, void *data) in rockchip_bus_clk_notifier() argument 207 dev_dbg(bus->dev, "event %lu, old_rate %lu, new_rate: %lu\n", event, ndata->old_rate, ndata->new_rate); in rockchip_bus_clk_notifier() 209 switch (event) { in rockchip_bus_clk_notifier() 330 static int rockchip_bus_cpufreq_notifier(struct notifier_block *nb, unsigned long event, void *data) in rockchip_bus_cpufreq_notifier() argument 345 switch (event) { in rockchip_bus_cpufreq_notifier()
|
/device/soc/rockchip/common/sdk_linux/drivers/soc/rockchip/ |
H A D | io-domain.c | 146 static int rockchip_iodomain_notify(struct notifier_block *nb, unsigned long event, void *data)
in rockchip_iodomain_notify() argument 165 if (event & REGULATOR_EVENT_PRE_VOLTAGE_CHANGE) {
in rockchip_iodomain_notify() 169 } else if (event & (REGULATOR_EVENT_VOLTAGE_CHANGE | REGULATOR_EVENT_ABORT_VOLTAGE_CHANGE)) {
in rockchip_iodomain_notify() 180 if (event == REGULATOR_EVENT_PRE_VOLTAGE_CHANGE) {
in rockchip_iodomain_notify() 186 if (ret && event == REGULATOR_EVENT_PRE_VOLTAGE_CHANGE) {
in rockchip_iodomain_notify()
|
/device/soc/rockchip/rk3588/kernel/drivers/devfreq/ |
H A D | rockchip_bus.c | 210 unsigned long event, void *data) in rockchip_bus_clk_notifier() 216 dev_dbg(bus->dev, "event %lu, old_rate %lu, new_rate: %lu\n", in rockchip_bus_clk_notifier() 217 event, ndata->old_rate, ndata->new_rate); in rockchip_bus_clk_notifier() 219 switch (event) { in rockchip_bus_clk_notifier() 347 unsigned long event, void *data) in rockchip_bus_cpufreq_notifier() 361 switch (event) { in rockchip_bus_cpufreq_notifier() 209 rockchip_bus_clk_notifier(struct notifier_block *nb, unsigned long event, void *data) rockchip_bus_clk_notifier() argument 346 rockchip_bus_cpufreq_notifier(struct notifier_block *nb, unsigned long event, void *data) rockchip_bus_cpufreq_notifier() argument
|
/third_party/glfw/tests/ |
H A D | events.c | 2 // Event linter (event spewer) 6 // warranty. In no event will the authors be held liable for any damages 30 // Every event also gets a (sequential) number to aid discussion of logs 479 static void monitor_callback(GLFWmonitor* monitor, int event) in monitor_callback() argument 481 if (event == GLFW_CONNECTED) in monitor_callback() 497 else if (event == GLFW_DISCONNECTED) in monitor_callback() 506 static void joystick_callback(int jid, int event) in joystick_callback() argument 508 if (event == GLFW_CONNECTED) in joystick_callback()
|
/third_party/alsa-lib/src/control/ |
H A D | control_ext.c | 414 static int snd_ctl_ext_read(snd_ctl_t *handle, snd_ctl_event_t *event) in snd_ctl_ext_read() argument 419 memset(event, 0, sizeof(*event)); in snd_ctl_ext_read() 420 return ext->callback->read_event(ext, &event->data.elem.id, &event->data.elem.mask); in snd_ctl_ext_read() 684 the event notifications (e.g. through mixer API). The current value of event 686 The read_event callback is called for reading a pending notification event. 688 If no event is pending, return -EAGAIN. These two callbacks are optional.
|
H A D | control_hw.c | 371 static int snd_ctl_hw_read(snd_ctl_t *handle, snd_ctl_event_t *event) in snd_ctl_hw_read() argument 374 ssize_t res = read(hw->fd, event, sizeof(*event)); in snd_ctl_hw_read() 377 if (CHECK_SANITY(res != sizeof(*event))) { in snd_ctl_hw_read() 379 sizeof(*event), res); in snd_ctl_hw_read()
|
/third_party/backends/backend/ |
H A D | epsonds-net.c | 352 AvahiResolverEvent event, const char *name, in epsonds_resolve_callback() 375 switch (event) { in epsonds_resolve_callback() 409 AvahiProtocol protocol, AvahiBrowserEvent event, in browse_callback() 415 DBG(10, "browse_callback event = %d\n", event); in browse_callback() 422 switch (event) { in browse_callback() 350 epsonds_resolve_callback(AvahiServiceResolver *r, AVAHI_GCC_UNUSED AvahiIfIndex interface, AVAHI_GCC_UNUSED AvahiProtocol protocol, AvahiResolverEvent event, const char *name, const char *type, const char *domain, const char *host_name, const AvahiAddress *address, uint16_t port, AvahiStringList *txt, AvahiLookupResultFlags flags, void *userdata) epsonds_resolve_callback() argument 408 browse_callback(AvahiServiceBrowser *b, AvahiIfIndex interface, AvahiProtocol protocol, AvahiBrowserEvent event, const char *name, const char *type, const char *domain, AvahiLookupResultFlags flags, void* userdata) browse_callback() argument
|
/third_party/libwebsockets/lib/event-libs/libevent/ |
H A D | libevent.c | 26 #include "private-lib-event-libs-libevent.h" 32 lws_event_hrtimer_cb(evutil_socket_t fd, short event, void *p) in lws_event_hrtimer_cb() argument 56 lws_event_idle_timer_cb(evutil_socket_t fd, short event, void *p) in lws_event_idle_timer_cb() argument 119 event_del(lws_io->event.watcher); in lws_event_cb() 120 event_free(lws_io->event.watcher); in lws_event_cb() 164 struct event *signal = pt_to_priv_event(pt)->w_sigint.watcher; in lws_event_sigint_cb() 210 lwsl_cx_err(context, "creating event base failed"); in elops_init_pt_event() 219 /* static event loop objects */ in elops_init_pt_event() 271 // Initialize the event in elops_accept_event() 366 // event_base_free(pt->event in elops_destroy_pt_event() [all...] |
/third_party/pulseaudio/src/modules/raop/ |
H A D | module-raop-discover.c | 159 AvahiResolverEvent event, in resolver_cb() 181 if (event != AVAHI_RESOLVER_FOUND) { in resolver_cb() 374 AvahiBrowserEvent event, in browser_cb() 388 if (event == AVAHI_BROWSER_NEW) { in browser_cb() 398 } else if (event == AVAHI_BROWSER_REMOVE) { in browser_cb() 156 resolver_cb( AvahiServiceResolver *r, AvahiIfIndex interface, AvahiProtocol protocol, AvahiResolverEvent event, const char *name, const char *type, const char *domain, const char *host_name, const AvahiAddress *a, uint16_t port, AvahiStringList *txt, AvahiLookupResultFlags flags, void *userdata) resolver_cb() argument 371 browser_cb( AvahiServiceBrowser *b, AvahiIfIndex interface, AvahiProtocol protocol, AvahiBrowserEvent event, const char *name, const char *type, const char *domain, AvahiLookupResultFlags flags, void *userdata) browser_cb() argument
|
/third_party/pulseaudio/src/modules/ |
H A D | module-zeroconf-discover.c | 129 AvahiResolverEvent event, in resolver_cb() 143 if (event != AVAHI_RESOLVER_FOUND) in resolver_cb() 268 AvahiBrowserEvent event, in browser_cb() 283 if (event == AVAHI_BROWSER_NEW) { in browser_cb() 293 } else if (event == AVAHI_BROWSER_REMOVE) { in browser_cb() 126 resolver_cb( AvahiServiceResolver *r, AvahiIfIndex interface, AvahiProtocol protocol, AvahiResolverEvent event, const char *name, const char *type, const char *domain, const char *host_name, const AvahiAddress *a, uint16_t port, AvahiStringList *txt, AvahiLookupResultFlags flags, void *userdata) resolver_cb() argument 265 browser_cb( AvahiServiceBrowser *b, AvahiIfIndex interface, AvahiProtocol protocol, AvahiBrowserEvent event, const char *name, const char *type, const char *domain, AvahiLookupResultFlags flags, void *userdata) browser_cb() argument
|
/third_party/node/deps/v8/third_party/ittapi/include/legacy/ |
H A D | ittnotify.h | 601 /** @brief user event type */ 605 * @brief Create an event notification 606 * @note name or namelen being null/name and namelen not matching, user event feature not enabled 607 * @return non-zero event identifier upon success and __itt_err otherwise 663 * @brief Record an event occurrence. 664 * @return __itt_err upon failure (invalid event id/user event feature not enabled) 666 int LIBITTAPI __itt_event_start(__itt_event event); 671 ITT_STUB(LIBITTAPI, int, event_start, (__itt_event event)) 675 #define __itt_event_start(event) (in [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | VulkanSecondaryCommandBuffer.h | 183 void setEvent(VkEvent event, VkPipelineStageFlags stageMask); 184 void resetEvent(VkEvent event, VkPipelineStageFlags stageMask); 544 ANGLE_INLINE void VulkanSecondaryCommandBuffer::setEvent(VkEvent event, in setEvent() argument 548 CommandBuffer::setEvent(event, stageMask); in setEvent() 551 ANGLE_INLINE void VulkanSecondaryCommandBuffer::resetEvent(VkEvent event, in resetEvent() argument 555 CommandBuffer::resetEvent(event, stageMask); in resetEvent()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_device.c | 2086 struct lvp_event *event = vk_alloc2(&device->vk.alloc, pAllocator, in lvp_CreateEvent() local 2087 sizeof(*event), 8, in lvp_CreateEvent() 2090 if (!event) in lvp_CreateEvent() 2093 vk_object_base_init(&device->vk, &event->base, VK_OBJECT_TYPE_EVENT); in lvp_CreateEvent() 2094 *pEvent = lvp_event_to_handle(event); in lvp_CreateEvent() 2095 event->event_storage = 0; in lvp_CreateEvent() 2106 LVP_FROM_HANDLE(lvp_event, event, _event); in lvp_DestroyEvent() 2108 if (!event) in lvp_DestroyEvent() 2111 vk_object_base_finish(&event->base); in lvp_DestroyEvent() 2112 vk_free2(&device->vk.alloc, pAllocator, event); in lvp_DestroyEvent() [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/ |
H A D | wal_linux_flowctl.c | 111 frw_event_stru *event = (frw_event_stru *)event_mem->puc_data; in wal_flowctl_backp_event_handler() local 112 mac_ioctl_queue_backp_stru *flowctl_backp_event = (mac_ioctl_queue_backp_stru *)(event->auc_event_data); in wal_flowctl_backp_event_handler()
|
/third_party/ffmpeg/libavdevice/ |
H A D | oss.c | 69 #define CHECK_IOCTL_ERROR(event) \ in ff_oss_audio_open() 71 av_log(s1, AV_LOG_ERROR, #event ": %s\n", av_err2str(AVERROR(errno)));\ in ff_oss_audio_open()
|
/third_party/mesa3d/include/CL/ |
H A D | cl_gl.h | 105 cl_event * event) CL_API_SUFFIX__VERSION_1_0; 113 cl_event * event) CL_API_SUFFIX__VERSION_1_0;
|