Home
last modified time | relevance | path

Searched refs:perealloc (Results 1 – 17 of 17) sorted by relevance

/PHP-7.4/main/streams/
H A Dphp_streams_int.h35 # define perealloc_rel_orig(ptr, size, persistent) perealloc((ptr), (size), (persistent))
H A Dfilter.c372 stream->readbuf = perealloc(stream->readbuf, stream->readbuflen, stream->is_persistent); in php_stream_filter_append_ex()
462 …stream->readbuf = perealloc(stream->readbuf, stream->writepos + flushed_size + stream->chunk_size,… in _php_stream_filter_flush()
H A Dstreams.c611 stream->readbuf = perealloc(stream->readbuf, stream->readbuflen, in _php_stream_fill_read_buffer()
664 stream->readbuf = perealloc(stream->readbuf, stream->readbuflen, in _php_stream_fill_read_buffer()
/PHP-7.4/Zend/
H A Dzend_smart_str.c55 str->s = (zend_string *) perealloc(str->s, str->a + _ZSTR_HEADER_SIZE + 1, 1); in smart_str_realloc()
145 str->c = perealloc(str->c, str->a + 1, 1); in _smart_string_alloc_persistent()
H A Dzend_ptr_stack.h51 …stack->elements = (void **) perealloc(stack->elements, (sizeof(void *) * (stack->max)), stack->per… in END_EXTERN_C()
H A Dzend_string.h188 ret = (zend_string *)perealloc(s, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)), persistent); in zend_string_realloc()
209 ret = (zend_string *)perealloc(s, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)), persistent); in zend_string_extend()
230 ret = (zend_string *)perealloc(s, ZEND_MM_ALIGNED_SIZE(_ZSTR_STRUCT_SIZE(len)), persistent); in zend_string_truncate()
H A Dzend_alloc.h205 #define perealloc(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc((ptr)… macro
H A Dzend.c1748 CG(map_ptr_base) = perealloc(CG(map_ptr_base), CG(map_ptr_size) * sizeof(void*), 1); in zend_map_ptr_new()
1777 CG(map_ptr_base) = perealloc(CG(map_ptr_base), CG(map_ptr_size) * sizeof(void*), 1); in zend_map_ptr_extend()
H A Dzend_gc.c548 GC_G(buf) = perealloc(GC_G(buf), sizeof(gc_root_buffer) * new_size, 1); in gc_grow_root_buffer()
H A Dzend_API.c3732 …ce->default_static_members_table = perealloc(ce->default_static_members_table, sizeof(zval) * ce->… in zend_declare_typed_property()
3758 …ce->default_properties_table = perealloc(ce->default_properties_table, sizeof(zval) * ce->default_… in zend_declare_typed_property()
3762 …ce->properties_info_table = perealloc(ce->properties_info_table, sizeof(zend_property_info *) * ce… in zend_declare_typed_property()
H A Dzend_alloc.c2600 return perealloc(ptr, zend_safe_address_guarded(nmemb, size, offset), 1);
/PHP-7.4/ext/standard/
H A Duser_filters.c464 bucket->buf = perealloc(bucket->buf, Z_STRLEN_P(pzdata), bucket->is_persistent); in php_stream_bucket_attach()
H A Dfilters.c1546 new_out_buf = perealloc(out_buf, new_out_buf_size, persistent); in strfilter_convert_append_bucket()
1608 new_out_buf = perealloc(out_buf, new_out_buf_size, persistent); in strfilter_convert_append_bucket()
/PHP-7.4/sapi/cli/
H A Dphp_cli_server.c1650 …client->request.query_string = perealloc(client->request.query_string, client->request.query_strin… in php_cli_server_client_read_request_on_query_string()
1668 …client->request.request_uri = perealloc(client->request.request_uri, client->request.request_uri_l… in php_cli_server_client_read_request_on_url()
1718 client->current_header_name = perealloc(client->current_header_name, new_length + 1, 1); in php_cli_server_client_read_request_on_header_field()
1750 client->current_header_value = perealloc(client->current_header_value, new_length + 1, 1); in php_cli_server_client_read_request_on_header_value()
1791 …client->request.content = perealloc(client->request.content, client->request.content_len + length,… in php_cli_server_client_read_request_on_body()
/PHP-7.4/ext/iconv/
H A Diconv.c2694 new_out_buf = perealloc(out_buf, new_out_buf_size, persistent); in php_iconv_stream_filter_append_bucket()
2762 new_out_buf = perealloc(out_buf, new_out_buf_size, persistent); in php_iconv_stream_filter_append_bucket()
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c4264 CG(map_ptr_base) = perealloc(CG(map_ptr_base), CG(map_ptr_size) * sizeof(void*), 1); in preload_load()
/PHP-7.4/ext/mbstring/
H A Dmbstring.c650 return perealloc(ptr, sz, 1); in _php_mb_allocators_prealloc()

Completed in 98 milliseconds