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
146 if (ret && collect_memory_statistics) { in _mysqlnd_pemalloc()
162 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_ecalloc() local
189 if (ret && collect_memory_statistics) { in _mysqlnd_ecalloc()
202 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pecalloc() local
228 if (ret && collect_memory_statistics) { in _mysqlnd_pecalloc()
244 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_erealloc() local
245 …size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_erealloc()
271 if (ret && collect_memory_statistics) { in _mysqlnd_erealloc()
284 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_perealloc() local
285 …size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_perealloc()
312 if (ret && collect_memory_statistics) { in _mysqlnd_perealloc()
327 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_efree() local
338 if (collect_memory_statistics) { in _mysqlnd_efree()
345 if (collect_memory_statistics) { in _mysqlnd_efree()
357 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pefree() local
368 if (collect_memory_statistics) { in _mysqlnd_pefree()
375 if (collect_memory_statistics) { in _mysqlnd_pefree()
387 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_malloc() local
412 if (ret && collect_memory_statistics) { in _mysqlnd_malloc()
425 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_calloc() local
450 if (ret && collect_memory_statistics) { in _mysqlnd_calloc()
463 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_realloc() local
491 if (ret && collect_memory_statistics) { in _mysqlnd_realloc()
504 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_free() local
515 if (collect_memory_statistics) { in _mysqlnd_free()
522 if (collect_memory_statistics) { in _mysqlnd_free()
538 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pestrndup() local
559 if (collect_memory_statistics) { in _mysqlnd_pestrndup()
575 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pestrdup() local
591 if (ret && collect_memory_statistics) { in _mysqlnd_pestrdup()