/external/libcxx/test/support/ |
D | constexpr_char_traits.hpp | 37 …CONSTEXPR_CXX14 int compare(const char_type* __s1, const char_type* __s2, size_t __n); 39 …static TEST_CONSTEXPR_CXX14 const char_type* find(const char_type* __s, size_t __n, const char_typ… 40 …tic TEST_CONSTEXPR_CXX14 char_type* move(char_type* __s1, const char_type* __s2, size_t __n); 41 …tic TEST_CONSTEXPR_CXX14 char_type* copy(char_type* __s1, const char_type* __s2, size_t __n); 42 static TEST_CONSTEXPR_CXX14 char_type* assign(char_type* __s, size_t __n, char_type __a); 63 constexpr_char_traits<_CharT>::compare(const char_type* __s1, const char_type* __s2, size_t __n) in compare() argument 65 for (; __n; --__n, ++__s1, ++__s2) in compare() 87 constexpr_char_traits<_CharT>::find(const char_type* __s, size_t __n, const char_type& __a) in find() argument 89 for (; __n; --__n) in find() 100 constexpr_char_traits<_CharT>::move(char_type* __s1, const char_type* __s2, size_t __n) in move() argument [all …]
|
/external/llvm-project/libcxx/test/support/ |
D | constexpr_char_traits.h | 36 …CONSTEXPR_CXX14 int compare(const char_type* __s1, const char_type* __s2, size_t __n); 38 …static TEST_CONSTEXPR_CXX14 const char_type* find(const char_type* __s, size_t __n, const char_typ… 39 …tic TEST_CONSTEXPR_CXX14 char_type* move(char_type* __s1, const char_type* __s2, size_t __n); 40 …tic TEST_CONSTEXPR_CXX14 char_type* copy(char_type* __s1, const char_type* __s2, size_t __n); 41 static TEST_CONSTEXPR_CXX14 char_type* assign(char_type* __s, size_t __n, char_type __a); 62 constexpr_char_traits<_CharT>::compare(const char_type* __s1, const char_type* __s2, size_t __n) in compare() argument 64 for (; __n; --__n, ++__s1, ++__s2) in compare() 86 constexpr_char_traits<_CharT>::find(const char_type* __s, size_t __n, const char_type& __a) in find() argument 88 for (; __n; --__n) in find() 99 constexpr_char_traits<_CharT>::move(char_type* __s1, const char_type* __s2, size_t __n) in move() argument [all …]
|
/external/libcxx/include/ |
D | __string | 92 int compare(const char_type* __s1, const char_type* __s2, size_t __n); 96 const char_type* find(const char_type* __s, size_t __n, const char_type& __a); 97 static char_type* move(char_type* __s1, const char_type* __s2, size_t __n); 99 static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n); 101 static char_type* assign(char_type* __s, size_t __n, char_type __a); 117 char_traits<_CharT>::compare(const char_type* __s1, const char_type* __s2, size_t __n) 119 for (; __n; --__n, ++__s1, ++__s2) 143 char_traits<_CharT>::find(const char_type* __s, size_t __n, const char_type& __a) 145 for (; __n; --__n) 156 char_traits<_CharT>::move(char_type* __s1, const char_type* __s2, size_t __n) [all …]
|
D | __bit_reference | 158 __find_bool_true(__bit_iterator<_Cp, _IsConst> __first, typename _Cp::size_type __n) 167 __storage_type __dn = _VSTD::min(__clz_f, __n); 172 if (__n == __dn) 173 return __first + __n; 174 __n -= __dn; 178 for (; __n >= __bits_per_word; ++__first.__seg_, __n -= __bits_per_word) 182 if (__n > 0) 184 __storage_type __m = ~__storage_type(0) >> (__bits_per_word - __n); 189 return _It(__first.__seg_, static_cast<unsigned>(__n)); 194 __find_bool_false(__bit_iterator<_Cp, _IsConst> __first, typename _Cp::size_type __n) [all …]
|
D | vector | 514 explicit vector(size_type __n); 516 explicit vector(size_type __n, const allocator_type& __a); 518 vector(size_type __n, const value_type& __x); 519 vector(size_type __n, const value_type& __x, const allocator_type& __a); 612 void assign(size_type __n, const_reference __u); 665 void reserve(size_type __n); 668 _LIBCPP_INLINE_VISIBILITY reference operator[](size_type __n); 669 _LIBCPP_INLINE_VISIBILITY const_reference operator[](size_type __n) const; 670 reference at(size_type __n); 671 const_reference at(size_type __n) const; [all …]
|
D | deque | 357 _LIBCPP_INLINE_VISIBILITY __deque_iterator& operator+=(difference_type __n) 359 if (__n != 0) 361 __n += __ptr_ - *__m_iter_; 362 if (__n > 0) 364 __m_iter_ += __n / __block_size; 365 __ptr_ = *__m_iter_ + __n % __block_size; 367 else // (__n < 0) 369 difference_type __z = __block_size - 1 - __n; 377 _LIBCPP_INLINE_VISIBILITY __deque_iterator& operator-=(difference_type __n) 379 return *this += -__n; [all …]
|
D | istream | 234 basic_istream& operator>>(bool& __n); 235 basic_istream& operator>>(short& __n); 236 basic_istream& operator>>(unsigned short& __n); 237 basic_istream& operator>>(int& __n); 238 basic_istream& operator>>(unsigned int& __n); 239 basic_istream& operator>>(long& __n); 240 basic_istream& operator>>(unsigned long& __n); 241 basic_istream& operator>>(long long& __n); 242 basic_istream& operator>>(unsigned long long& __n); 262 basic_istream& get(char_type* __s, streamsize __n) [all …]
|
D | unordered_set | 430 explicit unordered_set(size_type __n, const hasher& __hf = hasher(), 434 unordered_set(size_type __n, const allocator_type& __a) 435 : unordered_set(__n, hasher(), key_equal(), __a) {} 437 unordered_set(size_type __n, const hasher& __hf, const allocator_type& __a) 438 : unordered_set(__n, __hf, key_equal(), __a) {} 440 unordered_set(size_type __n, const hasher& __hf, const key_equal& __eql, 446 size_type __n, const hasher& __hf = hasher(), 450 size_type __n, const hasher& __hf, const key_equal& __eql, 456 size_type __n, const allocator_type& __a) 457 : unordered_set(__first, __last, __n, hasher(), key_equal(), __a) {} [all …]
|
D | string.h | 95 void* __libcpp_memchr(const void* __s, int __c, size_t __n) {return (void*)memchr(__s, __c, __n);} in __libcpp_memchr() argument 97 const void* memchr(const void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);} in memchr() argument 99 void* memchr( void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);} in memchr() argument
|
D | streambuf | 154 basic_streambuf* pubsetbuf(char_type* __s, streamsize __n) 155 { return setbuf(__s, __n); } 201 streamsize sgetn(char_type* __s, streamsize __n) 202 { return xsgetn(__s, __n); } 229 streamsize sputn(const char_type* __s, streamsize __n) 230 { return xsputn(__s, __n); } 244 void gbump(int __n) { __ninp_ += __n; } 259 void pbump(int __n) { __nout_ += __n; } 262 void __pbump(streamsize __n) { __nout_ += __n; } 275 virtual basic_streambuf* setbuf(char_type* __s, streamsize __n); [all …]
|
D | ostream | 207 basic_ostream& operator<<(bool __n); 208 basic_ostream& operator<<(short __n); 209 basic_ostream& operator<<(unsigned short __n); 210 basic_ostream& operator<<(int __n); 211 basic_ostream& operator<<(unsigned int __n); 212 basic_ostream& operator<<(long __n); 213 basic_ostream& operator<<(unsigned long __n); 214 basic_ostream& operator<<(long long __n); 215 basic_ostream& operator<<(unsigned long long __n); 224 basic_ostream& write(const char_type* __s, streamsize __n); [all …]
|
/external/llvm-project/libcxx/include/ |
D | __string | 209 int compare(const char_type* __s1, const char_type* __s2, size_t __n); 213 const char_type* find(const char_type* __s, size_t __n, const char_type& __a); 215 char_type* move(char_type* __s1, const char_type* __s2, size_t __n); 218 char_type* copy(char_type* __s1, const char_type* __s2, size_t __n); 221 char_type* assign(char_type* __s, size_t __n, char_type __a); 237 char_traits<_CharT>::compare(const char_type* __s1, const char_type* __s2, size_t __n) 239 for (; __n; --__n, ++__s1, ++__s2) 263 char_traits<_CharT>::find(const char_type* __s, size_t __n, const char_type& __a) 265 for (; __n; --__n) 276 char_traits<_CharT>::move(char_type* __s1, const char_type* __s2, size_t __n) [all …]
|
D | __bit_reference | 163 __find_bool_true(__bit_iterator<_Cp, _IsConst> __first, typename _Cp::size_type __n) 172 __storage_type __dn = _VSTD::min(__clz_f, __n); 177 if (__n == __dn) 178 return __first + __n; 179 __n -= __dn; 183 for (; __n >= __bits_per_word; ++__first.__seg_, __n -= __bits_per_word) 187 if (__n > 0) 189 __storage_type __m = ~__storage_type(0) >> (__bits_per_word - __n); 194 return _It(__first.__seg_, static_cast<unsigned>(__n)); 199 __find_bool_false(__bit_iterator<_Cp, _IsConst> __first, typename _Cp::size_type __n) [all …]
|
D | vector | 515 explicit vector(size_type __n); 517 explicit vector(size_type __n, const allocator_type& __a); 519 vector(size_type __n, const value_type& __x); 520 vector(size_type __n, const value_type& __x, const allocator_type& __a); 613 void assign(size_type __n, const_reference __u); 666 void reserve(size_type __n); 669 _LIBCPP_INLINE_VISIBILITY reference operator[](size_type __n) _NOEXCEPT; 670 _LIBCPP_INLINE_VISIBILITY const_reference operator[](size_type __n) const _NOEXCEPT; 671 reference at(size_type __n); 672 const_reference at(size_type __n) const; [all …]
|
D | istream | 233 basic_istream& operator>>(bool& __n); 234 basic_istream& operator>>(short& __n); 235 basic_istream& operator>>(unsigned short& __n); 236 basic_istream& operator>>(int& __n); 237 basic_istream& operator>>(unsigned int& __n); 238 basic_istream& operator>>(long& __n); 239 basic_istream& operator>>(unsigned long& __n); 240 basic_istream& operator>>(long long& __n); 241 basic_istream& operator>>(unsigned long long& __n); 261 basic_istream& get(char_type* __s, streamsize __n) [all …]
|
D | deque | 358 _LIBCPP_INLINE_VISIBILITY __deque_iterator& operator+=(difference_type __n) 360 if (__n != 0) 362 __n += __ptr_ - *__m_iter_; 363 if (__n > 0) 365 __m_iter_ += __n / __block_size; 366 __ptr_ = *__m_iter_ + __n % __block_size; 368 else // (__n < 0) 370 difference_type __z = __block_size - 1 - __n; 378 _LIBCPP_INLINE_VISIBILITY __deque_iterator& operator-=(difference_type __n) 380 return *this += -__n; [all …]
|
D | string.h | 94 void* __libcpp_memchr(const void* __s, int __c, size_t __n) {return (void*)memchr(__s, __c, __n);} in __libcpp_memchr() argument 96 const void* memchr(const void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);} in memchr() argument 98 void* memchr( void* __s, int __c, size_t __n) {return __libcpp_memchr(__s, __c, __n);} in memchr() argument
|
D | unordered_set | 456 explicit unordered_set(size_type __n, const hasher& __hf = hasher(), 460 unordered_set(size_type __n, const allocator_type& __a) 461 : unordered_set(__n, hasher(), key_equal(), __a) {} 463 unordered_set(size_type __n, const hasher& __hf, const allocator_type& __a) 464 : unordered_set(__n, __hf, key_equal(), __a) {} 466 unordered_set(size_type __n, const hasher& __hf, const key_equal& __eql, 472 size_type __n, const hasher& __hf = hasher(), 476 size_type __n, const hasher& __hf, const key_equal& __eql, 482 size_type __n, const allocator_type& __a) 483 : unordered_set(__first, __last, __n, hasher(), key_equal(), __a) {} [all …]
|
D | string | 830 basic_string(const _CharT* __s, size_type __n); 832 basic_string(const _CharT* __s, size_type __n, const _Allocator& __a); 834 basic_string(size_type __n, _CharT __c); 838 basic_string(size_type __n, _CharT __c, const _Allocator& __a); 840 basic_string(const basic_string& __str, size_type __pos, size_type __n, 848 basic_string(const _Tp& __t, size_type __pos, size_type __n, 955 void resize(size_type __n, value_type __c); 956 _LIBCPP_INLINE_VISIBILITY void resize(size_type __n) {resize(__n, value_type());} 959 _LIBCPP_INLINE_VISIBILITY void __resize_default_init(size_type __n); 973 const_reference at(size_type __n) const; [all …]
|
D | streambuf | 153 basic_streambuf* pubsetbuf(char_type* __s, streamsize __n) 154 { return setbuf(__s, __n); } 200 streamsize sgetn(char_type* __s, streamsize __n) 201 { return xsgetn(__s, __n); } 228 streamsize sputn(const char_type* __s, streamsize __n) 229 { return xsputn(__s, __n); } 243 void gbump(int __n) { __ninp_ += __n; } 258 void pbump(int __n) { __nout_ += __n; } 261 void __pbump(streamsize __n) { __nout_ += __n; } 274 virtual basic_streambuf* setbuf(char_type* __s, streamsize __n); [all …]
|
/external/llvm-project/pstl/include/pstl/internal/ |
D | unseq_backend_simd.h | 33 __simd_walk_1(_Iterator __first, _DifferenceType __n, _Function __f) noexcept in __simd_walk_1() argument 36 for (_DifferenceType __i = 0; __i < __n; ++__i) in __simd_walk_1() 39 return __first + __n; in __simd_walk_1() 44 __simd_walk_2(_Iterator1 __first1, _DifferenceType __n, _Iterator2 __first2, _Function __f) noexcept in __simd_walk_2() argument 47 for (_DifferenceType __i = 0; __i < __n; ++__i) in __simd_walk_2() 49 return __first2 + __n; in __simd_walk_2() 54 __simd_walk_3(_Iterator1 __first1, _DifferenceType __n, _Iterator2 __first2, _Iterator3 __first3, in __simd_walk_3() argument 58 for (_DifferenceType __i = 0; __i < __n; ++__i) in __simd_walk_3() 60 return __first3 + __n; in __simd_walk_3() 66 __simd_or(_Index __first, _DifferenceType __n, _Pred __pred) noexcept in __simd_or() argument [all …]
|
D | parallel_backend_serial.h | 39 …__buffer(std::size_t __n) : __allocator_(), __ptr_(__allocator_.allocate(__n)), __buf_size_(__n) {} in __buffer() argument 87 __parallel_strict_scan(_ExecutionPolicy&&, _Index __n, _Tp __initial, _Rp __reduce, _Cp __combine, … in __parallel_strict_scan() argument 91 if (__n) in __parallel_strict_scan() 92 __sum = __combine(__sum, __reduce(_Index(0), __n)); in __parallel_strict_scan() 94 if (__n) in __parallel_strict_scan() 95 __scan(_Index(0), __n, __initial); in __parallel_strict_scan() 100 __parallel_transform_scan(_ExecutionPolicy&&, _Index __n, _UnaryOp, _Tp __init, _BinaryOp, _Reduce,… in __parallel_transform_scan() argument 102 return __scan(_Index(0), __n, __init); in __parallel_transform_scan()
|
/external/llvm-project/libcxx/src/ |
D | strstream.cpp | 36 strstreambuf::__init(char* __gnext, streamsize __n, char* __pbeg) in __init() argument 38 if (__n == 0) in __init() 39 __n = static_cast<streamsize>(strlen(__gnext)); in __init() 40 else if (__n < 0) in __init() 41 __n = INT_MAX; in __init() 43 setg(__gnext, __gnext, __gnext + __n); in __init() 47 setp(__pbeg, __pbeg + __n); in __init() 51 strstreambuf::strstreambuf(char* __gnext, streamsize __n, char* __pbeg) in strstreambuf() argument 57 __init(__gnext, __n, __pbeg); in strstreambuf() 60 strstreambuf::strstreambuf(const char* __gnext, streamsize __n) in strstreambuf() argument [all …]
|
/external/libcxx/src/ |
D | strstream.cpp | 37 strstreambuf::__init(char* __gnext, streamsize __n, char* __pbeg) in __init() argument 39 if (__n == 0) in __init() 40 __n = static_cast<streamsize>(strlen(__gnext)); in __init() 41 else if (__n < 0) in __init() 42 __n = INT_MAX; in __init() 44 setg(__gnext, __gnext, __gnext + __n); in __init() 48 setp(__pbeg, __pbeg + __n); in __init() 52 strstreambuf::strstreambuf(char* __gnext, streamsize __n, char* __pbeg) in strstreambuf() argument 58 __init(__gnext, __n, __pbeg); in strstreambuf() 61 strstreambuf::strstreambuf(const char* __gnext, streamsize __n) in strstreambuf() argument [all …]
|
/external/libese/libese-sysdeps/ |
D | darwin-sysdeps.c | 22 void *ese_memcpy(void *__dest, const void *__src, uint64_t __n) { in ese_memcpy() argument 23 return memcpy(__dest, __src, __n); in ese_memcpy() 26 void *ese_memset(void *__s, int __c, uint64_t __n) { in ese_memset() argument 27 return memset(__s, __c, __n); in ese_memset()
|