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()
973 …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
983 inst->lbchars = (lbchars_dup ? pestrdup(lbchars, persistent) : lbchars); in php_conv_qprint_encode_ctor()
989 inst->persistent = persistent; in php_conv_qprint_encode_ctor()
1005 int persistent; member
1014 pefree((void *)inst->lbchars, inst->persistent); in php_conv_qprint_decode_dtor()
1188 …conv_qprint_decode *inst, const char *lbchars, size_t lbchars_len, int lbchars_dup, int persistent) in php_conv_qprint_decode_ctor() argument
1196 inst->lbchars = (lbchars_dup ? pestrdup(lbchars, persistent) : lbchars); in php_conv_qprint_decode_ctor()
1203 inst->persistent = persistent; in php_conv_qprint_decode_ctor()
1210 int persistent; member
1221 … *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
1234 if (NULL == (*pretval = pemalloc(Z_STRLEN(zt) + 1, persistent))) { in php_conv_get_string_prop_ex()
1242 if (NULL == (*pretval = pemalloc(Z_STRLEN_PP(tmpval) + 1, persistent))) { in php_conv_get_string_prop_ex()
1355 #define GET_STR_PROP(ht, var, var_len, fldname, persistent) \ argument
1356 php_conv_get_string_prop_ex(ht, &var, &var_len, fldname, sizeof(fldname), persistent)
1367 static php_conv *php_conv_open(int conv_mode, const HashTable *options, int persistent) in php_conv_open() argument
1394 retval = pemalloc(sizeof(php_conv_base64_encode), persistent); in php_conv_open()
1396 …e64_encode_ctor((php_conv_base64_encode *)retval, line_len, lbchars, lbchars_len, 1, persistent)) { in php_conv_open()
1404 if (php_conv_base64_encode_ctor((php_conv_base64_encode *)retval, 0, NULL, 0, 0, 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()
1448 …code_ctor((php_conv_qprint_encode *)retval, line_len, lbchars, lbchars_len, 1, opts, persistent)) { in php_conv_open()
1454 … (php_conv_qprint_encode_ctor((php_conv_qprint_encode *)retval, 0, NULL, 0, 0, opts, persistent)) { in php_conv_open()
1469 retval = pemalloc(sizeof(php_conv_qprint_decode), persistent); in php_conv_open()
1471 …p_conv_qprint_decode_ctor((php_conv_qprint_decode *)retval, lbchars, lbchars_len, 1, persistent)) { in php_conv_open()
1477 if (php_conv_qprint_decode_ctor((php_conv_qprint_decode *)retval, NULL, 0, 0, persistent)) { in php_conv_open()
1491 pefree(retval, persistent); in php_conv_open()
1503 const char *filtername, int persistent) in php_convert_filter_ctor() argument
1505 inst->persistent = persistent; in php_convert_filter_ctor()
1506 inst->filtername = pestrdup(filtername, persistent); in php_convert_filter_ctor()
1509 if ((inst->cd = php_conv_open(conv_mode, conv_opts, persistent)) == NULL) { in php_convert_filter_ctor()
1518 pefree(inst->cd, persistent); in php_convert_filter_ctor()
1521 pefree(inst->filtername, persistent); in php_convert_filter_ctor()
1530 pefree(inst->cd, inst->persistent); in php_convert_filter_dtor()
1534 pefree(inst->filtername, inst->persistent); in php_convert_filter_dtor()
1544 int persistent TSRMLS_DC) in strfilter_convert_append_bucket()
1564 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1612 …bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { in strfilter_convert_append_bucket()
1619 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1624 if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1625 …bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { in strfilter_convert_append_bucket()
1684 …bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { in strfilter_convert_append_bucket()
1691 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1696 if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1697 …bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { in strfilter_convert_append_bucket()
1724 …bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) { in strfilter_convert_append_bucket()
1729 pefree(out_buf, persistent); in strfilter_convert_append_bucket()
1736 pefree(out_buf, persistent); in strfilter_convert_append_bucket()
1794 pefree(thisfilter->abstract, ((php_convert_filter *)thisfilter->abstract)->persistent); in strfilter_convert_dtor()
1803 …ter *strfilter_convert_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) in strfilter_convert_create()
1821 inst = pemalloc(sizeof(php_convert_filter), persistent); in strfilter_convert_create()
1835 filtername, persistent) != SUCCESS) { in strfilter_convert_create()
1839 retval = php_stream_filter_alloc(&strfilter_convert_ops, inst, persistent); in strfilter_convert_create()
1842 pefree(inst, persistent); in strfilter_convert_create()
1855 int persistent; member
1896 pefree(data, data->persistent); in consumed_filter_dtor()
1906 …ilter *consumed_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) in consumed_filter_create()
1916 data = pecalloc(1, sizeof(php_consumed_filter_data), persistent); in consumed_filter_create()
1921 data->persistent = persistent; in consumed_filter_create()
1926 return php_stream_filter_alloc(fops, data, persistent); in consumed_filter_create()
1952 int persistent; member
2104 pefree(data, data->persistent); in php_chunked_dtor()
2114 …filter *chunked_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) in chunked_filter_create()
2124 data = (php_chunked_filter_data *)pecalloc(1, sizeof(php_chunked_filter_data), persistent); in chunked_filter_create()
2131 data->persistent = persistent; in chunked_filter_create()
2134 return php_stream_filter_alloc(fops, data, persistent); in chunked_filter_create()