/dports/www/chromium-legacy/chromium-88.0.4324.182/media/base/ |
H A D | seekable_buffer_unittest.cc | 53 int read_position = 0; in TEST_F() local 76 read_position += bytes_read; in TEST_F() 96 int read_position = 0; in TEST_F() local 104 read_position += kReadSize; in TEST_F() 122 read_position += kReadSize; in TEST_F() 140 read_position += kReadSize; in TEST_F() 152 read_position += kReadSize; in TEST_F() 157 read_position += kReadSize; in TEST_F() 180 int read_position = 0; in TEST_F() local 191 read_position += bytes_read; in TEST_F() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/base/ |
H A D | seekable_buffer_unittest.cc | 54 int read_position = 0; in TEST_F() local 77 read_position += bytes_read; in TEST_F() 97 int read_position = 0; in TEST_F() local 105 read_position += kReadSize; in TEST_F() 123 read_position += kReadSize; in TEST_F() 141 read_position += kReadSize; in TEST_F() 153 read_position += kReadSize; in TEST_F() 181 int read_position = 0; in TEST_F() local 192 read_position += bytes_read; in TEST_F() 255 int read_position = 0; in TEST_F() local [all …]
|
/dports/audio/libopenmpt/libopenmpt-0.6.0+release.autotools/common/ |
H A D | misc_util.h | 121 std::size_t read_position; variable 130 read_position = 0; in clear() 135 if ( write_position > read_position ) in read_size() 137 return write_position - read_position; in read_size() 148 if ( write_position > read_position ) in write_size() 150 return read_position - write_position + n; in write_size() 153 return read_position - write_position - 1; in write_size() 174 read_position = ( read_position + 1 ) % ( n + 1 ); in pop() 182 return buffer[read_position]; in peek() 190 return &(buffer[read_position]); in peek_p() [all …]
|
/dports/graphics/vips/vips-8.12.0/libvips/iofuncs/ |
H A D | source.c | 635 source->read_position ); in vips_source_unminimise() 755 source->read_position ); in vips_source_read() 761 source->read_position, in vips_source_read() 877 gint64 read_position; in vips_source_read_to_memory() local 896 read_position = 0; in vips_source_read_to_memory() 910 read_position += bytes_read; in vips_source_read_to_memory() 1242 gint64 read_position; in vips_source_length() local 1274 gint64 read_position; in vips_source_sniff_at_most() local 1286 read_position = 0; in vips_source_sniff_at_most() 1292 length - read_position ); in vips_source_sniff_at_most() [all …]
|
/dports/devel/gdcm/gdcm-3.0.10/Utilities/pvrg/ |
H A D | stream.c | 123 static int read_position; variable 363 read_position = -1; 545 read_position = 7 - (distance % 8); 559 if (read_position < 0) in megetb() 562 read_position=7; in megetb() 636 p = n-read_position; 644 read_position = 7-p; 657 read_position = p-1; 829 read_position=7; in ScreenMarker() 852 read_position=7; in ScreenMarker() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/audio/ |
H A D | audio_delay_dsp_kernel.cc | 109 double read_position = w_index + buffer_length - desired_delay_frames; in Process() local 110 if (read_position >= buffer_length) in Process() 111 read_position -= buffer_length; in Process() 114 int read_index1 = static_cast<int>(read_position); in Process() 125 float interpolation_factor = read_position - read_index1; in Process() 154 double read_position = w_index + buffer_length - desired_delay_frames; in Process() local 155 if (read_position >= buffer_length) in Process() 156 read_position -= buffer_length; in Process() 161 int read_index1 = static_cast<int>(read_position); in Process() 163 float interp_factor = read_position - read_index1; in Process()
|
/dports/textproc/libextractor/libextractor-1.11/src/main/ |
H A D | extractor_plugin_main.c | 72 uint64_t read_position; member 138 if ((pos > 0) && ((pc->read_position + pos < pc->read_position) || in plugin_env_seek() 144 npos = (uint64_t) (pc->read_position + pos); in plugin_env_seek() 178 pc->read_position = npos; in plugin_env_seek() 231 pc->read_position = npos; in plugin_env_seek() 265 (count + pc->read_position < pc->read_position) ) in plugin_env_read() 266 count = pc->file_size - pc->read_position; in plugin_env_read() 269 (pc->read_position < pc->shm_off) ) && in plugin_env_read() 278 *data = &dp[pc->read_position - pc->shm_off]; in plugin_env_read() 279 pc->read_position += count; in plugin_env_read() [all …]
|
/dports/emulators/elliott-803/Elliott-803-0.1.8/emulator/cpu/ |
H A D | buffer.h | 18 size_t read_position; member 36 if (new_write == buffer->read_position) { in buffer_put() 47 if (buffer->read_position == buffer->write_position) { in buffer_get() 50 *b_ptr = buffer->data[buffer->read_position]; in buffer_get() 51 size_t new_read = buffer->read_position + 1; in buffer_get() 55 buffer->read_position = new_read; in buffer_get()
|
/dports/graphics/aseprite/aseprite-1.2.9/third_party/libarchive/libarchive/test/ |
H A D | test_read_position.c | 39 intmax_t read_position = 0; in verify_read_positions() local 43 assert(read_position == (intmax_t)archive_read_header_position(a)); in verify_read_positions() 46 assertEqualInt(read_position, in verify_read_positions() 54 assertEqualInt(read_position, in verify_read_positions() 57 read_position += 512; /* Size of header. */ in verify_read_positions() 58 read_position += (data_sizes[j] + 511) & ~511; in verify_read_positions() 62 assertEqualInt(read_position, (intmax_t)archive_read_header_position(a)); in verify_read_positions() 64 assertEqualInt(read_position, (intmax_t)archive_read_header_position(a)); in verify_read_positions()
|
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/innobase/xtrabackup/src/libarchive/libarchive/test/ |
H A D | test_read_position.c | 39 intmax_t read_position = 0; in verify_read_positions() local 43 assert(read_position == (intmax_t)archive_read_header_position(a)); in verify_read_positions() 46 assertEqualInt(read_position, in verify_read_positions() 54 assertEqualInt(read_position, in verify_read_positions() 57 read_position += 512; /* Size of header. */ in verify_read_positions() 58 read_position += (data_sizes[j] + 511) & ~511; in verify_read_positions() 62 assertEqualInt(read_position, (intmax_t)archive_read_header_position(a)); in verify_read_positions() 64 assertEqualInt(read_position, (intmax_t)archive_read_header_position(a)); in verify_read_positions()
|
/dports/archivers/libarchive/libarchive-3.5.2/libarchive/test/ |
H A D | test_read_position.c | 39 intmax_t read_position = 0; in verify_read_positions() local 43 assert(read_position == (intmax_t)archive_read_header_position(a)); in verify_read_positions() 46 assertEqualInt(read_position, in verify_read_positions() 54 assertEqualInt(read_position, in verify_read_positions() 57 read_position += 512; /* Size of header. */ in verify_read_positions() 58 read_position += (data_sizes[j] + 511) & ~511; in verify_read_positions() 62 assertEqualInt(read_position, (intmax_t)archive_read_header_position(a)); in verify_read_positions() 64 assertEqualInt(read_position, (intmax_t)archive_read_header_position(a)); in verify_read_positions()
|
/dports/sysutils/pv/pv-1.6.20/src/pv/ |
H A D | transfer.c | 264 state->read_position, in pv__transfer_read() 271 state->read_position, in pv__transfer_read() 284 if (state->write_position >= state->read_position) in pv__transfer_read() 300 state->read_position += nread; in pv__transfer_read() 302 state->read_position += nread; in pv__transfer_read() 450 state->read_position, 0, amount_skipped); in pv__transfer_read() 451 state->read_position += amount_skipped; in pv__transfer_read() 597 state->read_position = 0; in pv__transfer_write() 846 state->read_position - in pv_transfer() 848 state->read_position -= state->write_position; in pv_transfer() [all …]
|
/dports/graphics/vips/vips-8.12.0/test/ |
H A D | test_connections.c | 15 size_t read_position; member 28 my_input->length - my_input->read_position ); in read_cb() 35 my_input->contents + my_input->read_position, bytes_read ); in read_cb() 36 my_input->read_position += bytes_read; in read_cb() 57 new_pos = my_input->read_position + offset; in seek_cb() 69 my_input->read_position = VIPS_CLIP( 0, new_pos, my_input->length ); in seek_cb() 71 return( my_input->read_position ); in seek_cb() 118 my_input.read_position = 0; in main()
|
/dports/audio/muse-sequencer/muse-4.0.0/src/muse/ |
H A D | latency_compensator.cpp | 130 unsigned long read_position, i, idx; in read() local 137 read_position = _readPointers[ch]; in read() 140 idx = (i + read_position) & _bufferSizeMask; in read() 158 unsigned long read_position, i, idx; in read() local 163 read_position = _readPointers[channel]; in read() 166 idx = (i + read_position) & _bufferSizeMask; in read() 180 unsigned long read_position, i, idx; in peek() local 187 read_position = _readPointers[ch]; in peek() 204 unsigned long read_position, i, idx; in peek() local 209 read_position = _readPointers[channel]; in peek() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/audio/ |
H A D | audio_delay_dsp_kernel.cc | 156 double read_position = w_index + buffer_length - desired_delay_frames; in ProcessARateScalar() local 157 if (read_position >= buffer_length) in ProcessARateScalar() 158 read_position -= buffer_length; in ProcessARateScalar() 161 int read_index1 = static_cast<int>(read_position); in ProcessARateScalar() 170 float interpolation_factor = read_position - read_index1; in ProcessARateScalar() 248 double read_position = w_index + buffer_length - desired_delay_frames; in ProcessKRate() local 250 if (read_position >= buffer_length) in ProcessKRate() 251 read_position -= buffer_length; in ProcessKRate() 256 int read_index1 = static_cast<int>(read_position); in ProcessKRate() 257 float interpolation_factor = read_position - read_index1; in ProcessKRate()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/audio/ |
H A D | delay_buffer_unittest.cc | 139 DelayBuffer::FrameTicks read_position = -1; in TEST() local 141 buffer.Read(read_position, frames_per_bus, bus.get()); in TEST() 142 read_position += frames_per_bus; in TEST() 147 buffer.Read(read_position, frames_per_bus, bus.get()); in TEST() 148 read_position += frames_per_bus; in TEST() 152 buffer.Read(read_position, frames_per_bus, bus.get()); in TEST() 153 read_position += frames_per_bus; in TEST() 159 buffer.Read(read_position, frames_per_bus, bus.get()); in TEST() 160 read_position += frames_per_bus; in TEST()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/services/audio/ |
H A D | delay_buffer_unittest.cc | 139 DelayBuffer::FrameTicks read_position = -1; in TEST() local 141 buffer.Read(read_position, frames_per_bus, bus.get()); in TEST() 142 read_position += frames_per_bus; in TEST() 147 buffer.Read(read_position, frames_per_bus, bus.get()); in TEST() 148 read_position += frames_per_bus; in TEST() 152 buffer.Read(read_position, frames_per_bus, bus.get()); in TEST() 153 read_position += frames_per_bus; in TEST() 159 buffer.Read(read_position, frames_per_bus, bus.get()); in TEST() 160 read_position += frames_per_bus; in TEST()
|
/dports/games/emptyepsilon/EmptyEpsilon-EE-2021.06.23/src/ |
H A D | packResourceProvider.cpp | 137 if (read_position + size > this->size) in read() 138 size = this->size - read_position; in read() 141 read_position += ret; in read() 147 read_position = position; in seek() 148 fseek(f, this->position + read_position, SEEK_SET); in seek() 149 return read_position; in seek() 154 return read_position; in tell()
|
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/include/deal.II/base/ |
H A D | partitioner.templates.h | 603 read_position++; in import_from_ghosted_array_finish() 612 read_position++; in import_from_ghosted_array_finish() 617 j++, read_position++) in import_from_ghosted_array_finish() 624 Assert(*read_position == Number() || in import_from_ghosted_array_finish() 652 read_position, in import_from_ghosted_array_finish() 654 read_position += chunk_size; in import_from_ghosted_array_finish() 672 read_position, in import_from_ghosted_array_finish() 674 read_position += chunk_size; in import_from_ghosted_array_finish() 692 read_position, in import_from_ghosted_array_finish() 694 read_position += chunk_size; in import_from_ghosted_array_finish() [all …]
|
/dports/net-p2p/vuze/vuze-5.7.4.0_2/com/aelitis/azureus/core/networkmanager/impl/ |
H A D | TransportHelperFilterStreamXOR.java | 31 private int read_position; field in TransportHelperFilterStreamXOR 81 b = (byte)( b ^ mask[ read_position++ ]); in cryptoIn() 85 if ( read_position == mask.length ){ in cryptoIn() 87 read_position = 0; in cryptoIn()
|
/dports/games/springlobby/springlobby-0.180/src/ |
H A D | chatlog.cpp | 225 off_t read_position ( next_read_position(last_read_position, read_size, read_overlap) ); in find_tail_sequences() local 226 …buf, std::min(static_cast<off_t>(read_size), last_read_position - read_position), read_position) ); in find_tail_sequences() 231 off_t this_found_pos ( read_position + i ); in find_tail_sequences() 239 if ( last_found_pos >= read_position + (off_t) bytes_read ) { in find_tail_sequences() 265 if ( last_found_pos >= read_position + (off_t) bytes_read ) in find_tail_sequences() 278 last_read_position = read_position; in find_tail_sequences()
|
/dports/biology/velvet/velvet_1.2.10/contrib/observed-insert-length.pl/ |
H A D | observed-insert-length.pl | 94 my %read_position = (); 115 …if ($read_pos > 0) {$read_position{ $read_no } = [-$node, $node_lengths{ -$node } - $read_pos + $r… 121 …if ($read_pos > 0 && $read_pair{$read_no} && $read_position{$read_pair{$read_no}} && $read_positio… 122 my $length = abs($read_pos - $read_off - $read_position{ $read_pair{ $read_no} }->[1]);
|
/dports/mail/balsa/balsa-2.5.1/libbalsa/imap/ |
H A D | siobuf.c | 65 char *read_position; /* client read buffer pointer */ member 112 sio->read_position = sio->read_buffer = malloc (sio->buffer_size); in sio_attach() 623 sio->read_buffer_start = sio->read_position; in sio_fill() 630 sio->read_position = sio->read_buffer; in sio_fill() 631 sio->read_buffer_start = sio->read_position; in sio_fill() 635 (*sio->monitor_cb) (sio->read_position, sio->read_unread, in sio_fill() 657 memcpy (buf, sio->read_position, count); in sio_read() 658 sio->read_position += count; in sio_read() 679 if(sio->read_position>sio->read_buffer_start) { in sio_ungetc() 680 sio->read_position--; in sio_ungetc() [all …]
|
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/librespot-audio-0.3.1/src/fetch/ |
H A D | mod.rs | 129 let read_position = shared.read_position.load(atomic::Ordering::Relaxed); in range_to_end_available() localVariable 130 self.range_available(Range::new(read_position, self.len() - read_position)) in range_to_end_available() 193 start: shared.read_position.load(atomic::Ordering::Relaxed), in fetch_next() 203 start: shared.read_position.load(atomic::Ordering::Relaxed), in fetch_next_blocking() 253 read_position: AtomicUsize, field 362 read_position: AtomicUsize::new(0), in open() 479 .read_position in read() 491 .read_position in seek()
|
/dports/lang/gcc8/gcc-8.5.0/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/ |
H A D | 1-io.cc | 52 VERIFY( !fb_03.read_position() ); in test05() 56 VERIFY( !fb_03.read_position() ); in test05() 75 VERIFY( fb_01.read_position() ); in test05()
|