Searched refs:seek_offset (Results 1 – 5 of 5) sorted by relevance
76 long seek_offset = std::numeric_limits<long>::max(); // NOLINT in Skip() local77 if (num_to_skip < static_cast<unsigned long>(seek_offset)) { // NOLINT in Skip()78 seek_offset = static_cast<long>(num_to_skip); // NOLINT in Skip()81 if (!std::fseek(file_.get(), seek_offset, SEEK_CUR)) { in Skip()82 *num_actually_skipped = static_cast<std::uint64_t>(seek_offset); in Skip()83 position_ += static_cast<std::uint64_t>(seek_offset); in Skip()84 if (static_cast<unsigned long>(seek_offset) == num_to_skip) { // NOLINT in Skip()
86 std::streamsize seek_offset; in Skip() local88 seek_offset = streamsize_max; in Skip()90 seek_offset = static_cast<std::streamsize>(num_to_skip); in Skip()92 if (istream_->seekg(seek_offset, std::ios_base::cur)) { in Skip()93 *num_actually_skipped = static_cast<std::uint64_t>(seek_offset); in Skip()94 position_ += static_cast<std::uint64_t>(seek_offset); in Skip()95 if (static_cast<std::uint64_t>(seek_offset) == num_to_skip) { in Skip()
31 static signed long long seek_offset; variable84 seek_offset = 0; in mmc_block_open()92 seek_offset = offset; in mmc_block_seek()103 *length_read = mmc_read_blocks(seek_offset / MMC_BLOCK_SIZE, in mmc_block_read()
282 int64_t seek_offset = oldpos; in bspatch() local283 if (seek_offset < 0) { in bspatch()292 seek_offset = 0; in bspatch()296 if (static_cast<uint64_t>(seek_offset) != old_file_pos && in bspatch()297 !old_file->Seek(seek_offset)) { in bspatch()298 PLOG(ERROR) << "Error seeking input file to offset: " << seek_offset; in bspatch()304 size_t chunk_size = old_file_pos - seek_offset; in bspatch()
2532 let seek_offset = OFFSET + (i as u64) * (BLOCK_SIZE as u64); in combo_write_read() localVariable2534 .seek(SeekFrom::Start(seek_offset)) in combo_write_read()2540 .seek(SeekFrom::Start(seek_offset)) in combo_write_read()2557 let seek_offset = OFFSET + (i as u64) * (BLOCK_SIZE as u64); in combo_write_read() localVariable2559 .seek(SeekFrom::Start(seek_offset)) in combo_write_read()