Lines Matching refs:options
42 zend_long options; member
109 #define FINFO_SET_OPTION(magic, options) \ argument
110 if (magic_setflags(magic, options) == -1) { \
112 options, magic_errno(magic), magic_error(magic)); \
210 zend_long options = MAGIC_NONE; in PHP_FUNCTION() local
218 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|lp!", &options, &file, &file_len) == FAILURE) { in PHP_FUNCTION()
261 finfo->options = options; in PHP_FUNCTION()
262 finfo->magic = magic_open(options); in PHP_FUNCTION()
266 php_error_docref(NULL, E_WARNING, "Invalid mode '" ZEND_LONG_FMT "'.", options); in PHP_FUNCTION()
321 zend_long options; in PHP_FUNCTION() local
327 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &options) == FAILURE) { in PHP_FUNCTION()
332 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl", &zfinfo, &options) == FAILURE) { in PHP_FUNCTION()
340 FINFO_SET_OPTION(finfo->magic, options) in PHP_FUNCTION()
341 finfo->options = options; in PHP_FUNCTION()
353 zend_long options = 0; in _php_finfo_get_type() local
393 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|lr!", &buffer, &buffer_len, &options, &zcontext) == … in _php_finfo_get_type()
399 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|lr!", &zfinfo, &buffer, &buffer_len, &options, &zco… in _php_finfo_get_type()
409 if (options) { in _php_finfo_get_type()
410 FINFO_SET_OPTION(magic, options) in _php_finfo_get_type()
506 if (options) { in _php_finfo_get_type()
507 FINFO_SET_OPTION(magic, finfo->options) in _php_finfo_get_type()