Home
last modified time | relevance | path

Searched refs:tot_read (Results 1 – 16 of 16) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/systrace/atrace_helper/jni/
H A Dfile_utils.cc49 size_t tot_read = 0; in ReadFile() local
51 ssize_t rsize = read(fd, buf + tot_read, length - tot_read); in ReadFile()
58 tot_read += static_cast<size_t>(rsize); in ReadFile()
59 } while (tot_read < length); in ReadFile()
60 buf[tot_read < length ? tot_read : length - 1] = '\0'; in ReadFile()
61 return tot_read; in ReadFile()
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/krypto/
H A Dwgaencrypt.c437 size_t tot_read; in KWGAEncFileReadInt() local
447 tot_read = num_read = 0; in KWGAEncFileReadInt()
453 self->buffer.data + tot_read, bsize - tot_read, in KWGAEncFileReadInt()
457 tot_read += num_read; in KWGAEncFileReadInt()
461 &tot_read); in KWGAEncFileReadInt()
466 if (tot_read & 15) in KWGAEncFileReadInt()
468 else if (tot_read > 0) in KWGAEncFileReadInt()
478 tot_read); in KWGAEncFileReadInt()
683 size_t tot_read; in KWGAEncFileHeaderRead() local
692 for (num_read = tot_read = 0; tot_read < sizeof header; ) in KWGAEncFileHeaderRead()
[all …]
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/krypto/
H A Dwgaencrypt.c437 size_t tot_read; in KWGAEncFileReadInt() local
447 tot_read = num_read = 0; in KWGAEncFileReadInt()
453 self->buffer.data + tot_read, bsize - tot_read, in KWGAEncFileReadInt()
457 tot_read += num_read; in KWGAEncFileReadInt()
461 &tot_read); in KWGAEncFileReadInt()
466 if (tot_read & 15) in KWGAEncFileReadInt()
468 else if (tot_read > 0) in KWGAEncFileReadInt()
478 tot_read); in KWGAEncFileReadInt()
683 size_t tot_read; in KWGAEncFileHeaderRead() local
692 for (num_read = tot_read = 0; tot_read < sizeof header; ) in KWGAEncFileHeaderRead()
[all …]
/dports/www/domoticz/domoticz-2020.2/main/
H A Dunzip_iterator.h103 int tot_read = 0; variable
106 tot_read = unzReadCurrentFile((unzFile)handler_, buf+offset, 8192);
107 if (tot_read < 0)
112 offset += tot_read;
113 } while (tot_read > 0);
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/kfs/
H A Dbzip.c212 size_t tot_read = 0; in KBZipFileReadInt() local
219 for (tot_read = 0; tot_read < bsize ; ) in KBZipFileReadInt()
230 BZIP_DEBUG (("%s: loop start tot_read %zu\n", __func__, tot_read)); in KBZipFileReadInt()
232 strm->next_out = this_out = (char*)buffer + tot_read; in KBZipFileReadInt()
233 strm->avail_out = (unsigned int) (bsize - tot_read); in KBZipFileReadInt()
332 tot_read += num_read; in KBZipFileReadInt()
363 BZIP_DEBUG (("%s: loop end tot_read %zu\n", __func__, tot_read)); in KBZipFileReadInt()
366 BZIP_DEBUG (("%s: returning tot_read %zu\n\n\n", __func__, tot_read)); in KBZipFileReadInt()
367 *pnumread = tot_read; in KBZipFileReadInt()
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/kfs/
H A Dbzip.c212 size_t tot_read = 0; in KBZipFileReadInt() local
219 for (tot_read = 0; tot_read < bsize ; ) in KBZipFileReadInt()
230 BZIP_DEBUG (("%s: loop start tot_read %zu\n", __func__, tot_read)); in KBZipFileReadInt()
232 strm->next_out = this_out = (char*)buffer + tot_read; in KBZipFileReadInt()
233 strm->avail_out = (unsigned int) (bsize - tot_read); in KBZipFileReadInt()
332 tot_read += num_read; in KBZipFileReadInt()
363 BZIP_DEBUG (("%s: loop end tot_read %zu\n", __func__, tot_read)); in KBZipFileReadInt()
366 BZIP_DEBUG (("%s: returning tot_read %zu\n\n\n", __func__, tot_read)); in KBZipFileReadInt()
367 *pnumread = tot_read; in KBZipFileReadInt()
/dports/textproc/link-grammar/link-grammar-5.8.0/link-grammar/dict-common/
H A Dfile-utils.c477 size_t tot_read = 0; in get_file_contents() local
518 tot_read += read_size; in get_file_contents()
521 if (tot_read > tot_size+6) in get_file_contents()
528 contents[tot_read] = '\0'; in get_file_contents()
/dports/sysutils/conky-awesome/conky-1.12.2/src/
H A Dsolaris.cc398 unsigned int tot_read = 0; in update_diskio() local
413 tot_read += read = (unsigned int)(ksio->nread / 512); in update_diskio()
418 update_diskio_values(&stats, tot_read, tot_written); in update_diskio()
/dports/sysutils/conky/conky-1.12.2/src/
H A Dsolaris.cc398 unsigned int tot_read = 0; in update_diskio() local
413 tot_read += read = (unsigned int)(ksio->nread / 512); in update_diskio()
418 update_diskio_values(&stats, tot_read, tot_written); in update_diskio()
/dports/security/opensc/OpenSC-0.22.0/src/libopensc/
H A Dcard-belpic.c95 static long t1, t2, tot_read = 0, tot_dur = 0, dur; variable
319 tot_read += r; in belpic_read_binary()
/dports/www/domoticz/domoticz-2020.2/hardware/
H A DRFXComSerial.cpp722 size_t tot_read = m_serial.read((uint8_t*)&sbuffer, sizeof(sbuffer)); in Read_TX_PKT() local
723 if (tot_read <= 0) in Read_TX_PKT()
726 while (tot_read > 0) in Read_TX_PKT()
769 tot_read--; in Read_TX_PKT()
/dports/www/netsurf/netsurf-3.10/content/fetchers/
H A Dfile.c359 ssize_t tot_read = 0; in fetch_file_process_plain()
423 while (tot_read < fdstat->st_size) { in fetch_file_process_plain()
438 tot_read += res; in fetch_file_process_plain()
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/filters/
H A Din_rtp.c521 u32 tot_read=0; in rtpin_process() local
549 tot_read+=read; in rtpin_process()
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/filters/
H A Din_rtp.c521 u32 tot_read=0; in rtpin_process() local
549 tot_read+=read; in rtpin_process()
/dports/net-mgmt/nagios4/nagios-4.4.6/base/
H A Dutils.c2800 int tot_written = 0, tot_read = 0, buf_size = 0; in my_fdcopy() local
2847 tot_read += rd_result; in my_fdcopy()
/dports/net-mgmt/nagios/nagios-3.5.1/base/
H A Dutils.c3121 unsigned long tot_written = 0, tot_read = 0, buf_size = 0; in my_fdcopy() local
3168 tot_read += rd_result; in my_fdcopy()