Lines Matching refs:persistent

70 …ilter *strfilter_rot13_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC)  in strfilter_rot13_create()
72 return php_stream_filter_alloc(&strfilter_rot13_ops, NULL, persistent); in strfilter_rot13_create()
152 …ter *strfilter_toupper_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) in strfilter_toupper_create()
154 return php_stream_filter_alloc(&strfilter_toupper_ops, NULL, persistent); in strfilter_toupper_create()
157 …ter *strfilter_tolower_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) in strfilter_tolower_create()
159 return php_stream_filter_alloc(&strfilter_tolower_ops, NULL, persistent); in strfilter_tolower_create()
176 int persistent; member
179 …r_ctor(php_strip_tags_filter *inst, const char *allowed_tags, int allowed_tags_len, int persistent) in php_strip_tags_filter_ctor() argument
182 if (NULL == (inst->allowed_tags = pemalloc(allowed_tags_len, persistent))) { in php_strip_tags_filter_ctor()
191 inst->persistent = persistent; in php_strip_tags_filter_ctor()
199 pefree((void *)inst->allowed_tags, inst->persistent); in php_strip_tags_filter_dtor()
238 pefree(thisfilter->abstract, ((php_strip_tags_filter *)thisfilter->abstract)->persistent); in strfilter_strip_tags_dtor()
247 … *strfilter_strip_tags_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) in strfilter_strip_tags_create()
252 inst = pemalloc(sizeof(php_strip_tags_filter), persistent); in strfilter_strip_tags_create()
283 if (php_strip_tags_filter_ctor(inst, tags_ss.c, tags_ss.len, persistent) != SUCCESS) { in strfilter_strip_tags_create()
287 pefree(inst, persistent); in strfilter_strip_tags_create()
295 return php_stream_filter_alloc(&strfilter_strip_tags_ops, inst, persistent); in strfilter_strip_tags_create()
342 int persistent; member
367 …t, unsigned int line_len, const char *lbchars, size_t lbchars_len, int lbchars_dup, int persistent) in php_conv_base64_encode_ctor() argument
375 inst->lbchars = (lbchars_dup ? pestrdup(lbchars, persistent) : lbchars); in php_conv_base64_encode_ctor()
381 inst->persistent = persistent; in php_conv_base64_encode_ctor()
389 pefree((void *)inst->lbchars, inst->persistent); in php_conv_base64_encode_dtor()
754 int persistent; member
769 pefree((void *)inst->lbchars, inst->persistent); in php_conv_qprint_encode_dtor()
934 …d int line_len, const char *lbchars, size_t lbchars_len, int lbchars_dup, int opts, int persistent) in php_conv_qprint_encode_ctor() argument
944 inst->lbchars = (lbchars_dup ? pestrdup(lbchars, persistent) : lbchars); in php_conv_qprint_encode_ctor()
950 inst->persistent = persistent; in php_conv_qprint_encode_ctor()
966 int persistent; member
975 pefree((void *)inst->lbchars, inst->persistent); in php_conv_qprint_decode_dtor()
1149 …conv_qprint_decode *inst, const char *lbchars, size_t lbchars_len, int lbchars_dup, int persistent) in php_conv_qprint_decode_ctor() argument
1157 inst->lbchars = (lbchars_dup ? pestrdup(lbchars, persistent) : lbchars); in php_conv_qprint_decode_ctor()
1164 inst->persistent = persistent; in php_conv_qprint_decode_ctor()
1171 int persistent; member
1182 … *ht, char **pretval, size_t *pretval_len, char *field_name, size_t field_name_len, int persistent) in php_conv_get_string_prop_ex() argument
1195 if (NULL == (*pretval = pemalloc(Z_STRLEN(zt) + 1, persistent))) { in php_conv_get_string_prop_ex()
1203 if (NULL == (*pretval = pemalloc(Z_STRLEN_PP(tmpval) + 1, persistent))) { in php_conv_get_string_prop_ex()
1316 #define GET_STR_PROP(ht, var, var_len, fldname, persistent) \ argument
1317 php_conv_get_string_prop_ex(ht, &var, &var_len, fldname, sizeof(fldname), persistent)
1328 static php_conv *php_conv_open(int conv_mode, const HashTable *options, int persistent) in php_conv_open() argument
1355 retval = pemalloc(sizeof(php_conv_base64_encode), persistent); in php_conv_open()
1357 …e64_encode_ctor((php_conv_base64_encode *)retval, line_len, lbchars, lbchars_len, 1, persistent)) { in php_conv_open()
1365 if (php_conv_base64_encode_ctor((php_conv_base64_encode *)retval, 0, NULL, 0, 0, persistent)) { in php_conv_open()
1372 retval = pemalloc(sizeof(php_conv_base64_decode), persistent); in php_conv_open()
1407 retval = pemalloc(sizeof(php_conv_qprint_encode), persistent); in php_conv_open()
1409 …code_ctor((php_conv_qprint_encode *)retval, line_len, lbchars, lbchars_len, 1, opts, persistent)) { in php_conv_open()
1415 … (php_conv_qprint_encode_ctor((php_conv_qprint_encode *)retval, 0, NULL, 0, 0, opts, persistent)) { in php_conv_open()
1430 retval = pemalloc(sizeof(php_conv_qprint_decode), persistent); in php_conv_open()
1432 …p_conv_qprint_decode_ctor((php_conv_qprint_decode *)retval, lbchars, lbchars_len, 1, persistent)) { in php_conv_open()
1438 if (php_conv_qprint_decode_ctor((php_conv_qprint_decode *)retval, NULL, 0, 0, persistent)) { in php_conv_open()
1452 pefree(retval, persistent); in php_conv_open()
1464 const char *filtername, int persistent) in php_convert_filter_ctor() argument
1466 inst->persistent = persistent; in php_convert_filter_ctor()
1467 inst->filtername = pestrdup(filtername, persistent); in php_convert_filter_ctor()
1470 if ((inst->cd = php_conv_open(conv_mode, conv_opts, persistent)) == NULL) { in php_convert_filter_ctor()
1479 pefree(inst->cd, persistent); in php_convert_filter_ctor()
1482 pefree(inst->filtername, persistent); in php_convert_filter_ctor()
1491 pefree(inst->cd, inst->persistent); in php_convert_filter_dtor()
1495 pefree(inst->filtername, inst->persistent); in php_convert_filter_dtor()
1505 int persistent TSRMLS_DC) in strfilter_convert_append_bucket()
1525 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1573 …bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { in strfilter_convert_append_bucket()
1580 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1585 if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1586 …bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { in strfilter_convert_append_bucket()
1645 …bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { in strfilter_convert_append_bucket()
1652 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1657 if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1658 …bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { in strfilter_convert_append_bucket()
1685 …bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { in strfilter_convert_append_bucket()
1690 pefree(out_buf, persistent); in strfilter_convert_append_bucket()
1697 pefree(out_buf, persistent); in strfilter_convert_append_bucket()
1755 pefree(thisfilter->abstract, ((php_convert_filter *)thisfilter->abstract)->persistent); in strfilter_convert_dtor()
1764 …ter *strfilter_convert_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) in strfilter_convert_create()
1782 inst = pemalloc(sizeof(php_convert_filter), persistent); in strfilter_convert_create()
1796 filtername, persistent) != SUCCESS) { in strfilter_convert_create()
1800 retval = php_stream_filter_alloc(&strfilter_convert_ops, inst, persistent); in strfilter_convert_create()
1803 pefree(inst, persistent); in strfilter_convert_create()
1816 int persistent; member
1857 pefree(data, data->persistent); in consumed_filter_dtor()
1867 …ilter *consumed_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) in consumed_filter_create()
1877 data = pecalloc(1, sizeof(php_consumed_filter_data), persistent); in consumed_filter_create()
1882 data->persistent = persistent; in consumed_filter_create()
1887 return php_stream_filter_alloc(fops, data, persistent); in consumed_filter_create()
1913 int persistent; member
2065 pefree(data, data->persistent); in php_chunked_dtor()
2075 …filter *chunked_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) in chunked_filter_create()
2085 data = (php_chunked_filter_data *)pecalloc(1, sizeof(php_chunked_filter_data), persistent); in chunked_filter_create()
2092 data->persistent = persistent; in chunked_filter_create()
2095 return php_stream_filter_alloc(fops, data, persistent); in chunked_filter_create()