Home
last modified time | relevance | path

Searched refs:__n1 (Results 1 – 25 of 31) sorted by relevance

12

/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/ext/
Dvstring.tcc89 const size_type __n1 = __i2 - __i1; in _M_replace_dispatch() local
90 return _M_replace(__i1 - _M_ibegin(), __n1, __s._M_data(), in _M_replace_dispatch()
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()
110 const size_type __how_much = __old_size - __pos1 - __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()
477 compare(size_type __pos1, size_type __n1, const __versa_string& __str, in compare() argument
[all …]
Dslist733 _Node* __n1 = (_Node*) this->_M_head._M_next;
735 while (__n1 && __n2)
737 __n1->_M_data = __n2->_M_data;
738 __p1 = __n1;
739 __n1 = (_Node*) __n1->_M_next;
893 _Node_base* __n1 = &this->_M_head;
894 while (__n1->_M_next && __x._M_head._M_next)
897 < ((_Node*) __n1->_M_next)->_M_data)
898 __slist_splice_after(__n1, &__x._M_head, __x._M_head._M_next);
899 __n1 = __n1->_M_next;
[all …]
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()
1280 replace(size_type __pos1, size_type __n1, const __versa_string& __str, in _GLIBCXX_VISIBILITY()
1283 return this->replace(__pos1, __n1, __str._M_data() in _GLIBCXX_VISIBILITY()
1308 replace(size_type __pos, size_type __n1, const _CharT* __s, in _GLIBCXX_VISIBILITY()
1313 _M_limit(__pos, __n1), __s, __n2); in _GLIBCXX_VISIBILITY()
1332 replace(size_type __pos, size_type __n1, const _CharT* __s) in _GLIBCXX_VISIBILITY()
1335 return this->replace(__pos, __n1, __s, traits_type::length(__s)); 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()
[all …]
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()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/ext/
Dvstring.tcc89 const size_type __n1 = __i2 - __i1; in _M_replace_dispatch() local
90 return _M_replace(__i1 - _M_ibegin(), __n1, __s._M_data(), in _M_replace_dispatch()
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()
110 const size_type __how_much = __old_size - __pos1 - __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()
477 compare(size_type __pos1, size_type __n1, const __versa_string& __str, in compare() argument
[all …]
Dslist734 _Node* __n1 = (_Node*) this->_M_head._M_next;
736 while (__n1 && __n2)
738 __n1->_M_data = __n2->_M_data;
739 __p1 = __n1;
740 __n1 = (_Node*) __n1->_M_next;
894 _Node_base* __n1 = &this->_M_head;
895 while (__n1->_M_next && __x._M_head._M_next)
898 < ((_Node*) __n1->_M_next)->_M_data)
899 __slist_splice_after(__n1, &__x._M_head, __x._M_head._M_next);
900 __n1 = __n1->_M_next;
[all …]
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()
1195 replace(size_type __pos1, size_type __n1, const __versa_string& __str, in _GLIBCXX_VISIBILITY()
1198 return this->replace(__pos1, __n1, __str._M_data() in _GLIBCXX_VISIBILITY()
1223 replace(size_type __pos, size_type __n1, const _CharT* __s, in _GLIBCXX_VISIBILITY()
1228 _M_limit(__pos, __n1), __s, __n2); in _GLIBCXX_VISIBILITY()
1247 replace(size_type __pos, size_type __n1, const _CharT* __s) in _GLIBCXX_VISIBILITY()
1250 return this->replace(__pos, __n1, __s, traits_type::length(__s)); 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()
[all …]
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()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/bits/
Dbasic_string.tcc416 replace(size_type __pos, size_type __n1, const _CharT* __s, in replace() argument
421 __n1 = _M_limit(__pos, __n1); in replace()
422 _M_check_length(__n1, __n2, "basic_string::replace"); in replace()
425 return _M_replace_safe(__pos, __n1, __s, __n2); in replace()
427 || _M_data() + __pos + __n1 <= __s) in replace()
431 __left ? __off : (__off += __n2 - __n1); in replace()
432 _M_mutate(__pos, __n1, __n2); in replace()
440 return _M_replace_safe(__pos, __n1, __tmp._M_data(), __n2); in replace()
661 const size_type __n1 = __i2 - __i1; in _M_replace_dispatch() local
662 _M_check_length(__n1, __s.size(), "basic_string::_M_replace_dispatch"); in _M_replace_dispatch()
[all …]
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()
1448 replace(size_type __pos1, size_type __n1, const basic_string& __str, in _GLIBCXX_VISIBILITY()
1450 { return this->replace(__pos1, __n1, __str._M_data() in _GLIBCXX_VISIBILITY()
1473 replace(size_type __pos, size_type __n1, const _CharT* __s, in _GLIBCXX_VISIBILITY()
1493 replace(size_type __pos, size_type __n1, const _CharT* __s) in _GLIBCXX_VISIBILITY()
1496 return this->replace(__pos, __n1, __s, traits_type::length(__s)); in _GLIBCXX_VISIBILITY()
1517 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) in _GLIBCXX_VISIBILITY()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/bits/
Dbasic_string.tcc385 const size_type __n1 = __i2 - __i1; in _M_replace_dispatch() local
386 return _M_replace(__i1 - begin(), __n1, __s._M_data(), in _M_replace_dispatch()
393 _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()
405 const size_type __how_much = __old_size - __pos1 - __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()
864 replace(size_type __pos, size_type __n1, const _CharT* __s,
[all …]
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()
1902 replace(size_type __pos1, size_type __n1, const basic_string& __str, in _GLIBCXX_VISIBILITY()
1904 { return this->replace(__pos1, __n1, __str._M_data() in _GLIBCXX_VISIBILITY()
1927 replace(size_type __pos, size_type __n1, const _CharT* __s, in _GLIBCXX_VISIBILITY()
1932 _M_limit(__pos, __n1), __s, __n2); in _GLIBCXX_VISIBILITY()
1952 replace(size_type __pos, size_type __n1, const _CharT* __s) in _GLIBCXX_VISIBILITY()
1955 return this->replace(__pos, __n1, __s, traits_type::length(__s)); in _GLIBCXX_VISIBILITY()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/config/io/
Dbasic_file_stdio.cc139 xwritev(int __fd, const char* __s1, std::streamsize __n1, in xwritev() argument
142 std::streamsize __nleft = __n1 + __n2; in xwritev()
143 std::streamsize __n1_left = __n1; in xwritev()
175 return __n1 + __n2 - __nleft; in xwritev()
295 __basic_file<char>::xsputn_2(const char* __s1, streamsize __n1, in xsputn_2() argument
300 __ret = xwritev(this->fd(), __s1, __n1, __s2, __n2); in xsputn_2()
302 if (__n1) in xsputn_2()
303 __ret = xwrite(this->fd(), __s1, __n1); in xsputn_2()
305 if (__ret == __n1) in xsputn_2()
Dbasic_file_stdio.h111 xsputn_2(const char* __s1, streamsize __n1, in _GLIBCXX_VISIBILITY()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/config/io/
Dbasic_file_stdio.cc140 xwritev(int __fd, const char* __s1, std::streamsize __n1, in xwritev() argument
143 std::streamsize __nleft = __n1 + __n2; in xwritev()
144 std::streamsize __n1_left = __n1; in xwritev()
176 return __n1 + __n2 - __nleft; in xwritev()
303 __basic_file<char>::xsputn_2(const char* __s1, streamsize __n1, in xsputn_2() argument
308 __ret = xwritev(this->fd(), __s1, __n1, __s2, __n2); in xsputn_2()
310 if (__n1) in xsputn_2()
311 __ret = xwrite(this->fd(), __s1, __n1); in xsputn_2()
313 if (__ret == __n1) in xsputn_2()
Dbasic_file_stdio.h92 xsputn_2(const char* __s1, streamsize __n1, in _GLIBCXX_VISIBILITY()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/debug/
Dstring594 replace(size_type __pos1, size_type __n1, const basic_string& __str)
596 _Base::replace(__pos1, __n1, __str);
602 replace(size_type __pos1, size_type __n1, const basic_string& __str,
605 _Base::replace(__pos1, __n1, __str, __pos2, __n2);
611 replace(size_type __pos, size_type __n1, const _CharT* __s,
615 _Base::replace(__pos, __n1, __s, __n2);
621 replace(size_type __pos, size_type __n1, const _CharT* __s)
624 _Base::replace(__pos, __n1, __s);
630 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c)
632 _Base::replace(__pos, __n1, __n2, __c);
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/debug/
Dstring629 replace(size_type __pos1, size_type __n1, const basic_string& __str)
631 _Base::replace(__pos1, __n1, __str);
637 replace(size_type __pos1, size_type __n1, const basic_string& __str,
640 _Base::replace(__pos1, __n1, __str, __pos2, __n2);
646 replace(size_type __pos, size_type __n1, const _CharT* __s,
650 _Base::replace(__pos, __n1, __s, __n2);
656 replace(size_type __pos, size_type __n1, const _CharT* __s)
659 _Base::replace(__pos, __n1, __s);
665 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c)
667 _Base::replace(__pos, __n1, __n2, __c);
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/experimental/
Dstring_view298 compare(size_type __pos1, size_type __n1, basic_string_view __str) const
299 { return this->substr(__pos1, __n1).compare(__str); }
302 compare(size_type __pos1, size_type __n1,
304 { return this->substr(__pos1, __n1).compare(__str.substr(__pos2, __n2)); }
311 compare(size_type __pos1, size_type __n1, const _CharT* __str) const
312 { return this->substr(__pos1, __n1).compare(basic_string_view{__str}); }
315 compare(size_type __pos1, size_type __n1,
318 return this->substr(__pos1, __n1)
423 _S_compare(size_type __n1, size_type __n2) noexcept
425 return difference_type(__n1 - __n2) > std::numeric_limits<int>::max()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/std/
Dstring_view263 compare(size_type __pos1, size_type __n1, basic_string_view __str) const
264 { return this->substr(__pos1, __n1).compare(__str); }
267 compare(size_type __pos1, size_type __n1,
270 return this->substr(__pos1, __n1).compare(__str.substr(__pos2, __n2));
278 compare(size_type __pos1, size_type __n1, const _CharT* __str) const
279 { return this->substr(__pos1, __n1).compare(basic_string_view{__str}); }
282 compare(size_type __pos1, size_type __n1,
285 return this->substr(__pos1, __n1)
409 _S_compare(size_type __n1, size_type __n2) noexcept
411 const difference_type __diff = __n1 - __n2;
Dratio164 template<uintmax_t __n1, uintmax_t __n0, uintmax_t __d>
170 static_assert(__n1 < __d, "Internal library error");
175 static constexpr uintmax_t __q1x = __n1 / __d1;
176 static constexpr uintmax_t __r1x = __n1 % __d1;
205 static_assert(_Sum::__hi == __n1 && _Sum::__lo == __n0,
209 template<uintmax_t __n1, uintmax_t __n0, uintmax_t __d>
225 static constexpr uintmax_t __n1_shifted = (__n1 % __d) * __c1;
231 static constexpr uintmax_t __quot_hi = __n1 / __d;
243 static_assert(_Sum::__hi == __n1 && _Sum::__lo == __n0,
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/std/
Dratio167 template<uintmax_t __n1, uintmax_t __n0, uintmax_t __d>
173 static_assert(__n1 < __d, "Internal library error");
178 static constexpr uintmax_t __q1x = __n1 / __d1;
179 static constexpr uintmax_t __r1x = __n1 % __d1;
208 static_assert(_Sum::__hi == __n1 && _Sum::__lo == __n0,
212 template<uintmax_t __n1, uintmax_t __n0, uintmax_t __d>
228 static constexpr uintmax_t __n1_shifted = (__n1 % __d) * __c1;
234 static constexpr uintmax_t __quot_hi = __n1 / __d;
246 static_assert(_Sum::__hi == __n1 && _Sum::__lo == __n0,
/dragonfly/contrib/gcc-8.0/include/
HDlonglong.h1210 #define udiv_qrnnd(__q, __r, __n1, __n0, __d) \ argument
1217 : "r" ((USItype) (__n1)), \
1228 #define udiv_qrnnd(__q, __r, __n1, __n0, __d) \ argument
1232 : "r" ((USItype) (__n1)), \
1353 #define udiv_qrnnd(__q, __r, __n1, __n0, __d) \ argument
1381 "1" ((USItype) (__n1)), \
/dragonfly/contrib/binutils-2.27/include/
HDlonglong.h1209 #define udiv_qrnnd(__q, __r, __n1, __n0, __d) \ argument
1216 : "r" ((USItype) (__n1)), \
1227 #define udiv_qrnnd(__q, __r, __n1, __n0, __d) \ argument
1231 : "r" ((USItype) (__n1)), \
1352 #define udiv_qrnnd(__q, __r, __n1, __n0, __d) \ argument
1380 "1" ((USItype) (__n1)), \
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/tr1/
Drandom.h646 template<class _UIntType1, int __w1, int __n1, int __m1, int __r1, in _GLIBCXX_VISIBILITY()
652 const mersenne_twister<_UIntType1, __w1, __n1, __m1, __r1, in _GLIBCXX_VISIBILITY()
665 template<class _UIntType1, int __w1, int __n1, int __m1, int __r1, in _GLIBCXX_VISIBILITY()
671 mersenne_twister<_UIntType1, __w1, __n1, __m1, __r1, in _GLIBCXX_VISIBILITY()

12