Home | History | Annotate | Download | only in ext

Lines Matching refs:__len

85 	    size_t __len = _S_iterator_buf_len;
90 if (__buf_start_pos + __len <= __pos)
92 __buf_start_pos = __pos - __len / 4;
93 if (__buf_start_pos + __len > __leaf_end)
94 __buf_start_pos = __leaf_end - __len;
96 if (__buf_start_pos + __len > __leaf_end)
97 __len = __leaf_end - __buf_start_pos;
98 (*__fn)(__buf_start_pos - __leaf_pos, __len, __x._M_tmp_buf);
101 __x._M_buf_end = __x._M_tmp_buf + __len;
195 size_t __len = __current_node->_M_size;
200 if (__x._M_current_pos - __node_start_pos < __len)
428 _S_leaf_concat_char_iter(_RopeLeaf* __r, const _CharT* __iter, size_t __len)
432 rope::_Data_allocate(_S_rounded_up_size(__old_len + __len));
436 uninitialized_copy_n(__iter, __len, __new_data + __old_len);
437 _S_cond_store_eos(__new_data[__old_len + __len]);
440 __result = _S_new_RopeLeaf(__new_data, __old_len + __len,
445 _RopeRep::__STL_FREE_STRING(__new_data, __old_len + __len,
458 size_t __len)
461 return _S_leaf_concat_char_iter(__r, __iter, __len);
463 if (_S_allocated_capacity(__old_len) >= __old_len + __len)
467 uninitialized_copy_n(__iter, __len, __r->_M_data + __old_len);
469 _S_cond_store_eos(__r->_M_data[__old_len + __len]);
475 __r->_M_size = __old_len + __len;
481 _RopeLeaf* __result = _S_leaf_concat_char_iter(__r, __iter, __len);
719 size_t __len = __base->_M_size;
723 if (__endp1 >= __len)
731 __adj_endp1 = __len;
960 size_t __len = __end - __begin;
963 (_CharT*)_Alloc().allocate(__len * sizeof(_CharT));
966 (*(__f->_M_fn))(__begin, __len, __buffer);
967 __result = __c(__buffer, __len);
968 _Alloc().deallocate(__buffer, __len * sizeof(_CharT));
972 _Alloc().deallocate(__buffer, __len * sizeof(_CharT));
1048 _S_flatten(_RopeRep* __r, size_t __start, size_t __len,
1052 _S_apply_to_pieces(__c, __r, __start, __start + __len);
1053 return(__buffer + __len);