Home
last modified time | relevance | path

Searched refs:filtername (Results 1 – 10 of 10) sorted by relevance

/php-src/ext/standard/
H A Duser_filters.c221 static php_stream_filter *user_filter_factory_create(const char *filtername, in user_filter_factory_create() argument
237 len = strlen(filtername); in user_filter_factory_create()
248 if ((period = strrchr(filtername, '.'))) { in user_filter_factory_create()
252 memcpy(wildcard, filtername, len + 1); /* copy \0 */ in user_filter_factory_create()
253 period = wildcard + (period - filtername); in user_filter_factory_create()
275 filtername, ZSTR_VAL(fdat->classname)); in user_filter_factory_create()
292 add_property_string(&obj, "filtername", (char*)filtername); in user_filter_factory_create()
498 zend_string *filtername, *classname; in PHP_FUNCTION() local
502 Z_PARAM_STR(filtername) in PHP_FUNCTION()
506 if (!ZSTR_LEN(filtername)) { in PHP_FUNCTION()
[all …]
H A Dfilters.c1066 char *filtername; member
1285 const char *filtername, bool persistent) in php_convert_filter_ctor() argument
1288 inst->filtername = pestrdup(filtername, persistent); in php_convert_filter_ctor()
1292 if (inst->filtername != NULL) { in php_convert_filter_ctor()
1293 pefree(inst->filtername, persistent); in php_convert_filter_ctor()
1308 if (inst->filtername != NULL) { in php_convert_filter_dtor()
1309 pefree(inst->filtername, inst->persistent); in php_convert_filter_dtor()
1570 if ((dot = strchr(filtername, '.')) == NULL) { in strfilter_convert_create()
1589 filtername, persistent) != SUCCESS) { in strfilter_convert_create()
1665 if (strcasecmp(filtername, "consumed")) { in consumed_filter_create()
[all …]
H A Duser_filters.stub.php39 public string $filtername = ""; variable in php_user_filter
H A Dstreamsfuncs.c1240 char *filtername; in apply_filter_to_stream() local
1249 Z_PARAM_STRING(filtername, filternamelen) in apply_filter_to_stream()
1272 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream)); in apply_filter_to_stream()
1289 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream)); in apply_filter_to_stream()
/php-src/ext/standard/tests/streams/
H A Dbug78506.phpt15 stream_filter_register('filtername', MyFilter::class);
21 stream_filter_prepend($source_resource,'filtername',STREAM_FILTER_READ);
/php-src/main/streams/
H A Dfilter.c220 PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, uint… in php_stream_filter_create() argument
228 n = strlen(filtername); in php_stream_filter_create()
230 if (NULL != (factory = zend_hash_str_find_ptr(filter_hash, filtername, n))) { in php_stream_filter_create()
231 filter = factory->create_filter(filtername, filterparams, persistent); in php_stream_filter_create()
232 } else if ((period = strrchr(filtername, '.'))) { in php_stream_filter_create()
237 memcpy(wildname, filtername, n+1); in php_stream_filter_create()
238 period = wildname + (period - filtername); in php_stream_filter_create()
244 filter = factory->create_filter(filtername, filterparams, persistent); in php_stream_filter_create()
256 php_error_docref(NULL, E_WARNING, "Unable to locate filter \"%s\"", filtername); in php_stream_filter_create()
258 php_error_docref(NULL, E_WARNING, "Unable to create or locate filter \"%s\"", filtername); in php_stream_filter_create()
H A Dphp_stream_filter_api.h141 …php_stream_filter *(*create_filter)(const char *filtername, zval *filterparams, uint8_t persistent…
148 PHPAPI php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, uint…
/php-src/ext/zlib/
H A Dzlib_filter.c283 static php_stream_filter *php_zlib_filter_create(const char *filtername, zval *filterparams, uint8_… in php_zlib_filter_create() argument
319 if (strcasecmp(filtername, "zlib.inflate") == 0) { in php_zlib_filter_create()
341 } else if (strcasecmp(filtername, "zlib.deflate") == 0) { in php_zlib_filter_create()
/php-src/ext/bz2/
H A Dbz2_filter.c312 static php_stream_filter *php_bz2_filter_create(const char *filtername, zval *filterparams, uint8_t… in php_bz2_filter_create() argument
332 if (strcasecmp(filtername, "bzip2.decompress") == 0) { in php_bz2_filter_create()
357 } else if (strcasecmp(filtername, "bzip2.compress") == 0) { in php_bz2_filter_create()
/php-src/ext/phar/
H A Dutil.c845 char *filtername; in phar_open_entry_fp() local
909 if ((filtername = phar_decompress_filter(entry, 0)) != NULL) { in phar_open_entry_fp()
910 filter = php_stream_filter_create(filtername, NULL, 0); in phar_open_entry_fp()

Completed in 90 milliseconds