/PHP-8.1/ext/standard/ |
H A D | user_filters.c | 247 static php_stream_filter *user_filter_factory_create(const char *filtername, in user_filter_factory_create() argument 264 len = strlen(filtername); in user_filter_factory_create() 275 if ((period = strrchr(filtername, '.'))) { in user_filter_factory_create() 279 memcpy(wildcard, filtername, len + 1); /* copy \0 */ in user_filter_factory_create() 280 period = wildcard + (period - filtername); in user_filter_factory_create() 302 filtername, ZSTR_VAL(fdat->classname)); in user_filter_factory_create() 319 add_property_string(&obj, "filtername", (char*)filtername); in user_filter_factory_create() 527 zend_string *filtername, *classname; in PHP_FUNCTION() local 531 Z_PARAM_STR(filtername) in PHP_FUNCTION() 535 if (!ZSTR_LEN(filtername)) { in PHP_FUNCTION() [all …]
|
H A D | filters.c | 1075 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 D | user_filters.stub.php | 7 public string $filtername = ""; variable in php_user_filter
|
H A D | streamsfuncs.c | 1194 char *filtername; in apply_filter_to_stream() local 1203 Z_PARAM_STRING(filtername, filternamelen) in apply_filter_to_stream() 1226 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream)); in apply_filter_to_stream() 1243 filter = php_stream_filter_create(filtername, filterparams, php_stream_is_persistent(stream)); in apply_filter_to_stream()
|
/PHP-8.1/ext/standard/tests/streams/ |
H A D | bug78506.phpt | 15 stream_filter_register('filtername', MyFilter::class); 21 stream_filter_prepend($source_resource,'filtername',STREAM_FILTER_READ);
|
/PHP-8.1/main/streams/ |
H A D | filter.c | 220 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 D | php_stream_filter_api.h | 141 …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.1/ext/bz2/ |
H A D | bz2_filter.c | 312 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.1/ext/zlib/ |
H A D | zlib_filter.c | 283 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.1/ext/phar/ |
H A D | util.c | 688 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()
|