Home
last modified time | relevance | path

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

/PHP-8.2/ext/standard/
H A Duser_filters.c226 static php_stream_filter *user_filter_factory_create(const char *filtername, in user_filter_factory_create() argument
242 len = strlen(filtername); in user_filter_factory_create()
253 if ((period = strrchr(filtername, '.'))) { in user_filter_factory_create()
257 memcpy(wildcard, filtername, len + 1); /* copy \0 */ in user_filter_factory_create()
258 period = wildcard + (period - filtername); in user_filter_factory_create()
280 filtername, ZSTR_VAL(fdat->classname)); in user_filter_factory_create()
297 add_property_string(&obj, "filtername", (char*)filtername); in user_filter_factory_create()
499 zend_string *filtername, *classname; in PHP_FUNCTION() local
503 Z_PARAM_STR(filtername) in PHP_FUNCTION()
507 if (!ZSTR_LEN(filtername)) { in PHP_FUNCTION()
[all …]
H A Dfilters.c1075 char *filtername; member
1298 const char *filtername, int persistent) in php_convert_filter_ctor() argument
1301 inst->filtername = pestrdup(filtername, persistent); in php_convert_filter_ctor()
1315 if (inst->filtername != NULL) { in php_convert_filter_ctor()
1316 pefree(inst->filtername, persistent); in php_convert_filter_ctor()
1328 if (inst->filtername != NULL) { in php_convert_filter_dtor()
1329 pefree(inst->filtername, inst->persistent); in php_convert_filter_dtor()
1590 if ((dot = strchr(filtername, '.')) == NULL) { in strfilter_convert_create()
1609 filtername, persistent) != SUCCESS) { in strfilter_convert_create()
1685 if (strcasecmp(filtername, "consumed")) { in consumed_filter_create()
[all …]
H A Duser_filters.stub.php7 public string $filtername = ""; variable in php_user_filter
H A Dstreamsfuncs.c1200 char *filtername; in apply_filter_to_stream() local
1209 Z_PARAM_STRING(filtername, filternamelen) in apply_filter_to_stream()
1232 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream)); in apply_filter_to_stream()
1249 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream)); in apply_filter_to_stream()
/PHP-8.2/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-8.2/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-8.2/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-8.2/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-8.2/ext/phar/
H A Dutil.c688 char *filtername; in phar_open_entry_fp() local
752 if ((filtername = phar_decompress_filter(entry, 0)) != NULL) { in phar_open_entry_fp()
753 filter = php_stream_filter_create(filtername, NULL, 0); in phar_open_entry_fp()

Completed in 44 milliseconds