Lines Matching refs:options
41 zend_long options; member
97 #define FINFO_SET_OPTION(magic, options) \ argument
98 if (magic_setflags(magic, options) == -1) { \
100 options, magic_errno(magic), magic_error(magic)); \
161 zend_long options = MAGIC_NONE; in PHP_FUNCTION() local
169 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|lp!", &options, &file, &file_len) == FAILURE) { in PHP_FUNCTION()
212 finfo->options = options; in PHP_FUNCTION()
213 finfo->magic = magic_open(options); in PHP_FUNCTION()
217 php_error_docref(NULL, E_WARNING, "Invalid mode '" ZEND_LONG_FMT "'.", options); in PHP_FUNCTION()
270 zend_long options; in PHP_FUNCTION() local
274 …thod_parameters(ZEND_NUM_ARGS(), getThis(), "Ol", &self, finfo_class_entry, &options) == FAILURE) { in PHP_FUNCTION()
279 FINFO_SET_OPTION(finfo->magic, options) in PHP_FUNCTION()
280 finfo->options = options; in PHP_FUNCTION()
292 zend_long options = 0; in _php_finfo_get_type() local
331 …), getThis(), "Os|lr!", &self, finfo_class_entry, &buffer, &buffer_len, &options, &zcontext) == FA… in _php_finfo_get_type()
339 if (options) { in _php_finfo_get_type()
340 FINFO_SET_OPTION(magic, options) in _php_finfo_get_type()
438 if (options) { in _php_finfo_get_type()
439 FINFO_SET_OPTION(magic, finfo->options) in _php_finfo_get_type()