Home
last modified time | relevance | path

Searched refs:old_size (Results 1 – 5 of 5) sorted by relevance

/PHP-8.1/Zend/
H A Dzend_alloc.c815 return (zend_mm_mmap_fixed((char*)addr + old_size, new_size - old_size) != NULL);
1466 size_t old_size; local
1490 if (new_size == old_size) {
1497 } else if (new_size < old_size) {
1554 size_t old_size; local
1586 if (size <= old_size) {
1606 copy_size = use_copy_size ? MIN(old_size, copy_size) : old_size;
1634 if (new_size == old_size) {
2820 size_t old_size = 0; local
2823 old_size = Z_LVAL_P(old_size_zv);
[all …]
H A Dzend_alloc.h299 typedef bool (*zend_mm_chunk_truncate_t)(zend_mm_storage *storage, void *chunk, size_t old_size, …
300 typedef bool (*zend_mm_chunk_extend_t)(zend_mm_storage *storage, void *chunk, size_t old_size, si…
H A Dzend_ast.c35 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-8.1/ext/mysqlnd/
H A Dmysqlnd_alloc.c157 …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-8.1/main/streams/
H A Dmemory.c238 size_t old_size = ZSTR_LEN(ms->data); in php_stream_memory_set_option() local
240 memset(ZSTR_VAL(ms->data) + old_size, 0, newsize - old_size); in php_stream_memory_set_option()

Completed in 43 milliseconds