Lines Matching refs:FAKE_PTR
74 #define FAKE_PTR(p) (collect_memory_statistics && (p)? (((char *)(p)) + sizeof(size_t)) : (p)) macro
111 DBG_RETURN(FAKE_PTR(ret)); in _mysqlnd_emalloc()
153 DBG_RETURN(FAKE_PTR(ret)); in _mysqlnd_pemalloc()
193 DBG_RETURN(FAKE_PTR(ret)); in _mysqlnd_ecalloc()
235 DBG_RETURN(FAKE_PTR(ret)); in _mysqlnd_pecalloc()
275 DBG_RETURN(FAKE_PTR(ret)); in _mysqlnd_erealloc()
318 DBG_RETURN(FAKE_PTR(ret)); in _mysqlnd_perealloc()
416 DBG_RETURN(FAKE_PTR(ret)); in _mysqlnd_malloc()
454 DBG_RETURN(FAKE_PTR(ret)); in _mysqlnd_calloc()
495 DBG_RETURN(FAKE_PTR(ret)); in _mysqlnd_realloc()
552 char * dest = (char *) FAKE_PTR(ret); in _mysqlnd_pestrndup()
564 DBG_RETURN(FAKE_PTR(ret)); in _mysqlnd_pestrndup()
589 memcpy(FAKE_PTR(ret), tmp_str.c, tmp_str.len); in _mysqlnd_pestrdup()
597 DBG_RETURN(FAKE_PTR(ret)); in _mysqlnd_pestrdup()