Home
last modified time | relevance | path

Searched refs:byte_offset (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/payload_generator/
Dblock_mapping.cc48 BlockMapping::BlockId BlockMapping::AddDiskBlock(int fd, off_t byte_offset) { in AddDiskBlock() argument
51 if (!utils::PReadAll(fd, blob.data(), block_size_, byte_offset, &bytes_read)) in AddDiskBlock()
55 return AddBlock(fd, byte_offset, blob); in AddDiskBlock()
73 off_t byte_offset, in AddBlock() argument
105 new_ublock->byte_offset = byte_offset; in AddBlock()
123 if (!utils::PReadAll(fd, blob.data(), block_size, byte_offset, &bytes_read)) in CompareData()
Dblock_mapping.h50 BlockId AddDiskBlock(int fd, off_t byte_offset);
67 BlockId AddBlock(int fd, off_t byte_offset, const brillo::Blob& block_data);
83 off_t byte_offset{0};
/system/bt/gd/packet/parser/fields/
Dcustom_field_fixed_size.cc39 Size byte_offset = size + end_offset; in GenBounds() local
40 …" << GetName() << "_it = to_bound (+ to_bound.NumBytesRemaining() - (" << byte_offset << ") / 8);"; in GenBounds()
Dscalar_field.cc59 Size byte_offset = Size(num_leading_bits + size.bits()) + end_offset; in GenBounds() local
60 …" << GetName() << "_it = to_bound + (to_bound.NumBytesRemaining() - (" << byte_offset << ") / 8);"; in GenBounds()