Searched refs:newPtr (Results 1 – 2 of 2) sorted by relevance
/PHP-8.3/ext/gd/libgd/ |
H A D | gd_io_dp.c | 333 void *newPtr; in gdReallocDynamic() local 336 if ((newPtr = gdRealloc(dp->data, required))) { in gdReallocDynamic() 338 dp->data = newPtr; in gdReallocDynamic() 343 newPtr = gdMalloc(required); in gdReallocDynamic() 346 memcpy(newPtr, dp->data, dp->logicalSize); in gdReallocDynamic() 348 dp->data = newPtr; in gdReallocDynamic()
|
/PHP-8.3/sapi/phpdbg/ |
H A D | phpdbg_watch.c | 137 bool phpdbg_check_watch_diff(phpdbg_watchtype type, void *oldPtr, void *newPtr) { in phpdbg_check_watch_diff() argument 146 return memcmp(oldPtr, newPtr, sizeof(zend_value) + sizeof(uint32_t) /* value + typeinfo */) != 0; in phpdbg_check_watch_diff() 148 return zend_hash_num_elements(HT_PTR_HT(oldPtr)) != zend_hash_num_elements(HT_PTR_HT(newPtr)); in phpdbg_check_watch_diff() 150 return memcmp(oldPtr, newPtr, sizeof(uint32_t) /* no zend_refcounted metadata info */) != 0; in phpdbg_check_watch_diff() 159 void phpdbg_print_watch_diff(phpdbg_watchtype type, zend_string *name, void *oldPtr, void *newPtr) { in phpdbg_print_watch_diff() argument 179 while (Z_TYPE_P((zval *) newPtr) == IS_INDIRECT) { in phpdbg_print_watch_diff() 180 newPtr = Z_INDIRECT_P((zval *) newPtr); in phpdbg_print_watch_diff() 183 phpdbg_out("New value%s: ", Z_ISREF_P((zval *) newPtr) ? " (reference)" : ""); in phpdbg_print_watch_diff() 184 zend_print_flat_zval_r((zval *) newPtr); in phpdbg_print_watch_diff() 199 phpdbg_writeln("New refcount: %d", GC_REFCOUNT((zend_refcounted *) newPtr)); in phpdbg_print_watch_diff() [all …]
|
Completed in 14 milliseconds