Searched refs:newPtr (Results 1 – 2 of 2) sorted by relevance
/php-src/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-src/sapi/phpdbg/ |
H A D | phpdbg_watch.c | 138 bool phpdbg_check_watch_diff(phpdbg_watchtype type, void *oldPtr, void *newPtr) { in phpdbg_check_watch_diff() argument 147 return memcmp(oldPtr, newPtr, sizeof(zend_value) + sizeof(uint32_t) /* value + typeinfo */) != 0; in phpdbg_check_watch_diff() 149 return zend_hash_num_elements(HT_PTR_HT(oldPtr)) != zend_hash_num_elements(HT_PTR_HT(newPtr)); in phpdbg_check_watch_diff() 151 return memcmp(oldPtr, newPtr, sizeof(uint32_t) /* no zend_refcounted metadata info */) != 0; in phpdbg_check_watch_diff() 160 void phpdbg_print_watch_diff(phpdbg_watchtype type, zend_string *name, void *oldPtr, void *newPtr) { in phpdbg_print_watch_diff() argument 180 while (Z_TYPE_P((zval *) newPtr) == IS_INDIRECT) { in phpdbg_print_watch_diff() 181 newPtr = Z_INDIRECT_P((zval *) newPtr); in phpdbg_print_watch_diff() 184 phpdbg_out("New value%s: ", Z_ISREF_P((zval *) newPtr) ? " (reference)" : ""); in phpdbg_print_watch_diff() 185 zend_print_flat_zval_r((zval *) newPtr); in phpdbg_print_watch_diff() 200 phpdbg_writeln("New refcount: %d", GC_REFCOUNT((zend_refcounted *) newPtr)); in phpdbg_print_watch_diff() [all …]
|
Completed in 13 milliseconds