Home
last modified time | relevance | path

Searched refs:bytes_read_total (Results 1 – 11 of 11) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/base/
H A Dsync_socket_posix.cc130 size_t bytes_read_total = 0; in ReceiveWithTimeout() local
131 while (bytes_read_total < length) { in ReceiveWithTimeout()
143 return bytes_read_total; in ReceiveWithTimeout()
152 const size_t bytes_to_read = std::min(Peek(), length - bytes_read_total); in ReceiveWithTimeout()
156 return bytes_read_total; in ReceiveWithTimeout()
159 Receive(static_cast<char*>(buffer) + bytes_read_total, bytes_to_read); in ReceiveWithTimeout()
160 bytes_read_total += bytes_received; in ReceiveWithTimeout()
162 return bytes_read_total; in ReceiveWithTimeout()
165 return bytes_read_total; in ReceiveWithTimeout()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/
H A Dsync_socket_posix.cc130 size_t bytes_read_total = 0; in ReceiveWithTimeout() local
131 while (bytes_read_total < length) { in ReceiveWithTimeout()
143 return bytes_read_total; in ReceiveWithTimeout()
152 const size_t bytes_to_read = std::min(Peek(), length - bytes_read_total); in ReceiveWithTimeout()
156 return bytes_read_total; in ReceiveWithTimeout()
159 Receive(static_cast<char*>(buffer) + bytes_read_total, bytes_to_read); in ReceiveWithTimeout()
160 bytes_read_total += bytes_received; in ReceiveWithTimeout()
162 return bytes_read_total; in ReceiveWithTimeout()
165 return bytes_read_total; in ReceiveWithTimeout()
/dports/games/yadex/yadex-1.7.0/src/
H A Dwadfile.cc99 long bytes_read_total; in read_vbytes() local
103 bytes_read_total = 0; in read_vbytes()
110 bytes_read_total += bytes_read; in read_vbytes()
122 return bytes_read_total; in read_vbytes()
H A Dwads.cc78 long bytes_read_total; in file_read_vbytes() local
82 bytes_read_total = 0; in file_read_vbytes()
89 bytes_read_total += bytes_read; in file_read_vbytes()
95 return bytes_read_total; in file_read_vbytes()
/dports/games/openclonk/openclonk-release-8.1-src/src/platform/
H A DC4MusicFile.cpp453 long bytes_read_total = 0, bytes_read; in FillBuffer() local
456 …bytes_read = ov_read(&ogg_file, uncompressed_data+bytes_read_total, (buffer_size-bytes_read_total)… in FillBuffer()
457 bytes_read_total += bytes_read; in FillBuffer()
458 } while (bytes_read > 0 && bytes_read_total < buffer_size); in FillBuffer()
460 if (bytes_read_total) in FillBuffer()
462 byte_pos_total += bytes_read_total; in FillBuffer()
464 …alErrorCheck(alBufferData(buffer, ogg_info.format, uncompressed_data, bytes_read_total, ogg_info.s… in FillBuffer()
469 if (bytes_read_total < buffer_size) in FillBuffer()
480 if (!bytes_read_total && prev_bytes_total) return FillBuffer(idx); in FillBuffer()
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/fastboot/device/
H A Dusb_client.cpp255 size_t bytes_read_total = 0; in Read() local
256 while (bytes_read_total < len) { in Read()
257 auto bytes_to_read = std::min(len - bytes_read_total, kFbFfsNumBufs * kFbFfsBufSize); in Read()
261 return bytes_read_total == 0 ? -1 : bytes_read_total; in Read()
263 bytes_read_total += bytes_read_now; in Read()
269 return bytes_read_total; in Read()
/dports/audio/easytag/easytag-2.4.3/src/
H A Dcddb_dialog.c779 gulong *bytes_read_total) in Cddb_Write_Result_To_File() argument
814 *bytes_read_total += bytes_read; in Cddb_Write_Result_To_File()
819 size_str = g_format_size (*bytes_read_total); in Cddb_Write_Result_To_File()
875 gulong bytes_read_total = 0; in Cddb_Get_Album_Tracks_List() local
994 if (Cddb_Write_Result_To_File (self, socket_id, &bytes_read_total) < 0) in Cddb_Get_Album_Tracks_List()
1526 gulong bytes_read_total = 0; in Cddb_Search_Album_List_From_String_Freedb() local
1647 if (Cddb_Write_Result_To_File (self, socket_id, &bytes_read_total) < 0) in Cddb_Search_Album_List_From_String_Freedb()
1857 gulong bytes_read_total = 0; in Cddb_Search_Album_List_From_String_Gnudb() local
1990 if (Cddb_Write_Result_To_File (self, socket_id, &bytes_read_total) < 0) in Cddb_Search_Album_List_From_String_Gnudb()
3021 gulong bytes_read_total = 0; in et_cddb_dialog_search_from_selection() local
[all …]
/dports/graphics/eog/eog-41.1/src/
H A Deog-image.c974 goffset bytes_read = 0, bytes_read_total = 0; in eog_image_real_load() local
1046 bytes_read_total = priv->bytes; in eog_image_real_load()
1115 bytes_read_total += bytes_read; in eog_image_real_load()
1128 float progress = (float) bytes_read_total / (float) priv->bytes; in eog_image_real_load()
1201 bytes_read_total == 0 || in eog_image_real_load()
/dports/graphics/xviewer/xviewer-3.2.2/src/
H A Dxviewer-image.c1051 goffset bytes_read, bytes_read_total = 0; in xviewer_image_real_load() local
1205 … if ((bytes_read >= 0x1F) && (bytes_read_total == 0)){ /* only check the start of the file */ in xviewer_image_real_load()
1238 bytes_read_total += bytes_read; in xviewer_image_real_load()
1248 float progress = (float) bytes_read_total / (float) priv->bytes; in xviewer_image_real_load()
1326 bytes_read_total == 0 || in xviewer_image_real_load()
/dports/graphics/eom/eom-1.26.0/src/
H A Deom-image.c891 goffset bytes_read, bytes_read_total = 0; in eom_image_real_load() local
1032 bytes_read_total += bytes_read; in eom_image_real_load()
1035 float progress = (float) bytes_read_total / (float) priv->bytes; in eom_image_real_load()
1112 bytes_read_total == 0 || in eom_image_real_load()
/dports/graphics/sane-backends/sane-backends-1.0.32/backend/
H A Dhp4200.c623 long bytes_read_total; in compute_datalink_bandwidth() local
632 bytes_read_total = 0; in compute_datalink_bandwidth()
646 bytes_read_total += bytes_read; in compute_datalink_bandwidth()
656 s->msrd_parms.datalink_bandwidth = bytes_read_total / in compute_datalink_bandwidth()
661 s->msrd_parms.datalink_bandwidth, bytes_read_total, in compute_datalink_bandwidth()