Lines Matching refs:new_size

245 static void * _mysqlnd_erealloc(void *ptr, size_t new_size MYSQLND_MEM_D)  in _mysqlnd_erealloc()
261 TRACE_ALLOC_INF_FMT("ptr=%p old_size=%lu, new_size=%lu", ptr, old_size, new_size); in _mysqlnd_erealloc()
267 ret = erealloc_rel(REAL_PTR(ptr), REAL_SIZE(new_size)); in _mysqlnd_erealloc()
277 *(size_t *) ret = new_size; in _mysqlnd_erealloc()
278 …QLND_INC_GLOBAL_STATISTIC_W_VALUE2(STAT_MEM_EREALLOC_COUNT, 1, STAT_MEM_EREALLOC_AMOUNT, new_size); in _mysqlnd_erealloc()
286 static void * _mysqlnd_perealloc(void *ptr, size_t new_size, zend_bool persistent MYSQLND_MEM_D) in _mysqlnd_perealloc() argument
302 …TRACE_ALLOC_INF_FMT("ptr=%p old_size=%lu new_size=%lu persistent=%u", ptr, old_size, new_size, p… in _mysqlnd_perealloc()
308 ret = perealloc_rel(REAL_PTR(ptr), REAL_SIZE(new_size), persistent); in _mysqlnd_perealloc()
321 *(size_t *) ret = new_size; in _mysqlnd_perealloc()
322 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, new_size); in _mysqlnd_perealloc()
471 static void * _mysqlnd_realloc(void *ptr, size_t new_size MYSQLND_MEM_D) in _mysqlnd_realloc()
486 TRACE_ALLOC_INF_FMT("ptr=%p new_size=%lu ", new_size, ptr); in _mysqlnd_realloc()
493 ret = realloc(REAL_PTR(ptr), REAL_SIZE(new_size)); in _mysqlnd_realloc()
504 *(size_t *) ret = new_size; in _mysqlnd_realloc()
505 …YSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(STAT_MEM_REALLOC_COUNT, 1, STAT_MEM_REALLOC_AMOUNT, new_size); in _mysqlnd_realloc()
716 static void * mysqlnd_zend_mm_erealloc(void *ptr, size_t new_size MYSQLND_MEM_D) in mysqlnd_zend_mm_erealloc()
718 return erealloc_rel(ptr, new_size); in mysqlnd_zend_mm_erealloc()
724 static void * mysqlnd_zend_mm_perealloc(void *ptr, size_t new_size, zend_bool persistent MYSQLND_ME… in mysqlnd_zend_mm_perealloc() argument
726 return perealloc_rel(ptr, new_size, persistent); in mysqlnd_zend_mm_perealloc()
764 static void * mysqlnd_zend_mm_realloc(void * ptr, size_t new_size MYSQLND_MEM_D) in mysqlnd_zend_mm_realloc()
766 return realloc(ptr, new_size); in mysqlnd_zend_mm_realloc()