Searched refs:pemalloc (Results 1 - 25 of 58) 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_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.h495 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
508 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
519 p = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
528 p = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
555 p = pemalloc(size, ht->u.flags & HASH_FLAG_PERSISTENT);
566 Z_PTR_P(zv) = pemalloc(size, ht->u.flags & HASH_FLAG_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/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/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/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);
1254 sa = pemalloc(sizeof(struct sockaddr_in6), 1);
1267 sa = pemalloc(sizeof(struct sockaddr_in), 1);
1666 client->request.content = pemalloc(parser->content_length, 1);
2405 struct sockaddr *sa = pemalloc(server->socklen, 1);
2423 if (!(client = pemalloc(sizeof(php_cli_server_client), 1)) || FAILURE == php_cli_server_client_ctor(client, server, client_sock, sa, socklen TSRMLS_CC)) {
/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(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...]

Completed in 39 milliseconds

123