Home
last modified time | relevance | path

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

123

/PHP-5.4/ext/gd/
H A Dgdcache.c66 head = (gdCache_head_t *)pemalloc(sizeof(gdCache_head_t), 1); in gdCacheCreate()
119 elem = (gdCache_element_t *)pemalloc(sizeof(gdCache_element_t), 1); in gdCacheGet()
/PHP-5.4/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.4/ext/gd/libgd/
H A Dgdhelpers.h20 #define gdPMalloc(ptr) pemalloc(ptr, 1)
/PHP-5.4/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.4/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.4/ext/bcmath/libbcmath/src/
H A Dinit.c60 temp = (bc_num) pemalloc (sizeof(bc_struct), persistent);
/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_alloc.c136 ret = pemalloc(REAL_SIZE(size), persistent); in _mysqlnd_pemalloc()
548 ret = pemalloc(REAL_SIZE(length) + 1, persistent); in _mysqlnd_pestrndup()
588 ret = pemalloc(tmp_str.len + sizeof(size_t), persistent); in _mysqlnd_pestrdup()
645 return pemalloc(size, persistent); in mysqlnd_zend_mm_pemalloc()
/PHP-5.4/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()
1364 q = (Bucket *) pemalloc(sizeof(Bucket), ht->persistent); in zend_hash_update_current_key_ex()
1366 q = (Bucket *) pemalloc(sizeof(Bucket) + str_length, ht->persistent); in zend_hash_update_current_key_ex()
1433 arTmp = (Bucket **) pemalloc(ht->nNumOfElements * sizeof(Bucket *), ht->persistent); in zend_hash_sort()
/PHP-5.4/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.4/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_dbm.c86 info->dbf = pemalloc(sizeof(dba_dbm_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_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()
/PHP-5.4/ext/zlib/
H A Dzlib_filter.c314 data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent); in php_zlib_filter_create()
321 data->strm.next_out = data->outbuf = (Bytef *) pemalloc(data->outbuf_len, persistent); in php_zlib_filter_create()
/PHP-5.4/ext/bz2/
H A Dbz2_filter.c332 data->strm.next_in = data->inbuf = (char *) pemalloc(data->inbuf_len, persistent); in php_bz2_filter_create()
339 data->strm.next_out = data->outbuf = (char *) pemalloc(data->outbuf_len, persistent); in php_bz2_filter_create()
/PHP-5.4/sapi/cli/
H A Dphp_cli_server.c918 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); in php_cli_server_chunk_immortal_new()
932 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); in php_cli_server_chunk_heap_new()
947 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk) + len, 1); in php_cli_server_chunk_heap_new_self_contained()
1181 sa = pemalloc(sizeof(struct sockaddr_in6), 1); in php_network_listen_socket()
1194 sa = pemalloc(sizeof(struct sockaddr_in), 1); in php_network_listen_socket()
1587 client->request.content = pemalloc(parser->content_length, 1); in php_cli_server_client_read_request_on_body()
2292 struct sockaddr *sa = pemalloc(server->socklen, 1); in php_cli_server_do_event_for_each_fd_callback()
2310 …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()
/PHP-5.4/
H A DREADME.STREAMS124 The buffer is allocated using pemalloc(); you need to call pefree() to
279 of a request (it uses pemalloc),
310 hold it, allocate it (use pemalloc with the persistent flag set
320 struct my_state * state = pemalloc(sizeof(struct my_state), persistent);

Completed in 91 milliseconds

123