Searched defs:options (Results 1 - 25 of 77) sorted by relevance

1234

/PHP_5_4/ext/ereg/regex/
H A Dmain.c47 case 'c': /* compile options */
48 copts = options('c', optarg);
50 case 'e': /* execute options */
51 eopts = options('e', optarg);
161 try(f[0], f[1], f[2], f[3], f[4], options('c', f[1]));
164 options('c', f[1]) &~ REG_EXTENDED);
254 if (options('e', f1)&REG_STARTEND) {
260 err = regexec(&re, f2copy, NSUBS, subs, options('e', f1));
311 - options - pick options ou
315 options(type, s) function
[all...]
/PHP_5_4/ext/pcre/pcrelib/
H A Dpcredemo.c80 /* After the options, we require exactly two arguments, which are the pattern,
101 0, /* default options */
127 0, /* default options */
263 sequence. First, find the options with which the regex was compiled; extract
264 the UTF-8 state, and mask off all but the newline options. */
271 /* If no newline options were set, find the default newline convention from the
298 int options = 0; /* Normally no options */ local
308 options = PCRE_NOTEMPTY_ATSTART | PCRE_ANCHORED;
319 options, /* option
[all...]
H A Dpcre_study.c71 options the compiling options
81 find_minlength(const pcre_uchar *code, const pcre_uchar *startcode, int options, argument
86 BOOL utf = (options & PCRE_UTF8) != 0;
132 d = find_minlength(cc, startcode, options, recurse_depth);
380 if ((options & PCRE_JAVASCRIPT_COMPAT) == 0)
392 d = find_minlength(cs, startcode, options, recurse_depth);
440 branchlength += find_minlength(cs, startcode, options, recurse_depth + 1);
1319 options contains option bits
1330 pcre_study(const pcre *external_re, int options, cons argument
[all...]
H A Dpcreposix.c140 REG_INVARG, /* inconsistent NEWLINE options */
262 int options = 0; local
265 if ((cflags & REG_ICASE) != 0) options |= PCRE_CASELESS;
266 if ((cflags & REG_NEWLINE) != 0) options |= PCRE_MULTILINE;
267 if ((cflags & REG_DOTALL) != 0) options |= PCRE_DOTALL;
268 if ((cflags & REG_NOSUB) != 0) options |= PCRE_NO_AUTO_CAPTURE;
269 if ((cflags & REG_UTF8) != 0) options |= PCRE_UTF8;
270 if ((cflags & REG_UCP) != 0) options |= PCRE_UCP;
271 if ((cflags & REG_UNGREEDY) != 0) options |= PCRE_UNGREEDY;
273 preg->re_pcre = pcre_compile2(pattern, options,
315 int options = 0; local
[all...]
/PHP_5_4/scripts/dev/generate-phpt/src/
H A Dgenerate-phpt.php17 $options = new gtCommandLineOptions(); variable
21 $options->parse($argv);
27 if($options->hasOption('h')) {
33 $preConditions->check($options);
39 if($options->hasOption('s')) {
40 $optionalSections->setOptions($options);
45 if($options->hasOption('c')) {
46 $name = $options->getOption('c')."_".$options->getOption('m');
47 $method = new gtMethod($options
[all...]
/PHP_5_4/scripts/dev/generate-phpt/src/setup/
H A DgtCommandLineOptions.php4 * Parse command line options
26 protected $options; variable
45 throw new gtMissingOptionsException('Command line options are required');
62 $this->options[$option] = true;
72 $this->options[$option] = $argv[$i];
81 if (!isset($this->options[$option])) {
84 return $this->options[$option];
93 return isset($this->options[$option]);
H A DgtOptionalSections.php17 $options = explode(':', $commandLineOptions->getOption('s')); variable
19 foreach($options as $option) {
/PHP_5_4/ext/zip/
H A Dzip_stream.c240 int options,
237 php_stream_zip_opener(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
/PHP_5_4/ext/mbstring/oniguruma/
H A Donigposix.h37 /* options */
120 OnigOptionType options; /* default option */ member in struct:__anon63
154 ONIG_EXTERN int regcomp P_((regex_t* reg, const char* pat, int options));
155 ONIG_EXTERN int regexec P_((regex_t* reg, const char* str, size_t nmatch, regmatch_t* matches, int options));
H A Dregposix.c138 OnigOptionType options; local
143 options = syntax->options;
145 ONIG_OPTION_ON(options, ONIG_OPTION_IGNORECASE);
147 ONIG_OPTION_ON( options, ONIG_OPTION_NEGATE_SINGLELINE);
148 ONIG_OPTION_OFF(options, ONIG_OPTION_SINGLELINE);
155 options, OnigEncDefaultCharEncoding, syntax,
172 OnigOptionType options; local
174 options = ONIG_OPTION_POSIX_REGION;
175 if ((posix_options & REG_NOTBOL) != 0) options |
[all...]
H A Dregsyntax.c178 onig_set_syntax_options(OnigSyntaxType* syntax, OnigOptionType options) argument
180 syntax->options = options;
204 return syntax->options;
/PHP_5_4/ext/phar/
H A Ddirstream.c318 php_stream *phar_wrapper_open_dir(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) /* {{{ */ argument
330 if ((resource = phar_parse_url(wrapper, path, mode, options TSRMLS_CC)) == NULL) {
331 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar url \"%s\" is unknown", path);
338 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: no directory in \"%s\", must have at least phar://%s/ for root directory (always use full path to a new phar)", path, resource->host);
343 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url \"%s\", must have at least phar://%s/", path, path);
349 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: not a phar url \"%s\"", path);
359 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", error);
362 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar file \"%s\" is unknown", resource->host);
391 return php_stream_opendir(entry->tmp, options, context);
431 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, char *url_from, int mode, int options, php_stream_contex argument
563 phar_wrapper_rmdir(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
[all...]
/PHP_5_4/ext/standard/
H A Dphp_fopen_wrapper.c160 php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) /* {{{ */ argument
206 if ((options & STREAM_OPEN_FOR_INCLUDE) && !PG(allow_url_include) ) {
207 if (options & REPORT_ERRORS) {
216 if ((options & STREAM_OPEN_FOR_INCLUDE) && !PG(allow_url_include) ) {
217 if (options & REPORT_ERRORS) {
267 if (options & REPORT_ERRORS) {
273 if ((options & STREAM_OPEN_FOR_INCLUDE) && !PG(allow_url_include) ) {
274 if (options & REPORT_ERRORS) {
283 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC,
295 php_stream_wrapper_log_error(wrapper, options TSRMLS_C
[all...]
/PHP_5_4/ext/zlib/
H A Dzlib_fopen_wrapper.c109 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, char *path, char *mode, int options, argument
117 if (options & REPORT_ERRORS) {
129 innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST, opened_path, context);
150 if (options & REPORT_ERRORS) {
/PHP_5_4/main/streams/
H A Dcast.c354 PHPAPI FILE * _php_stream_open_wrapper_as_file(char *path, char *mode, int options, char **opened_path STREAMS_DC TSRMLS_DC) argument
359 stream = php_stream_open_wrapper_rel(path, mode, options|STREAM_WILL_CAST, opened_path);
H A Dglob_wrapper.c210 int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC)
216 if (((options & STREAM_DISABLE_OPEN_BASEDIR) == 0) && php_check_open_basedir(path TSRMLS_CC)) {
209 php_glob_stream_opener(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
H A Dphp_stream_context.h55 zval *options; /* hash keyed by wrapper family or specific wrapper */ member in struct:_php_stream_context
H A Dtransports.c52 PHPAPI php_stream *_php_stream_xport_create(const char *name, long namelen, int options, argument
133 (char*)name, namelen, persistent_id, options, flags, timeout,
/PHP_5_4/ext/curl/
H A Dstreams.c270 int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC)
292 if (options & STREAM_WILL_CAST) {
322 /* TODO: read cookies and options from context */
457 if (options & STREAM_WILL_CAST) {
269 php_curl_stream_opener(php_stream_wrapper *wrapper, char *filename, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
/PHP_5_4/ext/date/lib/
H A Dtimelib.c202 void timelib_dump_date(timelib_time *d, int options) argument
204 if ((options & 2) == 2) {
235 if ((options & 1) == 1) {
/PHP_5_4/ext/fileinfo/
H A Dfileinfo.c47 long options; member in struct:php_fileinfo
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) \
180 if (magic_setflags(magic, options)
292 long options = MAGIC_NONE; local
383 long options; local
413 long options = 0; local
[all...]
/PHP_5_4/ext/hash/
H A Dphp_hash.h53 long options; member in struct:_php_hash_data
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd_auth.c40 const MYSQLND_OPTIONS * const options,
87 auth_packet->max_packet_size = options->max_allowed_packet;
88 if (options->charset_name && (charset = mysqlnd_find_charset_name(options->charset_name))) {
363 const MYSQLND_OPTIONS * const options, unsigned long mysql_flags
421 const MYSQLND_OPTIONS * const options, unsigned long mysql_flags
34 mysqlnd_auth_handshake(MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, const char * const db, const size_t db_len, const MYSQLND_OPTIONS * const options, unsigned long mysql_flags, unsigned int server_charset_no, zend_bool use_full_blown_auth_packet, const char * const auth_protocol, const zend_uchar * const auth_plugin_data, const size_t auth_plugin_data_len, char ** switch_to_auth_protocol, size_t * switch_to_auth_protocol_len, zend_uchar ** switch_to_auth_protocol_data, size_t * switch_to_auth_protocol_data_len TSRMLS_DC) argument
359 mysqlnd_native_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, size_t * auth_data_len, MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_OPTIONS * const options, unsigned long mysql_flags TSRMLS_DC) argument
417 mysqlnd_pam_auth_get_auth_data(struct st_mysqlnd_authentication_plugin * self, size_t * auth_data_len, MYSQLND_CONN_DATA * conn, const char * const user, const char * const passwd, const size_t passwd_len, zend_uchar * auth_plugin_data, size_t auth_plugin_data_len, const MYSQLND_OPTIONS * const options, unsigned long mysql_flags TSRMLS_DC) argument
/PHP_5_4/ext/bz2/
H A Dbz2.c210 int options,
251 stream = php_stream_open_wrapper(path, mode, options | STREAM_WILL_CAST, opened_path);
207 _php_stream_bz2open(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
/PHP_5_4/ext/json/
H A Djson.c48 ZEND_ARG_INFO(0, options)
55 ZEND_ARG_INFO(0, options)
159 static void json_escape_string(smart_str *buf, char *s, int len, int options TSRMLS_DC);
198 static inline void json_pretty_print_char(smart_str *buf, int options, char c TSRMLS_DC) /* {{{ */ argument
200 if (options & PHP_JSON_PRETTY_PRINT) {
206 static inline void json_pretty_print_indent(smart_str *buf, int options TSRMLS_DC) /* {{{ */
210 if (options & PHP_JSON_PRETTY_PRINT) {
220 static void json_encode_array(smart_str *buf, zval **val, int options TSRMLS_DC) /* {{{ */
227 r = (options & PHP_JSON_FORCE_OBJECT) ? PHP_JSON_OUTPUT_OBJECT : json_determine_array_type(val TSRMLS_CC);
277 json_pretty_print_char(buf, options, '\
655 php_json_decode_ex(zval *return_value, char *str, int str_len, int options, long depth TSRMLS_DC) argument
770 long options = 0; local
794 long options = 0; local
[all...]

Completed in 46 milliseconds

1234