Home
last modified time | relevance | path

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

12

/dports/devel/wandio/wandio-1.0.5/lib/
H A Dior-peek.c257 int64_t read_amount = len - (DATA(io)->length - DATA(io)->offset); in peek_peek() local
259 read_amount += PEEK_SIZE - ((DATA(io)->length + read_amount) % PEEK_SIZE); in peek_peek()
262 DATA(io)->length + read_amount, &res); in peek_peek()
270 read_amount = wandio_read(DATA(io)->child, in peek_peek()
272 read_amount); in peek_peek()
275 if (read_amount <0) { in peek_peek()
276 return read_amount; in peek_peek()
279 DATA(io)->length += read_amount; in peek_peek()
/dports/net/libtrace/libtrace-3.0.19/libwandio/
H A Dior-peek.c258 off_t read_amount = len - (DATA(io)->length - DATA(io)->offset); in peek_peek() local
260 read_amount += PEEK_SIZE - ((DATA(io)->length + read_amount) % PEEK_SIZE); in peek_peek()
263 DATA(io)->length + read_amount, &res); in peek_peek()
271 read_amount = wandio_read(DATA(io)->child, in peek_peek()
273 read_amount); in peek_peek()
276 if (read_amount <0) { in peek_peek()
277 return read_amount; in peek_peek()
280 DATA(io)->length += read_amount; in peek_peek()
/dports/devel/godot-tools/godot-3.2.3-stable/servers/audio/effects/
H A Daudio_stream_generator.cpp147 int read_amount = buffer.data_left(); in _mix_internal() local
148 if (p_frames < read_amount) { in _mix_internal()
149 read_amount = p_frames; in _mix_internal()
152 buffer.read(p_buffer, read_amount); in _mix_internal()
154 if (read_amount < p_frames) { in _mix_internal()
156 for (int i = read_amount; i < p_frames; i++) { in _mix_internal()
/dports/devel/godot/godot-3.2.3-stable/servers/audio/effects/
H A Daudio_stream_generator.cpp147 int read_amount = buffer.data_left(); in _mix_internal() local
148 if (p_frames < read_amount) { in _mix_internal()
149 read_amount = p_frames; in _mix_internal()
152 buffer.read(p_buffer, read_amount); in _mix_internal()
154 if (read_amount < p_frames) { in _mix_internal()
156 for (int i = read_amount; i < p_frames; i++) { in _mix_internal()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/modules/peerconnection/
H A Dbyte_buffer_queue.cc10 wtf_size_t read_amount = 0; in ReadInto() local
20 read_amount += buffer_read_amount; in ReadInto()
29 size_ -= read_amount; in ReadInto()
33 return read_amount; in ReadInto()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/
H A Dbyte_buffer_queue.cc10 wtf_size_t read_amount = 0; in ReadInto() local
20 read_amount += buffer_read_amount; in ReadInto()
29 size_ -= read_amount; in ReadInto()
33 return read_amount; in ReadInto()
H A Drtc_quic_stream.cc107 uint32_t read_amount = static_cast<uint32_t>(receive_buffer_.ReadInto( in readInto() local
109 if (!received_fin_ && read_amount > 0) { in readInto()
110 proxy_->MarkReceivedDataConsumed(read_amount); in readInto()
123 result->setAmount(read_amount); in readInto()
/dports/devel/universal-ctags/ctags-p5.9.20211128.0/Units/parser-sql.r/readlob.sql.d/
H A Dinput.sql25 read_amount INTEGER; variable
35 read_amount := 20;
36 dbms_lob.read(clob_locator, read_amount, read_offset, charbuf);
H A Dexpected.tags9 read_amount input.sql /^ read_amount INTEGER;$/;" v
/dports/devel/geany-legacy/geany-1.37.1/tests/ctags/
H A Dreadlob.sql25 read_amount INTEGER; variable
35 read_amount := 20;
36 dbms_lob.read(clob_locator, read_amount, read_offset, charbuf);
H A Dreadlob.sql.tags9 read_amount�16384�0
/dports/devel/geany/geany-1.38/tests/ctags/
H A Dreadlob.sql25 read_amount INTEGER; variable
35 read_amount := 20;
36 dbms_lob.read(clob_locator, read_amount, read_offset, charbuf);
H A Dreadlob.sql.tags9 read_amount�16384�0
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/modules/peerconnection/adapters/
H A Dp2p_quic_stream_impl.cc67 uint32_t read_amount = static_cast<uint32_t>(iov.iov_len); in OnDataAvailable() local
68 if (read_amount == 0) { in OnDataAvailable()
76 read_amount, delegate_read_buffer_available - current_data_offset); in OnDataAvailable()
80 if (read_amount > consume_amount) { in OnDataAvailable()
/dports/cad/basicdsp/basicdsp-1.01/
H A Dwav_streamer.cpp168 int read_amount = (playback_end - playback_offset); in ReadRawData() local
169 wavefile->Read(static_cast<char*>(temp_buffer) + offset, read_amount); in ReadRawData()
173 offset += read_amount; in ReadRawData()
175 bytes_to_read -= read_amount; in ReadRawData()
/dports/www/chromium-legacy/chromium-88.0.4324.182/remoting/host/file_transfer/
H A Drtc_log_file_operations.cc179 int read_amount = std::min(remaining_in_section, maximum_to_read); in ReadPartially() local
182 current_position_ + read_amount); in ReadPartially()
183 current_position_ += read_amount; in ReadPartially()
193 return read_amount; in ReadPartially()
/dports/audio/praat/praat-6.2.03/external/mp3/
H A Dmp3.cpp103 MP3F_OFFSET read_amount;
441 mp3f -> read_amount = num_samples;
479 if (length > mp3f -> read_amount) {
480 length = mp3f -> read_amount;
487 mp3f -> read_amount -= length;
488 return (mp3f -> read_amount > 0) ? MAD_FLOW_CONTINUE : MAD_FLOW_STOP;
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/libziparchive/
H A Dzip_archive.cc204 off64_t file_length, uint32_t read_amount, in MapCentralDirectory0() argument
206 const off64_t search_start = file_length - read_amount; in MapCentralDirectory0()
208 if (!archive->mapped_zip.ReadAtOffset(scan_buffer, read_amount, search_start)) { in MapCentralDirectory0()
209 ALOGE("Zip: read %" PRId64 " from offset %" PRId64 " failed", static_cast<int64_t>(read_amount), in MapCentralDirectory0()
220 CHECK_LE(read_amount, std::numeric_limits<int32_t>::max()); in MapCentralDirectory0()
221 int32_t i = read_amount - sizeof(EocdRecord); in MapCentralDirectory0()
324 uint32_t read_amount = kMaxEOCDSearch; in MapCentralDirectory() local
325 if (file_length < read_amount) { in MapCentralDirectory()
326 read_amount = static_cast<uint32_t>(file_length); in MapCentralDirectory()
329 std::vector<uint8_t> scan_buffer(read_amount); in MapCentralDirectory()
[all …]
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/libziparchive/
H A Dzip_archive.cc169 … off64_t file_length, off64_t read_amount, uint8_t* scan_buffer) { in MapCentralDirectory0() argument
170 const off64_t search_start = file_length - read_amount; in MapCentralDirectory0()
172 if (!archive->mapped_zip.ReadAtOffset(scan_buffer, read_amount, search_start)) { in MapCentralDirectory0()
173 ALOGE("Zip: read %" PRId64 " from offset %" PRId64 " failed", static_cast<int64_t>(read_amount), in MapCentralDirectory0()
184 int i = read_amount - sizeof(EocdRecord); in MapCentralDirectory0()
293 off64_t read_amount = kMaxEOCDSearch; in MapCentralDirectory() local
294 if (file_length < read_amount) { in MapCentralDirectory()
295 read_amount = file_length; in MapCentralDirectory()
298 std::vector<uint8_t> scan_buffer(read_amount); in MapCentralDirectory()
300 MapCentralDirectory0(debug_file_name, archive, file_length, read_amount, scan_buffer.data()); in MapCentralDirectory()
/dports/archivers/py-zstandard/zstandard-0.16.0/rust-ext/src/
H A Ddecompression_reader.rs415 let mut read_amount = if whence == seek_set { in seek() localVariable
445 while read_amount > 0 { in seek()
448 Some(min(read_amount, zstd_safe::dstream_out_size()) as _), in seek()
455 read_amount -= result.len()?; in seek()
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/ogg-0.7.0/src/
H A Dreading.rs548 read_amount :usize, field
557 read_amount : 0, in new()
588 let rd_len = try!(rdr.read(if self.read_amount < 27 { in do_read()
592 &mut buf[0 .. 27 - self.read_amount] in do_read()
604 if self.read_amount == 0 { in do_read()
617 self.read_amount += rd_len; in do_read()
624 if self.read_amount > read_amount_max { in do_read()
/dports/audio/lewton/lewton-0.10.2/cargo-crates/ogg-0.8.0/src/
H A Dreading.rs554 read_amount :usize, field
563 read_amount : 0, in new()
594 let rd_len = tri!(rdr.read(if self.read_amount < 27 { in do_read()
598 &mut buf[0 .. 27 - self.read_amount] in do_read()
610 if self.read_amount == 0 { in do_read()
623 self.read_amount += rd_len; in do_read()
630 if self.read_amount > read_amount_max { in do_read()
/dports/sysutils/czkawka/czkawka-3.3.1/cargo-crates/ogg-0.8.0/src/
H A Dreading.rs554 read_amount :usize, field
563 read_amount : 0, in new()
594 let rd_len = tri!(rdr.read(if self.read_amount < 27 { in do_read()
598 &mut buf[0 .. 27 - self.read_amount] in do_read()
610 if self.read_amount == 0 { in do_read()
623 self.read_amount += rd_len; in do_read()
630 if self.read_amount > read_amount_max { in do_read()
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/ogg-0.8.0/src/
H A Dreading.rs554 read_amount :usize, field
563 read_amount : 0, in new()
594 let rd_len = tri!(rdr.read(if self.read_amount < 27 { in do_read()
598 &mut buf[0 .. 27 - self.read_amount] in do_read()
610 if self.read_amount == 0 { in do_read()
623 self.read_amount += rd_len; in do_read()
630 if self.read_amount > read_amount_max { in do_read()
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/ogg-0.7.0/src/
H A Dreading.rs548 read_amount :usize, field
557 read_amount : 0, in new()
588 let rd_len = try!(rdr.read(if self.read_amount < 27 { in do_read()
592 &mut buf[0 .. 27 - self.read_amount] in do_read()
604 if self.read_amount == 0 { in do_read()
617 self.read_amount += rd_len; in do_read()
624 if self.read_amount > read_amount_max { in do_read()

12