Home
last modified time | relevance | path

Searched refs:__n2 (Results 1 – 24 of 24) sorted by relevance

/dflybsd-src/contrib/gcc-4.7/libstdc++-v3/include/bits/
H A Dbasic_string.tcc417 size_type __n2) in replace() argument
419 __glibcxx_requires_string_len(__s, __n2); in replace()
422 _M_check_length(__n1, __n2, "basic_string::replace"); in replace()
425 return _M_replace_safe(__pos, __n1, __s, __n2); in replace()
426 else if ((__left = __s + __n2 <= _M_data() + __pos) in replace()
431 __left ? __off : (__off += __n2 - __n1); in replace()
432 _M_mutate(__pos, __n1, __n2); in replace()
433 _M_copy(_M_data() + __pos, _M_data() + __off, __n2); in replace()
439 const basic_string __tmp(__s, __n2); in replace()
440 return _M_replace_safe(__pos, __n1, __tmp._M_data(), __n2); in replace()
[all …]
H A Dbasic_string.h326 _M_check_length(size_type __n1, size_type __n2, const char* __s) const in _GLIBCXX_VISIBILITY()
328 if (this->max_size() - (this->size() - __n1) < __n2) in _GLIBCXX_VISIBILITY()
404 _S_compare(size_type __n1, size_type __n2) in _GLIBCXX_VISIBILITY()
406 const difference_type __d = difference_type(__n1 - __n2); in _GLIBCXX_VISIBILITY()
1449 size_type __pos2, size_type __n2) in _GLIBCXX_VISIBILITY()
1452 __str._M_limit(__pos2, __n2)); } in _GLIBCXX_VISIBILITY()
1474 size_type __n2); in _GLIBCXX_VISIBILITY()
1517 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) in _GLIBCXX_VISIBILITY()
1519 _M_limit(__pos, __n1), __n2, __c); } in _GLIBCXX_VISIBILITY()
1707 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, in _GLIBCXX_VISIBILITY()
[all …]
H A Dhashtable_policy.h1169 std::ptrdiff_t __n2 = 0; in _GLIBCXX_VISIBILITY()
1172 ++__n2; in _GLIBCXX_VISIBILITY()
1174 if (!__n2) in _GLIBCXX_VISIBILITY()
1182 if (__n1 != __n2) in _GLIBCXX_VISIBILITY()
/dflybsd-src/contrib/gcc-8.0/libstdc++-v3/include/bits/
H A Dbasic_string.tcc393 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, in _M_replace_aux() argument
396 _M_check_length(__n1, __n2, "basic_string::_M_replace_aux"); in _M_replace_aux()
399 const size_type __new_size = __old_size + __n2 - __n1; in _M_replace_aux()
406 if (__how_much && __n1 != __n2) in _M_replace_aux()
407 this->_S_move(__p + __n2, __p + __n1, __how_much); in _M_replace_aux()
410 this->_M_mutate(__pos1, __n1, 0, __n2); in _M_replace_aux()
412 if (__n2) in _M_replace_aux()
413 this->_S_assign(this->_M_data() + __pos1, __n2, __c); in _M_replace_aux()
865 size_type __n2)
867 __glibcxx_requires_string_len(__s, __n2);
[all …]
H A Dbasic_string.h309 _M_check_length(size_type __n1, size_type __n2, const char* __s) const in _GLIBCXX_VISIBILITY()
311 if (this->max_size() - (this->size() - __n1) < __n2) in _GLIBCXX_VISIBILITY()
390 _S_compare(size_type __n1, size_type __n2) _GLIBCXX_NOEXCEPT in _GLIBCXX_VISIBILITY()
392 const difference_type __d = difference_type(__n1 - __n2); in _GLIBCXX_VISIBILITY()
1903 size_type __pos2, size_type __n2 = npos) in _GLIBCXX_VISIBILITY()
1906 __str._M_limit(__pos2, __n2)); } in _GLIBCXX_VISIBILITY()
1928 size_type __n2) in _GLIBCXX_VISIBILITY()
1930 __glibcxx_requires_string_len(__s, __n2); in _GLIBCXX_VISIBILITY()
1932 _M_limit(__pos, __n1), __s, __n2); in _GLIBCXX_VISIBILITY()
1976 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) in _GLIBCXX_VISIBILITY()
[all …]
H A Dhashtable_policy.h1891 std::ptrdiff_t __n2 = 0; in _GLIBCXX_VISIBILITY()
1894 ++__n2; in _GLIBCXX_VISIBILITY()
1896 if (!__n2) in _GLIBCXX_VISIBILITY()
1904 if (__n1 != __n2) in _GLIBCXX_VISIBILITY()
/dflybsd-src/contrib/gcc-8.0/libstdc++-v3/config/io/
H A Dbasic_file_stdio.cc140 const char* __s2, std::streamsize __n2) in xwritev() argument
142 std::streamsize __nleft = __n1 + __n2; in xwritev()
147 __iov[1].iov_len = __n2; in xwritev()
167 __nleft -= xwrite(__fd, __s2 + __off, __n2 - __off); in xwritev()
175 return __n1 + __n2 - __nleft; in xwritev()
296 const char* __s2, streamsize __n2) in xsputn_2() argument
300 __ret = xwritev(this->fd(), __s1, __n1, __s2, __n2); in xsputn_2()
306 __ret += xwrite(this->fd(), __s2, __n2); in xsputn_2()
H A Dbasic_file_stdio.h112 const char* __s2, streamsize __n2); in _GLIBCXX_VISIBILITY()
/dflybsd-src/contrib/gcc-4.7/libstdc++-v3/config/io/
H A Dbasic_file_stdio.cc141 const char* __s2, std::streamsize __n2) in xwritev() argument
143 std::streamsize __nleft = __n1 + __n2; in xwritev()
148 __iov[1].iov_len = __n2; in xwritev()
168 __nleft -= xwrite(__fd, __s2 + __off, __n2 - __off); in xwritev()
176 return __n1 + __n2 - __nleft; in xwritev()
304 const char* __s2, streamsize __n2) in xsputn_2() argument
308 __ret = xwritev(this->fd(), __s1, __n1, __s2, __n2); in xsputn_2()
314 __ret += xwrite(this->fd(), __s2, __n2); in xsputn_2()
H A Dbasic_file_stdio.h93 const char* __s2, streamsize __n2); in _GLIBCXX_VISIBILITY()
/dflybsd-src/contrib/gcc-8.0/libstdc++-v3/include/ext/
H A Dvstring.tcc98 _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 …]
H A Dvstring_util.h167 _S_compare(size_type __n1, size_type __n2) in _GLIBCXX_VISIBILITY()
169 const difference_type __d = difference_type(__n1 - __n2); in _GLIBCXX_VISIBILITY()
H A Dvstring.h95 _M_check_length(size_type __n1, size_type __n2, const char* __s) const in _GLIBCXX_VISIBILITY()
97 if (this->max_size() - (this->size() - __n1) < __n2) in _GLIBCXX_VISIBILITY()
1281 size_type __pos2, size_type __n2) in _GLIBCXX_VISIBILITY()
1286 __str._M_limit(__pos2, __n2)); in _GLIBCXX_VISIBILITY()
1309 size_type __n2) in _GLIBCXX_VISIBILITY()
1311 __glibcxx_requires_string_len(__s, __n2); in _GLIBCXX_VISIBILITY()
1313 _M_limit(__pos, __n1), __s, __n2); in _GLIBCXX_VISIBILITY()
1356 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) in _GLIBCXX_VISIBILITY()
1358 _M_limit(__pos, __n1), __n2, __c); } in _GLIBCXX_VISIBILITY()
1601 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, in _GLIBCXX_VISIBILITY()
[all …]
H A Dslist734 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),
/dflybsd-src/contrib/gcc-4.7/libstdc++-v3/include/ext/
H A Dvstring.tcc98 _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 …]
H A Dvstring_util.h168 _S_compare(size_type __n1, size_type __n2) in _GLIBCXX_VISIBILITY()
170 const difference_type __d = difference_type(__n1 - __n2); in _GLIBCXX_VISIBILITY()
H A Dvstring.h94 _M_check_length(size_type __n1, size_type __n2, const char* __s) const in _GLIBCXX_VISIBILITY()
96 if (this->max_size() - (this->size() - __n1) < __n2) in _GLIBCXX_VISIBILITY()
1196 size_type __pos2, size_type __n2) in _GLIBCXX_VISIBILITY()
1201 __str._M_limit(__pos2, __n2)); in _GLIBCXX_VISIBILITY()
1224 size_type __n2) in _GLIBCXX_VISIBILITY()
1226 __glibcxx_requires_string_len(__s, __n2); in _GLIBCXX_VISIBILITY()
1228 _M_limit(__pos, __n1), __s, __n2); in _GLIBCXX_VISIBILITY()
1271 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) in _GLIBCXX_VISIBILITY()
1273 _M_limit(__pos, __n1), __n2, __c); } in _GLIBCXX_VISIBILITY()
1458 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, in _GLIBCXX_VISIBILITY()
[all …]
H A Dslist735 const _Node* __n2 = (const _Node*) __x._M_head._M_next;
736 while (__n1 && __n2)
738 __n1->_M_data = __n2->_M_data;
741 __n2 = (const _Node*) __n2->_M_next;
743 if (__n2 == 0)
746 _M_insert_after_range(__p1, const_iterator((_Node*)__n2),
/dflybsd-src/contrib/gcc-4.7/libstdc++-v3/include/debug/
H A Dstring603 size_type __pos2, size_type __n2)
605 _Base::replace(__pos1, __n1, __str, __pos2, __n2);
612 size_type __n2)
614 __glibcxx_check_string_len(__s, __n2);
615 _Base::replace(__pos, __n1, __s, __n2);
630 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c)
632 _Base::replace(__pos, __n1, __n2, __c);
889 size_type __pos2, size_type __n2) const
890 { return _Base::compare(__pos1, __n1, __str, __pos2, __n2); }
912 size_type __n2) const
[all …]
/dflybsd-src/contrib/gcc-8.0/libstdc++-v3/include/debug/
H A Dstring638 size_type __pos2, size_type __n2)
640 _Base::replace(__pos1, __n1, __str, __pos2, __n2);
647 size_type __n2)
649 __glibcxx_check_string_len(__s, __n2);
650 _Base::replace(__pos, __n1, __s, __n2);
665 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c)
667 _Base::replace(__pos, __n1, __n2, __c);
932 size_type __pos2, size_type __n2) const
933 { return _Base::compare(__pos1, __n1, __str, __pos2, __n2); }
955 size_type __n2) const
[all …]
/dflybsd-src/contrib/gcc-8.0/libstdc++-v3/include/experimental/
H A Dstring_view303 basic_string_view __str, size_type __pos2, size_type __n2) const
304 { return this->substr(__pos1, __n1).compare(__str.substr(__pos2, __n2)); }
316 const _CharT* __str, size_type __n2) const
319 .compare(basic_string_view(__str, __n2));
423 _S_compare(size_type __n1, size_type __n2) noexcept
425 return difference_type(__n1 - __n2) > std::numeric_limits<int>::max()
427 : difference_type(__n1 - __n2) < std::numeric_limits<int>::min()
429 : static_cast<int>(difference_type(__n1 - __n2));
/dflybsd-src/contrib/gcc-8.0/libstdc++-v3/include/std/
H A Dstring_view268 basic_string_view __str, size_type __pos2, size_type __n2) const
270 return this->substr(__pos1, __n1).compare(__str.substr(__pos2, __n2));
283 const _CharT* __str, size_type __n2) const noexcept(false)
286 .compare(basic_string_view(__str, __n2));
409 _S_compare(size_type __n1, size_type __n2) noexcept
411 const difference_type __diff = __n1 - __n2;
/dflybsd-src/contrib/gcc-8.0/libstdc++-v3/include/tr1/
H A Dhypergeometric.tcc341 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()
/dflybsd-src/contrib/gcc-4.7/libstdc++-v3/include/tr1/
H A Dhypergeometric.tcc337 const _Tp __n2 = __n * __n; in __hyperg_luke() local
338 const _Tp __F1 = (_Tp(3) * __n2 + (__a + __b - _Tp(6)) * __n in __hyperg_luke()
341 const _Tp __F2 = -(_Tp(3) * __n2 - (__a + __b + _Tp(6)) * __n in __hyperg_luke()