Home
last modified time | relevance | path

Searched refs:seek_offset (Results 1 – 5 of 5) sorted by relevance

/external/libwebm/webm_parser/src/
Dfile_reader.cc76 long seek_offset = std::numeric_limits<long>::max(); // NOLINT in Skip() local
77 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()
Distream_reader.cc86 std::streamsize seek_offset; in Skip() local
88 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()
/external/arm-trusted-firmware/drivers/st/io/
Dio_mmc.c31 static signed long long seek_offset; variable
84 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()
/external/bsdiff/
Dbspatch.cc282 int64_t seek_offset = oldpos; in bspatch() local
283 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()
/external/crosvm/disk/src/qcow/
Dmod.rs2532 let seek_offset = OFFSET + (i as u64) * (BLOCK_SIZE as u64); in combo_write_read() localVariable
2534 .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() localVariable
2559 .seek(SeekFrom::Start(seek_offset)) in combo_write_read()