Lines Matching refs:size
64 template <size_t size>
65 constexpr ArrayRef(T (&array)[size]) in ArrayRef() argument
66 : array_(array), size_(size) { in ArrayRef()
69 template <typename U, size_t size>
70 constexpr ArrayRef(U (&array)[size],
72 : array_(array), size_(size) { in array_()
75 constexpr ArrayRef(T* array, size_t size) in ArrayRef() argument
76 : array_(array), size_(size) { in ArrayRef()
80 constexpr ArrayRef(U* array, size_t size,
82 : array_(array), size_(size) { in array_()
86 : array_(v.data()), size_(v.size()) { in ArrayRef()
92 : array_(v.data()), size_(v.size()) {
127 size_type size() const { return size_; } in size() function
128 bool empty() const { return size() == 0u; } in empty()