/PHP-5.4/ext/gd/ |
H A D | gdcache.c | 66 head = (gdCache_head_t *)pemalloc(sizeof(gdCache_head_t), 1); in gdCacheCreate() 119 elem = (gdCache_element_t *)pemalloc(sizeof(gdCache_element_t), 1); in gdCacheGet()
|
/PHP-5.4/ext/standard/ |
H A D | browscap.c | 167 new_property = (zval *) pemalloc(sizeof(zval), persistent); in php_browscap_parser_cb() 203 bdata->current_section = (zval *) pemalloc(sizeof(zval), persistent); in php_browscap_parser_cb() 205 processed = (zval *) pemalloc(sizeof(zval), persistent); in php_browscap_parser_cb() 207 unprocessed = (zval *) pemalloc(sizeof(zval), persistent); in php_browscap_parser_cb() 210 section_properties = (HashTable *) pemalloc(sizeof(HashTable), persistent); in php_browscap_parser_cb() 250 browdata->htab = pemalloc(sizeof *browdata->htab, persistent); in browscap_read_file()
|
H A D | filters.c | 182 if (NULL == (inst->allowed_tags = pemalloc(allowed_tags_len, persistent))) { in php_strip_tags_filter_ctor() 252 inst = pemalloc(sizeof(php_strip_tags_filter), persistent); in strfilter_strip_tags_create() 1234 if (NULL == (*pretval = pemalloc(Z_STRLEN(zt) + 1, persistent))) { in php_conv_get_string_prop_ex() 1394 retval = pemalloc(sizeof(php_conv_base64_encode), persistent); in php_conv_open() 1411 retval = pemalloc(sizeof(php_conv_base64_decode), persistent); in php_conv_open() 1446 retval = pemalloc(sizeof(php_conv_qprint_encode), persistent); in php_conv_open() 1469 retval = pemalloc(sizeof(php_conv_qprint_decode), persistent); in php_conv_open() 1564 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket() 1619 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket() 1691 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket() [all …]
|
/PHP-5.4/ext/gd/libgd/ |
H A D | gdhelpers.h | 20 #define gdPMalloc(ptr) pemalloc(ptr, 1)
|
/PHP-5.4/main/streams/ |
H A D | filter.c | 78 bucket = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), is_persistent); in php_stream_bucket_new() 88 bucket->buf = pemalloc(buflen, 1); in php_stream_bucket_new() 127 retval = (php_stream_bucket*)pemalloc(sizeof(php_stream_bucket), bucket->is_persistent); in php_stream_bucket_make_writeable() 130 retval->buf = pemalloc(retval->buflen, retval->is_persistent); in php_stream_bucket_make_writeable() 150 (*left)->buf = pemalloc(length, in->is_persistent); in php_stream_bucket_split() 158 (*right)->buf = pemalloc((*right)->buflen, in->is_persistent); in php_stream_bucket_split()
|
H A D | php_streams_int.h | 37 # define pemalloc_rel_orig(size, persistent) pemalloc((size), (persistent))
|
/PHP-5.4/ext/mcrypt/ |
H A D | mcrypt_filter.c | 66 outchunk = pemalloc(chunklen, data->persistent); in php_mcrypt_filter() 255 data = pemalloc(sizeof(php_mcrypt_filter_data), persistent); in php_mcrypt_filter_create() 260 data->block_buffer = pemalloc(data->blocksize, persistent); in php_mcrypt_filter_create()
|
/PHP-5.4/ext/bcmath/libbcmath/src/ |
H A D | init.c | 60 temp = (bc_num) pemalloc (sizeof(bc_struct), persistent);
|
/PHP-5.4/ext/mysqlnd/ |
H A D | mysqlnd_alloc.c | 136 ret = pemalloc(REAL_SIZE(size), persistent); in _mysqlnd_pemalloc() 548 ret = pemalloc(REAL_SIZE(length) + 1, persistent); in _mysqlnd_pestrndup() 588 ret = pemalloc(tmp_str.len + sizeof(size_t), persistent); in _mysqlnd_pestrdup() 645 return pemalloc(size, persistent); in mysqlnd_zend_mm_pemalloc()
|
/PHP-5.4/Zend/ |
H A D | zend_llist.c | 39 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_add_element() 57 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_prepend_element()
|
H A D | zend_multibyte.c | 55 *return_list = pemalloc(0, persistent); in dummy_encoding_list_parser()
|
H A D | zend_hash.c | 247 p = (Bucket *) pemalloc(sizeof(Bucket), ht->persistent); in _zend_hash_add_or_update() 253 p = (Bucket *) pemalloc(sizeof(Bucket) + nKeyLength, ht->persistent); in _zend_hash_add_or_update() 324 p = (Bucket *) pemalloc(sizeof(Bucket), ht->persistent); in _zend_hash_quick_add_or_update() 330 p = (Bucket *) pemalloc(sizeof(Bucket) + nKeyLength, ht->persistent); in _zend_hash_quick_add_or_update() 1364 q = (Bucket *) pemalloc(sizeof(Bucket), ht->persistent); in zend_hash_update_current_key_ex() 1366 q = (Bucket *) pemalloc(sizeof(Bucket) + str_length, ht->persistent); in zend_hash_update_current_key_ex() 1433 arTmp = (Bucket **) pemalloc(ht->nNumOfElements * sizeof(Bucket *), ht->persistent); in zend_hash_sort()
|
/PHP-5.4/main/ |
H A D | php_ini.c | 259 option_arr = (zval *) pemalloc(sizeof(zval), 1); in php_ini_parser_cb() 262 Z_ARRVAL_P(option_arr) = (HashTable *) pemalloc(sizeof(HashTable), 1); in php_ini_parser_cb() 330 section_arr = (zval *) pemalloc(sizeof(zval), 1); in php_ini_parser_cb() 333 Z_ARRVAL_P(section_arr) = (HashTable *) pemalloc(sizeof(HashTable), 1); in php_ini_parser_cb()
|
/PHP-5.4/ext/dba/ |
H A D | dba_flatfile.c | 44 info->dbf = pemalloc(sizeof(flatfile), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_qdbm.c | 62 info->dbf = pemalloc(sizeof(dba_qdbm_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_dbm.c | 86 info->dbf = pemalloc(sizeof(dba_dbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_tcadb.c | 72 info->dbf = pemalloc(sizeof(dba_tcadb_data), info->flags & DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_db1.c | 82 dba = pemalloc(sizeof(*dba), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_db2.c | 83 info->dbf = pemalloc(sizeof(dba_db2_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_gdbm.c | 64 info->dbf = pemalloc(sizeof(dba_gdbm_data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
H A D | dba_db3.c | 97 data = pemalloc(sizeof(*data), info->flags&DBA_PERSISTENT); in DBA_OPEN_FUNC()
|
/PHP-5.4/ext/zlib/ |
H A D | zlib_filter.c | 314 data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent); in php_zlib_filter_create() 321 data->strm.next_out = data->outbuf = (Bytef *) pemalloc(data->outbuf_len, persistent); in php_zlib_filter_create()
|
/PHP-5.4/ext/bz2/ |
H A D | bz2_filter.c | 332 data->strm.next_in = data->inbuf = (char *) pemalloc(data->inbuf_len, persistent); in php_bz2_filter_create() 339 data->strm.next_out = data->outbuf = (char *) pemalloc(data->outbuf_len, persistent); in php_bz2_filter_create()
|
/PHP-5.4/sapi/cli/ |
H A D | php_cli_server.c | 918 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); in php_cli_server_chunk_immortal_new() 932 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk), 1); in php_cli_server_chunk_heap_new() 947 php_cli_server_chunk *chunk = pemalloc(sizeof(php_cli_server_chunk) + len, 1); in php_cli_server_chunk_heap_new_self_contained() 1181 sa = pemalloc(sizeof(struct sockaddr_in6), 1); in php_network_listen_socket() 1194 sa = pemalloc(sizeof(struct sockaddr_in), 1); in php_network_listen_socket() 1587 client->request.content = pemalloc(parser->content_length, 1); in php_cli_server_client_read_request_on_body() 2292 struct sockaddr *sa = pemalloc(server->socklen, 1); in php_cli_server_do_event_for_each_fd_callback() 2310 …if (!(client = pemalloc(sizeof(php_cli_server_client), 1)) || FAILURE == php_cli_server_client_cto… in php_cli_server_do_event_for_each_fd_callback()
|
/PHP-5.4/ |
H A D | README.STREAMS | 124 The buffer is allocated using pemalloc(); you need to call pefree() to 279 of a request (it uses pemalloc), 310 hold it, allocate it (use pemalloc with the persistent flag set 320 struct my_state * state = pemalloc(sizeof(struct my_state), persistent);
|