Home
last modified time | relevance | path

Searched refs:__size_ (Results 1 – 24 of 24) sorted by relevance

/external/libcxx/include/experimental/
Ddynarray131 size_t __size_;
133 _LIBCPP_ALWAYS_INLINE dynarray () noexcept : __size_(0), __base_(nullptr) {}
178 …CPP_INLINE_VISIBILITY iterator end() noexcept { return iterator(data() + __size_); }
179 …LINE_VISIBILITY const_iterator end() const noexcept { return const_iterator(data() + __size_); }
180 …LINE_VISIBILITY const_iterator cend() const noexcept { return const_iterator(data() + __size_); }
190 inline _LIBCPP_INLINE_VISIBILITY size_type size() const noexcept { return __size_; }
191 inline _LIBCPP_INLINE_VISIBILITY size_type max_size() const noexcept { return __size_; }
192 inline _LIBCPP_INLINE_VISIBILITY bool empty() const noexcept { return __size_ == 0; }
200 inline _LIBCPP_INLINE_VISIBILITY reference back() { return data()[__size_-1]; }
201 inline _LIBCPP_INLINE_VISIBILITY const_reference back() const { return data()[__size_-1]; }
[all …]
/external/libcxx/src/
Dvalarray.cpp24 valarray<size_t> __indices(__size_.size()); in __init()
25 size_t __k = __size_.size() != 0; in __init()
26 for (size_t __i = 0; __i < __size_.size(); ++__i) in __init()
27 __k *= __size_[__i]; in __init()
38 if (++__indices[__i] < __size_[__i]) in __init()
43 __1d_[__k] -= __stride_[__j] * (__size_[__j] - 1); in __init()
/external/clang/test/Index/
Dannotate-tokens-cxx0x.cpp35 size_t __size_; member in std::initializer_list
39 __size_(__s) in initializer_list()
51 initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list()
53 size_t size() const {return __size_;} in size()
55 const _E* end() const {return __begin_ + __size_;} in end()
Dcomment-cplus-decls.cpp170 valarray<unsigned> __size_; member in gslice
/external/clang/test/CodeGenCXX/
Dcxx0x-initializer-stdinitializerlist-pr12086.cpp16 size_t __size_; member in std::initializer_list
24 __size_(__s) in initializer_list()
44 constexpr initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list()
46 size_t size() const {return __size_;} in size()
48 const _E* end() const {return __begin_ + __size_;} in end()
Dcxx0x-initializer-stdinitializerlist.cpp11 size_t __size_; member in std::initializer_list
15 __size_(__s) in initializer_list()
27 initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list()
29 size_t size() const {return __size_;} in size()
31 const _E* end() const {return __begin_ + __size_;} in end()
Dmangle-exprs.cpp11 size_t __size_; member in std::initializer_list
15 __size_(__s) in initializer_list()
27 initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list()
29 size_t size() const {return __size_;} in size()
31 const _E* end() const {return __begin_ + __size_;} in end()
/external/clang/test/SemaCXX/
Dcxx0x-initializer-scalars.cpp14 size_t __size_; member in std::initializer_list
18 __size_(__s) in initializer_list()
30 initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list()
32 size_t size() const {return __size_;} in size()
34 const _E* end() const {return __begin_ + __size_;} in end()
Dcxx0x-initializer-stdinitializerlist.cpp16 size_t __size_; member in std::initializer_list
20 __size_(__s) in initializer_list()
32 initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list()
34 size_t size() const {return __size_;} in size()
36 const _E* end() const {return __begin_ + __size_;} in end()
Dcxx0x-initializer-constructor.cpp14 size_t __size_; member in std::initializer_list
18 __size_(__s) in initializer_list()
30 initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list()
32 size_t size() const {return __size_;} in size()
34 const _E* end() const {return __begin_ + __size_;} in end()
Dconstant-expression-cxx1y.cpp733 size_t __size_; member in std::initializer_list
737 __size_(__s) in initializer_list()
749 constexpr initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list()
751 constexpr size_t size() const {return __size_;} in size()
753 constexpr const _E* end() const {return __begin_ + __size_;} in end()
Dconstant-expression-cxx11.cpp1698 size_t __size_; member in std::initializer_list
1702 __size_(__s) in initializer_list()
1714 constexpr initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list()
1716 constexpr size_t size() const {return __size_;} in size()
1718 constexpr const _E* end() const {return __begin_ + __size_;} in end()
/external/libcxx/include/
Dinitializer_list62 size_t __size_;
68 __size_(__s)
81 initializer_list() _NOEXCEPT : __begin_(nullptr), __size_(0) {}
85 size_t size() const _NOEXCEPT {return __size_;}
93 const _Ep* end() const _NOEXCEPT {return __begin_ + __size_;}
Dvector2171 size_type __size_;
2290 {return __size_;}
2293 {return __size_ == 0;}
2305 {return __make_iter(__size_);}
2308 {return __make_iter(__size_);}
2328 {return __make_iter(__size_);}
2343 _LIBCPP_INLINE_VISIBILITY reference back() {return __make_ref(__size_ - 1);}
2344 _LIBCPP_INLINE_VISIBILITY const_reference back() const {return __make_ref(__size_ - 1);}
2362 _LIBCPP_INLINE_VISIBILITY void pop_back() {--__size_;}
2398 void clear() _NOEXCEPT {__size_ = 0;}
[all …]
Dvalarray363 size_t __size_;
369 __size_(0),
376 __size_(__size),
381 _LIBCPP_INLINE_VISIBILITY size_t size() const {return __size_;}
656 size_t __size_;
663 __size_(__sl.size()),
673 size_t size() const {return __size_;}
694 size_t __size_;
704 __size_(__e.size()),
709 __ul_ = ((__size_ - __n_) & ~__neg_n) | ((__n_ + 1) & __neg_n);
[all …]
Dstring672 size_type __size_;
693 unsigned char __size_;
702 size_type __size_;
721 unsigned char __size_;
1226 {return bool(__r_.first().__s.__size_ & __short_mask);}
1250 {__r_.first().__s.__size_ = (unsigned char)(__s << 1);}
1252 {__r_.first().__s.__size_ = (unsigned char)(__s);}
1258 {return __r_.first().__s.__size_ >> 1;}
1260 {return __r_.first().__s.__size_;}
1268 {__r_.first().__s.__size_ = (unsigned char)(__s);}
[all …]
Ddeque949 __compressed_pair<size_type, allocator_type> __size_;
956 _LIBCPP_INLINE_VISIBILITY size_type& size() {return __size_.first();}
958 const size_type& size() const _NOEXCEPT {return __size_.first();}
959 _LIBCPP_INLINE_VISIBILITY allocator_type& __alloc() {return __size_.second();}
961 const allocator_type& __alloc() const _NOEXCEPT {return __size_.second();}
1094 : __start_(0), __size_(0) {}
1099 : __map_(__pointer_allocator(__a)), __start_(0), __size_(0, __a) {}
1118 __size_(_VSTD::move(__c.__size_))
1128 __size_(_VSTD::move(__c.size()), __a)
D__bit_reference879 difference_type __size_;
884 _LIBCPP_INLINE_VISIBILITY explicit __bit_array(difference_type __s) : __size_(__s) {}
891 …return iterator(pointer_traits<__storage_pointer>::pointer_to(__word_[0]) + __size_ / __bits_per_w…
892 static_cast<unsigned>(__size_ % __bits_per_word));
/external/clang/test/CXX/drs/
Ddr15xx.cpp59 size_t __size_; member in std::initializer_list
62 : __begin_(__b), __size_(__s) {} in initializer_list()
73 initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list()
75 size_t size() const {return __size_;} in size()
77 const _E* end() const {return __begin_ + __size_;} in end()
Ddr14xx.cpp208 size_t __size_; member in std::initializer_list
211 : __begin_(__b), __size_(__s) {} in initializer_list()
222 initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list()
224 size_t size() const {return __size_;} in size()
226 const _E* end() const {return __begin_ + __size_;} in end()
/external/clang/test/Parser/
Dcxx0x-attributes.cpp12 size_t __size_; member in std::initializer_list
16 __size_(__s) in initializer_list()
28 initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list()
30 size_t size() const {return __size_;} in size()
32 const _E* end() const {return __begin_ + __size_;} in end()
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-cxx.h87 size_t __size_; variable
91 __size_(__s) in initializer_list()
103 initializer_list() : __begin_(0), __size_(0) {} in initializer_list()
105 size_t size() const {return __size_;} in size()
107 const _E* end() const {return __begin_ + __size_;} in end()
/external/clang/test/CodeGenObjCXX/
Darc-cxx11-init-list.mm15 size_t __size_;
/external/llvm/test/CodeGen/Hexagon/
Dearly-if-conversion-bug1.ll225 %__size_.i.i.i = bitcast %union.anon.0* %37 to i8*
226 %38 = load i8, i8* %__size_.i.i.i, align 1