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

/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt_filter.c152 static php_stream_filter *php_mcrypt_filter_create(const char *filtername, zval *filterparams, int persistent) 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/main/streams/
H A Dfilter.c250 PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, int persistent) argument
261 filter = factory->create_filter(filtername, filterparams, persistent);
273 filter = factory->create_filter(filtername, filterparams, persistent);
/PHP_TRUNK/ext/bz2/
H A Dbz2_filter.c310 static php_stream_filter *php_bz2_filter_create(const char *filtername, zval *filterparams, int persistent) 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/zlib/
H A Dzlib_filter.c285 static php_stream_filter *php_zlib_filter_create(const char *filtername, zval *filterparams, int persistent) argument
324 if (filterparams) {
327 if ((Z_TYPE_P(filterparams) == IS_ARRAY || Z_TYPE_P(filterparams) == IS_OBJECT) &&
328 (tmpzval = zend_hash_str_find(HASH_OF(filterparams), "window", sizeof("window") - 1))) {
350 if (filterparams) {
354 /* filterparams can either be a scalar value to indicate compression level (shortcut method)
357 switch (Z_TYPE_P(filterparams)) {
360 if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), "memory", sizeof("memory") -1))) {
370 if ((tmpzval = zend_hash_str_find(HASH_OF(filterparams), "windo
[all...]
/PHP_TRUNK/ext/phar/
H A Dtar.c1311 zval filterparams; local
1313 array_init(&filterparams);
1318 add_assoc_long(&filterparams, "window", MAX_WBITS + 16);
1319 filter = php_stream_filter_create("zlib.deflate", &filterparams, php_stream_is_persistent(phar->fp));
1320 zval_dtor(&filterparams);
H A Dphar.c1607 zval filterparams; local
1612 array_init(&filterparams);
1617 add_assoc_long_ex(&filterparams, "window", sizeof("window") - 1, MAX_WBITS + 32);
1625 filter = php_stream_filter_create("zlib.inflate", &filterparams, php_stream_is_persistent(fp));
1629 add_assoc_long_ex(&filterparams, "window", sizeof("window") - 1, MAX_WBITS);
1630 filter = php_stream_filter_create("zlib.inflate", &filterparams, php_stream_is_persistent(fp));
1631 zval_dtor(&filterparams);
1638 zval_dtor(&filterparams);
3173 zval filterparams; local
3175 array_init(&filterparams);
[all...]
/PHP_TRUNK/ext/standard/
H A Duser_filters.c264 zval *filterparams, int persistent)
338 if (filterparams) {
339 add_property_zval(&obj, "params", filterparams);
263 user_filter_factory_create(const char *filtername, zval *filterparams, int persistent) argument
H A Dfilters.c70 static php_stream_filter *strfilter_rot13_create(const char *filtername, zval *filterparams, int persistent) argument
152 static php_stream_filter *strfilter_toupper_create(const char *filtername, zval *filterparams, int persistent) argument
157 static php_stream_filter *strfilter_tolower_create(const char *filtername, zval *filterparams, int persistent) argument
247 static php_stream_filter *strfilter_strip_tags_create(const char *filtername, zval *filterparams, int persistent) 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));
1727 strfilter_convert_create(const char *filtername, zval *filterparams, int persistent) argument
1830 consumed_filter_create(const char *filtername, zval *filterparams, int persistent) argument
2038 chunked_filter_create(const char *filtername, zval *filterparams, int persistent) argument
[all...]
H A Dstreamsfuncs.c1120 zval *filterparams = NULL; local
1125 &filtername, &filternamelen, &read_write, &filterparams) == FAILURE) {
1146 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream));
1163 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream));
1189 /* {{{ proto resource stream_filter_prepend(resource stream, string filtername[, int read_write[, string filterparams]])
1197 /* {{{ proto resource stream_filter_append(resource stream, string filtername[, int read_write[, string filterparams]])

Completed in 46 milliseconds