Searched refs:__old_sz (Results 1 – 2 of 2) sorted by relevance
/haiku/headers/cpp/ |
H A D | stl_alloc.h | 271 static void* reallocate(void* __p, size_t __old_sz, size_t __new_sz) in reallocate() argument 274 assert(*(size_t*)__real_p == __old_sz); in reallocate() 276 _Alloc::reallocate(__real_p, __old_sz + _S_extra, __new_sz + _S_extra); in reallocate() 451 static void* reallocate(void* __p, size_t __old_sz, size_t __new_sz); 564 size_t __old_sz, in reallocate() argument 570 if (__old_sz > (size_t) _MAX_BYTES && __new_sz > (size_t) _MAX_BYTES) { in reallocate() 573 if (_S_round_up(__old_sz) == _S_round_up(__new_sz)) return(__p); in reallocate() 575 __copy_sz = __new_sz > __old_sz? __old_sz : __new_sz; in reallocate() 577 deallocate(__p, __old_sz); in reallocate()
|
H A D | pthread_alloc | 168 static void * reallocate(void *__p, size_t __old_sz, size_t __new_sz); 322 ::reallocate(void *__p, size_t __old_sz, size_t __new_sz) 327 if (__old_sz > _Max_size 331 if (_S_round_up(__old_sz) == _S_round_up(__new_sz)) return(__p); 333 __copy_sz = __new_sz > __old_sz? __old_sz : __new_sz; 335 deallocate(__p, __old_sz);
|