Searched refs:old_size (Results 1 – 4 of 4) sorted by relevance
/PHP-7.1/Zend/ |
H A D | zend_alloc.c | 807 return (zend_mm_mmap_fixed((char*)addr + old_size, new_size - old_size) != NULL); 1429 size_t old_size; local 1460 if (new_size == old_size) { 1467 } else if (new_size < old_size) { 1471 heap->real_size -= old_size - new_size; 1474 heap->size -= old_size - new_size; 1501 heap->real_size += new_size - old_size; 1505 heap->size += new_size - old_size; 1530 old_size = bin_data_size[old_bin_num]; 1550 if (new_size == old_size) { [all …]
|
H A D | zend_alloc.h | 299 typedef int (*zend_mm_chunk_truncate_t)(zend_mm_storage *storage, void *chunk, size_t old_size, s… 300 typedef int (*zend_mm_chunk_extend_t)(zend_mm_storage *storage, void *chunk, size_t old_size, siz…
|
H A D | zend_ast.c | 35 static inline void *zend_ast_realloc(void *old, size_t old_size, size_t new_size) { in zend_ast_realloc() argument 37 memcpy(new, old, old_size); in zend_ast_realloc()
|
/PHP-7.1/ext/mysqlnd/ |
H A D | mysqlnd_alloc.c | 249 …size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_erealloc() local 261 TRACE_ALLOC_INF_FMT("ptr=%p old_size=%lu, new_size=%lu", ptr, old_size, new_size); in _mysqlnd_erealloc() 290 …size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_perealloc() local 302 …TRACE_ALLOC_INF_FMT("ptr=%p old_size=%lu new_size=%lu persistent=%u", ptr, old_size, new_size, p… in _mysqlnd_perealloc()
|
Completed in 31 milliseconds