Home | History | Annotate | Download | only in ext

Lines Matching refs:__len

84 	    size_t __len = _S_iterator_buf_len;
89 if (__buf_start_pos + __len <= __pos)
91 __buf_start_pos = __pos - __len / 4;
92 if (__buf_start_pos + __len > __leaf_end)
93 __buf_start_pos = __leaf_end - __len;
95 if (__buf_start_pos + __len > __leaf_end)
96 __len = __leaf_end - __buf_start_pos;
97 (*__fn)(__buf_start_pos - __leaf_pos, __len, __x._M_tmp_buf);
100 __x._M_buf_end = __x._M_tmp_buf + __len;
194 size_t __len = __current_node->_M_size;
199 if (__x._M_current_pos - __node_start_pos < __len)
427 _S_leaf_concat_char_iter(_RopeLeaf* __r, const _CharT* __iter, size_t __len)
431 _Data_allocate(_S_rounded_up_size(__old_len + __len));
435 uninitialized_copy_n(__iter, __len, __new_data + __old_len);
436 _S_cond_store_eos(__new_data[__old_len + __len]);
439 __result = _S_new_RopeLeaf(__new_data, __old_len + __len,
444 _RopeRep::__STL_FREE_STRING(__new_data, __old_len + __len,
457 size_t __len)
460 return _S_leaf_concat_char_iter(__r, __iter, __len);
462 if (_S_allocated_capacity(__old_len) >= __old_len + __len)
466 uninitialized_copy_n(__iter, __len, __r->_M_data + __old_len);
468 _S_cond_store_eos(__r->_M_data[__old_len + __len]);
474 __r->_M_size = __old_len + __len;
480 _RopeLeaf* __result = _S_leaf_concat_char_iter(__r, __iter, __len);
718 size_t __len = __base->_M_size;
722 if (__endp1 >= __len)
730 __adj_endp1 = __len;
959 size_t __len = __end - __begin;
962 (_CharT*)_Alloc().allocate(__len * sizeof(_CharT));
965 (*(__f->_M_fn))(__begin, __len, __buffer);
966 __result = __c(__buffer, __len);
967 _Alloc().deallocate(__buffer, __len * sizeof(_CharT));
971 _Alloc().deallocate(__buffer, __len * sizeof(_CharT));
1047 _S_flatten(_RopeRep* __r, size_t __start, size_t __len,
1051 _S_apply_to_pieces(__c, __r, __start, __start + __len);
1052 return(__buffer + __len);