Home
last modified time | relevance | path

Searched refs:old_size (Results 1 – 4 of 4) sorted by relevance

/PHP-7.1/Zend/
H A Dzend_alloc.c807 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 Dzend_alloc.h299 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 Dzend_ast.c35 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 Dmysqlnd_alloc.c249 …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