Searched defs:filterparams (Results 1 - 9 of 9) sorted by relevance

/PHP_5_5/ext/phar/
H A Dphar.c1606 zval filterparams; local
1611 array_init(&filterparams);
1616 add_assoc_long(&filterparams, "window", MAX_WBITS + 32);
1624 filter = php_stream_filter_create("zlib.inflate", &filterparams, php_stream_is_persistent(fp) TSRMLS_CC);
1628 add_assoc_long(&filterparams, "window", MAX_WBITS);
1629 filter = php_stream_filter_create("zlib.inflate", &filterparams, php_stream_is_persistent(fp) TSRMLS_CC);
1630 zval_dtor(&filterparams);
1637 zval_dtor(&filterparams);
3255 zval filterparams; local
3257 array_init(&filterparams);
[all...]
H A Dtar.c1278 zval filterparams; local
1280 array_init(&filterparams);
1285 add_assoc_long(&filterparams, "window", MAX_WBITS + 16);
1286 filter = php_stream_filter_create("zlib.deflate", &filterparams, php_stream_is_persistent(phar->fp) TSRMLS_CC);
1287 zval_dtor(&filterparams);
/PHP_5_5/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) {
264 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(filterparams), &pos);
265 while (zend_hash_get_current_data_ex(Z_ARRVAL_P(filterparams), (void **) &tmp, &pos) == SUCCESS) {
270 zend_hash_move_forward_ex(Z_ARRVAL_P(filterparams), &pos);
275 convert_to_string_ex(&filterparams);
1803 strfilter_convert_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
1906 consumed_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
2114 chunked_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
[all...]
H A Dstreamsfuncs.c1195 zval *filterparams = NULL; local
1200 &filtername, &filternamelen, &read_write, &filterparams) == FAILURE) {
1221 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream) TSRMLS_CC);
1238 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream) TSRMLS_CC);
1262 /* {{{ proto resource stream_filter_prepend(resource stream, string filtername[, int read_write[, string filterparams]])
1270 /* {{{ proto resource stream_filter_append(resource stream, string filtername[, int read_write[, string filterparams]])
H A Duser_filters.c284 zval *filterparams, int persistent TSRMLS_DC)
364 if (filterparams) {
365 add_property_zval(obj, "params", filterparams);
283 user_filter_factory_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
/PHP_5_5/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 zend_hash_find(HASH_OF(filterparams), "window", sizeof("window"), (void **) &tmpzval) == SUCCESS) {
356 if (filterparams) {
359 /* filterparams can either be a scalar value to indicate compression level (shortcut method)
362 switch (Z_TYPE_P(filterparams)) {
365 if (zend_hash_find(HASH_OF(filterparams), "memory", sizeof("memory"), (void**) &tmpzval) == SUCCESS) {
378 if (zend_hash_find(HASH_OF(filterparams), "windo
[all...]
/PHP_5_5/main/streams/
H A Dfilter.c252 PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
263 filter = factory->create_filter(filtername, filterparams, persistent TSRMLS_CC);
275 filter = factory->create_filter(filtername, filterparams, persistent TSRMLS_CC);
/PHP_5_5/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) {
354 if (SUCCESS == zend_hash_find(HASH_OF(filterparams), "concatenated", sizeof("concatenated"), (void **) &tmpzval) ) {
365 zend_hash_find(HASH_OF(filterparams), "small", sizeof("small"), (void **) &tmpzval);
367 tmpzval = &filterparams;
387 if (filterparams) {
390 if (Z_TYPE_P(filterparams) == IS_ARRAY || Z_TYPE_P(filterparams)
[all...]
/PHP_5_5/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 (zend_hash_find(HASH_OF(filterparams), "mode", sizeof("mode"), (void**)&tmpzval) == SUCCESS) {
185 if (zend_hash_find(HASH_OF(filterparams), "algorithms_dir", sizeof("algorithms_dir"), (void**)&tmpzval) == SUCCESS) {
193 if (zend_hash_find(HASH_OF(filterparams), "modes_dir", sizeof("modes_dir"), (void**)&tmpzval) == SUCCESS) {
201 if (zend_hash_find(HASH_OF(filterparams), "key", sizeof("key"), (void**)&tmpzval) == SUCCESS &&
221 if (zend_hash_find(HASH_OF(filterparams), "iv", sizeof("iv"), (void**) &tmpzval) == FAILURE ||

Completed in 18 milliseconds