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

123

/PHP_TRUNK/ext/gd/libgd/
H A Dgdhelpers.h20 #define gdPMalloc(ptr) pemalloc(ptr, 1)
/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/dba/
H A Ddba_db1.c82 dba = pemalloc(sizeof(*dba), info->flags&DBA_PERSISTENT);
H A Ddba_cdb.c102 cdb = pemalloc(sizeof(dba_cdb), info->flags&DBA_PERSISTENT);
H A Ddba_db2.c83 info->dbf = pemalloc(sizeof(dba_db2_data), info->flags&DBA_PERSISTENT);
H A Ddba_db3.c96 data = pemalloc(sizeof(*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);
/PHP_TRUNK/Zend/
H A Dzend_constants.c50 Z_PTR_P(zv) = pemalloc(sizeof(zend_constant), c->flags & CONST_PERSISTENT);
483 zend_constant *copy = pemalloc(sizeof(zend_constant), c->flags & CONST_PERSISTENT);
H A Dzend_hash.h497 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
510 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
521 p = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
530 p = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
550 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
570 p = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
581 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_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_llist.c39 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent);
57 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent);
H A Dzend_multibyte.c55 *return_list = pemalloc(0, persistent);
/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/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/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/ext/standard/
H A Dassert.c69 ASSERTG(cb) = pemalloc(new_value->len + 1, 1);
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(str->len + 1, persistent))) {
1375 retval = pemalloc(sizeof(php_conv_base64_encode), persistent);
1392 retval = pemalloc(sizeof(php_conv_base64_decode), persistent);
1427 retval = pemalloc(sizeof(php_conv_qprint_encode), persistent);
1450 retval = pemalloc(sizeof(php_conv_qprint_decode), persistent);
1545 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) {
1600 if (NULL == (out_buf = pemalloc(out_buf_siz
[all...]
/PHP_TRUNK/ext/zlib/
H A Dzlib_filter.c304 data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent);
311 data->strm.next_out = data->outbuf = (Bytef *) pemalloc(data->outbuf_len, 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))

Completed in 46 milliseconds

123