Home
last modified time | relevance | path

Searched refs:queue_size (Results 1 – 20 of 20) sorted by relevance

/third_party/libevdev/libevdev/
Dlibevdev-int.h87 size_t queue_size; /**< size of queue in elements */ member
132 if (dev->queue_next >= dev->queue_size) in queue_push()
226 dev->queue_size = size; in queue_alloc()
235 dev->queue_size = 0; in queue_free()
246 queue_size(struct libevdev *dev) in queue_size() function
248 return dev->queue_size; in queue_size()
254 if (dev->queue_size == 0) in queue_num_free_elements()
257 return dev->queue_size - dev->queue_next; in queue_num_free_elements()
263 if (dev->queue_next == dev->queue_size) in queue_next_element()
272 if (nelem > dev->queue_size) in queue_set_num_elements()
Dlibevdev.c894 } while (iterations++ < max_iterations && nelem >= queue_size(dev)); in drain_events()
/third_party/iowow/src/utils/
Diwtp.c31 int queue_size; member
54 if (tp->queue_limit && (tp->queue_size + 1 > tp->queue_limit)) { in iwtp_schedule()
67 ++tp->queue_size; in iwtp_schedule()
69 if ( tp->queue_size > 1 in iwtp_schedule()
131 --tp->queue_size; in _worker_fn()
274 tp->queue_size = 0; in iwtp_shutdown()
297 res = tp->queue_size; in iwtp_queue_size()
/third_party/libevdev/test/
Dtest-int-queue.c22 ck_assert_int_eq(dev.queue_size, 100); in START_TEST()
26 ck_assert_int_eq(dev.queue_size, 0); in START_TEST()
39 ck_assert_int_eq(queue_size(&dev), 0); in START_TEST()
44 ck_assert_int_eq(queue_size(&dev), 100); in START_TEST()
50 ck_assert_int_eq(queue_size(&dev), 0); in START_TEST()
/third_party/ffmpeg/libavformat/
Drtpdec.h44 int payload_type, int queue_size);
171 int queue_size; ///< The size of queue, or 0 if reordering is disabled member
Drtpdec.c565 int payload_type, int queue_size) in ff_rtp_parse_open() argument
578 s->queue_size = queue_size; in ff_rtp_parse_open()
581 s->queue_size); in ff_rtp_parse_open()
865 if ((s->seq == 0 && !s->queue) || s->queue_size <= 1) { in rtp_parse_one_packet()
888 if (s->queue_len >= s->queue_size) { in rtp_parse_one_packet()
Dfifo.c43 int queue_size; member
532 ret = av_thread_message_queue_alloc(&fifo->queue, (unsigned) fifo->queue_size, in fifo_init()
660 {"queue_size", "Size of fifo queue", OFFSET(queue_size),
/third_party/alsa-lib/src/timer/
Dtimer.c723 void snd_timer_params_set_queue_size(snd_timer_params_t * params, long queue_size) in snd_timer_params_set_queue_size() argument
726 params->queue_size = queue_size; in snd_timer_params_set_queue_size()
737 return params->queue_size; in snd_timer_params_get_queue_size()
/third_party/ffmpeg/libavdevice/
Ddecklink_common_c.h59 int64_t queue_size; member
Ddecklink_dec_c.c88 …{ "queue_size", "input queue buffer size", OFFSET(queue_size), AV_OPT_TYPE_INT64, { .i64 = …
Ddecklink_dec.cpp481 q->max_q_size = ctx->queue_size; in avpacket_queue_init()
/third_party/libuv/src/unix/
Dstream.c1022 unsigned int queue_size; in uv__stream_queue_fd() local
1026 queue_size = 8; in uv__stream_queue_fd()
1027 queued_fds = uv__malloc((queue_size - 1) * sizeof(*queued_fds->fds) + in uv__stream_queue_fd()
1031 queued_fds->size = queue_size; in uv__stream_queue_fd()
1037 queue_size = queued_fds->size + 8; in uv__stream_queue_fd()
1039 (queue_size - 1) * sizeof(*queued_fds->fds) + in uv__stream_queue_fd()
1048 queued_fds->size = queue_size; in uv__stream_queue_fd()
/third_party/python/Lib/concurrent/futures/
Dprocess.py649 queue_size = self._max_workers + EXTRA_QUEUED_CALLS
651 max_size=queue_size, ctx=self._mp_context,
/third_party/alsa-lib/include/
Dtimer.h231 void snd_timer_params_set_queue_size(snd_timer_params_t * params, long queue_size);
/third_party/python/Lib/test/test_asyncio/
Dtest_queues.py268 queue_size = 1
272 queue = asyncio.Queue(queue_size)
/third_party/alsa-lib/include/sound/uapi/
Dasound.h874 unsigned int queue_size; /* total size of queue (32-1024) */ member
/third_party/ffmpeg/doc/
Dindevs.texi385 @item queue_size
Dmuxers.texi2267 @item queue_size
2315 @var{queue_size} must be big enough to store the packets for timeshift. At the
/third_party/libevdev/
Dthird_party_libevdev.diff26414 + ck_assert_int_eq(dev.queue_size, 100);
26418 + ck_assert_int_eq(dev.queue_size, 0);
26431 + ck_assert_int_eq(queue_size(&dev), 0);
26436 + ck_assert_int_eq(queue_size(&dev), 100);
26442 + ck_assert_int_eq(queue_size(&dev), 0);
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h65094 __le16 queue_size; member