Searched defs:filtername (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/ext/phar/
H A Dutil.c695 char *filtername; local
759 if ((filtername = phar_decompress_filter(entry, 0)) != NULL) {
760 filter = php_stream_filter_create(filtername, NULL, 0 TSRMLS_CC);
/PHP_TRUNK/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
345 if (strcasecmp(filtername, "bzip2.decompress") == 0) {
370 } else if (strcasecmp(filtername, "bzip2.compress") == 0) {
/PHP_TRUNK/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
155 const char *cipher = filtername + sizeof("mcrypt.") - 1;
164 if (strncasecmp(filtername, "mdecrypt.", sizeof("mdecrypt.") - 1) == 0) {
167 } else if (strncasecmp(filtername, "mcrypt.", sizeof("mcrypt.") - 1) != 0) {
173 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Filter parameters for %s must be an array", filtername);
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c1119 char *filtername; local
1127 &filtername, &filternamelen, &read_write, &filterparams) == FAILURE) {
1148 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream) TSRMLS_CC);
1165 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream) TSRMLS_CC);
1191 /* {{{ proto resource stream_filter_prepend(resource stream, string filtername[, int read_write[, string filterparams]])
1199 /* {{{ proto resource stream_filter_append(resource stream, string filtername[, int read_write[, string filterparams]])
H A Duser_filters.c96 zend_declare_property_string(php_user_filter, "filtername", sizeof("filtername")-1, "", ZEND_ACC_PUBLIC TSRMLS_CC);
273 static php_stream_filter *user_filter_factory_create(const char *filtername, argument
290 len = strlen(filtername);
293 if (NULL == (fdat = zend_hash_str_find_ptr(BG(user_filter_map), (char*)filtername, len))) {
301 if ((period = strrchr(filtername, '.'))) {
305 memcpy(wildcard, filtername, len + 1); /* copy \0 */
306 period = wildcard + (period - filtername);
321 "Err, filter \"%s\" is not in the user-filter map, but somehow the user-filter-factory was invoked for it!?", filtername);
331 filtername, fda
562 zend_string *filtername, *classname; local
[all...]
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
1201 char *filtername; member in struct:_php_convert_filter
1482 const char *filtername, int persistent TSRMLS_DC)
1485 inst->filtername = pestrdup(filtername, persistent);
1499 if (inst->filtername != NULL) {
1500 pefree(inst->filtername, persisten
1480 php_convert_filter_ctor(php_convert_filter *inst, int conv_mode, HashTable *conv_opts, const char *filtername, int persistent TSRMLS_DC) argument
1782 strfilter_convert_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
1885 consumed_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
2093 chunked_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
[all...]
/PHP_TRUNK/main/streams/
H A Dfilter.c250 PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
258 n = strlen(filtername);
260 if (NULL != (factory = zend_hash_str_find_ptr(filter_hash, filtername, n))) {
261 filter = factory->create_filter(filtername, filterparams, persistent TSRMLS_CC);
262 } else if ((period = strrchr(filtername, '.'))) {
267 memcpy(wildname, filtername, n+1);
268 period = wildname + (period - filtername);
273 filter = factory->create_filter(filtername, filterparams, persistent TSRMLS_CC);
285 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to locate filter \"%s\"", filtername);
287 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to create or locate filter \"%s\"", filtername);
[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 TSRMLS_DC) argument
321 if (strcasecmp(filtername, "zlib.inflate") == 0) {
346 } else if (strcasecmp(filtername, "zlib.deflate") == 0) {

Completed in 15 milliseconds