Home
last modified time | relevance | path

Searched refs:byte_count (Results 1 - 25 of 41) sorted by relevance

12

/third_party/alsa-utils/axfer/
H A Dcontainer-raw.c20 uint64_t *byte_count) in raw_builder_pre_process()
22 *byte_count = UINT64_MAX; in raw_builder_pre_process()
31 uint64_t *byte_count) in raw_parser_pre_process()
37 *byte_count = UINT64_MAX; in raw_parser_pre_process()
45 *byte_count = buf.st_size; in raw_parser_pre_process()
46 if (*byte_count == 0) in raw_parser_pre_process()
47 *byte_count = UINT64_MAX; in raw_parser_pre_process()
16 raw_builder_pre_process(struct container_context *cntr ATTRIBUTE_UNUSED, snd_pcm_format_t *format ATTRIBUTE_UNUSED, unsigned int *samples_per_frame ATTRIBUTE_UNUSED, unsigned int *frames_per_second ATTRIBUTE_UNUSED, uint64_t *byte_count) raw_builder_pre_process() argument
27 raw_parser_pre_process(struct container_context *cntr, snd_pcm_format_t *format ATTRIBUTE_UNUSED, unsigned int *samples_per_frame ATTRIBUTE_UNUSED, unsigned int *frames_per_second ATTRIBUTE_UNUSED, uint64_t *byte_count) raw_parser_pre_process() argument
H A Dcontainer-riff-wave.c125 unsigned int byte_count; member
130 uint64_t *byte_count) in parse_riff_chunk_header()
140 *byte_count = be32toh(chunk->size); in parse_riff_chunk_header()
142 *byte_count = le32toh(chunk->size); in parse_riff_chunk_header()
148 uint64_t *byte_count) in parse_riff_chunk()
167 err = parse_riff_chunk_header(state, &buf.chunk, byte_count); in parse_riff_chunk()
219 state->byte_count = be32toh(subchunk->size); in parse_wave_data_subchunk()
221 state->byte_count = le32toh(subchunk->size); in parse_wave_data_subchunk()
329 uint64_t byte_count; in parse_riff_wave_format() local
332 err = parse_riff_chunk(cntr, &byte_count); in parse_riff_wave_format()
128 parse_riff_chunk_header(struct parser_state *state, struct riff_chunk *chunk, uint64_t *byte_count) parse_riff_chunk_header() argument
147 parse_riff_chunk(struct container_context *cntr, uint64_t *byte_count) parse_riff_chunk() argument
343 wave_parser_pre_process(struct container_context *cntr, snd_pcm_format_t *format, unsigned int *samples_per_frame, unsigned int *frames_per_second, uint64_t *byte_count) wave_parser_pre_process() argument
398 build_riff_chunk_header(struct riff_chunk *chunk, uint64_t byte_count, bool be) build_riff_chunk_header() argument
460 build_wave_data_subchunk(struct wave_data_subchunk *subchunk, uint64_t byte_count, bool be) build_wave_data_subchunk() argument
467 write_riff_chunk_for_wave(struct container_context *cntr, uint64_t byte_count) write_riff_chunk_for_wave() argument
510 wave_builder_pre_process(struct container_context *cntr, snd_pcm_format_t *format, unsigned int *samples_per_frame, unsigned int *frames_per_second, uint64_t *byte_count) wave_builder_pre_process() argument
[all...]
H A Dcontainer.c43 unsigned int byte_count) in container_recursive_read()
49 while (consumed < byte_count && !cntr->interrupted) { in container_recursive_read()
50 result = read(cntr->fd, dst + consumed, byte_count - consumed); in container_recursive_read()
73 unsigned int byte_count) in container_recursive_write()
79 while (consumed < byte_count && !cntr->interrupted) { in container_recursive_write()
80 result = write(cntr->fd, src + consumed, byte_count - consumed); in container_recursive_write()
288 uint64_t byte_count = 0; in container_context_pre_process() local
299 byte_count = cntr->max_size; in container_context_pre_process()
303 frames_per_second, &byte_count); in container_context_pre_process()
324 assert(byte_count > in container_context_pre_process()
42 container_recursive_read(struct container_context *cntr, void *buf, unsigned int byte_count) container_recursive_read() argument
72 container_recursive_write(struct container_context *cntr, void *buf, unsigned int byte_count) container_recursive_write() argument
365 unsigned int byte_count; container_context_process_frames() local
[all...]
H A Dcontainer-au.c74 uint64_t *byte_count) in au_parser_pre_process()
112 *byte_count = be32toh(header.data_size); in au_parser_pre_process()
127 uint64_t byte_count) in build_container_header()
131 header->data_size = htobe32(byte_count); in build_container_header()
138 uint64_t byte_count) in write_container_header()
144 byte_count); in write_container_header()
153 uint64_t *byte_count) in au_builder_pre_process()
170 return write_container_header(cntr, *byte_count); in au_builder_pre_process()
70 au_parser_pre_process(struct container_context *cntr, snd_pcm_format_t *format, unsigned int *samples_per_frame, unsigned int *frames_per_second, uint64_t *byte_count) au_parser_pre_process() argument
124 build_container_header(struct builder_state *state, struct container_header *header, unsigned int frames_per_second, uint64_t byte_count) build_container_header() argument
137 write_container_header(struct container_context *cntr, uint64_t byte_count) write_container_header() argument
149 au_builder_pre_process(struct container_context *cntr, snd_pcm_format_t *format, unsigned int *samples_per_frame, unsigned int *frames_per_second, uint64_t *byte_count) au_builder_pre_process() argument
H A Dcontainer-voc.c314 uint32_t byte_count; member
366 state->byte_count = parse_block_data_size(block->size) - 12; in parse_v120_format_block()
426 state->byte_count = parse_block_data_size(block->size) - 2; in parse_v110_data()
560 uint64_t *byte_count) in voc_parser_pre_process()
586 *byte_count = state->byte_count; in voc_parser_pre_process()
617 uint64_t byte_count) in write_v120_format_block()
622 build_block_data_size(block->size, 12 + byte_count); in write_v120_format_block()
662 uint64_t byte_count) in write_v110_format_block()
669 build_block_data_size(block->size, 2 + byte_count); in write_v110_format_block()
556 voc_parser_pre_process(struct container_context *cntr, snd_pcm_format_t *format, unsigned int *samples_per_frame, unsigned int *frames_per_second, uint64_t *byte_count) voc_parser_pre_process() argument
614 write_v120_format_block(struct container_context *cntr, struct block_v120_format *block, unsigned int frames_per_second, uint64_t byte_count) write_v120_format_block() argument
659 write_v110_format_block(struct container_context *cntr, struct block_v110_data *block, unsigned int frames_per_second, uint64_t byte_count) write_v110_format_block() argument
680 write_data_blocks(struct container_context *cntr, unsigned int frames_per_second, uint64_t byte_count) write_data_blocks() argument
715 voc_builder_pre_process(struct container_context *cntr, snd_pcm_format_t *format, unsigned int *samples_per_frame, unsigned int *frames_per_second, uint64_t *byte_count) voc_builder_pre_process() argument
775 write_data_size(struct container_context *cntr, uint64_t byte_count) write_data_size() argument
[all...]
H A Dcontainer.h44 void *buffer, unsigned int byte_count);
90 uint64_t *byte_count);
111 unsigned int byte_count);
113 unsigned int byte_count);
/third_party/curl/lib/
H A Dsmb.c129 unsigned short byte_count; member
149 unsigned short byte_count; member
158 unsigned short byte_count; member
177 unsigned short byte_count; member
208 unsigned short byte_count; member
224 unsigned short byte_count; member
232 unsigned short byte_count; member
237 unsigned short byte_count; member
643 size_t byte_count = sizeof(lm) + sizeof(nt); in smb_send_setup() local
644 byte_count in smb_send_setup()
686 size_t byte_count = strlen(conn->host.name) + strlen(smbc->share); smb_send_tree_connect() local
711 size_t byte_count; smb_send_open() local
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_cp_dma.c146 struct pipe_resource *src, unsigned byte_count, in si_cp_dma_prepare()
181 if (user_flags & SI_OP_SYNC_AFTER && byte_count == remaining_size) { in si_cp_dma_prepare()
220 unsigned byte_count = MIN2(size, cp_dma_max_byte_count(sctx)); in si_cp_dma_clear_buffer() local
223 si_cp_dma_prepare(sctx, dst, NULL, byte_count, size, user_flags, coher, &is_first, in si_cp_dma_clear_buffer()
227 si_emit_cp_dma(sctx, cs, va, value, byte_count, dma_flags, cache_policy); in si_cp_dma_clear_buffer()
229 size -= byte_count; in si_cp_dma_clear_buffer()
230 va += byte_count; in si_cp_dma_clear_buffer()
362 unsigned byte_count = MIN2(size, cp_dma_max_byte_count(sctx)); in si_cp_dma_copy_buffer() local
365 si_cp_dma_prepare(sctx, dst, src, byte_count, size + skipped_size + realign_size, user_flags, in si_cp_dma_copy_buffer()
368 si_emit_cp_dma(sctx, &sctx->gfx_cs, main_dst_offset, main_src_offset, byte_count, dma_flag in si_cp_dma_copy_buffer()
145 si_cp_dma_prepare(struct si_context *sctx, struct pipe_resource *dst, struct pipe_resource *src, unsigned byte_count, uint64_t remaining_size, unsigned user_flags, enum si_coherency coher, bool *is_first, unsigned *packet_flags) si_cp_dma_prepare() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Devergreen_hw_context.c107 unsigned byte_count = MIN2(size, CP_DMA_MAX_BYTE_COUNT); in evergreen_cp_dma_clear_buffer() local
120 if (size == byte_count) { in evergreen_cp_dma_clear_buffer()
134 radeon_emit(cs, byte_count); /* COMMAND [29:22] | BYTE_COUNT [20:0] */ in evergreen_cp_dma_clear_buffer()
139 size -= byte_count; in evergreen_cp_dma_clear_buffer()
140 offset += byte_count; in evergreen_cp_dma_clear_buffer()
H A Dr600_hw_context.c526 unsigned byte_count = MIN2(size, CP_DMA_MAX_BYTE_COUNT); in r600_cp_dma_copy_buffer() local
539 if (size == byte_count) { in r600_cp_dma_copy_buffer()
554 radeon_emit(cs, byte_count); /* COMMAND [29:22] | BYTE_COUNT [20:0] */ in r600_cp_dma_copy_buffer()
561 size -= byte_count; in r600_cp_dma_copy_buffer()
562 src_offset += byte_count; in r600_cp_dma_copy_buffer()
563 dst_offset += byte_count; in r600_cp_dma_copy_buffer()
/third_party/pulseaudio/src/pulsecore/
H A Dtime-smoother_2.c134 void pa_smoother_2_put(pa_smoother_2 *s, pa_usec_t time_stamp, int64_t byte_count) { in pa_smoother_2_put() argument
150 if (byte_count <= 0) in pa_smoother_2_put()
155 s->start_pos = (double)byte_count; in pa_smoother_2_put()
181 byte_difference = (double)byte_count - s->start_pos; in pa_smoother_2_put()
252 s->start_pos += ((double)byte_count - s->start_pos) / (time_stamp - s->start_time) * iteration_time; in pa_smoother_2_put()
261 int64_t pa_smoother_2_get_delay(pa_smoother_2 *s, pa_usec_t time_stamp, uint64_t byte_count) { in pa_smoother_2_get_delay() argument
272 delay = (int64_t)((double)byte_count * PA_USEC_PER_SEC / s->frame_size / s->rate); in pa_smoother_2_get_delay()
280 return (int64_t)(((double)byte_count - s->start_pos) / s->frame_size / s->rate * PA_USEC_PER_SEC) - now; in pa_smoother_2_get_delay()
H A Dtime-smoother_2.h37 void pa_smoother_2_put(pa_smoother_2 *s, pa_usec_t time_stamp, int64_t byte_count);
40 int64_t pa_smoother_2_get_delay(pa_smoother_2 *s, pa_usec_t time_stamp, uint64_t byte_count);
/third_party/node/deps/openssl/openssl/ssl/
H A Dbio_ssl.c31 size_t byte_count; member
111 sb->byte_count += *readbytes; in ssl_read()
112 if (sb->byte_count > sb->renegotiate_count) { in ssl_read()
113 sb->byte_count = 0; in ssl_read()
180 bs->byte_count += *written; in ssl_write()
181 if (bs->byte_count > bs->renegotiate_count) { in ssl_write()
182 bs->byte_count = 0; in ssl_write()
375 dbs->byte_count = bs->byte_count; in ssl_ctrl()
/third_party/openssl/ssl/
H A Dbio_ssl.c31 size_t byte_count; member
111 sb->byte_count += *readbytes; in ssl_read()
112 if (sb->byte_count > sb->renegotiate_count) { in ssl_read()
113 sb->byte_count = 0; in ssl_read()
180 bs->byte_count += *written; in ssl_write()
181 if (bs->byte_count > bs->renegotiate_count) { in ssl_write()
182 bs->byte_count = 0; in ssl_write()
375 dbs->byte_count = bs->byte_count; in ssl_ctrl()
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
H A Dchrome_subsetter.cc64 int byte_count = 0; in SaveFile() local
73 byte_count = fwrite(output_buffer, 1, buffer_length, output_file); in SaveFile()
77 return buffer_length == byte_count; in SaveFile()
/third_party/skia/third_party/externals/expat/expat/tests/
H A Dstructdata.c58 size_t byte_count = (xcstrlen(s) + 1) * sizeof(XML_Char); in xmlstrdup() local
59 XML_Char *dup = malloc(byte_count); in xmlstrdup()
62 memcpy(dup, s, byte_count); in xmlstrdup()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
H A Dchrome_subsetter.cc60 int byte_count = fwrite(output_buffer, 1, output_length, output_file); in TestChromeSubsetter() local
61 EXPECT_EQ(byte_count, output_length); in TestChromeSubsetter()
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Djmemmgr.c756 long bytesperrow, file_offset, byte_count, rows, thisrow, i; in do_sarray_io() local
771 byte_count = rows * bytesperrow; in do_sarray_io()
775 file_offset, byte_count); in do_sarray_io() local
779 file_offset, byte_count); in do_sarray_io() local
780 file_offset += byte_count; in do_sarray_io()
789 long bytesperrow, file_offset, byte_count, rows, thisrow, i; in do_barray_io() local
804 byte_count = rows * bytesperrow; in do_barray_io()
808 file_offset, byte_count); in do_barray_io() local
812 file_offset, byte_count); in do_barray_io() local
813 file_offset += byte_count; in do_barray_io()
[all...]
H A Djmemsys.h126 long byte_count);
129 long byte_count);
/third_party/backends/backend/
H A Dgt68xx.c2077 s->byte_count = s->reader->params.pixel_xs; in sane_start()
2131 DBG (5, "sane_read: start (line %d of %d, byte_count %d of %d)\n", in sane_read()
2132 s->line, s->reader->params.pixel_ys, s->byte_count, in sane_read()
2136 && s->byte_count >= s->reader->params.pixel_xs) in sane_read()
2159 if (s->byte_count >= s->reader->params.pixel_xs) in sane_read()
2171 s->byte_count = 0; in sane_read()
2213 (((buffer_pointers[0][s->byte_count] >> 8) & 0xff) > in sane_read()
2217 s->byte_count++; in sane_read()
2229 buf[*len] = buffer_pointers[color][s->byte_count] & 0xff; in sane_read()
2232 (buffer_pointers[color][s->byte_count] >> in sane_read()
[all...]
/third_party/libsnd/src/
H A Dcommon.c992 int byte_count = 0, count = 0 ; in psf_binheader_readf() local
1017 byte_count += header_read (psf, ucptr, sizeof (int)) ; in psf_binheader_readf()
1025 byte_count += header_read (psf, sixteen_bytes, sizeof (sixteen_bytes)) ; in psf_binheader_readf()
1037 byte_count += header_read (psf, charptr, sizeof (char)) ; in psf_binheader_readf()
1044 byte_count += header_read (psf, ucptr, sizeof (short)) ; in psf_binheader_readf()
1054 byte_count += header_read (psf, sixteen_bytes, 3) ; in psf_binheader_readf()
1065 byte_count += header_read (psf, ucptr, sizeof (int)) ; in psf_binheader_readf()
1075 byte_count += header_read (psf, sixteen_bytes, 8) ; in psf_binheader_readf()
1086 byte_count += header_read (psf, floatptr, sizeof (float)) ; in psf_binheader_readf()
1096 byte_count in psf_binheader_readf()
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dsi_cmd_buffer.c1670 si_cp_dma_prepare(struct radv_cmd_buffer *cmd_buffer, uint64_t byte_count, uint64_t remaining_size, in si_cp_dma_prepare() argument
1685 if (byte_count == remaining_size) in si_cp_dma_prepare()
1746 unsigned byte_count = MIN2(size, cp_dma_max_byte_count(gfx_level)); in si_cp_dma_buffer_copy() local
1763 si_cp_dma_prepare(cmd_buffer, byte_count, size + skipped_size + realign_size, &dma_flags); in si_cp_dma_buffer_copy()
1767 si_emit_cp_dma(cmd_buffer, main_dest_va, main_src_va, byte_count, dma_flags); in si_cp_dma_buffer_copy()
1769 size -= byte_count; in si_cp_dma_buffer_copy()
1770 main_src_va += byte_count; in si_cp_dma_buffer_copy()
1771 main_dest_va += byte_count; in si_cp_dma_buffer_copy()
1800 unsigned byte_count = MIN2(size, cp_dma_max_byte_count(gfx_level)); in si_cp_dma_clear_buffer() local
1813 si_cp_dma_prepare(cmd_buffer, byte_count, siz in si_cp_dma_clear_buffer()
[all...]
/third_party/node/deps/v8/tools/v8windbg/src/
H A Dv8-debug-helper-interop.cc33 size_t byte_count) { in Read()
37 byte_count, &bytes_read); in Read()
32 Read(uintptr_t address, void* destination, size_t byte_count) Read() argument
/third_party/mesa3d/src/intel/ds/
H A Dintel_pps_driver.cc188 const size_t byte_count) in parse_perf_records()
197 const uint8_t *end = iter + byte_count; in parse_perf_records()
187 parse_perf_records(const std::vector<uint8_t> &data, const size_t byte_count) parse_perf_records() argument
/third_party/f2fs-tools/lib/
H A Dlibf2fs_io.c311 size_t byte_count, bool is_write) in dcache_update_rw()
327 while (byte_count != 0) { in dcache_update_rw()
328 size_t cur_size = min(byte_count, in dcache_update_rw()
366 byte_count -= cur_size; in dcache_update_rw()
310 dcache_update_rw(int fd, void *buf, off64_t offset, size_t byte_count, bool is_write) dcache_update_rw() argument

Completed in 24 milliseconds

12