Lines Matching refs:FAKE_PTR
67 #define FAKE_PTR(p) (collect_memory_statistics && (p)? (((char *)(p)) + EXTRA_SIZE) : (p)) macro
83 TRACE_ALLOC_RETURN(FAKE_PTR(ret)); in _mysqlnd_emalloc()
105 TRACE_ALLOC_RETURN(FAKE_PTR(ret)); in _mysqlnd_pemalloc()
125 TRACE_ALLOC_RETURN(FAKE_PTR(ret)); in _mysqlnd_ecalloc()
147 TRACE_ALLOC_RETURN(FAKE_PTR(ret)); in _mysqlnd_pecalloc()
167 TRACE_ALLOC_RETURN(FAKE_PTR(ret)); in _mysqlnd_erealloc()
190 TRACE_ALLOC_RETURN(FAKE_PTR(ret)); in _mysqlnd_perealloc()
275 char * dest = (char *) FAKE_PTR(ret); in _mysqlnd_pememdup()
284 TRACE_ALLOC_RETURN(FAKE_PTR(ret)); in _mysqlnd_pememdup()
308 char * dest = (char *) FAKE_PTR(ret); in _mysqlnd_pestrndup()
320 TRACE_ALLOC_RETURN(FAKE_PTR(ret)); in _mysqlnd_pestrndup()
350 memcpy(FAKE_PTR(ret), ZSTR_VAL(tmp_str.s), ZSTR_LEN(tmp_str.s)); in _mysqlnd_pestrdup()
358 TRACE_ALLOC_RETURN(FAKE_PTR(ret)); in _mysqlnd_pestrdup()