Home
last modified time | relevance | path

Searched refs:pemalloc (Results 1 – 25 of 62) sorted by relevance

123

/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_btree.c28 # 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.4/main/streams/
H A Dfilter.c78 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 Dphp_streams_int.h34 # define pemalloc_rel_orig(size, persistent) pemalloc((size), (persistent))
/PHP-7.4/ext/gd/libgd/
H A Dgdhelpers.h20 #define gdPMalloc(ptr) pemalloc(ptr, 1)
/PHP-7.4/ext/dba/
H A Ddba_flatfile.c42 info->dbf = pemalloc(sizeof(flatfile), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_qdbm.c60 info->dbf = pemalloc(sizeof(dba_qdbm_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_db1.c79 dba = pemalloc(sizeof(*dba), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_dbm.c83 info->dbf = pemalloc(sizeof(dba_dbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_tcadb.c70 info->dbf = pemalloc(sizeof(dba_tcadb_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_db2.c80 info->dbf = pemalloc(sizeof(dba_db2_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_gdbm.c61 info->dbf = pemalloc(sizeof(dba_gdbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_db3.c102 data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT);
H A Ddba_cdb.c100 cdb = pemalloc(sizeof(dba_cdb), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_db4.c131 data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT);
/PHP-7.4/ext/standard/
H A Dfilters.c180 if (NULL == (inst->allowed_tags = pemalloc(ZSTR_LEN(allowed_tags) + 1, persistent))) { in php_strip_tags_filter_ctor()
279 inst = pemalloc(sizeof(php_strip_tags_filter), persistent); in strfilter_strip_tags_create()
1227 *pretval = pemalloc(ZSTR_LEN(str) + 1, persistent); in php_conv_get_string_prop_ex()
1320 retval = pemalloc(sizeof(php_conv_base64_encode), persistent); in php_conv_open()
1337 retval = pemalloc(sizeof(php_conv_base64_decode), persistent); in php_conv_open()
1372 retval = pemalloc(sizeof(php_conv_qprint_encode), persistent); in php_conv_open()
1395 retval = pemalloc(sizeof(php_conv_qprint_decode), persistent); in php_conv_open()
1490 out_buf = pemalloc(out_buf_size, persistent); in strfilter_convert_append_bucket()
1543 out_buf = pemalloc(out_buf_size, persistent); in strfilter_convert_append_bucket()
1605 out_buf = pemalloc(out_buf_size, persistent); in strfilter_convert_append_bucket()
[all …]
H A Dbrowscap.c380 = pemalloc(sizeof(browscap_entry), persistent); in php_browscap_parser_cb()
422 browdata->htab = pemalloc(sizeof *browdata->htab, persistent); in browscap_read_file()
428 browdata->kv = pemalloc(sizeof(browscap_kv) * browdata->kv_size, persistent); in browscap_read_file()
/PHP-7.4/Zend/
H A Dzend_llist.c36 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 Dzend_hash.h668 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_add_mem()
681 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_add_new_mem()
694 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_add_mem()
707 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_add_new_mem()
718 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_update_mem()
727 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_update_mem()
766 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_index_add_mem()
791 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_index_update_mem()
802 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_next_index_insert_mem()
H A Dzend_multibyte.c53 *return_list = pemalloc(0, persistent); in dummy_encoding_list_parser()
H A Dzend_smart_str.c138 str->c = pemalloc(str->a + 1, 1); in _smart_string_alloc_persistent()
H A Dzend.c587 func = pemalloc(sizeof(zend_internal_function), 1); in function_copy_ctor()
601 new_arg_info = pemalloc(sizeof(zend_arg_info) * num_args, 1); in function_copy_ctor()
620 zend_auto_global *new_ag = pemalloc(sizeof(zend_auto_global), 1); in auto_global_copy_ctor()
658 compiler_globals->map_ptr_base = pemalloc(compiler_globals->map_ptr_size * sizeof(void*), 1); in compiler_globals_ctor()
915 CG(map_ptr_base) = pemalloc(CG(map_ptr_size) * sizeof(void*), 1); in zend_startup()
H A Dzend_constants.c62 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.4/ext/zlib/
H A Dzlib_filter.c303 data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent); in php_zlib_filter_create()
310 data->strm.next_out = data->outbuf = (Bytef *) pemalloc(data->outbuf_len, persistent); in php_zlib_filter_create()
/PHP-7.4/ext/bz2/
H A Dbz2_filter.c329 data->strm.next_in = data->inbuf = (char *) pemalloc(data->inbuf_len, persistent); in php_bz2_filter_create()
331 data->strm.next_out = data->outbuf = (char *) pemalloc(data->outbuf_len, persistent); in php_bz2_filter_create()
/PHP-7.4/sapi/cli/
H A Dphp_cli_server.c1014 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); in php_cli_server_chunk_immortal_new()
1025 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); in php_cli_server_chunk_heap_new()
1037 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk) + len, 1); in php_cli_server_chunk_heap_new_self_contained()
1296 sa = pemalloc(sizeof(struct sockaddr_in6), 1); in php_network_listen_socket()
1303 sa = pemalloc(sizeof(struct sockaddr_in), 1); in php_network_listen_socket()
1724 char* field = pemalloc(new_length + 1, 1); in php_cli_server_client_read_request_on_header_field()
1772 client->current_header_value = pemalloc(1, 1); in php_cli_server_client_read_request_on_headers_complete()
1788 client->request.content = pemalloc(parser->content_length, 1); in php_cli_server_client_read_request_on_body()
2573 struct sockaddr *sa = pemalloc(server->socklen, 1); in php_cli_server_do_event_for_each_fd_callback()
2590 client = pemalloc(sizeof(php_cli_server_client), 1); in php_cli_server_do_event_for_each_fd_callback()

Completed in 62 milliseconds

123