Home
last modified time | relevance | path

Searched refs:__sz (Results 1 – 25 of 43) sorted by relevance

12

/external/llvm-project/clang/test/SemaCXX/
Dunavailable_aligned_allocation.cpp21 void *operator new(std::size_t __sz, const std::nothrow_t&) noexcept;
22 void *operator new[](std::size_t __sz, const std::nothrow_t&) noexcept;
24 void *operator new(std::size_t __sz, std::align_val_t, const std::nothrow_t&) noexcept;
25 void *operator new[](std::size_t __sz, std::align_val_t, const std::nothrow_t&) noexcept;
204 void *operator new(std::size_t __sz, std::align_val_t) { in operator new() argument
/external/llvm-project/libcxx/include/
Dstring1546 void __init(const value_type* __s, size_type __sz, size_type __reserve);
1548 void __init(const value_type* __s, size_type __sz);
1560 void __init_copy_ctor_external(const value_type* __s, size_type __sz);
1797 size_type __sz,
1805 __set_short_size(__sz);
1814 __set_long_size(__sz);
1816 traits_type::copy(_VSTD::__to_address(__p), __s, __sz);
1817 traits_type::assign(__p[__sz], value_type());
1822 basic_string<_CharT, _Traits, _Allocator>::__init(const value_type* __s, size_type __sz)
1824 if (__sz > max_size())
[all …]
Dnew180 _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz) _TH…
181 _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz, con…
185 …_LIBCPP_AVAILABILITY_SIZED_NEW_DELETE void operator delete(void* __p, std::size_t __sz) _NOEXCEPT;
188 _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new[](std::size_t __sz) _…
189 _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new[](std::size_t __sz, c…
193 …IBCPP_AVAILABILITY_SIZED_NEW_DELETE void operator delete[](void* __p, std::size_t __sz) _NOEXCEPT;
197 _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz, std…
198 _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz, std…
202 …VAILABILITY_SIZED_NEW_DELETE void operator delete(void* __p, std::size_t __sz, std::align_val_t) …
205 _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new[](std::size_t __sz, s…
[all …]
D__string940 __str_find(const _CharT *__p, _SizeT __sz,
943 if (__pos >= __sz)
945 const _CharT* __r = _Traits::find(__p + __pos, __sz - __pos, __c);
992 __str_find(const _CharT *__p, _SizeT __sz,
995 if (__pos > __sz)
1002 __p + __pos, __p + __sz, __s, __s + __n);
1004 if (__r == __p + __sz)
1014 __str_rfind(const _CharT *__p, _SizeT __sz,
1017 if (__sz < 1)
1019 if (__pos < __sz)
[all …]
Dlist581 size_type& __sz() _NOEXCEPT {return __size_alloc_.first();}
583 const size_type& __sz() const _NOEXCEPT
612 bool empty() const _NOEXCEPT {return __sz() == 0;}
759 __sz() = 0;
787 swap(__sz(), __c.__sz());
789 if (__sz() == 0)
793 if (__c.__sz() == 0)
934 size_type size() const _NOEXCEPT {return base::__sz();}
1203 return __n <= base::__sz() / 2 ? _VSTD::next(begin(), __n)
1204 : _VSTD::prev(end(), base::__sz() - __n);
[all …]
D__locale1503 const int __sz = 32;
1504 char __buf[__sz];
1508 __buf, __buf+__sz, __bn);
1539 const int __sz = 32;
1540 char __buf[__sz];
1544 __buf, __buf+__sz, __bn);
1597 const int __sz = 32;
1598 char16_t __buf[__sz];
1601 __r = do_in(__mb, __nb, __ne - __nb > __sz ? __nb+__sz : __ne, __nn,
1602 __buf, __buf+__sz, __bn);
[all …]
Dforward_list868 __sort(__node_pointer __f, difference_type __sz, _Compare& __comp);
1364 size_type __sz = 0;
1368 for (; __i != __e && __sz < __n; ++__p, ++__i, ++__sz)
1374 __n -= __sz;
1396 size_type __sz = 0;
1400 for (; __i != __e && __sz < __n; ++__p, ++__i, ++__sz)
1406 __n -= __sz;
1654 forward_list<_Tp, _Alloc>::__sort(__node_pointer __f1, difference_type __sz,
1657 switch (__sz)
1672 difference_type __sz1 = __sz / 2;
[all …]
Dsstream453 typename string_type::size_type __sz = __str_.size();
454 __hm_ = const_cast<char_type*>(__str_.data()) + __sz;
460 while (__sz > INT_MAX)
463 __sz -= INT_MAX;
465 if (__sz > 0)
466 this->pbump(__sz);
Dvector779 void resize(size_type __sz);
780 void resize(size_type __sz, const_reference __x);
2020 vector<_Tp, _Allocator>::resize(size_type __sz)
2023 if (__cs < __sz)
2024 this->__append(__sz - __cs);
2025 else if (__cs > __sz)
2026 this->__destruct_at_end(this->__begin_ + __sz);
2031 vector<_Tp, _Allocator>::resize(size_type __sz, const_reference __x)
2034 if (__cs < __sz)
2035 this->__append(__sz - __cs, __x);
[all …]
/external/libcxx/include/
Dstring1547 void __init(const value_type* __s, size_type __sz, size_type __reserve);
1549 void __init(const value_type* __s, size_type __sz);
1756 size_type __sz,
1764 __set_short_size(__sz);
1773 __set_long_size(__sz);
1775 traits_type::copy(_VSTD::__to_raw_pointer(__p), __s, __sz);
1776 traits_type::assign(__p[__sz], value_type());
1781 basic_string<_CharT, _Traits, _Allocator>::__init(const value_type* __s, size_type __sz)
1783 if (__sz > max_size())
1786 if (__sz < __min_cap)
[all …]
D__string736 __str_find(const _CharT *__p, _SizeT __sz,
739 if (__pos >= __sz)
741 const _CharT* __r = _Traits::find(__p + __pos, __sz - __pos, __c);
788 __str_find(const _CharT *__p, _SizeT __sz,
791 if (__pos > __sz)
798 __p + __pos, __p + __sz, __s, __s + __n);
800 if (__r == __p + __sz)
810 __str_rfind(const _CharT *__p, _SizeT __sz,
813 if (__sz < 1)
815 if (__pos < __sz)
[all …]
Dnew172 _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz) _TH…
173 _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz, con…
177 …_LIBCPP_AVAILABILITY_SIZED_NEW_DELETE void operator delete(void* __p, std::size_t __sz) _NOEXCEPT;
180 _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new[](std::size_t __sz) _…
181 _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new[](std::size_t __sz, c…
185 …IBCPP_AVAILABILITY_SIZED_NEW_DELETE void operator delete[](void* __p, std::size_t __sz) _NOEXCEPT;
189 _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz, std…
190 _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz, std…
194 …VAILABILITY_SIZED_NEW_DELETE void operator delete(void* __p, std::size_t __sz, std::align_val_t) …
197 _LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new[](std::size_t __sz, s…
[all …]
Dlist579 size_type& __sz() _NOEXCEPT {return __size_alloc_.first();}
581 const size_type& __sz() const _NOEXCEPT
610 bool empty() const _NOEXCEPT {return __sz() == 0;}
757 __sz() = 0;
785 swap(__sz(), __c.__sz());
787 if (__sz() == 0)
791 if (__c.__sz() == 0)
927 size_type size() const _NOEXCEPT {return base::__sz();}
1196 return __n <= base::__sz() / 2 ? _VSTD::next(begin(), __n)
1197 : _VSTD::prev(end(), base::__sz() - __n);
[all …]
D__locale1275 const int __sz = 32;
1276 char __buf[__sz];
1280 __buf, __buf+__sz, __bn);
1309 const int __sz = 32;
1310 char __buf[__sz];
1314 __buf, __buf+__sz, __bn);
1365 const int __sz = 32;
1366 char16_t __buf[__sz];
1369 __r = do_in(__mb, __nb, __ne - __nb > __sz ? __nb+__sz : __ne, __nn,
1370 __buf, __buf+__sz, __bn);
[all …]
Dforward_list862 __sort(__node_pointer __f, difference_type __sz, _Compare& __comp);
1358 size_type __sz = 0;
1362 for (; __i != __e && __sz < __n; ++__p, ++__i, ++__sz)
1368 __n -= __sz;
1390 size_type __sz = 0;
1394 for (; __i != __e && __sz < __n; ++__p, ++__i, ++__sz)
1400 __n -= __sz;
1639 forward_list<_Tp, _Alloc>::__sort(__node_pointer __f1, difference_type __sz,
1642 switch (__sz)
1657 difference_type __sz1 = __sz / 2;
[all …]
Dvector778 void resize(size_type __sz);
779 void resize(size_type __sz, const_reference __x);
2044 vector<_Tp, _Allocator>::resize(size_type __sz)
2047 if (__cs < __sz)
2048 this->__append(__sz - __cs);
2049 else if (__cs > __sz)
2050 this->__destruct_at_end(this->__begin_ + __sz);
2055 vector<_Tp, _Allocator>::resize(size_type __sz, const_reference __x)
2058 if (__cs < __sz)
2059 this->__append(__sz - __cs, __x);
[all …]
Dsstream467 typename string_type::size_type __sz = __str_.size();
468 __hm_ = const_cast<char_type*>(__str_.data()) + __sz;
474 while (__sz > INT_MAX)
477 __sz -= INT_MAX;
479 if (__sz > 0)
480 this->pbump(__sz);
/external/llvm-project/clang/test/CodeGenCoroutines/
Dcoro-alloc.cpp34 void* operator new(SizeT __sz, const std::nothrow_t&) noexcept;
139 void* operator new(SizeT __sz, void *__p) noexcept;
Dcoro-gro-nrvo.cpp16 void* operator new(__SIZE_TYPE__ __sz, const std::nothrow_t&) noexcept;
/external/python/cpython3/Misc/
Dgdbinit60 set $__sz = ((PyVarObject *)$__co->co_lnotab)->ob_size/2
64 while ($__sz-1 >= 0 && $__continue)
65 set $__sz = $__sz - 1
/external/python/cpython2/Misc/
Dgdbinit54 set $__sz = ((PyStringObject *)$__co->co_lnotab)->ob_size/2
58 while ($__sz-1 >= 0 && $__continue)
59 set $__sz = $__sz - 1
/external/llvm-project/pstl/include/pstl/internal/
Dglue_memory_impl.h81 [__is_vector](_InputIterator __begin, _Size __sz, _ForwardIterator __res) { in uninitialized_copy_n()
82 return __pstl::__internal::__brick_copy_n(__begin, __sz, __res, __is_vector); in uninitialized_copy_n()
150 [__is_vector](_InputIterator __begin, _Size __sz, _ForwardIterator __res) { in uninitialized_move_n()
151 return __pstl::__internal::__brick_copy_n(__begin, __sz, __res, __is_vector); in uninitialized_move_n()
/external/llvm-project/libcxx/include/experimental/
Dfunctional157 _BMSkipTable(std::size_t __sz, _Value __default, _Hash __hf, _BinaryPredicate __pred)
158 : __default_value_(__default), __table(__sz, __hf, __pred) {}
188 … _BMSkipTable(std::size_t /*__sz*/, _Value __default, _Hash /*__hf*/, _BinaryPredicate /*__pred*/)
/external/libcxx/include/experimental/
Dfunctional159 _BMSkipTable(std::size_t __sz, _Value __default, _Hash __hf, _BinaryPredicate __pred)
160 : __default_value_(__default), __table(__sz, __hf, __pred) {}
190 … _BMSkipTable(std::size_t /*__sz*/, _Value __default, _Hash /*__hf*/, _BinaryPredicate /*__pred*/)
/external/libcxx/docs/DesignDocs/
DAvailabilityMarkup.rst52 …_LIBCPP_AVAILABILITY_SIZED_NEW_DELETE void operator delete(void* __p, std::size_t __sz) _NOEXCEPT;

12