Searched refs:pemalloc (Results 1 - 25 of 59) sorted by relevance

123

/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Dinit.c53 /* PHP Change: malloc() -> pemalloc(), removed free_list code */
60 temp = (bc_num) pemalloc (sizeof(bc_struct), persistent);
68 /* PHP Change: malloc() -> pemalloc() */
/PHP_TRUNK/ext/gd/
H A Dgdcache.c66 head = (gdCache_head_t *)pemalloc(sizeof(gdCache_head_t), 1);
124 elem = (gdCache_element_t *)pemalloc(sizeof(gdCache_element_t), 1);
/PHP_TRUNK/ext/gd/libgd/
H A Dgdhelpers.h20 #define gdPMalloc(ptr) pemalloc(ptr, 1)
/PHP_TRUNK/Zend/
H A Dzend_llist.c38 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent);
56 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent);
H A Dzend_multibyte.c55 *return_list = pemalloc(0, persistent);
H A Dzend_ini.c155 zend_ini_entry *new_entry = pemalloc(sizeof(zend_ini_entry), 1);
233 p = pemalloc(sizeof(zend_ini_entry), 1);
H A Dzend_string.c53 HT_SET_DATA_ADDR(&CG(interned_strings), pemalloc(HT_SIZE(&CG(interned_strings)), 1));
H A Dzend_inheritance.c50 zend_property_info* new_property_info = pemalloc(sizeof(zend_property_info), 1);
63 new_function = pemalloc(sizeof(zend_internal_function), 1);
760 zval *table = pemalloc(sizeof(zval) * (ce->default_properties_count + parent_ce->default_properties_count), ce->type == ZEND_INTERNAL_CLASS);
773 end = pemalloc(sizeof(zval) * parent_ce->default_properties_count, ce->type == ZEND_INTERNAL_CLASS);
803 zval *table = pemalloc(sizeof(zval) * (ce->default_static_members_count + parent_ce->default_static_members_count), ce->type == ZEND_INTERNAL_CLASS);
816 end = pemalloc(sizeof(zval) * parent_ce->default_static_members_count, ce->type == ZEND_INTERNAL_CLASS);
H A Dzend_hash.h545 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
558 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
569 p = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
578 p = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
621 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
646 p = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
657 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
/PHP_TRUNK/ext/dba/
H A Ddba_cdb.c102 cdb = pemalloc(sizeof(dba_cdb), info->flags&DBA_PERSISTENT);
H A Ddba_db1.c82 dba = pemalloc(sizeof(*dba), info->flags&DBA_PERSISTENT);
H A Ddba_db2.c83 info->dbf = pemalloc(sizeof(dba_db2_data), info->flags&DBA_PERSISTENT);
H A Ddba_db4.c134 data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT);
H A Ddba_dbm.c86 info->dbf = pemalloc(sizeof(dba_dbm_data), info->flags&DBA_PERSISTENT);
H A Ddba_flatfile.c44 info->dbf = pemalloc(sizeof(flatfile), info->flags&DBA_PERSISTENT);
H A Ddba_gdbm.c64 info->dbf = pemalloc(sizeof(dba_gdbm_data), info->flags&DBA_PERSISTENT);
H A Ddba_qdbm.c62 info->dbf = pemalloc(sizeof(dba_qdbm_data), info->flags & DBA_PERSISTENT);
H A Ddba_tcadb.c72 info->dbf = pemalloc(sizeof(dba_tcadb_data), info->flags & DBA_PERSISTENT);
H A Ddba_db3.c105 data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT);
/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt_filter.c66 outchunk = pemalloc(chunklen, data->persistent);
255 data = pemalloc(sizeof(php_mcrypt_filter_data), persistent);
260 data->block_buffer = pemalloc(data->blocksize, persistent);
/PHP_TRUNK/main/streams/
H A Dfilter.c76 bucket = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), is_persistent);
86 bucket->buf = pemalloc(buflen, 1);
125 retval = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), bucket->is_persistent);
128 retval->buf = pemalloc(retval->buflen, retval->is_persistent);
148 (*left)->buf = pemalloc(length, in->is_persistent);
156 (*right)->buf = pemalloc((*right)->buflen, in->is_persistent);
H A Dphp_streams_int.h37 # define pemalloc_rel_orig(size, persistent) pemalloc((size), (persistent))
/PHP_TRUNK/ext/bz2/
H A Dbz2_filter.c330 data->strm.next_in = data->inbuf = (char *) pemalloc(data->inbuf_len, persistent);
337 data->strm.next_out = data->outbuf = (char *) pemalloc(data->outbuf_len, persistent);
/PHP_TRUNK/ext/standard/
H A Dfilters.c182 if (NULL == (inst->allowed_tags = pemalloc(allowed_tags_len, persistent))) {
252 inst = pemalloc(sizeof(php_strip_tags_filter), persistent);
254 if (inst == NULL) { /* it's possible pemalloc returns NULL
1222 if (NULL == (*pretval = pemalloc(ZSTR_LEN(str) + 1, persistent))) {
1318 retval = pemalloc(sizeof(php_conv_base64_encode), persistent);
1335 retval = pemalloc(sizeof(php_conv_base64_decode), persistent);
1370 retval = pemalloc(sizeof(php_conv_qprint_encode), persistent);
1393 retval = pemalloc(sizeof(php_conv_qprint_decode), persistent);
1488 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) {
1543 if (NULL == (out_buf = pemalloc(out_buf_siz
[all...]
/PHP_TRUNK/ext/zlib/
H A Dzlib_filter.c308 data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent);
315 data->strm.next_out = data->outbuf = (Bytef *) pemalloc(data->outbuf_len, persistent);

Completed in 40 milliseconds

123