Home
last modified time | relevance | path

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

12

/external/cronet/buildtools/third_party/libc++/trunk/include/__format/
Dbuffer.h77 __ptr_[__size_++] = __c; in push_back()
81 if (__size_ == __capacity_) in push_back()
106 _VSTD::copy_n(__str.data(), __n, _VSTD::addressof(__ptr_[__size_])); in __copy()
107 __size_ += __n; in __copy()
113 _LIBCPP_ASSERT(__size_ == 0, "the buffer should be flushed by __flush_on_overflow"); in __copy()
117 _VSTD::copy_n(__first, __chunk, _VSTD::addressof(__ptr_[__size_])); in __copy()
118 __size_ = __chunk; in __copy()
135 … _VSTD::transform(__first, __last, _VSTD::addressof(__ptr_[__size_]), _VSTD::move(__operation)); in __transform()
136 __size_ += __n; in __transform()
142 _LIBCPP_ASSERT(__size_ == 0, "the buffer should be flushed by __flush_on_overflow"); in __transform()
[all …]
Dformat_args.h36 : __size_(sizeof...(_Args)) { in basic_format_args()
48 if (__id >= __size_) in get()
51 if (__format::__use_packed_format_arg_store(__size_)) in get()
57 _LIBCPP_HIDE_FROM_ABI size_t __size() const noexcept { return __size_; } in __size()
60 size_t __size_{0};
/external/cronet/buildtools/third_party/libc++/trunk/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/libcxx/src/
Dvalarray.cpp21 valarray<size_t> __indices(__size_.size()); in __init()
22 size_t __k = __size_.size() != 0; in __init()
23 for (size_t __i = 0; __i < __size_.size(); ++__i) in __init()
24 __k *= __size_[__i]; in __init()
35 if (++__indices[__i] < __size_[__i]) in __init()
40 __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()
/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/cronet/buildtools/third_party/libc++/trunk/include/__memory/
Ddestruct_n.h26 size_t __size_;
30 {for (size_t __i = 0; __i < __size_; ++__i, ++__p) __p->~_Tp();} in __process()
37 {++__size_;} in __incr()
42 {__size_ = __s;} in __set()
47 : __size_(__s) {} in __destruct_n()
Dbuiltin_new_allocator.h32 : __size_(__size), __align_(__align) {} in __builtin_new_deleter()
35 _VSTD::__libcpp_deallocate(__p, __size_, __align_); in operator()
39 size_t __size_;
/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()
/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_;}
Dvector2213 size_type __size_;
2332 {return __size_;}
2335 {return __size_ == 0;}
2347 {return __make_iter(__size_);}
2350 {return __make_iter(__size_);}
2370 {return __make_iter(__size_);}
2385 _LIBCPP_INLINE_VISIBILITY reference back() {return __make_ref(__size_ - 1);}
2386 _LIBCPP_INLINE_VISIBILITY const_reference back() const {return __make_ref(__size_ - 1);}
2404 _LIBCPP_INLINE_VISIBILITY void pop_back() {--__size_;}
2441 void clear() _NOEXCEPT {__size_ = 0;}
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/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_;}
Dvector2066 size_type __size_;
2202 {return __size_;}
2205 {return __size_ == 0;}
2217 {return __make_iter(__size_);}
2220 {return __make_iter(__size_);}
2240 {return __make_iter(__size_);}
2255 …M_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 reference back() {return __make_ref(__size_ - 1);}
2256 …M_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 const_reference back() const {return __make_ref(__size_ - 1);}
2274 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void pop_back() {--__size_;}
2307 void clear() _NOEXCEPT {__size_ = 0;}
[all …]
Dspan411 _LIBCPP_INLINE_VISIBILITY constexpr span() noexcept : __data_{nullptr}, __size_{0} {}
419 : __data_{_VSTD::to_address(__first)}, __size_{__count} {}
423 : __data_(_VSTD::to_address(__first)), __size_(__last - __first) {
429 …constexpr span(type_identity_t<element_type> (&__arr)[_Sz]) noexcept : __data_{__arr}, __size_{_Sz…
433 …constexpr span(array<_OtherElementType, _Sz>& __arr) noexcept : __data_{__arr.data()}, __size_{_Sz…
438 … span(const array<_OtherElementType, _Sz>& __arr) noexcept : __data_{__arr.data()}, __size_{_Sz} {}
442 constexpr span(_Range&& __r) : __data_(ranges::data(__r)), __size_{ranges::size(__r)} {}
447 : __data_{__other.data()}, __size_{__other.size()} {}
501 … _LIBCPP_INLINE_VISIBILITY constexpr size_type size() const noexcept { return __size_; }
502 …_LIBCPP_INLINE_VISIBILITY constexpr size_type size_bytes() const noexcept { return __size_ * s…
[all …]
Dstring_view296 basic_string_view() _NOEXCEPT : __data_(nullptr), __size_(0) {}
306 : __data_(__s), __size_(__len)
318 : __data_(_VSTD::to_address(__begin)), __size_(__end - __begin)
337 basic_string_view(_Range&& __r) : __data_(ranges::data(__r)), __size_(ranges::size(__r)) {}
342 : __data_(__s), __size_(_VSTD::__char_traits_length_checked<_Traits>(__s)) {}
369 return __data_ + __size_;
387 size_type size() const _NOEXCEPT { return __size_; }
390 size_type length() const _NOEXCEPT { return __size_; }
396 bool empty() const _NOEXCEPT { return __size_ == 0; }
421 return _LIBCPP_ASSERT(!empty(), "string_view::back(): string is empty"), __data_[__size_-1];
[all …]
/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/cronet/buildtools/third_party/libc++/trunk/include/__ranges/
Dsubrange.h89 _LIBCPP_NO_UNIQUE_ADDRESS _Size __size_ = 0; variable
105 : __begin_(std::move(__iter)), __end_(std::move(__sent)), __size_(__n) in subrange()
171 return __size_; in size()
203 __size_ += std::__to_unsigned_like(-__n); in advance()
210 __size_ -= std::__to_unsigned_like(__d); in advance()
/external/cronet/buildtools/third_party/libc++/trunk/include/__memory_resource/
Dmonotonic_buffer_resource.h49 size_t __size_; member
78 __initial_.__size_ = __buffer_size; in monotonic_buffer_resource()

12