Home
last modified time | relevance | path

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

123

/PHP-5.5/ext/gd/
H A Dgdcache.c66 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-5.5/ext/standard/
H A Dbrowscap.c167 new_property = (zval *) pemalloc(sizeof(zval), persistent); in php_browscap_parser_cb()
203 bdata->current_section = (zval *) pemalloc(sizeof(zval), persistent); in php_browscap_parser_cb()
205 processed = (zval *) pemalloc(sizeof(zval), persistent); in php_browscap_parser_cb()
207 unprocessed = (zval *) pemalloc(sizeof(zval), persistent); in php_browscap_parser_cb()
210 section_properties = (HashTable *) pemalloc(sizeof(HashTable), persistent); in php_browscap_parser_cb()
250 browdata->htab = pemalloc(sizeof *browdata->htab, persistent); in browscap_read_file()
H A Dfilters.c182 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()
1234 if (NULL == (*pretval = pemalloc(Z_STRLEN(zt) + 1, persistent))) { in php_conv_get_string_prop_ex()
1394 retval = pemalloc(sizeof(php_conv_base64_encode), persistent); in php_conv_open()
1411 retval = pemalloc(sizeof(php_conv_base64_decode), persistent); in php_conv_open()
1446 retval = pemalloc(sizeof(php_conv_qprint_encode), persistent); in php_conv_open()
1469 retval = pemalloc(sizeof(php_conv_qprint_decode), persistent); in php_conv_open()
1564 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1619 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1691 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket()
[all …]
/PHP-5.5/ext/gd/libgd/
H A Dgdhelpers.h20 #define gdPMalloc(ptr) pemalloc(ptr, 1)
/PHP-5.5/main/streams/
H A Dfilter.c78 bucket = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), is_persistent); in php_stream_bucket_new()
88 bucket->buf = pemalloc(buflen, 1); in php_stream_bucket_new()
127 retval = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), bucket->is_persistent); in php_stream_bucket_make_writeable()
130 retval->buf = pemalloc(retval->buflen, retval->is_persistent); in php_stream_bucket_make_writeable()
150 (*left)->buf = pemalloc(length, in->is_persistent); in php_stream_bucket_split()
158 (*right)->buf = pemalloc((*right)->buflen, in->is_persistent); in php_stream_bucket_split()
H A Dphp_streams_int.h37 # define pemalloc_rel_orig(size, persistent) pemalloc((size), (persistent))
/PHP-5.5/ext/mcrypt/
H A Dmcrypt_filter.c66 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-5.5/ext/bcmath/libbcmath/src/
H A Dinit.c60 temp = (bc_num) pemalloc (sizeof(bc_struct), persistent);
/PHP-5.5/Zend/
H A Dzend_llist.c39 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_add_element()
57 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_prepend_element()
H A Dzend_multibyte.c55 *return_list = pemalloc(0, persistent); in dummy_encoding_list_parser()
H A Dzend_hash.c247 p = (Bucket *) pemalloc(sizeof(Bucket), ht->persistent); in _zend_hash_add_or_update()
253 p = (Bucket *) pemalloc(sizeof(Bucket) + nKeyLength, ht->persistent); in _zend_hash_add_or_update()
324 p = (Bucket *) pemalloc(sizeof(Bucket), ht->persistent); in _zend_hash_quick_add_or_update()
330 p = (Bucket *) pemalloc(sizeof(Bucket) + nKeyLength, ht->persistent); in _zend_hash_quick_add_or_update()
1382 q = (Bucket *) pemalloc(sizeof(Bucket), ht->persistent); in zend_hash_update_current_key_ex()
1384 q = (Bucket *) pemalloc(sizeof(Bucket) + str_length, ht->persistent); in zend_hash_update_current_key_ex()
1454 arTmp = (Bucket **) pemalloc(ht->nNumOfElements * sizeof(Bucket *), ht->persistent); in zend_hash_sort()
/PHP-5.5/ext/dba/
H A Ddba_flatfile.c44 info->dbf = pemalloc(sizeof(flatfile), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_qdbm.c62 info->dbf = pemalloc(sizeof(dba_qdbm_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_tcadb.c72 info->dbf = pemalloc(sizeof(dba_tcadb_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_dbm.c86 info->dbf = pemalloc(sizeof(dba_dbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_db1.c82 dba = pemalloc(sizeof(*dba), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_db2.c83 info->dbf = pemalloc(sizeof(dba_db2_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_gdbm.c64 info->dbf = pemalloc(sizeof(dba_gdbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_db3.c97 data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_cdb.c102 cdb = pemalloc(sizeof(dba_cdb), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_db4.c135 data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT);
/PHP-5.5/main/
H A Dphp_ini.c259 option_arr = (zval *) pemalloc(sizeof(zval), 1); in php_ini_parser_cb()
262 Z_ARRVAL_P(option_arr) = (HashTable *) pemalloc(sizeof(HashTable), 1); in php_ini_parser_cb()
330 section_arr = (zval *) pemalloc(sizeof(zval), 1); in php_ini_parser_cb()
333 Z_ARRVAL_P(section_arr) = (HashTable *) pemalloc(sizeof(HashTable), 1); in php_ini_parser_cb()
/PHP-5.5/ext/bz2/
H A Dbz2_filter.c330 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-5.5/ext/zlib/
H A Dzlib_filter.c306 data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent); in php_zlib_filter_create()
313 data->strm.next_out = data->outbuf = (Bytef *) pemalloc(data->outbuf_len, persistent); in php_zlib_filter_create()
/PHP-5.5/sapi/cli/
H A Dphp_cli_server.c1049 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); in php_cli_server_chunk_immortal_new()
1063 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); in php_cli_server_chunk_heap_new()
1078 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk) + len, 1); in php_cli_server_chunk_heap_new_self_contained()
1312 sa = pemalloc(sizeof(struct sockaddr_in6), 1); in php_network_listen_socket()
1325 sa = pemalloc(sizeof(struct sockaddr_in), 1); in php_network_listen_socket()
1725 client->request.content = pemalloc(parser->content_length, 1); in php_cli_server_client_read_request_on_body()
2428 struct sockaddr *sa = pemalloc(server->socklen, 1); in php_cli_server_do_event_for_each_fd_callback()
2446 …if (!(client = pemalloc(sizeof(php_cli_server_client), 1)) || FAILURE == php_cli_server_client_cto… in php_cli_server_do_event_for_each_fd_callback()

Completed in 127 milliseconds

123