Home
last modified time | relevance | path

Searched refs:amount_read (Results 1 – 25 of 71) sorted by relevance

123

/dports/sysutils/fwup/fwup-1.9.0/tests/fixture/
H A Dframing-helper.c50 size_t amount_read = fread(buffer, 1, amount_to_read, stdin); in remove_framing() local
53 if (current_frame_remaining == 0 && amount_read == 0) in remove_framing()
57 if (amount_read != amount_to_read) { in remove_framing()
59 (unsigned int) amount_to_read, (unsigned int) amount_read); in remove_framing()
74 fwrite(buffer, 1, amount_read, stdout); in remove_framing()
75 current_frame_remaining -= amount_read; in remove_framing()
91 size_t amount_read = fread(buffer, 1, frame_size, stdin); in add_framing() local
92 if (amount_read == 0) in add_framing()
98 uint32_t be_len = TO_BIGENDIAN32(amount_read); in add_framing()
100 fwrite(buffer, 1, amount_read, stdout); in add_framing()
[all …]
/dports/deskutils/virt-manager/virt-manager-3.2.0/virtinst/
H A Dprogress.py131 def update(self, amount_read, now=None): argument
138 self.re.update(amount_read, now)
141 self._do_update(amount_read, now)
146 def end(self, amount_read, now=None): argument
149 self.re.update(amount_read, now)
150 self.last_amount_read = amount_read
152 self._do_end(amount_read, now)
154 def _do_end(self, amount_read, now=None): argument
245 fread = format_number(amount_read)
362 if amount_read == 0 or amount_read < self.last_amount_read:
[all …]
/dports/sysutils/fwup/fwup-1.9.0/src/
H A Darchive_open.c101 size_t amount_read; in framed_stdin_read() local
105 amount_read = fread(&be_len, 1, sizeof(be_len), stdin); in framed_stdin_read()
106 if (amount_read != sizeof(be_len)) { in framed_stdin_read()
122 amount_read = fread(ad->buffer, 1, amount_to_read, stdin); in framed_stdin_read()
123 if (amount_read == 0) { in framed_stdin_read()
127 ad->current_frame_remaining -= amount_read; in framed_stdin_read()
129 ad->progress->input_bytes += amount_read; in framed_stdin_read()
131 return amount_read; in framed_stdin_read()
/dports/www/py-urlgrabber/urlgrabber-4.0.0/urlgrabber/
H A Dprogress.py140 def update(self, amount_read, now=None): argument
146 self.re.update(amount_read, now)
149 self._do_update(amount_read, now)
154 def end(self, amount_read, now=None): argument
156 self.re.update(amount_read, now)
157 self.last_amount_read = amount_read
159 self._do_end(amount_read, now)
244 fread = format_number(amount_read)
340 def _do_update(self, amount_read, now): argument
344 def _do_end(self, amount_read, now): argument
[all …]
/dports/editors/focuswriter/focuswriter-1.7.6/src/fileformats/
H A Dclipboard_windows.cpp97 ULONG amount_read = 0; in convertToMime() local
101 stream_result = storage_medium.pstm->Read(buffer, sizeof(buffer), &amount_read); in convertToMime()
102 if (SUCCEEDED(stream_result) && (amount_read > 0)) { in convertToMime()
103 data += QByteArray::fromRawData(buffer, amount_read); in convertToMime()
105 if (amount_read != sizeof(buffer)) { in convertToMime()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/platform/
H A DPosix.cpp250 size_t amount_read = 0; in platform_file_copy() local
255 while ((amount_read = fread(buffer, FILE_BUFFER_SIZE, 1, srcFile))) in platform_file_copy()
257 fwrite(buffer, amount_read, 1, dstFile); in platform_file_copy()
258 file_offset += amount_read; in platform_file_copy()
264 amount_read = fread(buffer, 1, FILE_BUFFER_SIZE, srcFile); in platform_file_copy()
265 fwrite(buffer, amount_read, 1, dstFile); in platform_file_copy()
/dports/mail/crm114/crm114-20100106-BlameMichelson.src/
H A Dcrm_svm.c926 size_t amount_read; in svm_get_meta_data() local
980 if (amount_read < N_CONSTANTS_IN_SVM_BLOCK) { in svm_get_meta_data()
1051 size_t amount_read, size; in get_theta_from_svm_file() local
1070 amount_read = fread(&size, sizeof(size_t), 1, fp); in get_theta_from_svm_file()
1126 size_t amount_read, old_offset, new_offset, size; in read_svm_file_fp() local
1153 amount_read = fread(&size, sizeof(size_t), 1, fp); in read_svm_file_fp()
1156 amount_read = fread(&n_new, sizeof(int), 1, fp); in read_svm_file_fp()
1165 if ((amount_read < N_CONSTANTS_IN_SVM_BLOCK) || in read_svm_file_fp()
1180 amount_read = fread(&fill, sizeof(int), 1, fp); in read_svm_file_fp()
1193 if (amount_read < 2) { in read_svm_file_fp()
[all …]
/dports/editors/joe/joe-4.6/joe/util/
H A Dcheckwidths.c66 int amount_read = 0; in full_read() local
76 return amount_read; in full_read()
80 amount_read += len; in full_read()
85 return amount_read; in full_read()
/dports/security/py-sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/buffered-reader/src/
H A Dgeneric.rs109 let mut amount_read = 0; in data_helper() localVariable
110 while amount_buffered + amount_read < amount { in data_helper()
112 [amount_buffered + amount_read..]) { in data_helper()
117 amount_read += read; in data_helper()
132 if amount_read > 0 { in data_helper()
141 vec_truncate(&mut buffer_new, amount_buffered + amount_read); in data_helper()
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/buffered-reader/src/
H A Dgeneric.rs109 let mut amount_read = 0; in data_helper() localVariable
110 while amount_buffered + amount_read < amount { in data_helper()
112 [amount_buffered + amount_read..]) { in data_helper()
117 amount_read += read; in data_helper()
132 if amount_read > 0 { in data_helper()
141 vec_truncate(&mut buffer_new, amount_buffered + amount_read); in data_helper()
/dports/mail/p5-Mail-Mbox-MessageParser/Mail-Mbox-MessageParser-1.5111/lib/Mail/Mbox/MessageParser/
H A DPerl.pm390 my $amount_read = 0;
394 $amount_read = read($self->{'file_handle'}, $self->{'READ_BUFFER'},
400 if ($amount_read == 0)
407 $total_amount_read += $amount_read;
/dports/games/openclonk/openclonk-release-8.1-src/src/gui/
H A DC4UpdateDlg.cpp79 ssize_t amount_read; in UpdateText() local
81 amount_read = read(c4group_output[0], c4group_output_buf, 512); in UpdateText()
83 if (amount_read == -1) in UpdateText()
94 else if (amount_read == 0) in UpdateText()
128 c4group_output_buf[amount_read] = 0; in UpdateText()
/dports/multimedia/mswebrtc/mswebrtc-1.1.1/webrtc/webrtc/base/
H A Difaddrs-android.cc155 ssize_t amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs() local
156 while (amount_read > 0) { in getifaddrs()
158 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs()
202 amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/rtc_base/
H A Difaddrs_android.cc160 ssize_t amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs() local
161 while (amount_read > 0) { in getifaddrs()
163 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs()
207 amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs()
/dports/net-im/tg_owt/tg_owt-d578c76/src/rtc_base/
H A Difaddrs_android.cc160 ssize_t amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs() local
161 while (amount_read > 0) { in getifaddrs()
163 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs()
207 amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs()
/dports/devel/godot/godot-3.2.3-stable/thirdparty/misc/
H A Difaddrs-android.cc157 ssize_t amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs() local
158 while (amount_read > 0) { in getifaddrs()
160 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs()
204 amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs()
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/misc/
H A Difaddrs-android.cc157 ssize_t amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs() local
158 while (amount_read > 0) { in getifaddrs()
160 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs()
204 amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/rtc_base/
H A Difaddrs_android.cc160 ssize_t amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs() local
161 while (amount_read > 0) { in getifaddrs()
163 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs()
207 amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs()
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/rtc_base/
H A Difaddrs_android.cc160 ssize_t amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs() local
161 while (amount_read > 0) { in getifaddrs()
163 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs()
207 amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/rtc_base/
H A Difaddrs-android.cc155 ssize_t amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs() local
156 while (amount_read > 0) { in getifaddrs()
158 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs()
202 amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs()
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/base/
H A Difaddrs-android.cc155 ssize_t amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs() local
156 while (amount_read > 0) { in getifaddrs()
158 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs()
202 amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs()
/dports/devel/godot2-tools/godot-2.1.6-stable/platform/android/
H A Difaddrs_android.cpp165 ssize_t amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs() local
166 while (amount_read > 0) { in getifaddrs()
168 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs()
212 amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs()
/dports/devel/godot2/godot-2.1.6-stable/platform/android/
H A Difaddrs_android.cpp165 ssize_t amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs() local
166 while (amount_read > 0) { in getifaddrs()
168 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs()
212 amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs()
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/base/
H A Difaddrs-android.cc155 ssize_t amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs() local
156 while (amount_read > 0) { in getifaddrs()
158 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs()
202 amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs()
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/rtc_base/
H A Difaddrs-android.cc155 ssize_t amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs() local
156 while (amount_read > 0) { in getifaddrs()
158 size_t header_size = static_cast<size_t>(amount_read); in getifaddrs()
202 amount_read = recv(fd, &buf, kMaxReadSize, 0); in getifaddrs()

123