Home
last modified time | relevance | path

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

/external/libcxx/include/experimental/
Ddynarray138 size_t __size_;
140 _LIBCPP_ALWAYS_INLINE dynarray () noexcept : __base_(nullptr), __size_(0) {}
185 …CPP_INLINE_VISIBILITY iterator end() noexcept { return iterator(data() + __size_); }
186 …LINE_VISIBILITY const_iterator end() const noexcept { return const_iterator(data() + __size_); }
187 …LINE_VISIBILITY const_iterator cend() const noexcept { return const_iterator(data() + __size_); }
197 inline _LIBCPP_INLINE_VISIBILITY size_type size() const noexcept { return __size_; }
198 inline _LIBCPP_INLINE_VISIBILITY size_type max_size() const noexcept { return __size_; }
199 inline _LIBCPP_INLINE_VISIBILITY bool empty() const noexcept { return __size_ == 0; }
207 inline _LIBCPP_INLINE_VISIBILITY reference back() { return data()[__size_-1]; }
208 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.cpp735 size_t __size_; member in std::initializer_list
739 __size_(__s) in initializer_list()
751 constexpr initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list()
753 constexpr size_t size() const {return __size_;} in size()
755 constexpr const _E* end() const {return __begin_ + __size_;} in end()
Dconstant-expression-cxx11.cpp1684 size_t __size_; member in std::initializer_list
1688 __size_(__s) in initializer_list()
1700 constexpr initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list()
1702 constexpr size_t size() const {return __size_;} in size()
1704 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_;}
Dvector2137 size_type __size_;
2258 {return __size_;}
2261 {return __size_ == 0;}
2273 {return __make_iter(__size_);}
2276 {return __make_iter(__size_);}
2296 {return __make_iter(__size_);}
2311 _LIBCPP_INLINE_VISIBILITY reference back() {return __make_ref(__size_ - 1);}
2312 _LIBCPP_INLINE_VISIBILITY const_reference back() const {return __make_ref(__size_ - 1);}
2321 _LIBCPP_INLINE_VISIBILITY void pop_back() {--__size_;}
2357 void clear() _NOEXCEPT {__size_ = 0;}
[all …]
Dvalarray364 size_t __size_;
370 __size_(0),
377 __size_(__size),
382 _LIBCPP_INLINE_VISIBILITY size_t size() const {return __size_;}
657 size_t __size_;
664 __size_(__sl.size()),
674 size_t size() const {return __size_;}
695 size_t __size_;
705 __size_(__e.size()),
710 __ul_ = ((__size_ - __n_) & ~__neg_n) | ((__n_ + 1) & __neg_n);
[all …]
Dstring1242 size_type __size_;
1263 unsigned char __size_;
1272 size_type __size_;
1291 unsigned char __size_;
1681 {return bool(__r_.first().__s.__size_ & __short_mask);}
1705 {__r_.first().__s.__size_ = (unsigned char)(__s << 1);}
1707 {__r_.first().__s.__size_ = (unsigned char)(__s);}
1713 {return __r_.first().__s.__size_ >> 1;}
1715 {return __r_.first().__s.__size_;}
1723 {__r_.first().__s.__size_ = (unsigned char)(__s);}
[all …]
Ddeque928 __compressed_pair<size_type, allocator_type> __size_;
935 _LIBCPP_INLINE_VISIBILITY size_type& size() {return __size_.first();}
937 const size_type& size() const _NOEXCEPT {return __size_.first();}
938 _LIBCPP_INLINE_VISIBILITY allocator_type& __alloc() {return __size_.second();}
940 const allocator_type& __alloc() const _NOEXCEPT {return __size_.second();}
1066 : __start_(0), __size_(0) {}
1071 : __map_(__pointer_allocator(__a)), __start_(0), __size_(0, __a) {}
1090 __size_(_VSTD::move(__c.__size_))
1100 __size_(_VSTD::move(__c.size()), __a)
D__bit_reference886 difference_type __size_;
891 _LIBCPP_INLINE_VISIBILITY explicit __bit_array(difference_type __s) : __size_(__s) {}
898 …return iterator(pointer_traits<__storage_pointer>::pointer_to(__word_[0]) + __size_ / __bits_per_w…
899 static_cast<unsigned>(__size_ % __bits_per_word));
/external/clang/test/CXX/drs/
Ddr15xx.cpp34 size_t __size_; member in std::initializer_list
37 : __begin_(__b), __size_(__s) {} in initializer_list()
48 initializer_list() : __begin_(nullptr), __size_(0) {} in initializer_list()
50 size_t size() const {return __size_;} in size()
52 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/Analysis/Inputs/
Dsystem-header-simulator-cxx.h84 size_t __size_; variable
88 __size_(__s) in initializer_list()
100 initializer_list() : __begin_(0), __size_(0) {} in initializer_list()
102 size_t size() const {return __size_;} in size()
104 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/CodeGenObjCXX/
Darc-cxx11-init-list.mm9 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