| /trueos/contrib/libstdc++/include/bits/ |
| D | basic_string.tcc | 397 size_type __n2) in replace() argument 399 __glibcxx_requires_string_len(__s, __n2); in replace() 402 _M_check_length(__n1, __n2, "basic_string::replace"); in replace() 405 return _M_replace_safe(__pos, __n1, __s, __n2); in replace() 406 else if ((__left = __s + __n2 <= _M_data() + __pos) in replace() 411 __left ? __off : (__off += __n2 - __n1); in replace() 412 _M_mutate(__pos, __n1, __n2); in replace() 413 _M_copy(_M_data() + __pos, _M_data() + __off, __n2); in replace() 419 const basic_string __tmp(__s, __n2); in replace() 420 return _M_replace_safe(__pos, __n1, __tmp._M_data(), __n2); in replace() [all …]
|
| D | basic_string.h | 316 _M_check_length(size_type __n1, size_type __n2, const char* __s) const in _GLIBCXX_BEGIN_NAMESPACE() 318 if (this->max_size() - (this->size() - __n1) < __n2) in _GLIBCXX_BEGIN_NAMESPACE() 1216 size_type __pos2, size_type __n2) in _GLIBCXX_BEGIN_NAMESPACE() 1219 __str._M_limit(__pos2, __n2)); } in _GLIBCXX_BEGIN_NAMESPACE() 1240 size_type __n2); in _GLIBCXX_BEGIN_NAMESPACE() 1281 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) in _GLIBCXX_BEGIN_NAMESPACE() 1283 _M_limit(__pos, __n1), __n2, __c); } in _GLIBCXX_BEGIN_NAMESPACE() 1449 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, in _GLIBCXX_BEGIN_NAMESPACE() 1454 size_type __n2); in _GLIBCXX_BEGIN_NAMESPACE() 1994 size_type __pos2, size_type __n2) const; in _GLIBCXX_BEGIN_NAMESPACE() [all …]
|
| /trueos/contrib/libstdc++/config/io/ |
| D | basic_file_stdio.cc | 142 const char* __s2, std::streamsize __n2) in xwritev() argument 144 std::streamsize __nleft = __n1 + __n2; in xwritev() 149 __iov[1].iov_len = __n2; in xwritev() 169 __nleft -= xwrite(__fd, __s2 + __off, __n2 - __off); in xwritev() 177 return __n1 + __n2 - __nleft; in xwritev() 303 const char* __s2, streamsize __n2) in xsputn_2() argument 307 __ret = xwritev(this->fd(), __s1, __n1, __s2, __n2); in xsputn_2() 313 __ret += xwrite(this->fd(), __s2, __n2); in xsputn_2()
|
| D | basic_file_stdio.h | 95 const char* __s2, streamsize __n2);
|
| /trueos/contrib/libstdc++/include/ext/ |
| D | vstring.tcc | 99 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, in _M_replace_aux() argument 102 _M_check_length(__n1, __n2, "__versa_string::_M_replace_aux"); in _M_replace_aux() 105 const size_type __new_size = __old_size + __n2 - __n1; in _M_replace_aux() 112 if (__how_much && __n1 != __n2) in _M_replace_aux() 113 this->_S_move(__p + __n2, __p + __n1, __how_much); in _M_replace_aux() 116 this->_M_mutate(__pos1, __n1, 0, __n2); in _M_replace_aux() 118 if (__n2) in _M_replace_aux() 119 this->_S_assign(this->_M_data() + __pos1, __n2, __c); in _M_replace_aux() 479 size_type __pos2, size_type __n2) const in compare() 484 __n2 = __str._M_limit(__pos2, __n2); in compare() [all …]
|
| D | vstring.h | 90 _M_check_length(size_type __n1, size_type __n2, const char* __s) const in _GLIBCXX_BEGIN_NAMESPACE() 92 if (this->max_size() - (this->size() - __n1) < __n2) in _GLIBCXX_BEGIN_NAMESPACE() 971 size_type __pos2, size_type __n2) in _GLIBCXX_BEGIN_NAMESPACE() 976 __str._M_limit(__pos2, __n2)); in _GLIBCXX_BEGIN_NAMESPACE() 998 size_type __n2) in _GLIBCXX_BEGIN_NAMESPACE() 1000 __glibcxx_requires_string_len(__s, __n2); in _GLIBCXX_BEGIN_NAMESPACE() 1002 _M_limit(__pos, __n1), __s, __n2); in _GLIBCXX_BEGIN_NAMESPACE() 1044 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) in _GLIBCXX_BEGIN_NAMESPACE() 1046 _M_limit(__pos, __n1), __n2, __c); } in _GLIBCXX_BEGIN_NAMESPACE() 1212 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2, in _GLIBCXX_BEGIN_NAMESPACE() [all …]
|
| D | slist | 737 const _Node* __n2 = (const _Node*) __x._M_head._M_next; 738 while (__n1 && __n2) 740 __n1->_M_data = __n2->_M_data; 743 __n2 = (const _Node*) __n2->_M_next; 745 if (__n2 == 0) 748 _M_insert_after_range(__p1, const_iterator((_Node*)__n2),
|
| /trueos/contrib/libstdc++/include/debug/ |
| D | string | 483 size_type __pos2, size_type __n2) 485 _Base::replace(__pos1, __n1, __str, __pos2, __n2); 492 size_type __n2) 494 __glibcxx_check_string_len(__s, __n2); 495 _Base::replace(__pos, __n1, __s, __n2); 510 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) 512 _Base::replace(__pos, __n1, __n2, __c); 751 size_type __pos2, size_type __n2) const 752 { return _Base::compare(__pos1, __n1, __str, __pos2, __n2); } 774 size_type __n2) const [all …]
|
| /trueos/contrib/libc++/include/ |
| D | string | 1563 …ize_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_type __n2=npos); 1564 basic_string& replace(size_type __pos, size_type __n1, const value_type* __s, size_type __n2); 1566 basic_string& replace(size_type __pos, size_type __n1, size_type __n2, value_type __c); 1655 …pe __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_type __n2=npos) const; 1658 int compare(size_type __pos1, size_type __n1, const value_type* __s, size_type __n2) const; 2881 …raits, _Allocator>::replace(size_type __pos, size_type __n1, const value_type* __s, size_type __n2) 2883 _LIBCPP_ASSERT(__n2 == 0 || __s != nullptr, "string::replace received nullptr"); 2889 if (__cap - __sz + __n1 >= __n2) 2892 if (__n1 != __n2) 2897 if (__n1 > __n2) [all …]
|
| D | chrono | 421 static const intmax_t __n2 = _R2::num / __gcd_n1_n2; 438 static const bool value = (__n1 <= max / __d2) && (__n2 <= max / __d1); 440 __mul<__n2, __d1, !value>::value> type;
|
| D | list | 2219 size_type __n2 = __n / 2; 2220 iterator __e1 = _VSTD::next(__f1, __n2); 2221 iterator __r = __f1 = __sort(__f1, __e1, __n2, __comp); 2222 iterator __f2 = __e1 = __sort(__e1, __e2, __n - __n2, __comp);
|
| /trueos/contrib/libc++/include/experimental/ |
| D | string_view | 392 basic_string_view _sv, size_type __pos2, size_type __n2) const 394 return substr(__pos1, __n1).compare(_sv.substr(__pos2, __n2)); 410 int compare(size_type __pos1, size_type __n1, const _CharT* __s, size_type __n2) const 412 return substr(__pos1, __n1).compare(basic_string_view(__s, __n2));
|
| /trueos/contrib/libstdc++/ |
| 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 | 3829 Special case __n2 == 1, not calling traits_type::assign/copy.
|