| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/config/io/ |
| D | basic_file_stdio.cc | 154 const char* __s2, std::streamsize __n2) in xwritev() argument 156 std::streamsize __nleft = __n1 + __n2; in xwritev() 161 __iov[1].iov_len = __n2; in xwritev() 181 __nleft -= xwrite(__fd, __s2 + __off, __n2 - __off); in xwritev() 189 return __n1 + __n2 - __nleft; in xwritev() 355 const char* __s2, streamsize __n2) in xsputn_2() argument 359 __ret = xwritev(this->fd(), __s1, __n1, __s2, __n2); in xsputn_2() 370 __ret += xwrite(this->file(), __s2, __n2); in xsputn_2() 372 __ret += xwrite(this->fd(), __s2, __n2); in xsputn_2()
|
| D | basic_file_stdio.h | 117 const char* __s2, streamsize __n2); in _GLIBCXX_VISIBILITY()
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/ |
| D | vstring.tcc | 98 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, in _M_replace_aux() argument 101 _M_check_length(__n1, __n2, "__versa_string::_M_replace_aux"); in _M_replace_aux() 104 const size_type __new_size = __old_size + __n2 - __n1; in _M_replace_aux() 111 if (__how_much && __n1 != __n2) in _M_replace_aux() 112 this->_S_move(__p + __n2, __p + __n1, __how_much); in _M_replace_aux() 115 this->_M_mutate(__pos1, __n1, 0, __n2); in _M_replace_aux() 117 if (__n2) in _M_replace_aux() 118 this->_S_assign(this->_M_data() + __pos1, __n2, __c); in _M_replace_aux() 478 size_type __pos2, size_type __n2) const in compare() 483 __n2 = __str._M_limit(__pos2, __n2); in compare() [all …]
|
| D | vstring_util.h | 170 _S_compare(size_type __n1, size_type __n2) in _GLIBCXX_VISIBILITY() 172 const difference_type __d = difference_type(__n1 - __n2); in _GLIBCXX_VISIBILITY()
|
| D | vstring.h | 97 _M_check_length(size_type __n1, size_type __n2, const char* __s) const in _GLIBCXX_VISIBILITY() 99 if (this->max_size() - (this->size() - __n1) < __n2) in _GLIBCXX_VISIBILITY() 1283 size_type __pos2, size_type __n2) in _GLIBCXX_VISIBILITY() 1288 __str._M_limit(__pos2, __n2)); in _GLIBCXX_VISIBILITY() 1311 size_type __n2) in _GLIBCXX_VISIBILITY() 1313 __glibcxx_requires_string_len(__s, __n2); in _GLIBCXX_VISIBILITY() 1315 _M_limit(__pos, __n1), __s, __n2); in _GLIBCXX_VISIBILITY() 1358 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) in _GLIBCXX_VISIBILITY() 1360 _M_limit(__pos, __n1), __n2, __c); } in _GLIBCXX_VISIBILITY() 1603 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, in _GLIBCXX_VISIBILITY() [all …]
|
| D | slist | 734 const _Node* __n2 = (const _Node*) __x._M_head._M_next; 735 while (__n1 && __n2) 737 __n1->_M_data = __n2->_M_data; 740 __n2 = (const _Node*) __n2->_M_next; 742 if (__n2 == 0) 745 _M_insert_after_range(__p1, const_iterator((_Node*)__n2),
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
| D | cow_string.h | 376 _M_check_length(size_type __n1, size_type __n2, const char* __s) const in _GLIBCXX_VISIBILITY() 378 if (this->max_size() - (this->size() - __n1) < __n2) in _GLIBCXX_VISIBILITY() 456 _S_compare(size_type __n1, size_type __n2) _GLIBCXX_NOEXCEPT in _GLIBCXX_VISIBILITY() 458 const difference_type __d = difference_type(__n1 - __n2); in _GLIBCXX_VISIBILITY() 1804 size_type __pos2, size_type __n2 = npos) in _GLIBCXX_VISIBILITY() 1807 __str._M_limit(__pos2, __n2)); } in _GLIBCXX_VISIBILITY() 1829 size_type __n2); in _GLIBCXX_VISIBILITY() 1872 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) in _GLIBCXX_VISIBILITY() 1874 _M_limit(__pos, __n1), __n2, __c); } in _GLIBCXX_VISIBILITY() 2077 size_type __pos2, size_type __n2 = npos) in _GLIBCXX_VISIBILITY() [all …]
|
| D | basic_string.tcc | 451 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, in _M_replace_aux() argument 454 _M_check_length(__n1, __n2, "basic_string::_M_replace_aux"); in _M_replace_aux() 457 const size_type __new_size = __old_size + __n2 - __n1; in _M_replace_aux() 464 if (__how_much && __n1 != __n2) in _M_replace_aux() 465 this->_S_move(__p + __n2, __p + __n1, __how_much); in _M_replace_aux() 468 this->_M_mutate(__pos1, __n1, 0, __n2); in _M_replace_aux() 470 if (__n2) in _M_replace_aux() 471 this->_S_assign(this->_M_data() + __pos1, __n2, __c); in _M_replace_aux() 883 size_type __pos2, size_type __n2) const in compare() 888 __n2 = __str._M_limit(__pos2, __n2); in compare() [all …]
|
| D | basic_string.h | 400 _M_check_length(size_type __n1, size_type __n2, const char* __s) const in _GLIBCXX_VISIBILITY() 402 if (this->max_size() - (this->size() - __n1) < __n2) in _GLIBCXX_VISIBILITY() 491 _S_compare(size_type __n1, size_type __n2) _GLIBCXX_NOEXCEPT in _GLIBCXX_VISIBILITY() 493 const difference_type __d = difference_type(__n1 - __n2); in _GLIBCXX_VISIBILITY() 2154 size_type __pos2, size_type __n2 = npos) in _GLIBCXX_VISIBILITY() 2157 __str._M_limit(__pos2, __n2)); } in _GLIBCXX_VISIBILITY() 2180 size_type __n2) in _GLIBCXX_VISIBILITY() 2182 __glibcxx_requires_string_len(__s, __n2); in _GLIBCXX_VISIBILITY() 2184 _M_limit(__pos, __n1), __s, __n2); in _GLIBCXX_VISIBILITY() 2230 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) in _GLIBCXX_VISIBILITY() [all …]
|
| D | stl_algo.h | 753 const auto __n2 = std::__size_to_integer(__n); in _GLIBCXX_VISIBILITY() 754 if (__n2 <= 0) in _GLIBCXX_VISIBILITY() 757 __glibcxx_requires_can_increment(__first, __n2); in _GLIBCXX_VISIBILITY() 758 __glibcxx_requires_can_increment(__result, __n2); in _GLIBCXX_VISIBILITY() 760 return std::__copy_n(__first, __n2, __result, in _GLIBCXX_VISIBILITY() 3815 auto __n2 = std::__size_to_integer(__n); in _GLIBCXX_VISIBILITY() local 3819 if (__n2 <= 0) in _GLIBCXX_VISIBILITY() 3821 auto __last = __first + __n2; in _GLIBCXX_VISIBILITY() 3827 while (__n2-->0) in _GLIBCXX_VISIBILITY()
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/debug/ |
| D | string | 728 size_type __pos2, size_type __n2) 730 _Base::replace(__pos1, __n1, __str, __pos2, __n2); 737 size_type __n2) 739 __glibcxx_check_string_len(__s, __n2); 740 _Base::replace(__pos, __n1, __s, __n2); 755 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) 757 _Base::replace(__pos, __n1, __n2, __c); 1027 size_type __pos2, size_type __n2) const 1028 { return _Base::compare(__pos1, __n1, __str, __pos2, __n2); } 1050 size_type __n2) const [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/std/ |
| D | string_view | 333 basic_string_view __str, size_type __pos2, size_type __n2) const 335 return this->substr(__pos1, __n1).compare(__str.substr(__pos2, __n2)); 348 const _CharT* __str, size_type __n2) const noexcept(false) 351 .compare(basic_string_view(__str, __n2)); 506 _S_compare(size_type __n1, size_type __n2) noexcept 509 const difference_type __diff = __n1 - __n2;
|
| D | numeric | 172 const _Ct __n2 = __detail::__abs_r<_Ct>(__n); 173 return __detail::__gcd<make_unsigned_t<_Ct>>(__m2, __n2); 187 const _Ct __n2 = __detail::__abs_r<_Ct>(__n); 188 if (__m2 == 0 || __n2 == 0) 190 _Ct __r = __m2 / __detail::__gcd<make_unsigned_t<_Ct>>(__m2, __n2); 194 return __r * __n2; // constant evaluation can detect overflow here. 196 bool __overflow = __builtin_mul_overflow(__r, __n2, &__r);
|
| D | chrono | 1387 const auto __n2 = 4 * __r1 + 3; 1388 const auto __u2 = static_cast<uint64_t>(2939745) * __n2;
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/tr1/ |
| D | hypergeometric.tcc | 341 const _Tp __n2 = __n * __n; in __hyperg_luke() local 342 const _Tp __F1 = (_Tp(3) * __n2 + (__a + __b - _Tp(6)) * __n in __hyperg_luke() 345 const _Tp __F2 = -(_Tp(3) * __n2 - (__a + __b + _Tp(6)) * __n in __hyperg_luke()
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/ |
| D | ChangeLog-2002 | 3217 * include/bits/basic_string.h (replace(__pos, __n1, __s, __n2): 5211 (replace(__pos, __n1, __s, __n2)): Optimize by avoiding 5213 (replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2). 5214 (replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2). 5217 (replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2). 5219 (replace(__pos1, __n1, __str, __pos2, __n2)): Call 5220 replace(__pos, __n1, __s, __n2).
|
| D | ChangeLog-2004 | 3831 Special case __n2 == 1, not calling traits_type::assign/copy.
|