Home
last modified time | relevance | path

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

123

/PHP-5.3/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.3/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()
1195 if (NULL == (*pretval = pemalloc(Z_STRLEN(zt) + 1, persistent))) { in php_conv_get_string_prop_ex()
1355 retval = pemalloc(sizeof(php_conv_base64_encode), persistent); in php_conv_open()
1372 retval = pemalloc(sizeof(php_conv_base64_decode), persistent); in php_conv_open()
1407 retval = pemalloc(sizeof(php_conv_qprint_encode), persistent); in php_conv_open()
1430 retval = pemalloc(sizeof(php_conv_qprint_decode), persistent); in php_conv_open()
1525 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1580 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1652 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket()
[all …]
H A Dassert.c70 ASSERTG(cb) = pemalloc(new_value_length + 1, 1); in PHP_INI_MH()
/PHP-5.3/ext/gd/libgd/
H A Dgdhelpers.h20 #define gdPMalloc(ptr) pemalloc(ptr, 1)
/PHP-5.3/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.3/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.3/ext/bcmath/libbcmath/src/
H A Dinit.c60 temp = (bc_num) pemalloc (sizeof(bc_struct), persistent);
/PHP-5.3/Zend/
H A Dzend_ptr_stack.c30 …stack->top_element = stack->elements = (void **) pemalloc(sizeof(void *)*PTR_STACK_BLOCK_SIZE, per… in zend_ptr_stack_init_ex()
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()
/PHP-5.3/ext/dba/
H A Ddba_qdbm.c62 info->dbf = pemalloc(sizeof(dba_qdbm_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_flatfile.c44 info->dbf = pemalloc(sizeof(flatfile), 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.3/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.3/ext/zlib/
H A Dzlib_filter.c307 data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent); in php_zlib_filter_create()
314 data->strm.next_out = data->outbuf = (Bytef *) pemalloc(data->outbuf_len, persistent); in php_zlib_filter_create()
/PHP-5.3/ext/bz2/
H A Dbz2_filter.c331 data->strm.next_in = data->inbuf = (char *) pemalloc(data->inbuf_len, persistent); in php_bz2_filter_create()
338 data->strm.next_out = data->outbuf = (char *) pemalloc(data->outbuf_len, persistent); in php_bz2_filter_create()
/PHP-5.3/
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);
/PHP-5.3/ext/iconv/
H A Diconv.c2484 if (NULL == (self->to_charset = pemalloc(to_charset_len + 1, persistent))) { in php_iconv_stream_filter_ctor()
2488 if (NULL == (self->from_charset = pemalloc(from_charset_len + 1, persistent))) { in php_iconv_stream_filter_ctor()
2534 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in php_iconv_stream_filter_append_bucket()
2585 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in php_iconv_stream_filter_append_bucket()
2662 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in php_iconv_stream_filter_append_bucket()
2806 if (NULL == (inst = pemalloc(sizeof(php_iconv_stream_filter), persistent))) { in php_iconv_stream_filter_factory_create()

Completed in 61 milliseconds

123