Lines Matching refs:persistent

70 …p_stream_filter *strfilter_rot13_create(const char *filtername, zval *filterparams, int persistent)  in strfilter_rot13_create()  argument
72 return php_stream_filter_alloc(&strfilter_rot13_ops, NULL, persistent); in strfilter_rot13_create()
152 …stream_filter *strfilter_toupper_create(const char *filtername, zval *filterparams, int persistent) in strfilter_toupper_create() argument
154 return php_stream_filter_alloc(&strfilter_toupper_ops, NULL, persistent); in strfilter_toupper_create()
157 …stream_filter *strfilter_tolower_create(const char *filtername, zval *filterparams, int persistent) in strfilter_tolower_create() argument
159 return php_stream_filter_alloc(&strfilter_tolower_ops, NULL, persistent); in strfilter_tolower_create()
176 int persistent; member
179 … php_strip_tags_filter_ctor(php_strip_tags_filter *inst, zend_string *allowed_tags, int persistent) in php_strip_tags_filter_ctor() argument
182 if (NULL == (inst->allowed_tags = pemalloc(ZSTR_LEN(allowed_tags) + 1, 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 …e(Z_PTR(thisfilter->abstract), ((php_strip_tags_filter *)Z_PTR(thisfilter->abstract))->persistent); in strfilter_strip_tags_dtor()
247 …eam_filter *strfilter_strip_tags_create(const char *filtername, zval *filterparams, int persistent) in strfilter_strip_tags_create() argument
253 inst = pemalloc(sizeof(php_strip_tags_filter), persistent); in strfilter_strip_tags_create()
278 if (php_strip_tags_filter_ctor(inst, allowed_tags, persistent) == SUCCESS) { in strfilter_strip_tags_create()
279 filter = php_stream_filter_alloc(&strfilter_strip_tags_ops, inst, persistent); in strfilter_strip_tags_create()
281 pefree(inst, persistent); in strfilter_strip_tags_create()
334 int persistent; member
360 …t, unsigned int line_len, const char *lbchars, size_t lbchars_len, int lbchars_dup, int persistent) in php_conv_base64_encode_ctor() argument
368 inst->lbchars = (lbchars_dup ? pestrdup(lbchars, persistent) : lbchars); in php_conv_base64_encode_ctor()
374 inst->persistent = persistent; in php_conv_base64_encode_ctor()
382 pefree((void *)inst->lbchars, inst->persistent); in php_conv_base64_encode_dtor()
747 int persistent; member
762 pefree((void *)inst->lbchars, inst->persistent); in php_conv_qprint_encode_dtor()
967 …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
977 inst->lbchars = (lbchars_dup ? pestrdup(lbchars, persistent) : lbchars); in php_conv_qprint_encode_ctor()
983 inst->persistent = persistent; in php_conv_qprint_encode_ctor()
999 int persistent; member
1008 pefree((void *)inst->lbchars, inst->persistent); in php_conv_qprint_decode_dtor()
1182 …conv_qprint_decode *inst, const char *lbchars, size_t lbchars_len, int lbchars_dup, int persistent) in php_conv_qprint_decode_ctor() argument
1190 inst->lbchars = (lbchars_dup ? pestrdup(lbchars, persistent) : lbchars); in php_conv_qprint_decode_ctor()
1197 inst->persistent = persistent; in php_conv_qprint_decode_ctor()
1204 int persistent; member
1215 … *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
1225 if (NULL == (*pretval = pemalloc(ZSTR_LEN(str) + 1, persistent))) { in php_conv_get_string_prop_ex()
1282 #define GET_STR_PROP(ht, var, var_len, fldname, persistent) \ argument
1283 php_conv_get_string_prop_ex(ht, &var, &var_len, fldname, sizeof(fldname), persistent)
1294 static php_conv *php_conv_open(int conv_mode, const HashTable *options, int persistent) in php_conv_open() argument
1321 retval = pemalloc(sizeof(php_conv_base64_encode), persistent); in php_conv_open()
1323 …e64_encode_ctor((php_conv_base64_encode *)retval, line_len, lbchars, lbchars_len, 1, persistent)) { in php_conv_open()
1331 if (php_conv_base64_encode_ctor((php_conv_base64_encode *)retval, 0, NULL, 0, 0, persistent)) { in php_conv_open()
1338 retval = pemalloc(sizeof(php_conv_base64_decode), persistent); in php_conv_open()
1373 retval = pemalloc(sizeof(php_conv_qprint_encode), persistent); in php_conv_open()
1375 …code_ctor((php_conv_qprint_encode *)retval, line_len, lbchars, lbchars_len, 1, opts, persistent)) { in php_conv_open()
1381 … (php_conv_qprint_encode_ctor((php_conv_qprint_encode *)retval, 0, NULL, 0, 0, opts, persistent)) { in php_conv_open()
1396 retval = pemalloc(sizeof(php_conv_qprint_decode), persistent); in php_conv_open()
1398 …p_conv_qprint_decode_ctor((php_conv_qprint_decode *)retval, lbchars, lbchars_len, 1, persistent)) { in php_conv_open()
1404 if (php_conv_qprint_decode_ctor((php_conv_qprint_decode *)retval, NULL, 0, 0, persistent)) { in php_conv_open()
1418 pefree(retval, persistent); in php_conv_open()
1430 const char *filtername, int persistent) in php_convert_filter_ctor() argument
1432 inst->persistent = persistent; in php_convert_filter_ctor()
1433 inst->filtername = pestrdup(filtername, persistent); in php_convert_filter_ctor()
1436 if ((inst->cd = php_conv_open(conv_mode, conv_opts, persistent)) == NULL) { in php_convert_filter_ctor()
1445 pefree(inst->cd, persistent); in php_convert_filter_ctor()
1448 pefree(inst->filtername, persistent); in php_convert_filter_ctor()
1457 pefree(inst->cd, inst->persistent); in php_convert_filter_dtor()
1461 pefree(inst->filtername, inst->persistent); in php_convert_filter_dtor()
1471 int persistent) in strfilter_convert_append_bucket() argument
1491 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1539 …L == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) { in strfilter_convert_append_bucket()
1546 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1551 if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1552 …L == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) { in strfilter_convert_append_bucket()
1611 …L == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) { in strfilter_convert_append_bucket()
1618 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1623 if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1624 …L == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) { in strfilter_convert_append_bucket()
1651 …L == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) { in strfilter_convert_append_bucket()
1656 pefree(out_buf, persistent); in strfilter_convert_append_bucket()
1663 pefree(out_buf, persistent); in strfilter_convert_append_bucket()
1721 …free(Z_PTR(thisfilter->abstract), ((php_convert_filter *)Z_PTR(thisfilter->abstract))->persistent); in strfilter_convert_dtor()
1730 …stream_filter *strfilter_convert_create(const char *filtername, zval *filterparams, int persistent) in strfilter_convert_create() argument
1748 inst = pemalloc(sizeof(php_convert_filter), persistent); in strfilter_convert_create()
1762 filtername, persistent) != SUCCESS) { in strfilter_convert_create()
1766 retval = php_stream_filter_alloc(&strfilter_convert_ops, inst, persistent); in strfilter_convert_create()
1769 pefree(inst, persistent); in strfilter_convert_create()
1784 int persistent; member
1823 pefree(data, data->persistent); in consumed_filter_dtor()
1833 …p_stream_filter *consumed_filter_create(const char *filtername, zval *filterparams, int persistent) in consumed_filter_create() argument
1843 data = pecalloc(1, sizeof(php_consumed_filter_data), persistent); in consumed_filter_create()
1848 data->persistent = persistent; in consumed_filter_create()
1853 return php_stream_filter_alloc(fops, data, persistent); in consumed_filter_create()
1879 int persistent; member
2031 pefree(data, data->persistent); in php_chunked_dtor()
2041 …hp_stream_filter *chunked_filter_create(const char *filtername, zval *filterparams, int persistent) in chunked_filter_create() argument
2051 data = (php_chunked_filter_data *)pecalloc(1, sizeof(php_chunked_filter_data), persistent); in chunked_filter_create()
2058 data->persistent = persistent; in chunked_filter_create()
2061 return php_stream_filter_alloc(fops, data, persistent); in chunked_filter_create()