Lines Matching defs:const
30 explicit SmallVector(const Allocator& allocator = Allocator())
32 explicit SmallVector(size_t size, const Allocator& allocator = Allocator())
36 SmallVector(const SmallVector& other,
37 const Allocator& allocator = Allocator()) V8_NOEXCEPT
42 const Allocator& allocator = Allocator()) V8_NOEXCEPT
47 const Allocator& allocator = Allocator())
57 SmallVector& operator=(const SmallVector& other) V8_NOEXCEPT {
89 const T* data() const { return begin_; }
92 const T* begin() const { return begin_; }
95 const T* end() const { return end_; }
97 size_t size() const { return end_ - begin_; }
98 bool empty() const { return end_ == begin_; }
99 size_t capacity() const { return end_of_storage_ - begin_; }
105 const T& back() const {
115 const T& at(size_t index) const {
120 const T& operator[](size_t index) const { return at(index); }
196 bool is_big() const { return begin_ != inline_storage_begin(); }
199 const T* inline_storage_begin() const {
200 return reinterpret_cast<const T*>(&inline_storage_);