/php-src/ext/bz2/ |
H A D | bz2_filter.c | 312 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 D | zlib_filter.c | 283 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 D | php_stream_filter_api.h | 141 …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 D | filter.c | 220 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 D | user_filters.c | 222 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 D | filters.c | 65 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 D | streamsfuncs.c | 1243 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 D | phar.c | 1672 zval filterparams; in phar_open_from_fp() local 1677 array_init(&filterparams); in phar_open_from_fp() 1682 add_assoc_long_ex(&filterparams, "window", sizeof("window") - 1, MAX_WBITS + 32); in phar_open_from_fp() 1690 filter = php_stream_filter_create("zlib.inflate", &filterparams, php_stream_is_persistent(fp)); in phar_open_from_fp() 1694 add_assoc_long_ex(&filterparams, "window", sizeof("window") - 1, MAX_WBITS); in phar_open_from_fp() 1696 zend_array_destroy(Z_ARR(filterparams)); in phar_open_from_fp() 1703 zend_array_destroy(Z_ARR(filterparams)); in phar_open_from_fp() 3168 zval filterparams; in phar_flush_ex() local 3170 array_init(&filterparams); in phar_flush_ex() 3171 add_assoc_long(&filterparams, "window", MAX_WBITS+16); in phar_flush_ex() [all …]
|
H A D | tar.c | 1285 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()
|