Lines Matching refs:options
44 zend_long options; member
115 ZEND_ARG_INFO(0, options)
125 ZEND_ARG_INFO(0, options)
129 ZEND_ARG_INFO(0, options)
135 ZEND_ARG_INFO(0, options)
141 ZEND_ARG_INFO(0, options)
148 ZEND_ARG_INFO(0, options)
154 ZEND_ARG_INFO(0, options)
174 #define FINFO_SET_OPTION(magic, options) \ argument
175 if (magic_setflags(magic, options) == -1) { \
177 options, magic_errno(magic), magic_error(magic)); \
291 zend_long options = MAGIC_NONE; in PHP_FUNCTION() local
300 …if (zend_parse_parameters_ex(flags, ZEND_NUM_ARGS(), "|lp", &options, &file, &file_len) == FAILURE… in PHP_FUNCTION()
343 finfo->options = options; in PHP_FUNCTION()
344 finfo->magic = magic_open(options); in PHP_FUNCTION()
348 php_error_docref(NULL, E_WARNING, "Invalid mode '" ZEND_LONG_FMT "'.", options); in PHP_FUNCTION()
405 zend_long options; in PHP_FUNCTION() local
411 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &options) == FAILURE) { in PHP_FUNCTION()
416 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl", &zfinfo, &options) == FAILURE) { in PHP_FUNCTION()
424 FINFO_SET_OPTION(finfo->magic, options) in PHP_FUNCTION()
425 finfo->options = options; in PHP_FUNCTION()
437 zend_long options = 0; in _php_finfo_get_type() local
477 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|lr", &buffer, &buffer_len, &options, &zcontext) == F… in _php_finfo_get_type()
483 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|lr", &zfinfo, &buffer, &buffer_len, &options, &zcon… in _php_finfo_get_type()
493 if (options) { in _php_finfo_get_type()
494 FINFO_SET_OPTION(magic, options) in _php_finfo_get_type()
594 if (options) { in _php_finfo_get_type()
595 FINFO_SET_OPTION(magic, finfo->options) in _php_finfo_get_type()