Searched refs:old_size (Results 1 – 6 of 6) sorted by relevance
/php-src/Zend/ |
H A D | zend_alloc.c | 870 return (zend_mm_mmap_fixed((char*)addr + old_size, new_size - old_size) != NULL); 1590 size_t old_size; local 1614 if (new_size == old_size) { 1621 } else if (new_size < old_size) { 1678 size_t old_size; local 1715 if (size <= old_size) { 1735 copy_size = use_copy_size ? MIN(old_size, copy_size) : old_size; 1763 if (new_size == old_size) { 2993 size_t old_size = 0; local 2996 old_size = Z_LVAL_P(old_size_zv); [all …]
|
H A D | zend_alloc.h | 301 typedef bool (*zend_mm_chunk_truncate_t)(zend_mm_storage *storage, void *chunk, size_t old_size, … 302 typedef bool (*zend_mm_chunk_extend_t)(zend_mm_storage *storage, void *chunk, size_t old_size, si…
|
H A D | zend_ast.c | 35 static inline void *zend_ast_realloc(void *old, size_t old_size, size_t new_size) { in zend_ast_realloc() argument 37 memcpy(new, old, old_size); in zend_ast_realloc()
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_alloc.c | 157 …size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_erealloc() local 159 TRACE_ALLOC_INF_FMT("ptr=%p old_size=%zu, new_size=%zu", ptr, old_size, new_size); in _mysqlnd_erealloc() 177 …size_t old_size = collect_memory_statistics && ptr? *(size_t *) (((char*)ptr) - sizeof(size_t)) : … in _mysqlnd_perealloc() local 179 …TRACE_ALLOC_INF_FMT("ptr=%p old_size=%zu new_size=%zu persistent=%u", ptr, old_size, new_size, p… in _mysqlnd_perealloc()
|
/php-src/main/streams/ |
H A D | memory.c | 242 size_t old_size = ZSTR_LEN(ms->data); in php_stream_memory_set_option() local 244 memset(ZSTR_VAL(ms->data) + old_size, 0, newsize - old_size); in php_stream_memory_set_option()
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_match.c | 685 PCRE2_SIZE old_size = match_data->heapframes_size / 1024; in match() local 686 if (mb->heap_limit <= old_size) in match() 690 PCRE2_SIZE max_delta = 1024 * (mb->heap_limit - old_size); in match()
|
Completed in 41 milliseconds