Lines Matching refs:options
47 long options; member
120 ZEND_ARG_INFO(0, options)
130 ZEND_ARG_INFO(0, options)
134 ZEND_ARG_INFO(0, options)
140 ZEND_ARG_INFO(0, options)
146 ZEND_ARG_INFO(0, options)
153 ZEND_ARG_INFO(0, options)
159 ZEND_ARG_INFO(0, options)
179 #define FINFO_SET_OPTION(magic, options) \ argument
180 if (magic_setflags(magic, options) == -1) { \
182 options, magic_errno(magic), magic_error(magic)); \
298 long options = MAGIC_NONE; in PHP_FUNCTION() local
305 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|lp", &options, &file, &file_len) == FAILURE… in PHP_FUNCTION()
337 finfo->options = options; in PHP_FUNCTION()
338 finfo->magic = magic_open(options); in PHP_FUNCTION()
342 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid mode '%ld'.", options); in PHP_FUNCTION()
385 long options; in PHP_FUNCTION() local
391 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &options) == FAILURE) { in PHP_FUNCTION()
396 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &zfinfo, &options) == FAILURE) { in PHP_FUNCTION()
402 FINFO_SET_OPTION(finfo->magic, options) in PHP_FUNCTION()
403 finfo->options = options; in PHP_FUNCTION()
415 long options = 0; in _php_finfo_get_type() local
455 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lr", &buffer, &buffer_len, &options, &zcon… in _php_finfo_get_type()
461 …ters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|lr", &zfinfo, &buffer, &buffer_len, &options, &zcontext) == FA… in _php_finfo_get_type()
469 if (options) { in _php_finfo_get_type()
470 FINFO_SET_OPTION(magic, options) in _php_finfo_get_type()
574 if (options) { in _php_finfo_get_type()
575 FINFO_SET_OPTION(magic, finfo->options) in _php_finfo_get_type()