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

12345

/PHP_TRUNK/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_TRUNK/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_TRUNK/ext/mbstring/oniguruma/
H A Donigposix.h37 /* options */
120 OnigOptionType options; /* default option */ member in struct:__anon224
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.c257 onig_set_syntax_options(OnigSyntaxType* syntax, OnigOptionType options) argument
259 syntax->options = options;
283 return syntax->options;
/PHP_TRUNK/ext/zip/examples/
H A Daddglob.php7 $options = array( variable
11 $found = $z->addGlob("/home/pierre/cvs/gd/libgd/tests/*.png", 0, $options);
H A Daddpattern.php6 $options = array('remove_path' => '/home/pierre/cvs/gd/libgd/tests', variable
10 $found = $z->addPattern("/(\.png)$/i", "/home/pierre/cvs/gd/libgd/tests", $options);
/PHP_TRUNK/sapi/phpdbg/tests/
H A Drun-tests.php50 $this->options = $config; variable
68 $this->options[$key] = $value;
74 $this->options[$key][] = $value;
76 $this->options[$key] = array($config[$key], $value);
79 $this->options[$key] = $value;
93 if (!is_executable($this->options['phpdbg'])) {
95 $this->options, 'phpdbg could not be found at the specified path (%s)', $this->options['phpdbg']);
96 } else $this->options['phpdbg'] = realpath($this->options['phpdb
120 protected $options = array(); variable
433 $options = sprintf('-i%s -nqb', $this->file); variable
436 $options = sprintf( variable
443 $options = sprintf( variable
547 public $options; variable
[all...]
/PHP_TRUNK/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_TRUNK/ext/phar/
H A Ddirstream.c303 php_stream *phar_wrapper_open_dir(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC) /* {{{ */ argument
314 if ((resource = phar_parse_url(wrapper, path, mode, options)) == NULL) {
315 php_stream_wrapper_log_error(wrapper, options, "phar url \"%s\" is unknown", path);
322 php_stream_wrapper_log_error(wrapper, options, "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);
327 php_stream_wrapper_log_error(wrapper, options, "phar error: invalid url \"%s\", must have at least phar://%s/", path, path);
333 php_stream_wrapper_log_error(wrapper, options, "phar error: not a phar url \"%s\"", path);
343 php_stream_wrapper_log_error(wrapper, options, "%s", error);
346 php_stream_wrapper_log_error(wrapper, options, "phar file \"%s\" is unknown", resource->host);
375 return php_stream_opendir(entry->tmp, options, context);
411 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url_from, int mode, int options, php_stream_contex argument
543 phar_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context) argument
[all...]
/PHP_TRUNK/ext/date/lib/
H A Dtimelib.c205 void timelib_dump_date(timelib_time *d, int options) argument
207 if ((options & 2) == 2) {
238 if ((options & 1) == 1) {
/PHP_TRUNK/ext/hash/
H A Dphp_hash.h58 zend_long options; member in struct:_php_hash_data
/PHP_TRUNK/ext/standard/
H A Dpassword.c179 zval options; local
185 array_init(&options);
195 add_assoc_long(&options, "cost", cost);
207 add_assoc_zval(return_value, "options", &options);
216 HashTable *options = 0; local
219 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl|H", &hash, &hash_len, &new_algo, &options) == FAILURE) {
234 if (options && (option_buffer = zend_symtable_str_find(options, "cost", sizeof("cost")-1)) != NULL) {
295 /* {{{ proto string password_hash(string password, int algo, array options
304 HashTable *options = 0; local
[all...]
H A Dphp_fopen_wrapper.c174 php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, argument
223 if ((options & STREAM_OPEN_FOR_INCLUDE) && !PG(allow_url_include) ) {
224 if (options & REPORT_ERRORS) {
242 if ((options & STREAM_OPEN_FOR_INCLUDE) && !PG(allow_url_include) ) {
243 if (options & REPORT_ERRORS) {
293 if (options & REPORT_ERRORS) {
299 if ((options & STREAM_OPEN_FOR_INCLUDE) && !PG(allow_url_include) ) {
300 if (options & REPORT_ERRORS) {
309 php_stream_wrapper_log_error(wrapper, options,
321 php_stream_wrapper_log_error(wrapper, options,
[all...]
/PHP_TRUNK/ext/zlib/
H A Dzlib_fopen_wrapper.c113 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, argument
121 if (options & REPORT_ERRORS) {
133 innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST, opened_path, context);
154 if (options & REPORT_ERRORS) {
/PHP_TRUNK/ext/zip/
H A Dzip_stream.c256 int options,
253 php_stream_zip_opener(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC) argument
/PHP_TRUNK/ext/curl/
H A Dmulti.c442 zend_long options; local
445 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlz", &z_mh, &options, &zvalue) == FAILURE) {
453 if (!_php_curl_multi_setopt(mh, options, zvalue, return_value)) {
H A Dshare.c102 zend_long options; local
105 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlz", &zid, &options, &zvalue) == FAILURE) {
113 if (!_php_curl_share_setopt(sh, options, zvalue, return_value)) {
/PHP_TRUNK/main/streams/
H A Dphp_stream_context.h55 zval options; /* hash keyed by wrapper family or specific wrapper */ member in struct:_php_stream_context
/PHP_TRUNK/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 Dpcreposix.c138 REG_INVARG, /* inconsistent NEWLINE options */
271 int options = 0; local
274 if ((cflags & REG_ICASE) != 0) options |= PCRE_CASELESS;
275 if ((cflags & REG_NEWLINE) != 0) options |= PCRE_MULTILINE;
276 if ((cflags & REG_DOTALL) != 0) options |= PCRE_DOTALL;
277 if ((cflags & REG_NOSUB) != 0) options |= PCRE_NO_AUTO_CAPTURE;
278 if ((cflags & REG_UTF8) != 0) options |= PCRE_UTF8;
279 if ((cflags & REG_UCP) != 0) options |= PCRE_UCP;
280 if ((cflags & REG_UNGREEDY) != 0) options |= PCRE_UNGREEDY;
282 preg->re_pcre = pcre_compile2(pattern, options,
324 int options = 0; local
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitNativeX86_32.c67 sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds,
74 check_sljit_emit_enter(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size);
76 compiler->options = options;
175 sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds,
179 check_sljit_set_context(compiler, options, args, scratches, saveds, fscratches, fsaveds, local_size);
181 compiler->options = options;
66 sljit_emit_enter(struct sljit_compiler *compiler, sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds, sljit_si fscratches, sljit_si fsaveds, sljit_si local_size) argument
174 sljit_set_context(struct sljit_compiler *compiler, sljit_si options, sljit_si args, sljit_si scratches, sljit_si saveds, sljit_si fscratches, sljit_si fsaveds, sljit_si local_size) argument
/PHP_TRUNK/ext/json/
H A Dphp_json_scanner.h38 int options; /* options */ member in struct:_php_json_scanner
43 void php_json_scanner_init(php_json_scanner *scanner, char *str, size_t str_len, int options);
H A Djson.c56 ZEND_ARG_INFO(0, options)
64 ZEND_ARG_INFO(0, options)
184 PHP_JSON_API void php_json_encode(smart_str *buf, zval *val, int options) /* {{{ */ argument
186 php_json_encode_zval(buf, val, options);
190 PHP_JSON_API void php_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long options, zend_long depth) /* {{{ */ argument
194 php_json_parser_init(&parser, return_value, str, str_len, (int)options, (int)depth);
203 /* {{{ proto string json_encode(mixed data [, int options[, int depth]])
209 zend_long options = 0; local
212 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|ll", &parameter, &options, &depth) == FAILURE) {
220 php_json_encode(&buf, parameter, (int)options);
240 zend_long options = 0; local
[all...]

Completed in 44 milliseconds

12345