/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/libcxx/include/ |
D | __string | 89 int compare(const char_type* __s1, const char_type* __s2, size_t __n); 93 const char_type* find(const char_type* __s, size_t __n, const char_type& __a); 94 static char_type* move(char_type* __s1, const char_type* __s2, size_t __n); 96 static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n); 98 static char_type* assign(char_type* __s, size_t __n, char_type __a); 114 char_traits<_CharT>::compare(const char_type* __s1, const char_type* __s2, size_t __n) 116 for (; __n; --__n, ++__s1, ++__s2) 140 char_traits<_CharT>::find(const char_type* __s, size_t __n, const char_type& __a) 142 for (; __n; --__n) 153 char_traits<_CharT>::move(char_type* __s1, const char_type* __s2, size_t __n) [all …]
|
D | __bit_reference | 155 __find_bool_true(__bit_iterator<_Cp, _IsConst> __first, typename _Cp::size_type __n) 164 __storage_type __dn = _VSTD::min(__clz_f, __n); 169 if (__n == __dn) 170 return __first + __n; 171 __n -= __dn; 175 for (; __n >= __bits_per_word; ++__first.__seg_, __n -= __bits_per_word) 179 if (__n > 0) 181 __storage_type __m = ~__storage_type(0) >> (__bits_per_word - __n); 186 return _It(__first.__seg_, static_cast<unsigned>(__n)); 191 __find_bool_false(__bit_iterator<_Cp, _IsConst> __first, typename _Cp::size_type __n) [all …]
|
D | vector | 494 explicit vector(size_type __n); 496 explicit vector(size_type __n, const allocator_type& __a); 498 vector(size_type __n, const_reference __x); 499 vector(size_type __n, const_reference __x, const allocator_type& __a); 588 void assign(size_type __n, const_reference __u); 640 void reserve(size_type __n); 643 _LIBCPP_INLINE_VISIBILITY reference operator[](size_type __n); 644 _LIBCPP_INLINE_VISIBILITY const_reference operator[](size_type __n) const; 645 reference at(size_type __n); 646 const_reference at(size_type __n) const; [all …]
|
D | deque | 345 _LIBCPP_INLINE_VISIBILITY __deque_iterator& operator+=(difference_type __n) 347 if (__n != 0) 349 __n += __ptr_ - *__m_iter_; 350 if (__n > 0) 352 __m_iter_ += __n / __block_size; 353 __ptr_ = *__m_iter_ + __n % __block_size; 355 else // (__n < 0) 357 difference_type __z = __block_size - 1 - __n; 365 _LIBCPP_INLINE_VISIBILITY __deque_iterator& operator-=(difference_type __n) 367 return *this += -__n; [all …]
|
D | unordered_set | 374 explicit unordered_set(size_type __n, const hasher& __hf = hasher(), 378 unordered_set(size_type __n, const allocator_type& __a) 379 : unordered_set(__n, hasher(), key_equal(), __a) {} 381 unordered_set(size_type __n, const hasher& __hf, const allocator_type& __a) 382 : unordered_set(__n, __hf, key_equal(), __a) {} 384 unordered_set(size_type __n, const hasher& __hf, const key_equal& __eql, 390 size_type __n, const hasher& __hf = hasher(), 394 size_type __n, const hasher& __hf, const key_equal& __eql, 400 size_type __n, const allocator_type& __a) 401 : unordered_set(__first, __last, __n, hasher(), key_equal(), __a) {} [all …]
|
D | istream | 232 basic_istream& operator>>(bool& __n); 233 basic_istream& operator>>(short& __n); 234 basic_istream& operator>>(unsigned short& __n); 235 basic_istream& operator>>(int& __n); 236 basic_istream& operator>>(unsigned int& __n); 237 basic_istream& operator>>(long& __n); 238 basic_istream& operator>>(unsigned long& __n); 239 basic_istream& operator>>(long long& __n); 240 basic_istream& operator>>(unsigned long long& __n); 260 basic_istream& get(char_type* __s, streamsize __n) [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 | unordered_map | 802 explicit unordered_map(size_type __n, const hasher& __hf = hasher(), 804 unordered_map(size_type __n, const hasher& __hf, 811 size_type __n, const hasher& __hf = hasher(), 815 size_type __n, const hasher& __hf, 830 unordered_map(initializer_list<value_type> __il, size_type __n, 832 unordered_map(initializer_list<value_type> __il, size_type __n, 838 unordered_map(size_type __n, const allocator_type& __a) 839 : unordered_map(__n, hasher(), key_equal(), __a) {} 841 unordered_map(size_type __n, const hasher& __hf, const allocator_type& __a) 842 : unordered_map(__n, __hf, key_equal(), __a) {} [all …]
|
D | ostream | 208 basic_ostream& operator<<(bool __n); 209 basic_ostream& operator<<(short __n); 210 basic_ostream& operator<<(unsigned short __n); 211 basic_ostream& operator<<(int __n); 212 basic_ostream& operator<<(unsigned int __n); 213 basic_ostream& operator<<(long __n); 214 basic_ostream& operator<<(unsigned long __n); 215 basic_ostream& operator<<(long long __n); 216 basic_ostream& operator<<(unsigned long long __n); 225 basic_ostream& write(const char_type* __s, streamsize __n); [all …]
|
D | wchar.h | 161 …ibcpp_wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return (wchar_t*)wmemchr(__s, __c, __n… in __libcpp_wmemchr() argument 163 …har_t* wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, __c, __n… in wmemchr() argument 165 …har_t* wmemchr( wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, __c, __n… in wmemchr() argument
|
D | string | 782 basic_string(const _CharT* __s, size_type __n); 784 basic_string(const _CharT* __s, size_type __n, const _Allocator& __a); 786 basic_string(size_type __n, _CharT __c); 788 basic_string(size_type __n, _CharT __c, const _Allocator& __a); 789 basic_string(const basic_string& __str, size_type __pos, size_type __n, 796 basic_string(const _Tp& __t, size_type __pos, size_type __n, 901 void resize(size_type __n, value_type __c); 902 _LIBCPP_INLINE_VISIBILITY void resize(size_type __n) {resize(__n, value_type());} 914 const_reference at(size_type __n) const; 915 reference at(size_type __n); [all …]
|
D | streambuf | 148 basic_streambuf* pubsetbuf(char_type* __s, streamsize __n) 149 { return setbuf(__s, __n); } 195 streamsize sgetn(char_type* __s, streamsize __n) 196 { return xsgetn(__s, __n); } 223 streamsize sputn(const char_type* __s, streamsize __n) 224 { return xsputn(__s, __n); } 238 void gbump(int __n) { __ninp_ += __n; } 253 void pbump(int __n) { __nout_ += __n; } 266 virtual basic_streambuf* setbuf(char_type* __s, streamsize __n); 275 virtual streamsize xsgetn(char_type* __s, streamsize __n); [all …]
|
D | strstream | 146 strstreambuf(char* __gnext, streamsize __n, char* __pbeg = 0); 147 strstreambuf(const char* __gnext, streamsize __n); 149 strstreambuf(signed char* __gnext, streamsize __n, signed char* __pbeg = 0); 150 strstreambuf(const signed char* __gnext, streamsize __n); 151 strstreambuf(unsigned char* __gnext, streamsize __n, unsigned char* __pbeg = 0); 152 strstreambuf(const unsigned char* __gnext, streamsize __n); 191 void __init(char* __gnext, streamsize __n, char* __pbeg); 242 istrstream(const char* __s, streamsize __n) 243 : istream(&__sb_), __sb_(__s, __n) {} 245 istrstream(char* __s, streamsize __n) [all …]
|
D | valarray | 702 __shift_expr(int __n, const _RmExpr& __e) 705 __n_(__n) 743 __cshift_expr(int __n, const _RmExpr& __e) 747 __n %= static_cast<int>(__size_); 748 if (__n >= 0) 750 __m_ = __size_ - __n; 751 __o1_ = __n; 752 __o2_ = __n - __size_; 756 __m_ = -__n; 757 __o1_ = __n + __size_; [all …]
|
/external/syslinux/com32/include/ |
D | stdlib.h | 16 static __inline__ int abs(int __n) in abs() argument 18 return (__n < 0) ? -__n : __n; in abs() 29 static __inline__ long labs(long __n) in labs() argument 31 return (__n < 0L) ? -__n : __n; in labs() 34 static __inline__ long long llabs(long long __n) in llabs() argument 36 return (__n < 0LL) ? -__n : __n; in llabs()
|
D | stdio.h | 77 #define fread(__p, __s, __n, __f) \ argument 79 ? _fread(__p, __n, __f) \ 80 : fread(__p,__s,__n,__f) ) 82 #define fwrite(__p, __s, __n, __f) \ argument 84 ? _fwrite(__p, __n, __f) \ 85 : fwrite(__p,__s,__n,__f) )
|
/external/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/include/experimental/ |
D | numeric | 70 _Tp __gcd(_Tp __m, _Tp __n) 73 return __n == 0 ? __m : __gcd<_Tp>(__n, __m % __n); 80 gcd(_Tp __m, _Up __n) 88 static_cast<_Wp>(__abs<_Rp, _Up>()(__n)))); 94 lcm(_Tp __m, _Up __n) 99 if (__m == 0 || __n == 0) 103 _Rp __val1 = __abs<_Rp, _Tp>()(__m) / gcd(__m, __n); 104 _Rp __val2 = __abs<_Rp, _Up>()(__n);
|
/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()
|
D | android-sysdeps.c | 21 void *ese_memcpy(void *__dest, const void *__src, uint64_t __n) { in ese_memcpy() argument 22 return memcpy(__dest, __src, __n); in ese_memcpy() 25 void *ese_memset(void *__s, int __c, uint64_t __n) { in ese_memset() argument 26 return memset(__s, __c, __n); in ese_memset()
|
/external/libcxx/include/ext/ |
D | hash_set | 243 explicit hash_set(size_type __n, const hasher& __hf = hasher(), 245 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql, 251 size_type __n, const hasher& __hf = hasher(), 255 size_type __n, const hasher& __hf, const key_equal& __eql, 325 size_type elems_in_bucket(size_type __n) const {return __table_.bucket_size(__n);} 328 void resize(size_type __n) {__table_.rehash(__n);} 332 hash_set<_Value, _Hash, _Pred, _Alloc>::hash_set(size_type __n, 336 __table_.rehash(__n); 340 hash_set<_Value, _Hash, _Pred, _Alloc>::hash_set(size_type __n, 344 __table_.rehash(__n); [all …]
|
/external/bison/lib/ |
D | string.in.h | 97 _GL_FUNCDECL_RPL (memchr, void *, (void const *__s, int __c, size_t __n) 100 _GL_CXXALIAS_RPL (memchr, void *, (void const *__s, int __c, size_t __n)); 103 _GL_FUNCDECL_SYS (memchr, void *, (void const *__s, int __c, size_t __n) 111 void *, (void const *__s, int __c, size_t __n), 112 void const *, (void const *__s, int __c, size_t __n)); 116 _GL_CXXALIASWARN1 (memchr, void *, (void *__s, int __c, size_t __n)); 118 (void const *__s, int __c, size_t __n)); 171 size_t __n) 176 size_t __n)); 272 size_t __n) [all …]
|
/external/syslinux/memdisk/ |
D | memdisk.h | 101 static inline void *mempcpy(void *__d, const void *__s, unsigned int __n) in mempcpy() argument 103 memcpy(__d, __s, __n); in mempcpy() 104 return (void *)((char *)__d + __n); in mempcpy() 108 static inline int memcmp(const void *__a, const void *__b, unsigned int __n) in memcmp() argument 114 while (__n--) { in memcmp()
|
/external/libcxx/src/support/solaris/ |
D | xlocale.cpp | 28 #define vsnprintf_l(__s, __n, __l, __format, __va) \ argument 29 vsnprintf(__s, __n, __format, __va) 31 int snprintf_l(char *__s, size_t __n, locale_t __l, const char *__format, ...) in snprintf_l() argument 35 int __res = vsnprintf_l(__s, __n , __l, __format, __va); in snprintf_l()
|