Searched refs:filterparams (Results 1 - 11 of 11) sorted by relevance

/PHP_TRUNK/main/streams/
H A Dfilter.c250 PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
261 filter = factory->create_filter(filtername, filterparams, persistent TSRMLS_CC);
273 filter = factory->create_filter(filtername, filterparams, persistent TSRMLS_CC);
H A Dphp_stream_filter_api.h145 php_stream_filter *(*create_filter)(const char *filtername, zval *filterparams, int persistent TSRMLS_DC);
152 PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC);
/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt_filter.c152 static php_stream_filter *php_mcrypt_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
172 if (!filterparams || Z_TYPE_P(filterparams) != IS_ARRAY) {
177 if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), ZEND_STRL("mode")))) {
185 if ((tmpzval=zend_hash_str_find(HASH_OF(filterparams), ZEND_STRL("algorithms_dir")))) {
193 if ((tmpzval=zend_hash_str_find(HASH_OF(filterparams), ZEND_STRL("modes_dir")))) {
201 if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), ZEND_STRL("key"))) &&
221 if (!(tmpzval = zend_hash_str_find(HASH_OF(filterparams), ZEND_STRL("iv"))) ||
/PHP_TRUNK/ext/phar/
H A Dtar.c1296 zval filterparams; local
1298 array_init(&filterparams);
1303 add_assoc_long(&filterparams, "window", MAX_WBITS + 16);
1304 filter = php_stream_filter_create("zlib.deflate", &filterparams, php_stream_is_persistent(phar->fp) TSRMLS_CC);
1305 zval_dtor(&filterparams);
H A Dphar.c1611 zval filterparams; local
1616 array_init(&filterparams);
1621 add_assoc_long(&filterparams, "window", MAX_WBITS + 32);
1629 filter = php_stream_filter_create("zlib.inflate", &filterparams, php_stream_is_persistent(fp) TSRMLS_CC);
1633 add_assoc_long(&filterparams, "window", MAX_WBITS);
1634 filter = php_stream_filter_create("zlib.inflate", &filterparams, php_stream_is_persistent(fp) TSRMLS_CC);
1635 zval_dtor(&filterparams);
1642 zval_dtor(&filterparams);
3230 zval filterparams; local
3232 array_init(&filterparams);
[all...]
/PHP_TRUNK/ext/bz2/
H A Dbz2_filter.c310 static php_stream_filter *php_bz2_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
349 if (filterparams) {
352 if (Z_TYPE_P(filterparams) == IS_ARRAY || Z_TYPE_P(filterparams) == IS_OBJECT) {
353 if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), "concatenated", sizeof("concatenated")-1))) {
358 tmpzval = zend_hash_str_find(HASH_OF(filterparams), "small", sizeof("small")-1);
360 tmpzval = filterparams;
374 if (filterparams) {
377 if (Z_TYPE_P(filterparams) == IS_ARRAY || Z_TYPE_P(filterparams)
[all...]
/PHP_TRUNK/ext/standard/
H A Dfilters.c70 static php_stream_filter *strfilter_rot13_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
152 static php_stream_filter *strfilter_toupper_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
157 static php_stream_filter *strfilter_tolower_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
247 static php_stream_filter *strfilter_strip_tags_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
259 if (filterparams != NULL) {
260 if (Z_TYPE_P(filterparams) == IS_ARRAY) {
263 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(filterparams), tmp) {
272 convert_to_string_ex(filterparams);
273 smart_str_setl(&tags_ss, Z_STRVAL_P(filterparams), Z_STRLEN_P(filterparams));
1782 strfilter_convert_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
1885 consumed_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
2093 chunked_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
[all...]
H A Dstreamsfuncs.c1122 zval *filterparams = NULL; local
1127 &filtername, &filternamelen, &read_write, &filterparams) == FAILURE) {
1148 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream) TSRMLS_CC);
1165 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream) TSRMLS_CC);
1191 /* {{{ proto resource stream_filter_prepend(resource stream, string filtername[, int read_write[, string filterparams]])
1199 /* {{{ proto resource stream_filter_append(resource stream, string filtername[, int read_write[, string filterparams]])
H A Duser_filters.c274 zval *filterparams, int persistent TSRMLS_DC)
348 if (filterparams) {
349 add_property_zval(&obj, "params", filterparams);
273 user_filter_factory_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
H A Dbasic_functions.c2054 ZEND_ARG_INFO(0, filterparams)
2061 ZEND_ARG_INFO(0, filterparams)
/PHP_TRUNK/ext/zlib/
H A Dzlib_filter.c287 static php_stream_filter *php_zlib_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
326 if (filterparams) {
329 if ((Z_TYPE_P(filterparams) == IS_ARRAY || Z_TYPE_P(filterparams) == IS_OBJECT) &&
330 (tmpzval = zend_hash_str_find(HASH_OF(filterparams), "window", sizeof("window") - 1))) {
355 if (filterparams) {
358 /* filterparams can either be a scalar value to indicate compression level (shortcut method)
361 switch (Z_TYPE_P(filterparams)) {
364 if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), "memory", sizeof("memory") -1))) {
376 if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), "windo
[all...]

Completed in 26 milliseconds