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
107 if (ret && collect_memory_statistics) { in _mysqlnd_emalloc()
120 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pemalloc() local
147 if (ret && collect_memory_statistics) { in _mysqlnd_pemalloc()
163 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_ecalloc() local
191 if (ret && collect_memory_statistics) { in _mysqlnd_ecalloc()
204 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pecalloc() local
230 if (ret && collect_memory_statistics) { in _mysqlnd_pecalloc()
246 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_erealloc() local
247 …size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_erealloc()
274 if (ret && collect_memory_statistics) { in _mysqlnd_erealloc()
287 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_perealloc() local
288 …size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_perealloc()
316 if (ret && collect_memory_statistics) { in _mysqlnd_perealloc()
331 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_efree() local
343 if (collect_memory_statistics) { in _mysqlnd_efree()
350 if (collect_memory_statistics) { in _mysqlnd_efree()
362 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pefree() local
374 if (collect_memory_statistics) { in _mysqlnd_pefree()
381 if (collect_memory_statistics) { in _mysqlnd_pefree()
394 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_malloc() local
420 if (ret && collect_memory_statistics) { in _mysqlnd_malloc()
433 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_calloc() local
459 if (ret && collect_memory_statistics) { in _mysqlnd_calloc()
472 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_realloc() local
501 if (ret && collect_memory_statistics) { in _mysqlnd_realloc()
514 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_free() local
526 if (collect_memory_statistics) { in _mysqlnd_free()
533 if (collect_memory_statistics) { in _mysqlnd_free()
549 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pestrndup() local
571 if (collect_memory_statistics) { in _mysqlnd_pestrndup()
587 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pestrdup() local
603 if (ret && collect_memory_statistics) { in _mysqlnd_pestrdup()