Home
last modified time | relevance | path

Searched refs:num_events (Results 1 – 25 of 29) sorted by relevance

12

/third_party/ltp/testcases/kernel/connectors/pec/
Dcn_pec.sh24 num_events=10
42 n) num_events=$2;;
77 tst_res TINFO "Testing $2 event (nevents=$num_events)"
79 event_generator -n $num_events -e $event -c $GENERATOR_ID >gen.log &
138 if [ $act_nevents -ne $num_events ]; then
139 tst_res TBROK "Expected $num_events, but $act_nevents generated"
/third_party/ltp/testcases/kernel/input/
Dinput06.c41 static int num_events; variable
133 num_events = rd / sizeof(struct input_event); in read_events()
138 return num_events && ev_iter < num_events; in have_events()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/
DSDL_joystick.c525 int i, num_events; in UpdateEventsForDeviceRemoval() local
528 num_events = SDL_PeepEvents(NULL, 0, SDL_PEEKEVENT, SDL_JOYDEVICEADDED, SDL_JOYDEVICEADDED); in UpdateEventsForDeviceRemoval()
529 if (num_events <= 0) { in UpdateEventsForDeviceRemoval()
533 events = SDL_stack_alloc(SDL_Event, num_events); in UpdateEventsForDeviceRemoval()
538num_events = SDL_PeepEvents(events, num_events, SDL_GETEVENT, SDL_JOYDEVICEADDED, SDL_JOYDEVICEADD… in UpdateEventsForDeviceRemoval()
539 for (i = 0; i < num_events; ++i) { in UpdateEventsForDeviceRemoval()
542 SDL_PeepEvents(events, num_events, SDL_ADDEVENT, 0, 0); in UpdateEventsForDeviceRemoval()
DSDL_gamecontroller.c116 int i, num_events; in UpdateEventsForDeviceRemoval() local
119num_events = SDL_PeepEvents(NULL, 0, SDL_PEEKEVENT, SDL_CONTROLLERDEVICEADDED, SDL_CONTROLLERDEVIC… in UpdateEventsForDeviceRemoval()
120 if (num_events <= 0) { in UpdateEventsForDeviceRemoval()
124 events = SDL_stack_alloc(SDL_Event, num_events); in UpdateEventsForDeviceRemoval()
129num_events = SDL_PeepEvents(events, num_events, SDL_GETEVENT, SDL_CONTROLLERDEVICEADDED, SDL_CONTR… in UpdateEventsForDeviceRemoval()
130 for (i = 0; i < num_events; ++i) { in UpdateEventsForDeviceRemoval()
133 SDL_PeepEvents(events, num_events, SDL_ADDEVENT, 0, 0); in UpdateEventsForDeviceRemoval()
/third_party/alsa-utils/seq/aplaymidi/
Darecordmidi.c752 long num_events = 0; in main() local
804 num_events = arg_parse_decimal_num(optarg, &err); in main()
809 if (num_events <= 0) in main()
908 if (num_events && (events_received == num_events)) in main()
912 if (num_events && events_received < num_events) in main()
/third_party/gstreamer/gstreamer/tools/
Dgst-stats.c43 static guint64 num_buffers = 0, num_events = 0, num_messages = 0, num_queries = variable
113 guint num_events, num_messages, num_queries; member
460 num_events++; in do_event_stats()
474 elem_stats->num_events++; in do_event_stats()
803 stats->num_events, stats->num_messages, stats->num_queries); in print_element_stats()
815 parent_stats->num_events += stats->num_events; in accum_element_stats()
1036 g_print ("Number of Events sent: %" G_GUINT64_FORMAT "\n", num_events); in print_stats()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/mpegts/
Dgst-atsc-section.c962 guint8 num_events; in _parse_atsc_eit() local
976 num_events = GST_READ_UINT8 (data); in _parse_atsc_eit()
982 for (i = 0; i < num_events; i++) { in _parse_atsc_eit()
990 section->pid, (gint) (end - 4 - data), num_events); in _parse_atsc_eit()
1010 section->pid, (gint) (end - 4 - data), num_events); in _parse_atsc_eit()
1021 section->pid, (gint) (end - 4 - data), num_events); in _parse_atsc_eit()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/app/
Dgstappsink.c116 guint num_events; member
733 priv->num_events = 0; in gst_app_sink_flush_unlocked()
792 priv->num_events++; in gst_app_sink_setcaps()
897 priv->num_events++; in gst_app_sink_event()
979 priv->num_events--; in dequeue_object()
1896 if (priv->num_buffers > 0 || priv->num_events > 0) in gst_app_sink_try_pull_object()
/third_party/rust/crates/rustix/src/backend/linux_raw/io/
Dsyscalls.rs612 num_events: usize, in epoll_wait()
621 pass_usize(num_events), in epoll_wait()
631 pass_usize(num_events), in epoll_wait()
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Dcl_stubs.cpp632 cl_int WaitForEvents(cl_uint num_events, const cl_event *event_list) in WaitForEvents() argument
634 return (*event_list)->cast<Event>().getContext().waitForEvents(num_events, event_list); in WaitForEvents()
1146 cl_uint num_events, in EnqueueWaitForEvents() argument
1149 return command_queue->cast<CommandQueue>().enqueueWaitForEvents(num_events, event_list); in EnqueueWaitForEvents()
Dentry_points_cl_autogen.cpp661 cl_int CL_API_CALL clWaitForEvents(cl_uint num_events, const cl_event *event_list) in clWaitForEvents() argument
663 CL_EVENT(WaitForEvents, "num_events = %u, event_list = 0x%016" PRIxPTR "", num_events, in clWaitForEvents()
666 ANGLE_CL_VALIDATE_ERROR(WaitForEvents, num_events, event_list); in clWaitForEvents()
668 return WaitForEvents(num_events, event_list); in clWaitForEvents()
1238 cl_uint num_events, in clEnqueueWaitForEvents() argument
1243 (uintptr_t)command_queue, num_events, (uintptr_t)event_list); in clEnqueueWaitForEvents()
1245 ANGLE_CL_VALIDATE_ERROR(EnqueueWaitForEvents, command_queue, num_events, event_list); in clEnqueueWaitForEvents()
1247 return EnqueueWaitForEvents(command_queue, num_events, event_list); in clEnqueueWaitForEvents()
Dcl_stubs_autogen.h265 cl_int WaitForEvents(cl_uint num_events, const cl_event *event_list);
557 cl_uint num_events,
Dentry_points_cl_autogen.h156 cl_int CL_API_CALL clWaitForEvents(cl_uint num_events, const cl_event *event_list);
318 cl_uint num_events,
/third_party/skia/third_party/externals/angle2/src/libOpenCL/
DlibOpenCL_autogen.cpp310 cl_int CL_API_CALL clWaitForEvents(cl_uint num_events, const cl_event *event_list) in clWaitForEvents() argument
312 return cl::GetDispatch().clWaitForEvents(num_events, event_list); in clWaitForEvents()
599 cl_uint num_events, in clEnqueueWaitForEvents() argument
602 return cl::GetDispatch().clEnqueueWaitForEvents(command_queue, num_events, event_list); in clEnqueueWaitForEvents()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sqtt.c822 static uint32_t num_events = 0; variable
834 marker.cmd_id = num_events++; in si_sqtt_write_event_marker()
864 marker.event.cmd_id = num_events++; in si_write_event_with_dims_marker()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DvalidationCL_autogen.h147 cl_int ValidateWaitForEvents(cl_uint num_events, const cl_event *event_list);
305 cl_uint num_events,
DvalidationCL.cpp1459 cl_int ValidateWaitForEvents(cl_uint num_events, const cl_event *event_list) in ValidateWaitForEvents() argument
1462 if (num_events == 0u || event_list == nullptr) in ValidateWaitForEvents()
1468 while (num_events-- != 0u) in ValidateWaitForEvents()
2242 cl_uint num_events, in ValidateEnqueueWaitForEvents() argument
2257 if (num_events == 0u || event_list == nullptr) in ValidateEnqueueWaitForEvents()
2262 while (num_events-- != 0u) in ValidateEnqueueWaitForEvents()
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
Ddaemon.c2645 int num_events; in MHD_epoll() local
2706 num_events = MAX_EVENTS; in MHD_epoll()
2707 while (MAX_EVENTS == num_events) in MHD_epoll()
2710 num_events = epoll_wait (daemon->epoll_fd, in MHD_epoll()
2712 if (-1 == num_events) in MHD_epoll()
2723 for (i=0;i<(unsigned int) num_events;i++) in MHD_epoll()
/third_party/opencl-headers/src/
Dopencl_wrapper.cpp604 cl_int clWaitForEvents(cl_uint num_events, const cl_event *event_list) in clWaitForEvents() argument
609 return func(num_events, event_list); in clWaitForEvents()
/third_party/mesa3d/src/amd/vulkan/layers/
Dradv_sqtt_layer.c65 marker.cmd_id = cmd_buffer->state.num_events++; in radv_write_event_marker()
92 marker.event.cmd_id = cmd_buffer->state.num_events++; in radv_write_event_with_dims_marker()
/third_party/skia/third_party/externals/angle2/include/CL/
Dcl_icd.h424 cl_uint num_events, const cl_event *event_list) CL_API_SUFFIX__VERSION_1_0;
728 cl_command_queue command_queue, cl_uint num_events,
Dcl.h1440 clWaitForEvents(cl_uint num_events,
1892 cl_uint num_events,
/third_party/opencl-headers/CL/
Dcl.h1440 clWaitForEvents(cl_uint num_events,
1892 cl_uint num_events,
/third_party/mesa3d/include/CL/
Dcl.h1438 clWaitForEvents(cl_uint num_events,
1890 cl_uint num_events,
Dcl_icd.h424 cl_uint num_events, const cl_event *event_list) CL_API_SUFFIX__VERSION_1_0;
728 cl_command_queue command_queue, cl_uint num_events,

12