/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg_btree.c | 28 # undef pemalloc 30 # define pemalloc(size, persistent) malloc(size) macro 163 …phpdbg_btree_branch *memory = *branch = pemalloc((i + 2) * sizeof(phpdbg_btree_branch), tree->pers… in phpdbg_btree_insert_or_update()
|
/PHP-7.3/main/streams/ |
H A D | filter.c | 78 bucket = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), is_persistent); in php_stream_bucket_new() 83 bucket->buf = pemalloc(buflen, 1); in php_stream_bucket_new() 116 retval = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), bucket->is_persistent); in php_stream_bucket_make_writeable() 119 retval->buf = pemalloc(retval->buflen, retval->is_persistent); in php_stream_bucket_make_writeable() 135 (*left)->buf = pemalloc(length, in->is_persistent); in php_stream_bucket_split() 143 (*right)->buf = pemalloc((*right)->buflen, in->is_persistent); in php_stream_bucket_split()
|
H A D | php_streams_int.h | 34 # define pemalloc_rel_orig(size, persistent) pemalloc((size), (persistent))
|
/PHP-7.3/ext/gd/libgd/ |
H A D | gdhelpers.h | 20 #define gdPMalloc(ptr) pemalloc(ptr, 1)
|
/PHP-7.3/ext/standard/ |
H A D | filters.c | 180 if (NULL == (inst->allowed_tags = pemalloc(ZSTR_LEN(allowed_tags) + 1, persistent))) { in php_strip_tags_filter_ctor() 253 inst = pemalloc(sizeof(php_strip_tags_filter), persistent); in strfilter_strip_tags_create() 1220 *pretval = pemalloc(ZSTR_LEN(str) + 1, persistent); in php_conv_get_string_prop_ex() 1313 retval = pemalloc(sizeof(php_conv_base64_encode), persistent); in php_conv_open() 1330 retval = pemalloc(sizeof(php_conv_base64_decode), persistent); in php_conv_open() 1365 retval = pemalloc(sizeof(php_conv_qprint_encode), persistent); in php_conv_open() 1388 retval = pemalloc(sizeof(php_conv_qprint_decode), persistent); in php_conv_open() 1483 out_buf = pemalloc(out_buf_size, persistent); in strfilter_convert_append_bucket() 1536 out_buf = pemalloc(out_buf_size, persistent); in strfilter_convert_append_bucket() 1598 out_buf = pemalloc(out_buf_size, persistent); in strfilter_convert_append_bucket() [all …]
|
H A D | browscap.c | 397 = pemalloc(sizeof(browscap_entry), persistent); in php_browscap_parser_cb() 440 browdata->htab = pemalloc(sizeof *browdata->htab, persistent); in browscap_read_file() 446 browdata->kv = pemalloc(sizeof(browscap_kv) * browdata->kv_size, persistent); in browscap_read_file()
|
/PHP-7.3/ext/dba/ |
H A D | dba_flatfile.c | 42 info->dbf = pemalloc(sizeof(flatfile), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_qdbm.c | 60 info->dbf = pemalloc(sizeof(dba_qdbm_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_db1.c | 79 dba = pemalloc(sizeof(*dba), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_dbm.c | 83 info->dbf = pemalloc(sizeof(dba_dbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_tcadb.c | 70 info->dbf = pemalloc(sizeof(dba_tcadb_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_db2.c | 80 info->dbf = pemalloc(sizeof(dba_db2_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_gdbm.c | 61 info->dbf = pemalloc(sizeof(dba_gdbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_db3.c | 102 data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT);
|
H A D | dba_cdb.c | 100 cdb = pemalloc(sizeof(dba_cdb), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_db4.c | 131 data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT);
|
/PHP-7.3/Zend/ |
H A D | zend_hash.h | 647 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_add_mem() 660 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_add_new_mem() 673 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_add_mem() 686 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_add_new_mem() 697 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_update_mem() 706 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_update_mem() 745 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_index_add_mem() 770 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_index_update_mem() 781 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_next_index_insert_mem()
|
H A D | zend_llist.c | 36 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_add_element() 54 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_prepend_element()
|
H A D | zend_multibyte.c | 53 *return_list = pemalloc(0, persistent); in dummy_encoding_list_parser()
|
H A D | zend_smart_str.c | 138 str->c = pemalloc(str->a + 1, 1); in _smart_string_alloc_persistent()
|
H A D | zend_inheritance.c | 50 zend_property_info* new_property_info = pemalloc(sizeof(zend_property_info), 1); in zend_duplicate_property_info_internal() 63 new_function = pemalloc(sizeof(zend_internal_function), 1); in zend_duplicate_function() 787 c = pemalloc(sizeof(zend_class_constant), 1); in do_inherit_class_constant() 831 …zval *table = pemalloc(sizeof(zval) * (ce->default_properties_count + parent_ce->default_propertie… in zend_do_inheritance() 844 …end = pemalloc(sizeof(zval) * parent_ce->default_properties_count, ce->type == ZEND_INTERNAL_CLASS… in zend_do_inheritance() 878 …zval *table = pemalloc(sizeof(zval) * (ce->default_static_members_count + parent_ce->default_stati… in zend_do_inheritance() 891 …end = pemalloc(sizeof(zval) * parent_ce->default_static_members_count, ce->type == ZEND_INTERNAL_C… in zend_do_inheritance() 1027 ct = pemalloc(sizeof(zend_class_constant), 1); in do_inherit_iface_constant()
|
H A D | zend_constants.c | 62 Z_PTR_P(zv) = pemalloc(sizeof(zend_constant), 1); in copy_zend_constant() 479 zend_constant *copy = pemalloc(sizeof(zend_constant), ZEND_CONSTANT_FLAGS(c) & CONST_PERSISTENT); in zend_hash_add_constant()
|
/PHP-7.3/ext/bz2/ |
H A D | bz2_filter.c | 324 data->strm.next_in = data->inbuf = (char *) pemalloc(data->inbuf_len, persistent); in php_bz2_filter_create() 326 data->strm.next_out = data->outbuf = (char *) pemalloc(data->outbuf_len, persistent); in php_bz2_filter_create()
|
/PHP-7.3/ext/zlib/ |
H A D | zlib_filter.c | 298 data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent); in php_zlib_filter_create() 305 data->strm.next_out = data->outbuf = (Bytef *) pemalloc(data->outbuf_len, persistent); in php_zlib_filter_create()
|
/PHP-7.3/sapi/cli/ |
H A D | php_cli_server.c | 942 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); in php_cli_server_chunk_immortal_new() 953 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); in php_cli_server_chunk_heap_new() 965 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk) + len, 1); in php_cli_server_chunk_heap_new_self_contained() 1220 sa = pemalloc(sizeof(struct sockaddr_in6), 1); in php_network_listen_socket() 1227 sa = pemalloc(sizeof(struct sockaddr_in), 1); in php_network_listen_socket() 1623 char* field = pemalloc(new_length + 1, 1); in php_cli_server_client_read_request_on_header_field() 1671 client->current_header_value = pemalloc(1, 1); in php_cli_server_client_read_request_on_headers_complete() 1687 client->request.content = pemalloc(parser->content_length, 1); in php_cli_server_client_read_request_on_body() 2443 struct sockaddr *sa = pemalloc(server->socklen, 1); in php_cli_server_do_event_for_each_fd_callback() 2458 client = pemalloc(sizeof(php_cli_server_client), 1); in php_cli_server_do_event_for_each_fd_callback()
|