Home
last modified time | relevance | path

Searched refs:buf_count (Results 1 – 14 of 14) sorted by relevance

/third_party/alsa-utils/alsaloop/
Dpcmjob.c422 loop->xrun_buf_pcount = loop->play->buf_count; in xrun_profile0()
423 loop->xrun_buf_ccount = loop->capt->buf_count; in xrun_profile0()
488 return lhandle->buf_size - lhandle->buf_count; in buf_avail()
497 if (count < loop->capt->buf_count) in buf_remove()
498 loop->capt->buf_count -= count; in buf_remove()
500 loop->capt->buf_count = 0; in buf_remove()
511 count = capt->buf_count;
515 ppos = (play->buf_pos + play->buf_count) % play->buf_size;
529 play->buf_count += count1;
530 capt->buf_count -= count1;
[all …]
Dalsaloop.h109 snd_pcm_uframes_t buf_count; /* filled samples */ member
/third_party/musl/libc-test/src/functionalext/trace/
Dtrace_marker.c168 char buf_count[BUFFER_LEN] = {0}; in trace_marker_0030() local
170 …int buf_begin_fd = snprintf(buf_count, BUFFER_LEN, "C|%d|%s %d", getpid(), "traceCount", traceCoun… in trace_marker_0030()
182 if (strstr(buffer, buf_count) != NULL) { in trace_marker_0030()
394 char buf_count[BUFFER_LEN] = {0}; in trace_marker_0060() local
414 …int buf_count_fd = snprintf(buf_count, BUFFER_LEN, "C|%d|%s %d", getpid(), "traceCount_forkfir", t… in trace_marker_0060()
425 if (strstr(buf_count, buffer_forkFir) != NULL) { in trace_marker_0060()
445 …int buf_count_fd = snprintf(buf_count, BUFFER_LEN, "C|%d|%s %d", getpid(), "traceCount_forksec", t… in trace_marker_0060()
456 if (strstr(buf_count, buffer_forkSec) != NULL) { in trace_marker_0060()
715 char buf_count[BUFFER_LEN] = {0}; in ThreadTraceMarkerCountFir() local
717 …int buf_begin_fd = snprintf(buf_count, BUFFER_LEN, "C|%d|%s %d", getpid(), "traceCount_Threadfir",… in ThreadTraceMarkerCountFir()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_vbo.c813 struct nv04_resource *buf_count = nv04_resource(indirect->indirect_draw_count); in nvc0_draw_indirect() local
822 (buf_count && buf_count->fence_wr && in nvc0_draw_indirect()
823 !nouveau_fence_signalled(buf_count->fence_wr))) { in nvc0_draw_indirect()
839 if (buf_count) in nvc0_draw_indirect()
851 if (buf_count) in nvc0_draw_indirect()
872 nouveau_pushbuf_space(push, 16, 0, pushes + !!buf_count); in nvc0_draw_indirect()
874 if (buf_count) in nvc0_draw_indirect()
875 PUSH_REFN(push, buf_count->bo, NOUVEAU_BO_RD | buf_count->domain); in nvc0_draw_indirect()
877 NVC0_FIFO_PKHDR_1I(0, macro, 3 + !!buf_count + draws * size)); in nvc0_draw_indirect()
881 if (buf_count) { in nvc0_draw_indirect()
[all …]
Dnvc0_vbo_translate.c506 struct nv04_resource *buf_count = nv04_resource(indirect->indirect_draw_count); in nvc0_push_vbo_indirect() local
510 if (buf_count) { in nvc0_push_vbo_indirect()
512 &nvc0->base, buf_count, indirect->indirect_draw_count_offset, in nvc0_push_vbo_indirect()
554 if (buf_count) in nvc0_push_vbo_indirect()
555 nouveau_resource_unmap(buf_count); in nvc0_push_vbo_indirect()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_cs.h54 unsigned buf_count,
62 unsigned buf_count,
Dpanvk_vX_cs.c217 unsigned buf_count, in panvk_emit_attrib_buf() argument
239 assert(idx < buf_count); in panvk_emit_attrib_buf()
264 unsigned buf_count, in panvk_per_arch()
270 for (unsigned i = 0; i < info->buf_count; i++) in panvk_per_arch()
271 panvk_emit_attrib_buf(info, draw, bufs, buf_count, i, buf++); in panvk_per_arch()
311 unsigned buf_count, in panvk_emit_attrib() argument
328 unsigned buf_count, in panvk_per_arch()
334 panvk_emit_attrib(dev, attribs, bufs, buf_count, i, attrib++); in panvk_per_arch()
Dpanvk_vX_pipeline.c856 attribs->buf_count = MAX2(desc->binding + 1, attribs->buf_count); in panvk_pipeline_builder_parse_vertex_input()
874 attribs->buf[attribs->buf_count].special = true; in panvk_pipeline_builder_parse_vertex_input()
875 attribs->buf[attribs->buf_count].special_id = PAN_VERTEX_ID; in panvk_pipeline_builder_parse_vertex_input()
876 attribs->attrib[PAN_VERTEX_ID].buf = attribs->buf_count++; in panvk_pipeline_builder_parse_vertex_input()
881 attribs->buf[attribs->buf_count].special = true; in panvk_pipeline_builder_parse_vertex_input()
882 attribs->buf[attribs->buf_count].special_id = PAN_INSTANCE_ID; in panvk_pipeline_builder_parse_vertex_input()
883 attribs->attrib[PAN_INSTANCE_ID].buf = attribs->buf_count++; in panvk_pipeline_builder_parse_vertex_input()
Dpanvk_vX_cmd_buffer.c558 unsigned buf_count = panvk_varyings_buf_count(varyings); in panvk_draw_prepare_varyings() local
561 buf_count, ATTRIBUTE_BUFFER); in panvk_draw_prepare_varyings()
602 if (!pipeline->attribs.buf_count) in panvk_draw_prepare_attributes()
611 unsigned buf_count = pipeline->attribs.buf_count + in panvk_draw_prepare_attributes() local
615 buf_count * 2, ATTRIBUTE_BUFFER); in panvk_draw_prepare_attributes()
Dpanvk_private.h549 unsigned buf_count; member
/third_party/mesa3d/src/virtio/vulkan/
Dvn_descriptor_set.c701 uint32_t buf_count = 0; in vn_update_descriptor_sets_parse_template() local
723 buf_count += entry->descriptorCount; in vn_update_descriptor_sets_parse_template()
732 create_info->descriptorUpdateEntryCount, img_count, buf_count, in vn_update_descriptor_sets_parse_template()
738 buf_count = 0; in vn_update_descriptor_sets_parse_template()
778 write->pBufferInfo = &update->buffers[buf_count]; in vn_update_descriptor_sets_parse_template()
780 buf_count += entry->descriptorCount; in vn_update_descriptor_sets_parse_template()
/third_party/libuv/src/win/
Dpipe.c1682 size_t buf_count, buf_index; in uv__pipe_write_ipc() local
1715 buf_count = 1 + data_buf_count; /* Frame header and data buffers. */ in uv__pipe_write_ipc()
1717 buf_count += 1; /* One extra for the socket xfer information. */ in uv__pipe_write_ipc()
1721 if (buf_count < ARRAY_SIZE(stack_bufs)) { in uv__pipe_write_ipc()
1726 bufs = uv__calloc(buf_count, sizeof(uv_buf_t)); in uv__pipe_write_ipc()
1764 err = uv__pipe_write_data(loop, req, handle, bufs, buf_count, cb, 1); in uv__pipe_write_ipc()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c1555 unsigned buf_count = (attr_count * 2) + (PAN_ARCH >= 6 ? 1 : 0); in panfrost_emit_image_attribs() local
1558 pan_pool_alloc_desc_array(&batch->pool.base, buf_count, ATTRIBUTE_BUFFER); in panfrost_emit_image_attribs()
1568 pan_pack(bufs.cpu + ((buf_count - 1) * pan_size(ATTRIBUTE_BUFFER)), in panfrost_emit_image_attribs()
/third_party/eudev/src/udev/
Dudev-rules.c441 rules->buf_count, in dump_rules()