/PHP-5.4/ext/mcrypt/ |
H A D | mcrypt_filter.c | 152 static php_stream_filter *php_mcrypt_filter_create(const char *filtername, zval *filterparams, int … in php_mcrypt_filter_create() argument 172 if (!filterparams || Z_TYPE_P(filterparams) != IS_ARRAY) { in php_mcrypt_filter_create() 177 if (zend_hash_find(HASH_OF(filterparams), "mode", sizeof("mode"), (void**)&tmpzval) == SUCCESS) { in php_mcrypt_filter_create() 185 …if (zend_hash_find(HASH_OF(filterparams), "algorithms_dir", sizeof("algorithms_dir"), (void**)&tmp… in php_mcrypt_filter_create() 193 …if (zend_hash_find(HASH_OF(filterparams), "modes_dir", sizeof("modes_dir"), (void**)&tmpzval) == S… in php_mcrypt_filter_create() 201 if (zend_hash_find(HASH_OF(filterparams), "key", sizeof("key"), (void**)&tmpzval) == SUCCESS && in php_mcrypt_filter_create() 221 if (zend_hash_find(HASH_OF(filterparams), "iv", sizeof("iv"), (void**) &tmpzval) == FAILURE || in php_mcrypt_filter_create()
|
/PHP-5.4/ext/bz2/ |
H A D | bz2_filter.c | 312 static php_stream_filter *php_bz2_filter_create(const char *filtername, zval *filterparams, int per… in php_bz2_filter_create() argument 351 if (filterparams) { in php_bz2_filter_create() 354 if (Z_TYPE_P(filterparams) == IS_ARRAY || Z_TYPE_P(filterparams) == IS_OBJECT) { in php_bz2_filter_create() 356 …if (SUCCESS == zend_hash_find(HASH_OF(filterparams), "concatenated", sizeof("concatenated"), (void… in php_bz2_filter_create() 367 zend_hash_find(HASH_OF(filterparams), "small", sizeof("small"), (void **) &tmpzval); in php_bz2_filter_create() 369 tmpzval = &filterparams; in php_bz2_filter_create() 389 if (filterparams) { in php_bz2_filter_create() 392 if (Z_TYPE_P(filterparams) == IS_ARRAY || Z_TYPE_P(filterparams) == IS_OBJECT) { in php_bz2_filter_create() 393 …if (zend_hash_find(HASH_OF(filterparams), "blocks", sizeof("blocks"), (void**) &tmpzval) == SUCCES… in php_bz2_filter_create() 407 … if (zend_hash_find(HASH_OF(filterparams), "work", sizeof("work"), (void**) &tmpzval) == SUCCESS) { in php_bz2_filter_create()
|
/PHP-5.4/ext/zlib/ |
H A D | zlib_filter.c | 295 static php_stream_filter *php_zlib_filter_create(const char *filtername, zval *filterparams, int pe… in php_zlib_filter_create() argument 334 if (filterparams) { in php_zlib_filter_create() 337 if ((Z_TYPE_P(filterparams) == IS_ARRAY || Z_TYPE_P(filterparams) == IS_OBJECT) && in php_zlib_filter_create() 338 …zend_hash_find(HASH_OF(filterparams), "window", sizeof("window"), (void **) &tmpzval) == SUCCESS) { in php_zlib_filter_create() 364 if (filterparams) { in php_zlib_filter_create() 370 switch (Z_TYPE_P(filterparams)) { in php_zlib_filter_create() 373 …if (zend_hash_find(HASH_OF(filterparams), "memory", sizeof("memory"), (void**) &tmpzval) == SUCCES… in php_zlib_filter_create() 386 …if (zend_hash_find(HASH_OF(filterparams), "window", sizeof("window"), (void**) &tmpzval) == SUCCES… in php_zlib_filter_create() 399 …if (zend_hash_find(HASH_OF(filterparams), "level", sizeof("level"), (void**) &tmpzval) == SUCCESS)… in php_zlib_filter_create() 409 tmp = *filterparams; in php_zlib_filter_create()
|
/PHP-5.4/ext/standard/ |
H A D | filters.c | 70 static php_stream_filter *strfilter_rot13_create(const char *filtername, zval *filterparams, int pe… in strfilter_rot13_create() argument 259 if (filterparams != NULL) { in strfilter_strip_tags_create() 260 if (Z_TYPE_P(filterparams) == IS_ARRAY) { in strfilter_strip_tags_create() 264 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(filterparams), &pos); in strfilter_strip_tags_create() 265 … while (zend_hash_get_current_data_ex(Z_ARRVAL_P(filterparams), (void **) &tmp, &pos) == SUCCESS) { in strfilter_strip_tags_create() 270 zend_hash_move_forward_ex(Z_ARRVAL_P(filterparams), &pos); in strfilter_strip_tags_create() 275 convert_to_string_ex(&filterparams); in strfilter_strip_tags_create() 277 tags_ss.c = Z_STRVAL_P(filterparams); in strfilter_strip_tags_create() 278 tags_ss.len = Z_STRLEN_P(filterparams); in strfilter_strip_tags_create() 1811 if (filterparams != NULL && Z_TYPE_P(filterparams) != IS_ARRAY) { in strfilter_convert_create() [all …]
|
H A D | user_filters.c | 284 zval *filterparams, int persistent TSRMLS_DC) in user_filter_factory_create() argument 364 if (filterparams) { in user_filter_factory_create() 365 add_property_zval(obj, "params", filterparams); in user_filter_factory_create()
|
H A D | streamsfuncs.c | 1199 zval *filterparams = NULL; in apply_filter_to_stream() local 1204 &filtername, &filternamelen, &read_write, &filterparams) == FAILURE) { in apply_filter_to_stream() 1225 …filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream) TSRML… in apply_filter_to_stream() 1242 …filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream) TSRML… in apply_filter_to_stream()
|
H A D | basic_functions.c | 2074 ZEND_ARG_INFO(0, filterparams) 2081 ZEND_ARG_INFO(0, filterparams)
|
/PHP-5.4/main/streams/ |
H A D | php_stream_filter_api.h | 145 …php_stream_filter *(*create_filter)(const char *filtername, zval *filterparams, int persistent TSR… 152 PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, int …
|
H A D | filter.c | 252 PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, int … in php_stream_filter_create() argument 263 filter = factory->create_filter(filtername, filterparams, persistent TSRMLS_CC); in php_stream_filter_create() 275 filter = factory->create_filter(filtername, filterparams, persistent TSRMLS_CC); in php_stream_filter_create()
|
/PHP-5.4/ext/phar/ |
H A D | phar.c | 1605 zval filterparams; local 1610 array_init(&filterparams); 1615 add_assoc_long(&filterparams, "window", MAX_WBITS + 32); 1623 …filter = php_stream_filter_create("zlib.inflate", &filterparams, php_stream_is_persistent(fp) TSRM… 1627 add_assoc_long(&filterparams, "window", MAX_WBITS); 1629 zval_dtor(&filterparams); 1636 zval_dtor(&filterparams); 3260 zval filterparams; local 3262 array_init(&filterparams); 3263 add_assoc_long(&filterparams, "window", MAX_WBITS+16); [all …]
|
H A D | tar.c | 1278 zval filterparams; in phar_tar_flush() local 1280 array_init(&filterparams); in phar_tar_flush() 1285 add_assoc_long(&filterparams, "window", MAX_WBITS + 16); in phar_tar_flush() 1286 …filter = php_stream_filter_create("zlib.deflate", &filterparams, php_stream_is_persistent(phar->fp… in phar_tar_flush() 1287 zval_dtor(&filterparams); in phar_tar_flush()
|