Searched defs:old_size (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_alloc.c802 static void zend_mm_chunk_truncate(zend_mm_heap *heap, void *addr, size_t old_size, size_t new_size) argument
806 heap->storage->chunk_truncate(heap->storage, addr, old_size, new_size);
810 zend_mm_munmap((char*)addr + new_size, old_size - new_size);
1384 size_t old_size; local
1397 old_size = zend_mm_get_huge_block_size(heap, ptr ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
1407 if (new_size == old_size) {
1415 } else if (new_size < old_size) {
1417 zend_mm_chunk_truncate(heap, ptr, old_size, new_size);
1419 heap->real_size -= old_size - new_size;
1422 heap->size -= old_size
[all...]
H A Dzend_ast.c30 static inline void *zend_ast_realloc(void *old, size_t old_size, size_t new_size) { argument
32 memcpy(new, old, old_size);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_alloc.c247 size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : 0; local
259 TRACE_ALLOC_INF_FMT("ptr=%p old_size=%lu, new_size=%lu", ptr, old_size, new_size);
288 size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : 0; local
300 TRACE_ALLOC_INF_FMT("ptr=%p old_size=%lu new_size=%lu persistent=%u", ptr, old_size, new_size, persistent);

Completed in 8 milliseconds