Home
last modified time | relevance | path

Searched defs:Span (Results 1 – 1 of 1) sorted by relevance

/device/generic/goldfish/camera/
DSpan.h25 template <class T> struct Span { struct
26 Span() : begin_(nullptr), end_(nullptr) {} in Span() argument
27 template <size_t N> Span(T (&a)[N]) : begin_(&a[0]), end_(&a[N]) {} in Span() function
28 template <class I> Span(I begin, I end) : begin_(&*begin), end_(&*end) {} in Span() function
29 template <class I> Span(I begin, size_t size) : begin_(&*begin), end_(&begin[size]) {} in Span() function
31 T* data() { return begin_; } in data()
32 const T* data() const { return begin_; } in data()
33 T* begin() { return begin_; } in begin()
34 T* end() { return end_; } in end()
35 const T* begin() const { return begin_; } in begin()
[all …]