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.c222 char buf_count[BUFFER_LEN] = {0}; in trace_marker_0030() local
224 …int buf_begin_fd = snprintf(buf_count, BUFFER_LEN, "C|%d|%s %d", getpid(), "traceCount", traceCoun… in trace_marker_0030()
236 if (strstr(buffer, buf_count) != NULL) { in trace_marker_0030()
451 char buf_count[BUFFER_LEN] = {0}; in trace_marker_0060() local
471 …int buf_count_fd = snprintf(buf_count, BUFFER_LEN, "C|%d|%s %d", getpid(), "traceCount_forkfir", t… in trace_marker_0060()
482 if (strstr(buf_count, buffer_forkFir) != NULL) { in trace_marker_0060()
502 …int buf_count_fd = snprintf(buf_count, BUFFER_LEN, "C|%d|%s %d", getpid(), "traceCount_forksec", t… in trace_marker_0060()
513 if (strstr(buf_count, buffer_forkSec) != NULL) { in trace_marker_0060()
766 char buf_count[BUFFER_LEN] = {0}; in ThreadTraceMarkerCountFir() local
768 …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,
63 unsigned buf_count,
Dpanvk_vX_cs.c157 unsigned buf_count, in panvk_emit_attrib_buf() argument
162 assert(idx < buf_count); in panvk_emit_attrib_buf()
227 unsigned buf_count, in panvk_per_arch()
233 for (unsigned i = 0; i < info->buf_count; i++) { in panvk_per_arch()
234 panvk_emit_attrib_buf(info, draw, bufs, buf_count, i, buf); in panvk_per_arch()
271 unsigned buf_count, in panvk_emit_attrib() argument
295 unsigned buf_count, in panvk_per_arch()
301 panvk_emit_attrib(dev, draw, attribs, bufs, buf_count, i, attrib++); in panvk_per_arch()
Dpanvk_vX_pipeline.c833 attribs->buf_count = MAX2(desc->binding + 1, attribs->buf_count); in panvk_pipeline_builder_parse_vertex_input()
867 attribs->buf[attribs->buf_count].special = true; in panvk_pipeline_builder_parse_vertex_input()
868 attribs->buf[attribs->buf_count].special_id = PAN_VERTEX_ID; in panvk_pipeline_builder_parse_vertex_input()
869 attribs->attrib[PAN_VERTEX_ID].buf = 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_INSTANCE_ID; in panvk_pipeline_builder_parse_vertex_input()
876 attribs->attrib[PAN_INSTANCE_ID].buf = attribs->buf_count++; in panvk_pipeline_builder_parse_vertex_input()
Dpanvk_vX_cmd_buffer.c488 unsigned buf_count = panvk_varyings_buf_count(varyings); in panvk_draw_prepare_varyings() local
491 buf_count + 1, in panvk_draw_prepare_varyings()
497 memset(bufs.cpu + (pan_size(ATTRIBUTE_BUFFER) * buf_count), 0, in panvk_draw_prepare_varyings()
605 if (!pipeline->attribs.buf_count) { in panvk_draw_prepare_vs_attribs()
612 unsigned attrib_buf_count = pipeline->attribs.buf_count * 2; in panvk_draw_prepare_vs_attribs()
629 if (attrib_count > pipeline->attribs.buf_count) { in panvk_draw_prepare_vs_attribs()
630 unsigned bufs_offset = pipeline->attribs.buf_count * pan_size(ATTRIBUTE_BUFFER) * 2; in panvk_draw_prepare_vs_attribs()
631 unsigned attribs_offset = pipeline->attribs.buf_count * pan_size(ATTRIBUTE); in panvk_draw_prepare_vs_attribs()
635 pipeline->attribs.buf_count * 2); in panvk_draw_prepare_vs_attribs()
Dpanvk_private.h667 unsigned buf_count; member
/third_party/mesa3d/src/virtio/vulkan/
Dvn_descriptor_set.c798 uint32_t buf_count = 0; in vn_update_descriptor_sets_parse_template() local
821 buf_count += entry->descriptorCount; in vn_update_descriptor_sets_parse_template()
833 create_info->descriptorUpdateEntryCount, img_count, buf_count, in vn_update_descriptor_sets_parse_template()
839 buf_count = 0; in vn_update_descriptor_sets_parse_template()
880 write->pBufferInfo = &update->buffers[buf_count]; in vn_update_descriptor_sets_parse_template()
882 buf_count += entry->descriptorCount; in vn_update_descriptor_sets_parse_template()
/third_party/libuv/src/win/
Dpipe.c1657 size_t buf_count, buf_index; in uv__pipe_write_ipc() local
1690 buf_count = 1 + data_buf_count; /* Frame header and data buffers. */ in uv__pipe_write_ipc()
1692 buf_count += 1; /* One extra for the socket xfer information. */ in uv__pipe_write_ipc()
1696 if (buf_count < ARRAY_SIZE(stack_bufs)) { in uv__pipe_write_ipc()
1701 bufs = uv__calloc(buf_count, sizeof(uv_buf_t)); in uv__pipe_write_ipc()
1739 err = uv__pipe_write_data(loop, req, handle, bufs, buf_count, cb, 1); in uv__pipe_write_ipc()
/third_party/node/deps/uv/src/win/
Dpipe.c1657 size_t buf_count, buf_index; in uv__pipe_write_ipc() local
1690 buf_count = 1 + data_buf_count; /* Frame header and data buffers. */ in uv__pipe_write_ipc()
1692 buf_count += 1; /* One extra for the socket xfer information. */ in uv__pipe_write_ipc()
1696 if (buf_count < ARRAY_SIZE(stack_bufs)) { in uv__pipe_write_ipc()
1701 bufs = uv__calloc(buf_count, sizeof(uv_buf_t)); in uv__pipe_write_ipc()
1739 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.c1964 unsigned buf_count = (attr_count * 2) + (PAN_ARCH >= 6 ? 1 : 0); in panfrost_emit_image_attribs() local
1967 pan_pool_alloc_desc_array(&batch->pool.base, buf_count, ATTRIBUTE_BUFFER); in panfrost_emit_image_attribs()
1977 pan_pack(bufs.cpu + ((buf_count - 1) * pan_size(ATTRIBUTE_BUFFER)), in panfrost_emit_image_attribs()