Home
last modified time | relevance | path

Searched refs:filterparams (Results 1 – 9 of 9) sorted by relevance

/php-src/ext/bz2/
H A Dbz2_filter.c312 static php_stream_filter *php_bz2_filter_create(const char *filtername, zval *filterparams, uint8_t… in php_bz2_filter_create() argument
336 if (filterparams) { in php_bz2_filter_create()
339 if (Z_TYPE_P(filterparams) == IS_ARRAY || Z_TYPE_P(filterparams) == IS_OBJECT) { in php_bz2_filter_create()
340 …if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), "concatenated", sizeof("concatenated")-1)… in php_bz2_filter_create()
345 tmpzval = zend_hash_str_find(HASH_OF(filterparams), "small", sizeof("small")-1); in php_bz2_filter_create()
347 tmpzval = filterparams; in php_bz2_filter_create()
361 if (filterparams) { in php_bz2_filter_create()
364 if (Z_TYPE_P(filterparams) == IS_ARRAY || Z_TYPE_P(filterparams) == IS_OBJECT) { in php_bz2_filter_create()
365 if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), "blocks", sizeof("blocks")-1))) { in php_bz2_filter_create()
375 if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), "work", sizeof("work")-1))) { in php_bz2_filter_create()
/php-src/ext/zlib/
H A Dzlib_filter.c283 static php_stream_filter *php_zlib_filter_create(const char *filtername, zval *filterparams, uint8_… in php_zlib_filter_create() argument
322 if (filterparams) { in php_zlib_filter_create()
325 if ((Z_TYPE_P(filterparams) == IS_ARRAY || Z_TYPE_P(filterparams) == IS_OBJECT) && in php_zlib_filter_create()
326 (tmpzval = zend_hash_str_find(HASH_OF(filterparams), "window", sizeof("window") - 1))) { in php_zlib_filter_create()
348 if (filterparams) { in php_zlib_filter_create()
355 switch (Z_TYPE_P(filterparams)) { in php_zlib_filter_create()
358 if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), "memory", sizeof("memory") -1))) { in php_zlib_filter_create()
368 if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), "window", sizeof("window") - 1))) { in php_zlib_filter_create()
378 if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), "level", sizeof("level") - 1))) { in php_zlib_filter_create()
388 tmp = zval_get_long(filterparams); in php_zlib_filter_create()
/php-src/main/streams/
H A Dphp_stream_filter_api.h141 …php_stream_filter *(*create_filter)(const char *filtername, zval *filterparams, uint8_t persistent…
148 PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, uint…
H A Dfilter.c220 PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, uint… in php_stream_filter_create() argument
231 filter = factory->create_filter(filtername, filterparams, persistent); in php_stream_filter_create()
244 filter = factory->create_filter(filtername, filterparams, persistent); in php_stream_filter_create()
/php-src/ext/standard/
H A Duser_filters.c222 zval *filterparams, uint8_t persistent) in user_filter_factory_create() argument
295 if (filterparams) { in user_filter_factory_create()
296 add_property_zval(&obj, "params", filterparams); in user_filter_factory_create()
H A Dfilters.c65 static php_stream_filter *strfilter_rot13_create(const char *filtername, zval *filterparams, uint8_… in strfilter_rot13_create() argument
147 static php_stream_filter *strfilter_toupper_create(const char *filtername, zval *filterparams, uint… in strfilter_toupper_create() argument
152 static php_stream_filter *strfilter_tolower_create(const char *filtername, zval *filterparams, uint… in strfilter_tolower_create() argument
1557 static php_stream_filter *strfilter_convert_create(const char *filtername, zval *filterparams, uint… in strfilter_convert_create() argument
1565 if (filterparams != NULL && Z_TYPE_P(filterparams) != IS_ARRAY) { in strfilter_convert_create()
1588 (filterparams != NULL ? Z_ARRVAL_P(filterparams) : NULL), in strfilter_convert_create()
1660 static php_stream_filter *consumed_filter_create(const char *filtername, zval *filterparams, uint8_… in consumed_filter_create() argument
1874 static php_stream_filter *chunked_filter_create(const char *filtername, zval *filterparams, uint8_t… in chunked_filter_create() argument
H A Dstreamsfuncs.c1243 zval *filterparams = NULL; in apply_filter_to_stream() local
1252 Z_PARAM_ZVAL(filterparams) in apply_filter_to_stream()
1272 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream)); in apply_filter_to_stream()
1289 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream)); in apply_filter_to_stream()
/php-src/ext/phar/
H A Dphar.c1671 zval filterparams; in phar_open_from_fp() local
1676 array_init(&filterparams); in phar_open_from_fp()
1681 add_assoc_long_ex(&filterparams, "window", sizeof("window") - 1, MAX_WBITS + 32); in phar_open_from_fp()
1689 filter = php_stream_filter_create("zlib.inflate", &filterparams, php_stream_is_persistent(fp)); in phar_open_from_fp()
1693 add_assoc_long_ex(&filterparams, "window", sizeof("window") - 1, MAX_WBITS); in phar_open_from_fp()
1695 zend_array_destroy(Z_ARR(filterparams)); in phar_open_from_fp()
1702 zend_array_destroy(Z_ARR(filterparams)); in phar_open_from_fp()
3167 zval filterparams; in phar_flush_ex() local
3169 array_init(&filterparams); in phar_flush_ex()
3170 add_assoc_long(&filterparams, "window", MAX_WBITS+16); in phar_flush_ex()
[all …]
H A Dtar.c1285 zval filterparams; in phar_tar_flush() local
1287 array_init(&filterparams); in phar_tar_flush()
1292 add_assoc_long(&filterparams, "window", MAX_WBITS + 16); in phar_tar_flush()
1293 …filter = php_stream_filter_create("zlib.deflate", &filterparams, php_stream_is_persistent(phar->fp… in phar_tar_flush()
1294 zend_array_destroy(Z_ARR(filterparams)); in phar_tar_flush()

Completed in 37 milliseconds