Home
last modified time | relevance | path

Searched refs:byte_count (Results 1 – 25 of 58) sorted by relevance

123

/third_party/alsa-utils/axfer/
Dcontainer-raw.c20 uint64_t *byte_count) in raw_builder_pre_process() argument
22 *byte_count = UINT64_MAX; in raw_builder_pre_process()
31 uint64_t *byte_count) in raw_parser_pre_process() argument
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()
Dcontainer-riff-wave.c125 unsigned int byte_count; member
130 uint64_t *byte_count) in parse_riff_chunk_header() argument
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() argument
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()
[all …]
Dcontainer.c43 unsigned int byte_count) in container_recursive_read() argument
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() argument
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 > 0); in container_context_pre_process()
[all …]
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() argument
586 *byte_count = state->byte_count; in voc_parser_pre_process()
617 uint64_t byte_count) in write_v120_format_block() argument
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() argument
669 build_block_data_size(block->size, 2 + byte_count); in write_v110_format_block()
682 uint64_t byte_count) in write_data_blocks() argument
[all …]
Dcontainer-au.c74 uint64_t *byte_count) in au_parser_pre_process() argument
112 *byte_count = be32toh(header.data_size); in au_parser_pre_process()
127 uint64_t byte_count) in build_container_header() argument
131 header->data_size = htobe32(byte_count); in build_container_header()
138 uint64_t byte_count) in write_container_header() argument
144 byte_count); in write_container_header()
153 uint64_t *byte_count) in au_builder_pre_process() argument
170 return write_container_header(cntr, *byte_count); in au_builder_pre_process()
Dcontainer.h40 void *buffer, unsigned int byte_count);
86 uint64_t *byte_count);
107 unsigned int byte_count);
109 unsigned int byte_count);
/third_party/curl/lib/
Dsmb.h129 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
Dsmb.c454 size_t byte_count = sizeof(lm) + sizeof(nt); in smb_send_setup() local
455 byte_count += strlen(smbc->user) + strlen(smbc->domain); in smb_send_setup()
456 byte_count += strlen(OS) + strlen(CLIENTNAME) + 4; /* 4 null chars */ in smb_send_setup()
457 if(byte_count > sizeof(msg.bytes)) in smb_send_setup()
487 byte_count = p - msg.bytes; in smb_send_setup()
488 msg.byte_count = smb_swap16((unsigned short)byte_count); in smb_send_setup()
491 sizeof(msg) - sizeof(msg.bytes) + byte_count); in smb_send_setup()
501 size_t byte_count = strlen(conn->host.name) + strlen(smbc->share); in smb_send_tree_connect() local
502 byte_count += strlen(SERVICENAME) + 5; /* 2 nulls and 3 backslashes */ in smb_send_tree_connect()
503 if(byte_count > sizeof(msg.bytes)) in smb_send_tree_connect()
[all …]
/third_party/boost/boost/multiprecision/cpp_int/
Dserialize.hpp54 std::size_t byte_count; in do_serialize() local
55 ar& make_nvp("byte-count", byte_count); in do_serialize()
56 limb_count = byte_count / sizeof(limb_type) + ((byte_count % sizeof(limb_type)) ? 1 : 0); in do_serialize()
62 for (std::size_t j = 0; (j < sizeof(limb_type)) && byte_count; ++j) in do_serialize()
67 --byte_count; in do_serialize()
86 std::size_t byte_count = limb_count * sizeof(limb_type); in do_serialize() local
87 ar& make_nvp("byte-count", byte_count); in do_serialize()
109 std::size_t byte_count; in do_serialize() local
110 ar& make_nvp("byte-count", byte_count); in do_serialize()
111 for (std::size_t i = 0; i < byte_count; ++i) in do_serialize()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_cp_dma.c145 struct pipe_resource *src, unsigned byte_count, in si_cp_dma_prepare() argument
180 if (user_flags & SI_OP_SYNC_AFTER && byte_count == remaining_size) { in si_cp_dma_prepare()
216 unsigned byte_count = MIN2(size, cp_dma_max_byte_count(sctx)); in si_cp_dma_clear_buffer() local
219 si_cp_dma_prepare(sctx, dst, NULL, byte_count, size, user_flags, coher, &is_first, in si_cp_dma_clear_buffer()
223 si_emit_cp_dma(sctx, cs, va, value, byte_count, dma_flags, cache_policy); in si_cp_dma_clear_buffer()
225 size -= byte_count; in si_cp_dma_clear_buffer()
226 va += byte_count; in si_cp_dma_clear_buffer()
354 unsigned byte_count = MIN2(size, cp_dma_max_byte_count(sctx)); in si_cp_dma_copy_buffer() local
357 si_cp_dma_prepare(sctx, dst, src, byte_count, size + skipped_size + realign_size, user_flags, in si_cp_dma_copy_buffer()
360 si_emit_cp_dma(sctx, &sctx->gfx_cs, main_dst_offset, main_src_offset, byte_count, dma_flags, in si_cp_dma_copy_buffer()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/
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()
/third_party/openssl/ssl/
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/flutter/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
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/sfntly/cpp/src/sample/chromium/
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/boost/boost/
Dcrc.hpp84 std::size_t byte_count);
89 std::size_t byte_count,
196 void process_bytes( void const *buffer, std::size_t byte_count );
292 void process_bytes( void const *buffer, std::size_t byte_count );
1867 std::size_t byte_count in process_bytes() argument
1873 process_block( b, b + byte_count ); in process_bytes()
2095 std::size_t byte_count in process_bytes() argument
2099 *>(buffer), byte_count ); in process_bytes()
2224 std::size_t byte_count in crc() argument
2228 computer.process_bytes( buffer, byte_count ); in crc()
[all …]
/third_party/boost/libs/crc/test/
Dcrc_test.cpp86 boost::uint32_t basic_crc32( void const *buffer, std::size_t byte_count );
87 boost::uint32_t optimal_crc32( void const *buffer, std::size_t byte_count );
88 boost::uint32_t quick_crc32( void const *buffer, std::size_t byte_count );
261 std::size_t byte_count in basic_crc32() argument
268 computer.process_bytes( buffer, byte_count ); in basic_crc32()
278 std::size_t byte_count in optimal_crc32() argument
284 computer.process_bytes( buffer, byte_count ); in optimal_crc32()
313 std::size_t byte_count in quick_crc32() argument
360 byte_type const * const b_end = b_begin + byte_count; in quick_crc32()
/third_party/expat/tests/
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/expat/expat/tests/
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/flutter/skia/third_party/externals/sfntly/cpp/src/test/
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/sfntly/cpp/src/test/
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/libsnd/tests/
Dbenchmark.tpl144 int fd, k, byte_count, retval, op_count ;
149 byte_count = BUFFER_SIZE * sizeof (short) ;
167 { if ((retval = write (fd, data, byte_count)) != byte_count)
168 { printf ("Error : write returned %d (should have been %d)\n", retval, byte_count) ;
199 { if ((retval = read (fd, data, byte_count)) != byte_count)
200 { printf ("Error : write returned %d (should have been %d)\n", retval, byte_count) ;
/third_party/boost/boost/uuid/detail/
Dsha1.hpp52 void process_bytes(void const* buffer, std::size_t byte_count);
128 inline void sha1::process_bytes(void const* buffer, std::size_t byte_count) in process_bytes() argument
131 process_block(b, b+byte_count); in process_bytes()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djmemsys.h126 long byte_count);
129 long byte_count);
/third_party/skia/third_party/externals/libjpeg-turbo/
Djmemsys.h126 long byte_count);
129 long byte_count);
/third_party/libjpeg-turbo/
Djmemsys.h126 long byte_count);
129 long byte_count);

123