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

/PHP_5_3/ext/bz2/
H A Dbz2_filter.c311 static php_stream_filter *php_bz2_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
350 if (filterparams) {
353 if (Z_TYPE_P(filterparams) == IS_ARRAY || Z_TYPE_P(filterparams) == IS_OBJECT) {
355 if (SUCCESS == zend_hash_find(HASH_OF(filterparams), "concatenated", sizeof("concatenated"), (void **) &tmpzval) ) {
366 zend_hash_find(HASH_OF(filterparams), "small", sizeof("small"), (void **) &tmpzval);
368 tmpzval = &filterparams;
388 if (filterparams) {
391 if (Z_TYPE_P(filterparams) == IS_ARRAY || Z_TYPE_P(filterparams)
[all...]
/PHP_5_3/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 ||
/PHP_5_3/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);
1764 strfilter_convert_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
1867 consumed_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
2075 chunked_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
[all...]
H A Duser_filters.c279 zval *filterparams, int persistent TSRMLS_DC)
359 if (filterparams) {
360 add_property_zval(obj, "params", filterparams);
278 user_filter_factory_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
H A Dstreamsfuncs.c1188 zval *filterparams = NULL; local
1193 &filtername, &filternamelen, &read_write, &filterparams) == FAILURE) {
1214 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream) TSRMLS_CC);
1231 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream) TSRMLS_CC);
1255 /* {{{ proto resource stream_filter_prepend(resource stream, string filtername[, int read_write[, string filterparams]])
1263 /* {{{ proto resource stream_filter_append(resource stream, string filtername[, int read_write[, string filterparams]])
H A Dbasic_functions.c2073 ZEND_ARG_INFO(0, filterparams)
2080 ZEND_ARG_INFO(0, filterparams)
/PHP_5_3/ext/zlib/
H A Dzlib_filter.c288 static php_stream_filter *php_zlib_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
327 if (filterparams) {
330 if ((Z_TYPE_P(filterparams) == IS_ARRAY || Z_TYPE_P(filterparams) == IS_OBJECT) &&
331 zend_hash_find(HASH_OF(filterparams), "window", sizeof("window"), (void **) &tmpzval) == SUCCESS) {
357 if (filterparams) {
360 /* filterparams can either be a scalar value to indicate compression level (shortcut method)
363 switch (Z_TYPE_P(filterparams)) {
366 if (zend_hash_find(HASH_OF(filterparams), "memory", sizeof("memory"), (void**) &tmpzval) == SUCCESS) {
379 if (zend_hash_find(HASH_OF(filterparams), "windo
[all...]
/PHP_5_3/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);
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_5_3/ext/phar/
H A Dphar.c1608 zval filterparams; local
1613 array_init(&filterparams);
1618 add_assoc_long(&filterparams, "window", MAX_WBITS + 32);
1626 filter = php_stream_filter_create("zlib.inflate", &filterparams, php_stream_is_persistent(fp) TSRMLS_CC);
1630 add_assoc_long(&filterparams, "window", MAX_WBITS);
1631 filter = php_stream_filter_create("zlib.inflate", &filterparams, php_stream_is_persistent(fp) TSRMLS_CC);
1632 zval_dtor(&filterparams);
1639 zval_dtor(&filterparams);
3240 zval filterparams; local
3242 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);

Completed in 26 milliseconds