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/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/Zend/
H A Dzend_multibyte.c55 *return_list = pemalloc(0, persistent);
H A Dzend_ini.c149 zend_ini_entry *new_entry = pemalloc(sizeof(zend_ini_entry), 1);
227 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_hash.h493 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
506 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
517 p = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
526 p = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
553 p = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
564 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
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);
/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/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_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/zlib/
H A Dzlib_filter.c306 data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent);
313 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))
/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
1221 if (NULL == (*pretval = pemalloc(str->len + 1, persistent))) {
1373 retval = pemalloc(sizeof(php_conv_base64_encode), persistent);
1390 retval = pemalloc(sizeof(php_conv_base64_decode), persistent);
1425 retval = pemalloc(sizeof(php_conv_qprint_encode), persistent);
1448 retval = pemalloc(sizeof(php_conv_qprint_decode), persistent);
1543 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) {
1598 if (NULL == (out_buf = pemalloc(out_buf_siz
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c972 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1);
986 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1);
1001 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk) + len, 1);
1234 sa = pemalloc(sizeof(struct sockaddr_in6), 1);
1247 sa = pemalloc(sizeof(struct sockaddr_in), 1);
1646 client->request.content = pemalloc(parser->content_length, 1);
2375 struct sockaddr *sa = pemalloc(server->socklen, 1);
2393 if (!(client = pemalloc(sizeof(php_cli_server_client), 1)) || FAILURE == php_cli_server_client_ctor(client, server, client_sock, sa, socklen TSRMLS_CC)) {

Completed in 25 milliseconds

123