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

/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) {
383 } 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/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/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
1211 char *filtername; member in struct:_php_convert_filter
1503 const char *filtername, int persistent)
1506 inst->filtername = pestrdup(filtername, persistent);
1520 if (inst->filtername != NULL) {
1521 pefree(inst->filtername, persisten
1501 php_convert_filter_ctor(php_convert_filter *inst, int conv_mode, HashTable *conv_opts, const char *filtername, int persistent) argument
1803 strfilter_convert_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
1906 consumed_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
2114 chunked_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
[all...]
H A Duser_filters.c96 zend_declare_property_string(php_user_filter, "filtername", sizeof("filtername")-1, "", ZEND_ACC_PUBLIC TSRMLS_CC);
283 static php_stream_filter *user_filter_factory_create(const char *filtername, argument
300 len = strlen(filtername);
303 if (FAILURE == zend_hash_find(BG(user_filter_map), (char*)filtername, len + 1, (void**)&fdat)) {
311 if ((period = strrchr(filtername, '.'))) {
315 memcpy(wildcard, filtername, len + 1); /* copy \0 */
316 period = wildcard + (period - filtername);
331 "Err, filter \"%s\" is not in the user-filter map, but somehow the user-filter-factory was invoked for it!?", filtername);
342 filtername, fda
581 char *filtername, *classname; local
[all...]
H A Dstreamsfuncs.c1187 char *filtername; local
1195 &filtername, &filternamelen, &read_write, &filterparams) == FAILURE) {
1216 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream) TSRMLS_CC);
1233 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream) TSRMLS_CC);
1257 /* {{{ proto resource stream_filter_prepend(resource stream, string filtername[, int read_write[, string filterparams]])
1265 /* {{{ proto resource stream_filter_append(resource stream, string filtername[, int read_write[, string filterparams]])
/PHP_TRUNK/ext/zlib/
H A Dzlib_filter.c287 static php_stream_filter *php_zlib_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
323 if (strcasecmp(filtername, "zlib.inflate") == 0) {
349 } else if (strcasecmp(filtername, "zlib.deflate") == 0) {
/PHP_TRUNK/main/streams/
H A Dfilter.c252 PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, int persistent TSRMLS_DC) argument
260 n = strlen(filtername);
262 if (SUCCESS == zend_hash_find(filter_hash, (char*)filtername, n + 1, (void**)&factory)) {
263 filter = factory->create_filter(filtername, filterparams, persistent TSRMLS_CC);
264 } else if ((period = strrchr(filtername, '.'))) {
269 memcpy(wildname, filtername, n+1);
270 period = wildname + (period - filtername);
275 filter = factory->create_filter(filtername, filterparams, persistent TSRMLS_CC);
287 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to locate filter \"%s\"", filtername);
289 php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to create or locate filter \"%s\"", filtername);
[all...]

Completed in 15 milliseconds