Home
last modified time | relevance | path

Searched refs:size_ (Results 1 – 6 of 6) 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_LE(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.h110 SLICER_CHECK_GE(offset, 0 && offset + sizeof(T) <= size_); in ptr()
118 SLICER_CHECK_GE(offset, header_->data_off && offset + sizeof(T) <= size_); in dataPtr()
139 size_t size_; variable
/tools/security/remote_provisioning/hwtrust/cxxbridge/
Dhwtrust.cpp17 : chain_(std::move(chain)), size_(size) {} in DiceChain()
46 for (auto i = 0; i < size_; ++i) { in CosePublicKeys()
/tools/dexter/slicer/
Dreader.cc30 Reader::Reader(const dex::u1* image, size_t size) : image_(image), size_(size) { in Reader()
1004 SLICER_CHECK_GT(size_, dex::Header::kV40Size); in ValidateHeader()
1008 SLICER_CHECK_LE(header_->file_size, size_); in ValidateHeader()
1018 SLICER_CHECK_LE(header_->ContainerSize() - header_->ContainerOff(), size_); in ValidateHeader()
1020 size_ = header_->ContainerSize(); in ValidateHeader()
1034 SLICER_CHECK_LT(header_->map_off, size_); in ValidateHeader()
1043 SLICER_WEAK_CHECK(header_->data_off + header_->data_size <= size_); in ValidateHeader()
1058 SLICER_CHECK_LE(header_->map_off + map_section_size, size_); in ValidateHeader()
/tools/security/remote_provisioning/hwtrust/cxxbridge/include/hwtrust/
Dhwtrust.h35 size_t size_; variable