Lines Matching refs:collect_memory_statistics

65 #define REAL_SIZE(s) (collect_memory_statistics? (s) + EXTRA_SIZE : (s))
66 #define REAL_PTR(p) (collect_memory_statistics && (p)? (((char *)(p)) - EXTRA_SIZE) : (p))
67 #define FAKE_PTR(p) (collect_memory_statistics && (p)? (((char *)(p)) + EXTRA_SIZE) : (p))
73 bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_emalloc() local
79 if (collect_memory_statistics) { in _mysqlnd_emalloc()
92 bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pemalloc() local
98 if (collect_memory_statistics) { in _mysqlnd_pemalloc()
114 bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_ecalloc() local
121 if (collect_memory_statistics) { in _mysqlnd_ecalloc()
134 bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pecalloc() local
140 if (collect_memory_statistics) { in _mysqlnd_pecalloc()
156 bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_erealloc() local
157 …size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_erealloc()
163 if (collect_memory_statistics) { in _mysqlnd_erealloc()
176 bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_perealloc() local
177 …size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_perealloc()
184 if (collect_memory_statistics) { in _mysqlnd_perealloc()
199 bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_efree() local
211 if (collect_memory_statistics) { in _mysqlnd_efree()
218 if (collect_memory_statistics) { in _mysqlnd_efree()
230 bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pefree() local
242 if (collect_memory_statistics) { in _mysqlnd_pefree()
249 if (collect_memory_statistics) { in _mysqlnd_pefree()
262 bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pememdup() local
279 if (collect_memory_statistics) { in _mysqlnd_pememdup()
293 bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pestrndup() local
315 if (collect_memory_statistics) { in _mysqlnd_pestrndup()
335 bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pestrdup() local
351 if (ret && collect_memory_statistics) { in _mysqlnd_pestrdup()