Home
last modified time | relevance | path

Searched refs:__len2 (Results 1 – 14 of 14) sorted by relevance

/openbsd/src/gnu/gcc/libstdc++-v3/include/ext/
Dvstring.tcc130 const size_type __len2) in _M_replace() argument
132 _M_check_length(__len1, __len2, "__versa_string::_M_replace"); in _M_replace()
135 const size_type __new_size = __old_size + __len2 - __len1; in _M_replace()
144 if (__how_much && __len1 != __len2) in _M_replace()
145 this->_S_move(__p + __len2, __p + __len1, __how_much); in _M_replace()
146 if (__len2) in _M_replace()
147 this->_S_copy(__p, __s, __len2); in _M_replace()
152 if (__len2 && __len2 <= __len1) in _M_replace()
153 this->_S_move(__p, __s, __len2); in _M_replace()
154 if (__how_much && __len1 != __len2) in _M_replace()
[all …]
Dsso_string_base.h213 size_type __len2); in _GLIBCXX_BEGIN_NAMESPACE()
509 const size_type __len2) in _M_mutate() argument
513 size_type __new_capacity = _M_length() + __len2 - __len1; in _M_mutate()
518 if (__s && __len2) in _M_mutate()
519 _S_copy(__r + __pos, __s, __len2); in _M_mutate()
521 _S_copy(__r + __pos + __len2, in _M_mutate()
Drc_string_base.h336 size_type __len2); in _GLIBCXX_BEGIN_NAMESPACE()
639 size_type __len2) in _M_mutate() argument
643 _Rep* __r = _Rep::_S_create(_M_length() + __len2 - __len1, in _M_mutate()
648 if (__s && __len2) in _M_mutate()
649 _S_copy(__r->_M_refdata() + __pos, __s, __len2); in _M_mutate()
651 _S_copy(__r->_M_refdata() + __pos + __len2, in _M_mutate()
Dalgorithm163 const ptrdiff_t __len2 = __last2 - __first2;
164 const int __result = std::memcmp(__first1, __first2, min(__len1, __len2));
166 : (__len1 == __len2 ? 0 : (__len1 < __len2 ? -1 : 1));
Dvstring.h1217 const size_type __len2); in _GLIBCXX_BEGIN_NAMESPACE()
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/bits/
Dstl_algo.h3211 _Distance __len1, _Distance __len2) in __merge_without_buffer() argument
3213 if (__len1 == 0 || __len2 == 0) in __merge_without_buffer()
3215 if (__len1 + __len2 == 2) { in __merge_without_buffer()
3224 if (__len1 > __len2) { in __merge_without_buffer()
3231 __len22 = __len2 / 2; in __merge_without_buffer()
3242 __len1 - __len11, __len2 - __len22); in __merge_without_buffer()
3255 _Distance __len1, _Distance __len2, in __merge_without_buffer() argument
3258 if (__len1 == 0 || __len2 == 0) in __merge_without_buffer()
3260 if (__len1 + __len2 == 2) { in __merge_without_buffer()
3269 if (__len1 > __len2) { in __merge_without_buffer()
[all …]
Dstl_algobase.h792 const size_t __len2 = __last2 - __first2;
793 const int __result = memcmp(__first1, __first2, min(__len1, __len2));
794 return __result != 0 ? __result < 0 : __len1 < __len2;
Dbasic_string.tcc396 _M_mutate(size_type __pos, size_type __len1, size_type __len2) in _M_mutate() argument
399 const size_type __new_size = __old_size + __len2 - __len1; in _M_mutate()
427 traits_type::copy(__r->_M_refdata() + __pos + __len2, in _M_mutate()
438 else if (__how_much && __len1 != __len2) in _M_mutate()
441 traits_type::move(_M_data() + __pos + __len2, __src, __how_much); in _M_mutate()
Dbasic_string.h318 _M_mutate(size_type __pos, size_type __len1, size_type __len2);
/openbsd/src/gnu/gcc/libstdc++-v3/include/bits/
Dstl_algo.h3076 _Distance __len1, _Distance __len2) in __merge_without_buffer() argument
3078 if (__len1 == 0 || __len2 == 0) in __merge_without_buffer()
3080 if (__len1 + __len2 == 2) in __merge_without_buffer()
3090 if (__len1 > __len2) in __merge_without_buffer()
3099 __len22 = __len2 / 2; in __merge_without_buffer()
3110 __len1 - __len11, __len2 - __len22); in __merge_without_buffer()
3124 _Distance __len1, _Distance __len2, in __merge_without_buffer() argument
3127 if (__len1 == 0 || __len2 == 0) in __merge_without_buffer()
3129 if (__len1 + __len2 == 2) in __merge_without_buffer()
3139 if (__len1 > __len2) in __merge_without_buffer()
[all …]
Dbasic_string.tcc451 _M_mutate(size_type __pos, size_type __len1, size_type __len2) in _M_mutate() argument
454 const size_type __new_size = __old_size + __len2 - __len1; in _M_mutate()
466 _M_copy(__r->_M_refdata() + __pos + __len2, in _M_mutate()
472 else if (__how_much && __len1 != __len2) in _M_mutate()
475 _M_move(_M_data() + __pos + __len2, in _M_mutate()
Dstl_algobase.h907 const size_t __len2 = __last2 - __first2;
909 std::min(__len1, __len2));
910 return __result != 0 ? __result < 0 : __len1 < __len2;
Dbasic_string.h394 _M_mutate(size_type __pos, size_type __len1, size_type __len2); in _GLIBCXX_BEGIN_NAMESPACE()
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/ext/
Dalgorithm160 const ptrdiff_t __len2 = __last2 - __first2;
161 const int __result = std::memcmp(__first1, __first2, min(__len1, __len2));
163 : (__len1 == __len2 ? 0 : (__len1 < __len2 ? -1 : 1));