Home
last modified time | relevance | path

Searched refs:pemalloc (Results 1 – 25 of 61) sorted by relevance

123

/php-src/sapi/phpdbg/
H A Dphpdbg_btree.c26 # undef pemalloc
28 # define pemalloc(size, persistent) malloc(size) macro
161 …phpdbg_btree_branch *memory = *branch = pemalloc((i + 2) * sizeof(phpdbg_btree_branch), tree->pers… in phpdbg_btree_insert_or_update()
/php-src/main/streams/
H A Dfilter.c76 bucket = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), is_persistent); in php_stream_bucket_new()
81 bucket->buf = pemalloc(buflen, 1); in php_stream_bucket_new()
114 retval = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), bucket->is_persistent); in php_stream_bucket_make_writeable()
117 retval->buf = pemalloc(retval->buflen, retval->is_persistent); in php_stream_bucket_make_writeable()
133 (*left)->buf = pemalloc(length, in->is_persistent); in php_stream_bucket_split()
141 (*right)->buf = pemalloc((*right)->buflen, in->is_persistent); in php_stream_bucket_split()
H A Dphp_streams_int.h32 # define pemalloc_rel_orig(size, persistent) pemalloc((size), (persistent))
/php-src/ext/gd/libgd/
H A Dgdhelpers.h20 #define gdPMalloc(ptr) pemalloc(ptr, 1)
/php-src/Zend/
H A Dzend_attributes.c284 *attributes = pemalloc(sizeof(HashTable), persistent); in zend_add_attribute()
288 zend_attribute *attr = pemalloc(ZEND_ATTRIBUTE_SIZE(argc), persistent); in zend_add_attribute()
329 internal_attr = pemalloc(sizeof(zend_internal_attribute), 1); in zend_mark_internal_attribute()
H A Dzend_llist.c36 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_add_element()
54 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_prepend_element()
H A Dzend_multibyte.c53 *return_list = pemalloc(0, persistent); in dummy_encoding_list_parser()
H A Dzend_interfaces.c298 ? pemalloc(sizeof(zend_class_iterator_funcs), 1) in zend_implement_aggregate()
337 ? pemalloc(sizeof(zend_class_iterator_funcs), 1) in zend_implement_iterator()
383 ? pemalloc(sizeof(zend_class_arrayaccess_funcs), 1) in zend_implement_arrayaccess()
H A Dzend_hash.h724 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_add_mem()
737 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_add_new_mem()
750 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_add_mem()
763 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_add_new_mem()
774 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_update_mem()
783 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_str_update_mem()
822 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_index_add_mem()
847 p = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_index_update_mem()
858 Z_PTR_P(zv) = pemalloc(size, GC_FLAGS(ht) & IS_ARRAY_PERSISTENT); in zend_hash_next_index_insert_mem()
H A Dzend_constants.c66 Z_PTR_P(zv) = pemalloc(sizeof(zend_constant), 1); in copy_zend_constant()
539 zend_constant *copy = pemalloc(sizeof(zend_constant), ZEND_CONSTANT_FLAGS(c) & CONST_PERSISTENT); in zend_hash_add_constant()
H A Dzend_smart_str.c147 str->c = pemalloc(str->a + 1, 1); in _smart_string_alloc_persistent()
/php-src/ext/standard/
H A Dfilters.c1088 *pretval = pemalloc(ZSTR_LEN(str) + 1, persistent); in php_conv_get_string_prop_ex()
1181 retval = pemalloc(sizeof(php_conv_base64_encode), persistent); in php_conv_open()
1196 retval = pemalloc(sizeof(php_conv_base64_decode), persistent); in php_conv_open()
1231 retval = pemalloc(sizeof(php_conv_qprint_encode), persistent); in php_conv_open()
1254 retval = pemalloc(sizeof(php_conv_qprint_decode), persistent); in php_conv_open()
1342 out_buf = pemalloc(out_buf_size, persistent); in strfilter_convert_append_bucket()
1395 out_buf = pemalloc(out_buf_size, persistent); in strfilter_convert_append_bucket()
1457 out_buf = pemalloc(out_buf_size, persistent); in strfilter_convert_append_bucket()
1578 inst = pemalloc(sizeof(php_convert_filter), persistent); in strfilter_convert_create()
H A Dbrowscap.c383 = pemalloc(sizeof(browscap_entry), persistent); in php_browscap_parser_cb()
423 browdata->htab = pemalloc(sizeof *browdata->htab, persistent); in browscap_read_file()
429 browdata->kv = pemalloc(sizeof(browscap_kv) * browdata->kv_size, persistent); in browscap_read_file()
/php-src/ext/dba/
H A Ddba_flatfile.c37 info->dbf = pemalloc(sizeof(flatfile), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_dbm.c74 info->dbf = pemalloc(sizeof(dba_dbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_qdbm.c56 info->dbf = pemalloc(sizeof(dba_qdbm_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_db1.c70 dba = pemalloc(sizeof(*dba), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_tcadb.c66 info->dbf = pemalloc(sizeof(dba_tcadb_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_gdbm.c52 info->dbf = pemalloc(sizeof(dba_gdbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_db2.c68 info->dbf = pemalloc(sizeof(dba_db2_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
H A Ddba_db3.c90 data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT);
H A Ddba_cdb.c98 cdb = pemalloc(sizeof(dba_cdb), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
/php-src/ext/pdo_odbc/
H A Dodbc_driver.c558 dsn = pemalloc(new_dsn_size, dbh->is_persistent); in pdo_odbc_handle_factory()
575 dsn = pemalloc(new_dsn_size, dbh->is_persistent); in pdo_odbc_handle_factory()
584 dsn = pemalloc(new_dsn_size, dbh->is_persistent); in pdo_odbc_handle_factory()
/php-src/ext/zlib/
H A Dzlib_filter.c302 data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent); in php_zlib_filter_create()
309 data->strm.next_out = data->outbuf = (Bytef *) pemalloc(data->outbuf_len, persistent); in php_zlib_filter_create()
/php-src/ext/bz2/
H A Dbz2_filter.c328 data->strm.next_in = data->inbuf = (char *) pemalloc(data->inbuf_len, persistent); in php_bz2_filter_create()
330 data->strm.next_out = data->outbuf = (char *) pemalloc(data->outbuf_len, persistent); in php_bz2_filter_create()

Completed in 61 milliseconds

123