/PHP-8.1/sapi/phpdbg/ |
H A D | phpdbg_btree.c | 26 # undef pemalloc 28 # define pemalloc(size, persistent) malloc(size) macro 161 …phpdbg_btree_branch *memory = *branch = pemalloc((i + 2) * sizeof(phpdbg_btree_branch), tree->pers… in phpdbg_btree_insert_or_update()
|
/PHP-8.1/main/streams/ |
H A D | filter.c | 76 bucket = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), is_persistent); in php_stream_bucket_new() 81 bucket->buf = pemalloc(buflen, 1); in php_stream_bucket_new() 114 retval = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), bucket->is_persistent); in php_stream_bucket_make_writeable() 117 retval->buf = pemalloc(retval->buflen, retval->is_persistent); in php_stream_bucket_make_writeable() 133 (*left)->buf = pemalloc(length, in->is_persistent); in php_stream_bucket_split() 141 (*right)->buf = pemalloc((*right)->buflen, in->is_persistent); in php_stream_bucket_split()
|
H A D | php_streams_int.h | 32 # define pemalloc_rel_orig(size, persistent) pemalloc((size), (persistent))
|
/PHP-8.1/ext/gd/libgd/ |
H A D | gdhelpers.h | 20 #define gdPMalloc(ptr) pemalloc(ptr, 1)
|
/PHP-8.1/Zend/ |
H A D | zend_attributes.c | 213 *attributes = pemalloc(sizeof(HashTable), persistent); in zend_add_attribute() 217 zend_attribute *attr = pemalloc(ZEND_ATTRIBUTE_SIZE(argc), persistent); in zend_add_attribute() 255 internal_attr = pemalloc(sizeof(zend_internal_attribute), 1); in zend_internal_attribute_register()
|
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_hash.h | 706 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_add_mem() 719 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_add_new_mem() 732 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_add_mem() 745 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_add_new_mem() 756 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_update_mem() 765 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_update_mem() 804 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_index_add_mem() 829 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_index_update_mem() 840 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_next_index_insert_mem()
|
H A D | zend_multibyte.c | 53 *return_list = pemalloc(0, persistent); in dummy_encoding_list_parser()
|
H A D | zend_smart_str.c | 147 str->c = pemalloc(str->a + 1, 1); in _smart_string_alloc_persistent()
|
H A D | zend_constants.c | 65 Z_PTR_P(zv) = pemalloc(sizeof(zend_constant), 1); in copy_zend_constant() 554 zend_constant *copy = pemalloc(sizeof(zend_constant), ZEND_CONSTANT_FLAGS(c) & CONST_PERSISTENT); in zend_hash_add_constant()
|
H A D | zend_enum.c | 400 ce->backed_enum_table = pemalloc(sizeof(HashTable), 1); in zend_register_internal_enum() 423 char *p = pemalloc(size, 1); in create_enum_case_ast()
|
/PHP-8.1/ext/dba/ |
H A D | dba_flatfile.c | 40 info->dbf = pemalloc(sizeof(flatfile), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_qdbm.c | 58 info->dbf = pemalloc(sizeof(dba_qdbm_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_db1.c | 77 dba = pemalloc(sizeof(*dba), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_dbm.c | 81 info->dbf = pemalloc(sizeof(dba_dbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_tcadb.c | 68 info->dbf = pemalloc(sizeof(dba_tcadb_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_db2.c | 78 info->dbf = pemalloc(sizeof(dba_db2_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_gdbm.c | 59 info->dbf = pemalloc(sizeof(dba_gdbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_db3.c | 100 data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT);
|
H A D | dba_cdb.c | 98 cdb = pemalloc(sizeof(dba_cdb), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
/PHP-8.1/ext/standard/ |
H A D | filters.c | 1095 *pretval = pemalloc(ZSTR_LEN(str) + 1, persistent); in php_conv_get_string_prop_ex() 1188 retval = pemalloc(sizeof(php_conv_base64_encode), persistent); in php_conv_open() 1205 retval = pemalloc(sizeof(php_conv_base64_decode), persistent); in php_conv_open() 1240 retval = pemalloc(sizeof(php_conv_qprint_encode), persistent); in php_conv_open() 1263 retval = pemalloc(sizeof(php_conv_qprint_decode), persistent); in php_conv_open() 1358 out_buf = pemalloc(out_buf_size, persistent); in strfilter_convert_append_bucket() 1411 out_buf = pemalloc(out_buf_size, persistent); in strfilter_convert_append_bucket() 1473 out_buf = pemalloc(out_buf_size, persistent); in strfilter_convert_append_bucket() 1594 inst = pemalloc(sizeof(php_convert_filter), persistent); in strfilter_convert_create()
|
H A D | browscap.c | 377 = pemalloc(sizeof(browscap_entry), persistent); in php_browscap_parser_cb() 417 browdata->htab = pemalloc(sizeof *browdata->htab, persistent); in browscap_read_file() 423 browdata->kv = pemalloc(sizeof(browscap_kv) * browdata->kv_size, persistent); in browscap_read_file()
|
/PHP-8.1/ext/bz2/ |
H A D | bz2_filter.c | 328 data->strm.next_in = data->inbuf = (char *) pemalloc(data->inbuf_len, persistent); in php_bz2_filter_create() 330 data->strm.next_out = data->outbuf = (char *) pemalloc(data->outbuf_len, persistent); in php_bz2_filter_create()
|
/PHP-8.1/ext/zlib/ |
H A D | zlib_filter.c | 302 data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent); in php_zlib_filter_create() 309 data->strm.next_out = data->outbuf = (Bytef *) pemalloc(data->outbuf_len, persistent); in php_zlib_filter_create()
|
/PHP-8.1/sapi/cli/ |
H A D | php_cli_server.c | 973 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); in php_cli_server_chunk_immortal_new() 984 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); in php_cli_server_chunk_heap_new() 996 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk) + len, 1); in php_cli_server_chunk_heap_new_self_contained() 1258 sa = pemalloc(sizeof(struct sockaddr_in6), 1); in php_network_listen_socket() 1265 sa = pemalloc(sizeof(struct sockaddr_in), 1); in php_network_listen_socket() 1681 char* field = pemalloc(new_length + 1, 1); in php_cli_server_client_read_request_on_header_field() 1729 client->current_header_value = pemalloc(1, 1); in php_cli_server_client_read_request_on_headers_complete() 1745 client->request.content = pemalloc(parser->content_length, 1); in php_cli_server_client_read_request_on_body() 2604 struct sockaddr *sa = pemalloc(server->socklen, 1); in php_cli_server_do_event_for_each_fd_callback() 2622 client = pemalloc(sizeof(php_cli_server_client), 1); in php_cli_server_do_event_for_each_fd_callback()
|