Home
last modified time | relevance | path

Searched refs:READ_SIZE (Results 1 – 25 of 170) sorted by relevance

1234567

/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/src/input/
H A Dr_dirac.cpp27 constexpr auto READ_SIZE = 1024 * 1024; variable
31 int num_read = m_in->read(m_buffer->get_buffer(), READ_SIZE); in probe_file()
47 : m_buffer(memory_c::alloc(READ_SIZE)) in dirac_es_reader_c()
56 int num_read = m_in->read(m_buffer->get_buffer(), READ_SIZE); in read_headers()
89 int num_read = m_in->read(m_buffer->get_buffer(), READ_SIZE); in read()
93 …return ((READ_SIZE != num_read) || (m_in->getFilePointer() >= m_size)) ? flush_packetizers() : FIL… in read()
H A Dr_vc1.cpp27 constexpr auto READ_SIZE = 20 * 1024 * 1024; variable
31 auto num_read = m_in->read(m_buffer->get_buffer(), READ_SIZE); in probe_file()
47 : m_buffer(memory_c::alloc(READ_SIZE)) in vc1_es_reader_c()
56 int num_read = m_in->read(m_buffer->get_buffer(), READ_SIZE); in read_headers()
89 int num_read = m_in->read(m_buffer->get_buffer(), READ_SIZE); in read()
93 …return ((READ_SIZE != num_read) || (m_in->getFilePointer() >= m_size)) ? flush_packetizers() : FIL… in read()
H A Dr_mpeg_es.cpp34 constexpr auto READ_SIZE = 1024 * 1024; variable
41 memory_cptr af_buf = memory_c::alloc(READ_SIZE); in probe_file()
43 int num_read = m_in->read(buf, READ_SIZE); in probe_file()
114 return read_frame(parser, *m_in, READ_SIZE); in probe_file()
168 …int64_t bytes_to_read = std::min(static_cast<uint64_t>(READ_SIZE), m_size - m_in->getFilePointer()… in read()
187 auto af_buffer = memory_c::alloc(READ_SIZE); in read_frame()
205 int bytes_read = in.read(buffer, std::min<int>(parser.GetFreeBufferSpace(), READ_SIZE)); in read_frame()
/dports/print/hplip/hplip-3.20.6/fax/filters/
H A Dpstotiff11 READ_SIZE = 8192
29 if (file_len < READ_SIZE):
30 READ_SIZE = file_len
36 data = out_handle.read(READ_SIZE)
41 total_bytes_read += READ_SIZE
/dports/comms/flamp/flamp-2.2.07/src/xmlrpcpp/
H A DXmlRpcSource.cpp103 const int READ_SIZE = 4096; // Number of bytes to attempt to read at a time in nbRead() local
104 char readBuf[READ_SIZE]; in nbRead()
117 n = SSL_read(_ssl->_ssl_ssl, readBuf, READ_SIZE-1); in nbRead()
122 n = recv(_fd, readBuf, READ_SIZE-1, 0); in nbRead()
124 n = read(_fd, readBuf, READ_SIZE-1); in nbRead()
/dports/comms/flrig/flrig-1.3.54/src/xmlrpcpp/
H A DXmlRpcSource.cpp104 const int READ_SIZE = 4096; // Number of bytes to attempt to read at a time in nbRead() local
105 char readBuf[READ_SIZE]; in nbRead()
118 n = SSL_read(_ssl->_ssl_ssl, readBuf, READ_SIZE-1); in nbRead()
123 n = recv(_fd, readBuf, READ_SIZE-1, 0); in nbRead()
125 n = read(_fd, readBuf, READ_SIZE-1); in nbRead()
/dports/comms/fllog/fllog-1.2.6/src/xmlrpcpp/
H A DXmlRpcSource.cpp104 const int READ_SIZE = 4096; // Number of bytes to attempt to read at a time in nbRead() local
105 char readBuf[READ_SIZE]; in nbRead()
118 n = SSL_read(_ssl->_ssl_ssl, readBuf, READ_SIZE-1); in nbRead()
123 n = recv(_fd, readBuf, READ_SIZE-1, 0); in nbRead()
125 n = read(_fd, readBuf, READ_SIZE-1); in nbRead()
/dports/comms/flmsg/flmsg-4.0.19/src/xmlrpcpp/
H A DXmlRpcSource.cpp103 const int READ_SIZE = 4096; // Number of bytes to attempt to read at a time in nbRead() local
104 char readBuf[READ_SIZE]; in nbRead()
117 n = SSL_read(_ssl->_ssl_ssl, readBuf, READ_SIZE-1); in nbRead()
122 n = recv(_fd, readBuf, READ_SIZE-1, 0); in nbRead()
124 n = read(_fd, readBuf, READ_SIZE-1); in nbRead()
/dports/comms/fldigi/fldigi-4.1.20/src/xmlrpcpp/
H A DXmlRpcSource.cpp104 const int READ_SIZE = 4096; // Number of bytes to attempt to read at a time in nbRead() local
105 char readBuf[READ_SIZE]; in nbRead()
118 n = SSL_read(_ssl->_ssl_ssl, readBuf, READ_SIZE-1); in nbRead()
123 n = recv(_fd, readBuf, READ_SIZE-1, 0); in nbRead()
125 n = read(_fd, readBuf, READ_SIZE-1); in nbRead()
/dports/comms/flcluster/flcluster-1.0.4/src/xmlrpcpp/
H A DXmlRpcSource.cpp103 const int READ_SIZE = 4096; // Number of bytes to attempt to read at a time in nbRead() local
104 char readBuf[READ_SIZE]; in nbRead()
117 n = SSL_read(_ssl->_ssl_ssl, readBuf, READ_SIZE-1); in nbRead()
122 n = recv(_fd, readBuf, READ_SIZE-1, 0); in nbRead()
124 n = read(_fd, readBuf, READ_SIZE-1); in nbRead()
/dports/sysutils/testdisk/testdisk-7.1/src/
H A Dfat_unformat.c58 #define READ_SIZE 4*1024*1024 macro
68 unsigned char *buffer_start=(unsigned char *)MALLOC(READ_SIZE); in pfind_sectors_per_cluster()
82 disk->pread(disk, buffer_start, READ_SIZE, offset); in pfind_sectors_per_cluster()
99 buffer+512>buffer_start+READ_SIZE) in pfind_sectors_per_cluster()
126 if(disk->pread(disk, buffer_start, READ_SIZE, offset) != READ_SIZE) in pfind_sectors_per_cluster()
251 buffer_start=(unsigned char *)MALLOC(READ_SIZE); in fat_unformat_aux()
253 disk->pread(disk, buffer_start, READ_SIZE, offset); in fat_unformat_aux()
330 if(buffer+read_size>buffer_start+READ_SIZE) in fat_unformat_aux()
339 if(disk->pread(disk, buffer_start, READ_SIZE, offset) != READ_SIZE) in fat_unformat_aux()
H A Dfile_spf.c46 enum { READ_SIZE=32*512 }; enumerator
51 buffer=(unsigned char*)MALLOC(READ_SIZE); in file_check_spf()
61 const int taille=fread(buffer,1,READ_SIZE,file_recovery->handle); in file_check_spf()
H A Dphbs.c56 #define READ_SIZE 1024*512 macro
84 buffer_size=blocksize + READ_SIZE; in photorec_find_blocksize()
96 params->disk->pread(params->disk, buffer, READ_SIZE, offset); in photorec_find_blocksize()
181 if(params->disk->pread(params->disk, buffer, READ_SIZE, offset) != READ_SIZE) in photorec_find_blocksize()
H A Dqphbs.cpp52 #define READ_SIZE 1024*512 macro
80 buffer_size=blocksize + READ_SIZE; in photorec_find_blocksize()
94 params->disk->pread(params->disk, buffer, READ_SIZE, offset); in photorec_find_blocksize()
182 if(params->disk->pread(params->disk, buffer, READ_SIZE, offset) != READ_SIZE) in photorec_find_blocksize()
H A Ddimage.c52 #define READ_SIZE 256*512 macro
108 unsigned char *buffer=(unsigned char *)MALLOC(READ_SIZE); in disk_image()
109 unsigned int readsize=READ_SIZE; in disk_image()
118 assert(disk->sector_size <= READ_SIZE); in disk_image()
210 readsize=READ_SIZE; in disk_image()
/dports/www/mod_perl2/mod_perl-2.0.11/t/filter/TestFilter/
H A Din_bbs_consume.pm25 use constant READ_SIZE => 26; constant
37 $filter->next->get_brigade($tbb, $mode, $block, READ_SIZE);
38 debug "asking for a bb of " . READ_SIZE . " bytes\n";
43 length($buffer) < READ_SIZE ? redo : $satisfied++;
/dports/audio/squeezelite/squeezelite-7b13fd9/scripts/
H A Dsqueezelite-ffmpeg-buffer-constants.patch9 - ff->readbuf = AV(ff, malloc, READ_SIZE + AV_INPUT_BUFFER_PADDING_SIZE);
10 + ff->readbuf = AV(ff, malloc, READ_SIZE + FF_INPUT_BUFFER_PADDING_SIZE);
13 avio = AVIO(ff, alloc_context, ff->readbuf, READ_SIZE, 0, NULL, _read_data, NULL, NULL);
/dports/lang/spidermonkey78/firefox-78.9.0/dom/media/gtest/
H A DTestBufferReader.cpp23 const size_t READ_SIZE = 4; in TEST() local
24 ASSERT_NE(BUFFER_SIZE % READ_SIZE, static_cast<size_t>(0)); in TEST()
26 ptr = reader.Read(READ_SIZE)) { in TEST()
/dports/www/firefox-esr/firefox-91.8.0/dom/media/gtest/
H A DTestBufferReader.cpp25 const size_t READ_SIZE = 4; in TEST() local
26 ASSERT_NE(BUFFER_SIZE % READ_SIZE, static_cast<size_t>(0)); in TEST()
28 ptr = reader.Read(READ_SIZE)) { in TEST()
/dports/audio/libopusenc/libopusenc-0.2.1/examples/
H A Dopusenc_example.c4 #define READ_SIZE 256 macro
31 short buf[2*READ_SIZE]; in main()
32 int ret = fread(buf, 2*sizeof(short), READ_SIZE, fin); in main()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/media/gtest/
H A DTestBufferReader.cpp25 const size_t READ_SIZE = 4; in TEST() local
26 ASSERT_NE(BUFFER_SIZE % READ_SIZE, static_cast<size_t>(0)); in TEST()
28 ptr = reader.Read(READ_SIZE)) { in TEST()
/dports/www/firefox/firefox-99.0/dom/media/gtest/
H A DTestBufferReader.cpp25 const size_t READ_SIZE = 4; in TEST() local
26 ASSERT_NE(BUFFER_SIZE % READ_SIZE, static_cast<size_t>(0)); in TEST()
28 ptr = reader.Read(READ_SIZE)) { in TEST()
/dports/net/sems/sems-f89581a/apps/xmlrpc2di/xmlrpc++/src/
H A DXmlRpcSocket.cpp183 const int READ_SIZE = 4096; // Number of bytes to attempt to read at a time
184 char readBuf[READ_SIZE];
191 int n = recv(fd, readBuf, READ_SIZE-1, 0);
195 n = SSL_read(ssl, readBuf, READ_SIZE-1);
197 n = read(fd, readBuf, READ_SIZE-1);
/dports/games/kodi-addon-game.libretro/game.libretro-2.2.0-Matrix/src/
H A DGameInfoLoader.cpp17 #define READ_SIZE (100 * 1024) // Read from VFS 100KB at a time (if file size is unkno… macro
76 uint8_t buffer[READ_SIZE]; in Load()
82 if (bytesRead < READ_SIZE) in Load()
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/xmlrpc-c/lib/expat/xmlwf/
H A Dxmlfile.c33 #define READ_SIZE 16 macro
35 #define READ_SIZE (1024*8) macro
147 char *buf = XML_GetBuffer(parser, READ_SIZE); in processStream()
153 nread = read(fd, buf, READ_SIZE); in processStream()

1234567