Lines Matching refs:new_size

243 void * _mysqlnd_erealloc(void *ptr, size_t new_size MYSQLND_MEM_D)  in _mysqlnd_erealloc()
259 TRACE_ALLOC_INF_FMT("ptr=%p old_size=%lu, new_size=%lu", ptr, old_size, new_size); in _mysqlnd_erealloc()
265 …ret = _erealloc(REAL_PTR(ptr), REAL_SIZE(new_size), 0 ZEND_FILE_LINE_CC ZEND_FILE_LINE_ORIG_RELAY_… in _mysqlnd_erealloc()
275 *(size_t *) ret = new_size; in _mysqlnd_erealloc()
276 …QLND_INC_GLOBAL_STATISTIC_W_VALUE2(STAT_MEM_EREALLOC_COUNT, 1, STAT_MEM_EREALLOC_AMOUNT, new_size); in _mysqlnd_erealloc()
284 void * _mysqlnd_perealloc(void *ptr, size_t new_size, zend_bool persistent MYSQLND_MEM_D) in _mysqlnd_perealloc() argument
300 …TRACE_ALLOC_INF_FMT("ptr=%p old_size=%lu new_size=%lu persistent=%u", ptr, old_size, new_size, p… in _mysqlnd_perealloc()
306 ret = perealloc(REAL_PTR(ptr), REAL_SIZE(new_size), persistent); in _mysqlnd_perealloc()
319 *(size_t *) ret = new_size; in _mysqlnd_perealloc()
320 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, new_size); in _mysqlnd_perealloc()
469 void * _mysqlnd_realloc(void *ptr, size_t new_size MYSQLND_MEM_D) in _mysqlnd_realloc()
484 TRACE_ALLOC_INF_FMT("ptr=%p new_size=%lu ", new_size, ptr); in _mysqlnd_realloc()
491 ret = realloc(REAL_PTR(ptr), REAL_SIZE(new_size)); in _mysqlnd_realloc()
502 *(size_t *) ret = new_size; in _mysqlnd_realloc()
503 …YSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(STAT_MEM_REALLOC_COUNT, 1, STAT_MEM_REALLOC_AMOUNT, new_size); in _mysqlnd_realloc()
679 static void * mysqlnd_zend_mm_erealloc(void *ptr, size_t new_size MYSQLND_MEM_D) in mysqlnd_zend_mm_erealloc()
681 return erealloc(ptr, new_size); in mysqlnd_zend_mm_erealloc()
687 static void * mysqlnd_zend_mm_perealloc(void *ptr, size_t new_size, zend_bool persistent MYSQLND_ME… in mysqlnd_zend_mm_perealloc() argument
689 return perealloc(ptr, new_size, persistent); in mysqlnd_zend_mm_perealloc()
727 static void * mysqlnd_zend_mm_realloc(void * ptr, size_t new_size MYSQLND_MEM_D) in mysqlnd_zend_mm_realloc()
729 return realloc(ptr, new_size); in mysqlnd_zend_mm_realloc()