Searched refs:offset_ (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/tools/aapt2/io/ |
D | BigBufferStream.cpp | 31 if (offset_ == iter_->size) { in Next() 36 offset_ = 0; in Next() 39 *data = iter_->buffer.get() + offset_; in Next() 40 *size = iter_->size - offset_; in Next() 41 bytes_read_ += iter_->size - offset_; in Next() 42 offset_ = iter_->size; in Next() 47 if (count > offset_) { in BackUp() 48 bytes_read_ -= offset_; in BackUp() 49 offset_ = 0; in BackUp() 51 offset_ -= count; in BackUp() [all …]
|
D | StringStream.cpp | 24 StringInputStream::StringInputStream(const StringPiece& str) : str_(str), offset_(0u) { in StringInputStream() 28 if (offset_ == str_.size()) { in Next() 32 *data = str_.data() + offset_; in Next() 33 *size = str_.size() - offset_; in Next() 34 offset_ = str_.size(); in Next() 39 if (count > offset_) { in BackUp() 40 offset_ = 0u; in BackUp() 42 offset_ -= count; in BackUp() 47 return offset_; in ByteCount()
|
D | Data.h | 46 : data_(std::move(data)), offset_(offset), len_(len), next_read_(offset) {} in DataSegment() 50 return static_cast<const uint8_t*>(data_->data()) + offset_; in data() 56 if (next_read_ == offset_ + len_) { in Next() 60 *size = len_ - (next_read_ - offset_); in Next() 61 next_read_ = offset_ + len_; in Next() 66 if (count > next_read_ - offset_) { in BackUp() 67 next_read_ = offset_; in BackUp() 76 next_read_ = offset_; in Rewind() 80 size_t ByteCount() const override { return next_read_ - offset_; } in ByteCount() 88 size_t offset_; variable
|
D | File.cpp | 36 if (offset_ <= data->size() - len_) { in OpenAsData() 37 return util::make_unique<DataSegment>(std::move(data), offset_, len_); in OpenAsData()
|
D | File.h | 74 : file_(file), offset_(offset), len_(len) {} in FileSegment() 87 size_t offset_; variable
|
D | BigBufferStream.h | 52 size_t offset_ = 0; variable
|
D | StringStream.h | 54 size_t offset_; variable
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | RawPrintVisitor.cpp | 100 stream_ << base::StringPrintf("%08zx: %04x", offset_, value) << " " << comment << std::endl; in print() 102 offset_ += sizeof(uint16_t); in print() 113 stream_ << base::StringPrintf("%08zx: %08x", offset_, value) << " " << comment << std::endl; in print() 115 offset_ += sizeof(uint32_t); in print() 126 stream_ << base::StringPrintf("%08zx: ", offset_) << "........ " << comment << ": " << value in print() 129 offset_ += kIdmapStringLength; in print()
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | RawPrintVisitor.h | 35 explicit RawPrintVisitor(std::ostream& stream) : stream_(stream), offset_(0) { in RawPrintVisitor() 51 size_t offset_; variable
|
/frameworks/av/media/codec2/vndk/ |
D | C2Buffer.cpp | 292 C2ConstLinearBlock C2ConstLinearBlock::subBlock(size_t offset_, size_t size_) const { in subBlock() argument 293 C2LinearRange subRange(*mImpl, offset_, size_); in subBlock() 322 C2ConstLinearBlock C2LinearBlock::share(size_t offset_, size_t size_, C2Fence fence) { in share() argument 323 return ConstLinearBlockBuddy(mImpl, C2LinearRange(*this, offset_, size_), fence); in share()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Buffer.h | 254 inline constexpr C2Segment(uint32_t offset_, uint32_t size_) in C2Segment() 255 : offset(offset_), in C2Segment()
|