Home
last modified time | relevance | path

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

/external/libmojo/mojo/public/cpp/bindings/
Dwtf_array.h38 explicit WTFArray(size_t size) : vec_(size), is_null_(false) {} in WTFArray()
42 WTFArray(WTF::Vector<T>&& other) : vec_(std::move(other)), is_null_(false) {} in WTFArray()
46 vec_ = std::move(other);
57 vec_.clear();
82 DCHECK(!is_null_ || vec_.isEmpty()); in is_null()
87 bool empty() const { return vec_.isEmpty() && !is_null_; } in empty()
91 const T& front() const { return vec_.first(); } in front()
92 T& front() { return vec_.first(); } in front()
95 size_t size() const { return vec_.size(); } in size()
99 const T& at(size_t offset) const { return vec_.at(offset); } in at()
[all …]
Darray.h46 explicit Array(size_t size) : vec_(size), is_null_(false) {} in Array()
50 Array(const std::vector<T>& other) : vec_(other), is_null_(false) {} in Array()
53 Array(std::vector<T>&& other) : vec_(std::move(other)), is_null_(false) {} in Array()
57 vec_ = std::move(other);
68 vec_.clear();
93 bool empty() const { return vec_.empty() && !is_null_; } in empty()
97 ConstRefType front() const { return vec_.front(); } in front()
98 RefType front() { return vec_.front(); } in front()
100 iterator begin() { return vec_.begin(); } in begin()
101 const_iterator begin() const { return vec_.begin(); } in begin()
[all …]
/external/flatbuffers/include/flatbuffers/
Dreflection.h333 vec_(vec) {} in pointer_inside_vector()
337 reinterpret_cast<uint8_t *>(vec_.data()) + offset_);
345 std::vector<U> &vec_; variable
/external/mesa3d/include/CL/
Dcl.hpp569 vector<T,N> vec_; member in cl::vector::iterator
591 i.vec_ = vec; in begin()
603 i.vec_ = vec; in end()
610 return ((vec_ == i.vec_) && in operator ==()
642 return vec_[index_]; in operator *()