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

123

/PHP_5_4/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_5_4/ext/gd/libgd/
H A Dgdhelpers.h20 #define gdPMalloc(ptr) pemalloc(ptr, 1)
/PHP_5_4/ext/gd/
H A Dgdcache.c66 head = (gdCache_head_t *)pemalloc(sizeof(gdCache_head_t), 1);
119 elem = (gdCache_element_t *)pemalloc(sizeof(gdCache_element_t), 1);
/PHP_5_4/ext/standard/
H A Dassert.c70 ASSERTG(cb) = pemalloc(new_value_length + 1, 1);
H A Dbrowscap.c167 new_property = (zval *) pemalloc(sizeof(zval), persistent);
203 bdata->current_section = (zval *) pemalloc(sizeof(zval), persistent);
205 processed = (zval *) pemalloc(sizeof(zval), persistent);
207 unprocessed = (zval *) pemalloc(sizeof(zval), persistent);
210 section_properties = (HashTable *) pemalloc(sizeof(HashTable), persistent);
250 browdata->htab = pemalloc(sizeof *browdata->htab, persistent);
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
1234 if (NULL == (*pretval = pemalloc(Z_STRLEN(zt) + 1, persistent))) {
1242 if (NULL == (*pretval = pemalloc(Z_STRLEN_PP(tmpval) + 1, persistent))) {
1394 retval = pemalloc(sizeof(php_conv_base64_encode), persistent);
1411 retval = pemalloc(sizeof(php_conv_base64_decode), persistent);
1446 retval = pemalloc(sizeof(php_conv_qprint_encode), persistent);
1469 retval = pemalloc(sizeof(php_conv_qprint_decode), persistent);
1564 if (NULL == (out_buf = pemalloc(out_buf_siz
[all...]
/PHP_5_4/main/
H A Dphp_ini.c259 option_arr = (zval *) pemalloc(sizeof(zval), 1);
262 Z_ARRVAL_P(option_arr) = (HashTable *) pemalloc(sizeof(HashTable), 1);
330 section_arr = (zval *) pemalloc(sizeof(zval), 1);
333 Z_ARRVAL_P(section_arr) = (HashTable *) pemalloc(sizeof(HashTable), 1);
/PHP_5_4/main/streams/
H A Dfilter.c78 bucket = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), is_persistent);
88 bucket->buf = pemalloc(buflen, 1);
127 retval = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), bucket->is_persistent);
130 retval->buf = pemalloc(retval->buflen, retval->is_persistent);
150 (*left)->buf = pemalloc(length, in->is_persistent);
158 (*right)->buf = pemalloc((*right)->buflen, in->is_persistent);
H A Dphp_streams_int.h37 # define pemalloc_rel_orig(size, persistent) pemalloc((size), (persistent))
/PHP_5_4/Zend/
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_5_4/ext/bz2/
H A Dbz2_filter.c332 data->strm.next_in = data->inbuf = (char *) pemalloc(data->inbuf_len, persistent);
339 data->strm.next_out = data->outbuf = (char *) pemalloc(data->outbuf_len, persistent);
/PHP_5_4/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_db3.c97 data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT);
H A Ddba_db4.c135 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_5_4/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_5_4/ext/mysqlnd/
H A Dmysqlnd_alloc.c136 ret = pemalloc(REAL_SIZE(size), persistent);
548 ret = pemalloc(REAL_SIZE(length) + 1, persistent);
588 ret = pemalloc(tmp_str.len + sizeof(size_t), persistent);
645 return pemalloc(size, persistent);
/PHP_5_4/ext/zlib/
H A Dzlib_filter.c314 data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent);
321 data->strm.next_out = data->outbuf = (Bytef *) pemalloc(data->outbuf_len, persistent);

Completed in 40 milliseconds

123