Home
last modified time | relevance | path

Searched refs:bytes_to_go (Results 1 – 25 of 42) sorted by relevance

12

/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Common/
H A DMinizipUtil.h27 u32 bytes_to_go = static_cast<u32>(destination->size()); in ReadFileFromZip() local
28 while (bytes_to_go > 0) in ReadFileFromZip()
31 unzReadCurrentFile(file, &(*destination)[destination->size() - bytes_to_go], in ReadFileFromZip()
32 std::min(bytes_to_go, MAX_BUFFER_SIZE)); in ReadFileFromZip()
37 bytes_to_go -= static_cast<u32>(bytes_read); in ReadFileFromZip()
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/pcidsk/sdk/segment/
H A Dcpcidsksegment.cpp329 uint64 bytes_to_go; in MoveData() local
331 bytes_to_go = size_in_bytes; in MoveData()
333 while( bytes_to_go > 0 ) in MoveData()
336 if( bytes_to_go < bytes_this_chunk ) in MoveData()
337 bytes_this_chunk = bytes_to_go; in MoveData()
342 src_offset + bytes_to_go - bytes_this_chunk, in MoveData()
345 dst_offset + bytes_to_go - bytes_this_chunk, in MoveData()
357 bytes_to_go -= bytes_this_chunk; in MoveData()
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/pcidsk/sdk/segment/
H A Dcpcidsksegment.cpp355 uint64 bytes_to_go; in MoveData() local
357 bytes_to_go = size_in_bytes; in MoveData()
359 while( bytes_to_go > 0 ) in MoveData()
362 if( bytes_to_go < bytes_this_chunk ) in MoveData()
363 bytes_this_chunk = bytes_to_go; in MoveData()
368 src_offset + bytes_to_go - bytes_this_chunk, in MoveData()
371 dst_offset + bytes_to_go - bytes_this_chunk, in MoveData()
383 bytes_to_go -= bytes_this_chunk; in MoveData()
/dports/graphics/gdal/gdal-3.3.3/frmts/pcidsk/sdk/segment/
H A Dcpcidsksegment.cpp355 uint64 bytes_to_go; in MoveData() local
357 bytes_to_go = size_in_bytes; in MoveData()
359 while( bytes_to_go > 0 ) in MoveData()
362 if( bytes_to_go < bytes_this_chunk ) in MoveData()
363 bytes_this_chunk = bytes_to_go; in MoveData()
368 src_offset + bytes_to_go - bytes_this_chunk, in MoveData()
371 dst_offset + bytes_to_go - bytes_this_chunk, in MoveData()
383 bytes_to_go -= bytes_this_chunk; in MoveData()
/dports/graphics/py-gdal/gdal-3.3.3/frmts/pcidsk/sdk/segment/
H A Dcpcidsksegment.cpp355 uint64 bytes_to_go; in MoveData() local
357 bytes_to_go = size_in_bytes; in MoveData()
359 while( bytes_to_go > 0 ) in MoveData()
362 if( bytes_to_go < bytes_this_chunk ) in MoveData()
363 bytes_this_chunk = bytes_to_go; in MoveData()
368 src_offset + bytes_to_go - bytes_this_chunk, in MoveData()
371 dst_offset + bytes_to_go - bytes_this_chunk, in MoveData()
383 bytes_to_go -= bytes_this_chunk; in MoveData()
/dports/www/squid/squid-4.15/src/
H A Dstmem.cc254 size_t bytes_to_go = target.length; in copy() local
261 while (p && bytes_to_go > 0) { in copy()
263 location, bytes_to_go, ptr_to_buf); in copy()
268 return target.length - bytes_to_go; in copy()
274 bytes_to_go -= bytes_to_copy; in copy()
279 return target.length - bytes_to_go; in copy()
/dports/net/kamailio/kamailio-5.4.5/src/core/
H A Dtcp_read.c489 if (remaining>r->bytes_to_go) remaining=r->bytes_to_go; in tcp_read_headers()
492 if (r->bytes_to_go==0){ in tcp_read_headers()
552 r->bytes_to_go=3; in tcp_read_headers()
564 r->bytes_to_go=3; in tcp_read_headers()
572 r->bytes_to_go=0; in tcp_read_headers()
624 r->bytes_to_go=3; in tcp_read_headers()
636 r->bytes_to_go=3; in tcp_read_headers()
644 r->bytes_to_go=0; in tcp_read_headers()
921 if (remaining>r->bytes_to_go) remaining=r->bytes_to_go; in tcp_read_headers()
924 if (r->bytes_to_go==0){ in tcp_read_headers()
[all …]
/dports/net/kamailio/kamailio-5.4.5/src/modules/ctl/
H A Dio_listener.c66 int bytes_to_go; /* how many bytes we still have to read */ member
105 s_c->req.bytes_to_go=0; /* BINRPC_MIN_HDR ? */ in s_conn_new()
500 if (bytes_read && (bytes_read<r->bytes_to_go)){ in handle_stream_read()
501 r->bytes_to_go-=bytes_read; in handle_stream_read()
520 r->bytes_to_go=bytes_needed; in handle_stream_read()
614 if (bytes_read && (bytes_read<r->bytes_to_go)){ in handle_fifo_read()
615 r->bytes_to_go-=bytes_read; in handle_fifo_read()
627 r->bytes_to_go=bytes_needed; in handle_fifo_read()
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/librespot-audio-0.3.1/src/fetch/
H A Dreceive.rs223 let mut bytes_to_go = bytes; in pre_fetch_more_data() localVariable
226 while bytes_to_go > 0 && requests_to_go > 0 { in pre_fetch_more_data()
248 let length = min(range.length, bytes_to_go); in pre_fetch_more_data()
251 bytes_to_go -= length; in pre_fetch_more_data()
256 let length = min(range.length, bytes_to_go); in pre_fetch_more_data()
259 bytes_to_go -= length; in pre_fetch_more_data()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/rappor/
H A Dbyte_vector_utils.cc225 size_t bytes_to_go = byte_count(); in GetRandomByteVector() local
226 while (bytes_to_go > 0) { in GetRandomByteVector()
234 size_t n = std::min(bytes_to_go, in GetRandomByteVector()
238 bytes_to_go -= n; in GetRandomByteVector()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/rappor/
H A Dbyte_vector_utils.cc227 size_t bytes_to_go = byte_count(); in GetRandomByteVector() local
228 while (bytes_to_go > 0) { in GetRandomByteVector()
236 size_t n = std::min(bytes_to_go, in GetRandomByteVector()
240 bytes_to_go -= n; in GetRandomByteVector()
/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fxcodec/codec/
H A Dfx_codec_flate.cpp736 size_t bytes_to_go = m_Pitch; in v_GetNextLine() local
738 m_LeftOver > bytes_to_go ? bytes_to_go : m_LeftOver; in v_GetNextLine()
744 bytes_to_go -= read_leftover; in v_GetNextLine()
746 while (bytes_to_go) { in v_GetNextLine()
758 m_PredictPitch > bytes_to_go ? bytes_to_go : m_PredictPitch; in v_GetNextLine()
759 FXSYS_memcpy(m_pScanline + m_Pitch - bytes_to_go, m_pPredictBuffer, in v_GetNextLine()
762 bytes_to_go -= read_bytes; in v_GetNextLine()
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fxcodec/codec/
H A Dfx_codec_flate.cpp736 size_t bytes_to_go = m_Pitch; in v_GetNextLine() local
738 m_LeftOver > bytes_to_go ? bytes_to_go : m_LeftOver; in v_GetNextLine()
744 bytes_to_go -= read_leftover; in v_GetNextLine()
746 while (bytes_to_go) { in v_GetNextLine()
758 m_PredictPitch > bytes_to_go ? bytes_to_go : m_PredictPitch; in v_GetNextLine()
759 FXSYS_memcpy(m_pScanline + m_Pitch - bytes_to_go, m_pPredictBuffer, in v_GetNextLine()
762 bytes_to_go -= read_bytes; in v_GetNextLine()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fxcodec/flate/
H A Dflatemodule.cpp746 size_t bytes_to_go = m_Pitch; in GetNextLineWithoutPredictedPitch() local
747 size_t read_leftover = m_LeftOver > bytes_to_go ? bytes_to_go : m_LeftOver; in GetNextLineWithoutPredictedPitch()
752 bytes_to_go -= read_leftover; in GetNextLineWithoutPredictedPitch()
754 while (bytes_to_go) { in GetNextLineWithoutPredictedPitch()
773 m_PredictPitch > bytes_to_go ? bytes_to_go : m_PredictPitch; in GetNextLineWithoutPredictedPitch()
774 memcpy(m_pScanline.get() + m_Pitch - bytes_to_go, m_PredictBuffer.data(), in GetNextLineWithoutPredictedPitch()
777 bytes_to_go -= read_bytes; in GetNextLineWithoutPredictedPitch()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fxcodec/flate/
H A Dflatemodule.cpp746 size_t bytes_to_go = m_Pitch; in GetNextLineWithoutPredictedPitch() local
747 size_t read_leftover = m_LeftOver > bytes_to_go ? bytes_to_go : m_LeftOver; in GetNextLineWithoutPredictedPitch()
752 bytes_to_go -= read_leftover; in GetNextLineWithoutPredictedPitch()
754 while (bytes_to_go) { in GetNextLineWithoutPredictedPitch()
773 m_PredictPitch > bytes_to_go ? bytes_to_go : m_PredictPitch; in GetNextLineWithoutPredictedPitch()
774 memcpy(m_pScanline.get() + m_Pitch - bytes_to_go, m_PredictBuffer.data(), in GetNextLineWithoutPredictedPitch()
777 bytes_to_go -= read_bytes; in GetNextLineWithoutPredictedPitch()
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/pcidsk/sdk/core/
H A Dcpcidskfile.cpp1157 uint64 srcoff, dstoff, bytes_to_go; in MoveSegmentToEOF() local
1159 bytes_to_go = seg_size * 512; in MoveSegmentToEOF()
1163 while( bytes_to_go > 0 ) in MoveSegmentToEOF()
1166 if( bytes_to_go < bytes_this_chunk ) in MoveSegmentToEOF()
1167 bytes_this_chunk = bytes_to_go; in MoveSegmentToEOF()
1174 bytes_to_go -= bytes_this_chunk; in MoveSegmentToEOF()
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/boto/gs/
H A Dresumable_upload_handler.py436 bytes_to_go = server_end + 1
437 while bytes_to_go:
438 chunk = fp.read(min(key.BufferSize, bytes_to_go))
449 bytes_to_go -= len(chunk)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/vendored/boto/boto/gs/
H A Dresumable_upload_handler.py436 bytes_to_go = server_end + 1
437 while bytes_to_go:
438 chunk = fp.read(min(key.BufferSize, bytes_to_go))
449 bytes_to_go -= len(chunk)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/third_party/boto/boto/gs/
H A Dresumable_upload_handler.py436 bytes_to_go = server_end + 1
437 while bytes_to_go:
438 chunk = fp.read(min(key.BufferSize, bytes_to_go))
449 bytes_to_go -= len(chunk)
/dports/sysutils/duplicity/duplicity-0.8.20/duplicity/
H A Dgpg.py386 bytes_to_go = data_size - get_current_size()
387 if bytes_to_go < block_iter.get_read_size():
447 bytes_to_go = size - file_counted.byte_count
448 if bytes_to_go < block_iter.get_read_size():
/dports/devel/py-boto/boto-2.49.0/boto/gs/
H A Dresumable_upload_handler.py436 bytes_to_go = server_end + 1
437 while bytes_to_go:
438 chunk = fp.read(min(key.BufferSize, bytes_to_go))
449 bytes_to_go -= len(chunk)
/dports/multimedia/librespot/librespot-0.1.3/audio/src/
H A Dfetch.rs754 let mut bytes_to_go = bytes; in pre_fetch_more_data() localVariable
757 while bytes_to_go > 0 && requests_to_go > 0 { in pre_fetch_more_data()
779 let length = min(range.length, bytes_to_go); in pre_fetch_more_data()
782 bytes_to_go -= length; in pre_fetch_more_data()
787 let length = min(range.length, bytes_to_go); in pre_fetch_more_data()
790 bytes_to_go -= length; in pre_fetch_more_data()
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/librespot-audio-0.1.2/src/
H A Dfetch.rs754 let mut bytes_to_go = bytes; in pre_fetch_more_data() localVariable
757 while bytes_to_go > 0 && requests_to_go > 0 { in pre_fetch_more_data()
779 let length = min(range.length, bytes_to_go); in pre_fetch_more_data()
782 bytes_to_go -= length; in pre_fetch_more_data()
787 let length = min(range.length, bytes_to_go); in pre_fetch_more_data()
790 bytes_to_go -= length; in pre_fetch_more_data()
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/librespot-audio-0.1.1/src/
H A Dfetch.rs745 let mut bytes_to_go = bytes; in pre_fetch_more_data() localVariable
748 while bytes_to_go > 0 && requests_to_go > 0 { in pre_fetch_more_data()
770 let length = min(range.length, bytes_to_go); in pre_fetch_more_data()
773 bytes_to_go -= length; in pre_fetch_more_data()
778 let length = min(range.length, bytes_to_go); in pre_fetch_more_data()
781 bytes_to_go -= length; in pre_fetch_more_data()
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/pcidsk/sdk/core/
H A Dcpcidskfile.cpp1693 uint64 srcoff, dstoff, bytes_to_go;
1695 bytes_to_go = seg_size * 512;
1699 while( bytes_to_go > 0 )
1702 if( bytes_to_go < bytes_this_chunk )
1703 bytes_this_chunk = bytes_to_go;
1710 bytes_to_go -= bytes_this_chunk;

12