Home | History | Annotate | Download | only in ext

Lines Matching refs:__len

86 	    size_t __len = _S_iterator_buf_len;
91 if (__buf_start_pos + __len <= __pos)
93 __buf_start_pos = __pos - __len / 4;
94 if (__buf_start_pos + __len > __leaf_end)
95 __buf_start_pos = __leaf_end - __len;
97 if (__buf_start_pos + __len > __leaf_end)
98 __len = __leaf_end - __buf_start_pos;
99 (*__fn)(__buf_start_pos - __leaf_pos, __len, __x._M_tmp_buf);
102 __x._M_buf_end = __x._M_tmp_buf + __len;
196 size_t __len = __current_node->_M_size;
201 if (__x._M_current_pos - __node_start_pos < __len)
429 _S_leaf_concat_char_iter(_RopeLeaf* __r, const _CharT* __iter, size_t __len)
433 _Data_allocate(_S_rounded_up_size(__old_len + __len));
437 uninitialized_copy_n(__iter, __len, __new_data + __old_len);
438 _S_cond_store_eos(__new_data[__old_len + __len]);
441 __result = _S_new_RopeLeaf(__new_data, __old_len + __len,
446 _RopeRep::__STL_FREE_STRING(__new_data, __old_len + __len,
459 size_t __len)
462 return _S_leaf_concat_char_iter(__r, __iter, __len);
464 if (_S_allocated_capacity(__old_len) >= __old_len + __len)
468 uninitialized_copy_n(__iter, __len, __r->_M_data + __old_len);
470 _S_cond_store_eos(__r->_M_data[__old_len + __len]);
476 __r->_M_size = __old_len + __len;
482 _RopeLeaf* __result = _S_leaf_concat_char_iter(__r, __iter, __len);
720 size_t __len = __base->_M_size;
724 if (__endp1 >= __len)
732 __adj_endp1 = __len;
961 size_t __len = __end - __begin;
964 (_CharT*)_Alloc().allocate(__len * sizeof(_CharT));
967 (*(__f->_M_fn))(__begin, __len, __buffer);
968 __result = __c(__buffer, __len);
969 _Alloc().deallocate(__buffer, __len * sizeof(_CharT));
973 _Alloc().deallocate(__buffer, __len * sizeof(_CharT));
1049 _S_flatten(_RopeRep* __r, size_t __start, size_t __len,
1053 _S_apply_to_pieces(__c, __r, __start, __start + __len);
1054 return(__buffer + __len);