Home
last modified time | relevance | path

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

/tools/dexter/slicer/export/slicer/
Dbuffer.h48 std::swap(size_, b.size_); in Buffer()
55 std::swap(size_, b.size_);
76 SLICER_CHECK(offset + sizeof(T) <= size_); in ptr()
83 size_t rem = size_ % alignment; in Align()
90 size_t offset = size_; in Alloc()
97 size_t offset = size_; in Push()
144 size_t size() const { return size_; } in size()
146 bool empty() const { return size_ == 0; } in empty()
151 size_ = 0; in Free()
163 if (size_ + size > capacity_) { in Expand()
[all …]
Dmemview.h29 MemView() : ptr_(nullptr), size_(0) {} in MemView()
31 MemView(const void* ptr, size_t size) : ptr_(ptr), size_(size) { in MemView()
42 size_t size() const { return size_; } in size()
46 size_t size_; variable
Dreader.h107 SLICER_CHECK(offset >= 0 && offset + sizeof(T) <= size_); in ptr()
115 SLICER_CHECK(offset >= header_->data_off && offset + sizeof(T) <= size_); in dataPtr()
136 size_t size_; variable
/tools/dexter/slicer/
Dreader.cc29 Reader::Reader(const dex::u1* image, size_t size) : image_(image), size_(size) { in Reader()
931 SLICER_CHECK(size_ > sizeof(dex::Header)); in ValidateHeader()
935 SLICER_CHECK(header_->file_size <= size_); in ValidateHeader()
951 SLICER_CHECK(header_->map_off >= header_->data_off && header_->map_off < size_); in ValidateHeader()
960 SLICER_WEAK_CHECK(header_->data_off + header_->data_size <= size_); in ValidateHeader()
975 SLICER_CHECK(header_->map_off + map_section_size <= size_); in ValidateHeader()