Home
last modified time | relevance | path

Searched refs:__old_sz (Results 1 – 3 of 3) sorted by relevance

/openbsd/src/gnu/lib/libstdc++/libstdc++/include/bits/
Dstl_alloc.h288 reallocate(void* __p, size_t __old_sz, size_t __new_sz) in reallocate() argument
291 if (*(size_t*)__real_p != __old_sz) in reallocate()
294 __old_sz + (int) _S_extra, in reallocate()
448 reallocate(void* __p, size_t __old_sz, size_t __new_sz);
583 reallocate(void* __p, size_t __old_sz, size_t __new_sz) in reallocate() argument
588 if (__old_sz > (size_t) _MAX_BYTES && __new_sz > (size_t) _MAX_BYTES) in reallocate()
590 if (_S_round_up(__old_sz) == _S_round_up(__new_sz)) in reallocate()
593 __copy_sz = __new_sz > __old_sz? __old_sz : __new_sz; in reallocate()
595 deallocate(__p, __old_sz); in reallocate()
Dpthread_allocimpl.h207 static void * reallocate(void *__p, size_t __old_sz, size_t __new_sz);
370 ::reallocate(void *__p, size_t __old_sz, size_t __new_sz) in reallocate() argument
375 if (__old_sz > _Max_size in reallocate()
379 if (_S_round_up(__old_sz) == _S_round_up(__new_sz)) return(__p); in reallocate()
381 __copy_sz = __new_sz > __old_sz? __old_sz : __new_sz; in reallocate()
383 deallocate(__p, __old_sz); in reallocate()
/openbsd/src/gnu/llvm/libcxx/include/
Dstring1859 void __grow_by(size_type __old_cap, size_type __delta_cap, size_type __old_sz,
1862 void __grow_by_and_replace(size_type __old_cap, size_type __delta_cap, size_type __old_sz,
2369 (size_type __old_cap, size_type __delta_cap, size_type __old_sz,
2388 size_type __sec_cp_sz = __old_sz - __n_del - __n_copy;
2396 __old_sz = __n_copy + __n_add + __sec_cp_sz;
2397 __set_long_size(__old_sz);
2398 traits_type::assign(__p[__old_sz], value_type());
2404 …rT, _Traits, _Allocator>::__grow_by(size_type __old_cap, size_type __delta_cap, size_type __old_sz,
2421 size_type __sec_cp_sz = __old_sz - __n_del - __n_copy;