| /PHP_TRUNK/ext/bz2/ |
| H A D | bz2_filter.c | 311 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_TRUNK/ext/mcrypt/ |
| H A D | mcrypt_filter.c | 152 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_TRUNK/ext/standard/ |
| H A D | filters.c | 70 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 D | user_filters.c | 279 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 D | streamsfuncs.c | 1195 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]])
|
| /PHP_TRUNK/main/streams/ |
| H A D | filter.c | 252 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_TRUNK/ext/zlib/ |
| H A D | zlib_filter.c | 287 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_TRUNK/ext/phar/ |
| H A D | phar.c | 1608 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); 3234 zval filterparams; local 3236 array_init(&filterparams); [all...] |
| H A D | tar.c | 1278 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);
|