/PHP-7.0/ext/gd/ |
H A D | gdcache.c | 66 head = (gdCache_head_t *)pemalloc(sizeof(gdCache_head_t), 1); in gdCacheCreate() 124 elem = (gdCache_element_t *)pemalloc(sizeof(gdCache_element_t), 1); in gdCacheGet()
|
/PHP-7.0/main/streams/ |
H A D | filter.c | 76 bucket = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), is_persistent); in php_stream_bucket_new() 86 bucket->buf = pemalloc(buflen, 1); in php_stream_bucket_new() 125 retval = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), bucket->is_persistent); in php_stream_bucket_make_writeable() 128 retval->buf = pemalloc(retval->buflen, retval->is_persistent); in php_stream_bucket_make_writeable() 148 (*left)->buf = pemalloc(length, in->is_persistent); in php_stream_bucket_split() 156 (*right)->buf = pemalloc((*right)->buflen, in->is_persistent); in php_stream_bucket_split()
|
H A D | php_streams_int.h | 37 # define pemalloc_rel_orig(size, persistent) pemalloc((size), (persistent))
|
/PHP-7.0/ext/gd/libgd/ |
H A D | gdhelpers.h | 20 #define gdPMalloc(ptr) pemalloc(ptr, 1)
|
/PHP-7.0/ext/mcrypt/ |
H A D | mcrypt_filter.c | 66 outchunk = pemalloc(chunklen, data->persistent); in php_mcrypt_filter() 255 data = pemalloc(sizeof(php_mcrypt_filter_data), persistent); in php_mcrypt_filter_create() 260 data->block_buffer = pemalloc(data->blocksize, persistent); in php_mcrypt_filter_create()
|
/PHP-7.0/ext/bcmath/libbcmath/src/ |
H A D | init.c | 63 temp = (bc_num) pemalloc (sizeof(bc_struct), persistent);
|
/PHP-7.0/ext/standard/ |
H A D | filters.c | 182 if (NULL == (inst->allowed_tags = pemalloc(allowed_tags_len, persistent))) { in php_strip_tags_filter_ctor() 252 inst = pemalloc(sizeof(php_strip_tags_filter), persistent); in strfilter_strip_tags_create() 1222 if (NULL == (*pretval = pemalloc(ZSTR_LEN(str) + 1, persistent))) { in php_conv_get_string_prop_ex() 1318 retval = pemalloc(sizeof(php_conv_base64_encode), persistent); in php_conv_open() 1335 retval = pemalloc(sizeof(php_conv_base64_decode), persistent); in php_conv_open() 1370 retval = pemalloc(sizeof(php_conv_qprint_encode), persistent); in php_conv_open() 1393 retval = pemalloc(sizeof(php_conv_qprint_decode), persistent); in php_conv_open() 1488 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket() 1543 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket() 1615 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket() [all …]
|
H A D | browscap.c | 370 = pemalloc(sizeof(browscap_entry), persistent); in php_browscap_parser_cb() 413 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-7.0/ext/dba/ |
H A D | dba_flatfile.c | 44 info->dbf = pemalloc(sizeof(flatfile), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_qdbm.c | 62 info->dbf = pemalloc(sizeof(dba_qdbm_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_dbm.c | 86 info->dbf = pemalloc(sizeof(dba_dbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_tcadb.c | 72 info->dbf = pemalloc(sizeof(dba_tcadb_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_db1.c | 82 dba = pemalloc(sizeof(*dba), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_db2.c | 83 info->dbf = pemalloc(sizeof(dba_db2_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_gdbm.c | 64 info->dbf = pemalloc(sizeof(dba_gdbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_db3.c | 105 data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT);
|
H A D | dba_cdb.c | 102 cdb = pemalloc(sizeof(dba_cdb), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
/PHP-7.0/Zend/ |
H A D | zend_llist.c | 38 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_add_element() 56 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 | 585 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT); in zend_hash_add_mem() 598 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT); in zend_hash_str_add_mem() 609 p = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT); in zend_hash_update_mem() 618 p = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT); in zend_hash_str_update_mem() 661 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT); in zend_hash_index_add_mem() 686 p = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT); in zend_hash_index_update_mem() 697 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT); in zend_hash_next_index_insert_mem()
|
H A D | zend_multibyte.c | 55 *return_list = pemalloc(0, persistent); in dummy_encoding_list_parser()
|
H A D | zend_string.c | 53 HT_SET_DATA_ADDR(&CG(interned_strings), pemalloc(HT_SIZE(&CG(interned_strings)), 1)); in zend_interned_strings_init()
|
H A D | zend_constants.c | 51 Z_PTR_P(zv) = pemalloc(sizeof(zend_constant), c->flags & CONST_PERSISTENT); in copy_zend_constant() 451 zend_constant *copy = pemalloc(sizeof(zend_constant), c->flags & CONST_PERSISTENT); in zend_hash_add_constant()
|
/PHP-7.0/sapi/cli/ |
H A D | php_cli_server.c | 925 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); in php_cli_server_chunk_immortal_new() 939 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); in php_cli_server_chunk_heap_new() 954 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk) + len, 1); in php_cli_server_chunk_heap_new_self_contained() 1204 sa = pemalloc(sizeof(struct sockaddr_in6), 1); in php_network_listen_socket() 1217 sa = pemalloc(sizeof(struct sockaddr_in), 1); in php_network_listen_socket() 1620 char* field = pemalloc(new_length + 1, 1); in php_cli_server_client_read_request_on_header_field() 1668 client->current_header_value = pemalloc(1, 1); in php_cli_server_client_read_request_on_headers_complete() 1684 client->request.content = pemalloc(parser->content_length, 1); in php_cli_server_client_read_request_on_body() 2324 _router = pemalloc(server->document_root_len + router_len + 2, 1); in php_cli_server_ctor() 2440 struct sockaddr *sa = pemalloc(server->socklen, 1); in php_cli_server_do_event_for_each_fd_callback() [all …]
|
/PHP-7.0/ext/bz2/ |
H A D | bz2_filter.c | 330 data->strm.next_in = data->inbuf = (char *) pemalloc(data->inbuf_len, persistent); in php_bz2_filter_create() 337 data->strm.next_out = data->outbuf = (char *) pemalloc(data->outbuf_len, persistent); in php_bz2_filter_create()
|
/PHP-7.0/ext/zlib/ |
H A D | zlib_filter.c | 308 data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent); in php_zlib_filter_create() 315 data->strm.next_out = data->outbuf = (Bytef *) pemalloc(data->outbuf_len, persistent); in php_zlib_filter_create()
|