Lines Matching refs:debug
373 zend_mm_debug_info debug; member
375 zend_mm_debug_info debug; member
571 ((zend_mm_block*)(block))->debug.filename = __zend_filename; \
572 ((zend_mm_block*)(block))->debug.lineno = __zend_lineno; \
573 ((zend_mm_block*)(block))->debug.orig_filename = __zend_orig_filename; \
574 ((zend_mm_block*)(block))->debug.orig_lineno = __zend_orig_lineno; \
601 if ((block)->debug.start_magic != _mem_block_start_magic || \
608 (((char*)(ZEND_MM_DATA_OF(block))) + ((zend_mm_block*)(block))->debug.size)
614 ((zend_mm_block*)(block))->debug.size = (__size); \
616 ((zend_mm_block*)(block))->debug.start_magic = _mem_block_start_magic; \
627 ((zend_mm_block*)(block))->debug.size = (_size)
1231 if (p->debug.filename==b->debug.filename && p->debug.lineno==b->debug.lineno) { in zend_mm_find_leaks()
1273 leak.size = p->debug.size; in zend_mm_check_leaks()
1274 leak.filename = p->debug.filename; in zend_mm_check_leaks()
1275 leak.lineno = p->debug.lineno; in zend_mm_check_leaks()
1276 leak.orig_filename = p->debug.orig_filename; in zend_mm_check_leaks()
1277 leak.orig_lineno = p->debug.orig_lineno; in zend_mm_check_leaks()
1411 …loc_output("OK (allocated on %s:%d, %d bytes)\n", p->debug.filename, p->debug.lineno, (int)p->debu… in zend_mm_check_ptr()
1462 if (p->debug.start_magic == _mem_block_start_magic) { in zend_mm_check_ptr()
1476 overflow_ptr = (char *) &p->debug.start_magic; in zend_mm_check_ptr()
1484 …zend_debug_alloc_output("Overflown (magic=0x%0.8X instead of 0x%0.8X)\n", p->debug.start_magic, _m… in zend_mm_check_ptr()
2002 memset(ZEND_MM_DATA_OF(mm_block), 0x5a, mm_block->debug.size); in _zend_mm_free_int()
2115 memcpy(ptr, p, mm_block->debug.size); in _zend_mm_realloc_int()
2283 memcpy(ptr, p, mm_block->debug.size); in _zend_mm_realloc_int()
2316 return mm_block->debug.size; in _zend_mm_block_size()