Lines Matching refs:collect_memory_statistics

72 #define REAL_SIZE(s) (collect_memory_statistics? (s) + sizeof(size_t) : (s))
73 #define REAL_PTR(p) (collect_memory_statistics && (p)? (((char *)(p)) - sizeof(size_t)) : (p))
74 #define FAKE_PTR(p) (collect_memory_statistics && (p)? (((char *)(p)) + sizeof(size_t)) : (p))
80 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_emalloc() local
103 if (ret && collect_memory_statistics) { in _mysqlnd_emalloc()
116 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pemalloc() local
139 if (ret && collect_memory_statistics) { in _mysqlnd_pemalloc()
155 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_ecalloc() local
180 if (ret && collect_memory_statistics) { in _mysqlnd_ecalloc()
193 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pecalloc() local
215 if (ret && collect_memory_statistics) { in _mysqlnd_pecalloc()
231 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_erealloc() local
232 …size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_erealloc()
256 if (ret && collect_memory_statistics) { in _mysqlnd_erealloc()
269 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_perealloc() local
270 …size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_perealloc()
295 if (ret && collect_memory_statistics) { in _mysqlnd_perealloc()
310 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_efree() local
322 if (collect_memory_statistics) { in _mysqlnd_efree()
329 if (collect_memory_statistics) { in _mysqlnd_efree()
341 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pefree() local
353 if (collect_memory_statistics) { in _mysqlnd_pefree()
360 if (collect_memory_statistics) { in _mysqlnd_pefree()
373 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_malloc() local
395 if (ret && collect_memory_statistics) { in _mysqlnd_malloc()
408 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_calloc() local
430 if (ret && collect_memory_statistics) { in _mysqlnd_calloc()
443 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_realloc() local
470 if (ret && collect_memory_statistics) { in _mysqlnd_realloc()
483 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_free() local
495 if (collect_memory_statistics) { in _mysqlnd_free()
502 if (collect_memory_statistics) { in _mysqlnd_free()
514 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pememdup() local
531 if (collect_memory_statistics) { in _mysqlnd_pememdup()
545 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pestrndup() local
567 if (collect_memory_statistics) { in _mysqlnd_pestrndup()
588 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pestrdup() local
604 if (ret && collect_memory_statistics) { in _mysqlnd_pestrdup()