Home
last modified time | relevance | path

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

/art/libelffile/stream/
Dvector_output_stream.h35 if (static_cast<size_t>(offset_) == vector_->size()) { in WriteFully()
37 vector_->insert(vector_->end(), &start[0], &start[byte_count]); in WriteFully()
42 memcpy(&(*vector_)[offset_], buffer, byte_count); in WriteFully()
56 if (new_offset > static_cast<off_t>(vector_->size())) { in EnsureCapacity()
57 vector_->resize(new_offset); in EnsureCapacity()
62 std::vector<uint8_t>* const vector_; variable
Dvector_output_stream.cc24 : OutputStream(location), offset_(vector->size()), vector_(vector) {} in VectorOutputStream()
39 new_offset = vector_->size() + offset; in Seek()
/art/libdexfile/dex/
Ddex_file_loader.cc34 explicit VectorContainer(std::vector<uint8_t>&& vector) : vector_(std::move(vector)) { } in VectorContainer()
54 std::vector<uint8_t> vector_; member in art::__anon6a3df2760111::VectorContainer
/art/dexlayout/
Ddex_ir.h129 : vector_(&vector), in Iterator()
132 Iterator() : vector_(nullptr), position_(0U), iterator_end_(0U) { } in Iterator()
192 return const_cast<reference>((*vector_)[position_]);
196 return const_cast<pointer>(&((*vector_)[position_]));
200 return (*vector_)[position_ + n];
204 const std::vector<T>* vector_;