Lines Matching refs:newPtr
132 zend_bool phpdbg_check_watch_diff(phpdbg_watchtype type, void *oldPtr, void *newPtr) { in phpdbg_check_watch_diff() argument
135 …if (memcmp(&((Bucket *) oldPtr)->h, &((Bucket *) newPtr)->h, sizeof(Bucket) - sizeof(zval) /* key/… in phpdbg_check_watch_diff()
139 return memcmp(oldPtr, newPtr, sizeof(zend_value) + sizeof(uint32_t) /* value + typeinfo */) != 0; in phpdbg_check_watch_diff()
141 return zend_hash_num_elements(HT_PTR_HT(oldPtr)) != zend_hash_num_elements(HT_PTR_HT(newPtr)); in phpdbg_check_watch_diff()
143 return memcmp(oldPtr, newPtr, sizeof(uint32_t) /* no zend_refcounted metadata info */) != 0; in phpdbg_check_watch_diff()
145 …return memcmp(oldPtr, newPtr, *(size_t *) oldPtr + XtOffsetOf(zend_string, val) - XtOffsetOf(zend_… in phpdbg_check_watch_diff()
152 void phpdbg_print_watch_diff(phpdbg_watchtype type, zend_string *name, void *oldPtr, void *newPtr) { in phpdbg_print_watch_diff() argument
175 while (Z_TYPE_P((zval *) newPtr) == IS_INDIRECT) { in phpdbg_print_watch_diff()
176 newPtr = Z_INDIRECT_P((zval *) newPtr); in phpdbg_print_watch_diff()
179 phpdbg_out("New value%s: ", Z_ISREF_P((zval *) newPtr) ? " (reference)" : ""); in phpdbg_print_watch_diff()
180 …phpdbg_xml("<watchvalue %r%s type=\"new\">", Z_ISREF_P((zval *) newPtr) ? " reference=\"reference\… in phpdbg_print_watch_diff()
181 zend_print_flat_zval_r((zval *) newPtr); in phpdbg_print_watch_diff()
187 …lementDiff = zend_hash_num_elements(HT_PTR_HT(oldPtr)) - zend_hash_num_elements(HT_PTR_HT(newPtr)); in phpdbg_print_watch_diff()
197 …unt", "type=\"new\" refcount=\"%d\"", "New refcount: %d", GC_REFCOUNT((zend_refcounted *) newPtr)); in phpdbg_print_watch_diff()
209 …zend_write((char *) newPtr + XtOffsetOf(zend_string, val) - XtOffsetOf(zend_string, len), *(size_t… in phpdbg_print_watch_diff()