Searched refs:options (Results 1 - 25 of 141) sorted by relevance

123456

/PHP_TRUNK/ext/ereg/regex/
H A Dmain.ih9 int options(int type, char *s);
/PHP_TRUNK/ext/pcntl/
H A Dtest-pcntl.php39 pcntl_waitpid($pid, &$status, $options);
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c376 static void xml_element_serialize(xml_element *el, int (*fptr)(void *data, const char *text, int size), void *data, XML_ELEM_OUTPUT_OPTIONS options, int depth) argument
389 if(!options) {
390 options = &default_opts;
398 if(options->encoding && *options->encoding) {
403 xml_elem_writefunc(fptr, options->encoding, data, 0);
407 if(options->verbosity != xml_elem_no_white_space) {
412 if(options->verbosity == xml_elem_pretty && depth > 2) {
451 if(options->escaping && options
537 xml_elem_serialize_to_string(xml_element *el, XML_ELEM_OUTPUT_OPTIONS options, int *buf_len) argument
571 xml_elem_serialize_to_stream(xml_element *el, FILE *output, XML_ELEM_OUTPUT_OPTIONS options) argument
687 xml_elem_parse_buf(const char* in_buf, int len, XML_ELEM_INPUT_OPTIONS options, XML_ELEM_ERROR error) argument
[all...]
H A Dxml_element.h50 * verbosity/readability options for generated xml
67 * xml escaping options for generated xml
86 * defines various output options
100 * defines various input options
162 char* xml_elem_serialize_to_string(xml_element *el, XML_ELEM_OUTPUT_OPTIONS options, int *buf_len);
163 void xml_elem_serialize_to_stream(xml_element *el, FILE *output, XML_ELEM_OUTPUT_OPTIONS options);
164 xml_element* xml_elem_parse_buf(const char* in_buf, int len, XML_ELEM_INPUT_OPTIONS options, XML_ELEM_ERROR error);
/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 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...]
/PHP_TRUNK/ext/session/
H A Dmod_files.sh36 options="\"Delete directory contents\" \"Choose another directory\" \"Quit\""
37 eval set $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/Zend/
H A Dzend_builtin_functions.h28 ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last, int options, int limit TSRMLS_DC);
/PHP_TRUNK/ext/bz2/
H A Dphp_bz2.h50 PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
54 #define php_stream_bz2open(wrapper, path, mode, options, opened_path) _php_stream_bz2open((wrapper), (path), (mode), (options), (opened_path), NULL STREAMS_CC TSRMLS_CC)
/PHP_TRUNK/ext/standard/
H A Dphp_fopen_wrappers.h26 php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
27 php_stream *php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
H A Dpassword.c179 zval options; local
190 array_init(&options);
200 add_assoc_long(&options, "cost", cost);
212 add_assoc_zval(return_value, "options", &options);
221 HashTable *options = 0; local
224 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|H", &hash, &hash_len, &new_algo, &options) == FAILURE) {
244 if (options && (option_buffer = zend_symtable_str_find(options, "cost", sizeof("cost")-1)) != NULL) {
305 /* {{{ proto string password_hash(string password, int algo, array options
313 HashTable *options = 0; local
[all...]
/PHP_TRUNK/main/streams/
H A Dphp_stream_plain_wrapper.h30 PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, char **opened_path, int options STREAMS_DC TSRMLS_DC);
33 PHPAPI php_stream *_php_stream_fopen_with_path(const char *filename, const char *mode, const char *path, char **opened_path, int options STREAMS_DC TSRMLS_DC);
54 PHPAPI FILE * _php_stream_open_wrapper_as_file(char * path, char * mode, int options, char **opened_path STREAMS_DC TSRMLS_DC);
55 #define php_stream_open_wrapper_as_file(path, mode, options, opened_path) _php_stream_open_wrapper_as_file((path), (mode), (options), (opened_path) STREAMS_CC TSRMLS_CC)
/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/pcre/pcrelib/
H A Dpcreposix.c138 REG_INVARG, /* inconsistent NEWLINE options */
270 int options = 0; local
273 if ((cflags & REG_ICASE) != 0) options |= PCRE_CASELESS;
274 if ((cflags & REG_NEWLINE) != 0) options |= PCRE_MULTILINE;
275 if ((cflags & REG_DOTALL) != 0) options |= PCRE_DOTALL;
276 if ((cflags & REG_NOSUB) != 0) options |= PCRE_NO_AUTO_CAPTURE;
277 if ((cflags & REG_UTF8) != 0) options |= PCRE_UTF8;
278 if ((cflags & REG_UCP) != 0) options |= PCRE_UCP;
279 if ((cflags & REG_UNGREEDY) != 0) options |= PCRE_UNGREEDY;
281 preg->re_pcre = pcre_compile2(pattern, options,
323 int options = 0; local
[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 TSRMLS_DC) /* {{{ */ argument
314 if ((resource = phar_parse_url(wrapper, path, mode, options TSRMLS_CC)) == NULL) {
315 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar url \"%s\" is unknown", path);
322 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);
327 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url \"%s\", must have at least phar://%s/", path, path);
333 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: not a phar url \"%s\"", path);
343 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", error);
346 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar file \"%s\" is unknown", resource->host);
375 return php_stream_opendir(entry->tmp, options, context);
412 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url_from, int mode, int options, php_stream_contex argument
544 phar_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC) argument
[all...]
H A Ddirstream.h23 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url_from, int mode, int options, php_stream_context *context TSRMLS_DC);
24 int phar_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC);
27 php_url* phar_parse_url(php_stream_wrapper *wrapper, const char *filename, const char *mode, int options TSRMLS_DC);
36 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 TSRMLS_DC);
H A Dstream.h24 php_url* phar_parse_url(php_stream_wrapper *wrapper, const char *filename, const char *mode, int options TSRMLS_DC);
27 static php_stream* phar_wrapper_open_url(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
28 static int phar_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_context *context TSRMLS_DC);
29 static int phar_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC);
/PHP_TRUNK/ext/curl/
H A Dshare.c99 zend_long options; local
102 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlz", &zid, &options, &zvalue) == FAILURE) {
108 if (!_php_curl_share_setopt(sh, options, zvalue, return_value TSRMLS_CC)) {
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_net.c78 net_stream->chunk_size = MIN(to_read, net->data->options.net_read_buffer_size);
178 if (net->data->options.timeout_connect) {
179 tv.tv_sec = net->data->options.timeout_connect;
185 hashed_details, (net->data->options.timeout_connect) ? &tv : NULL,
252 if (net->data->options.timeout_read) {
254 DBG_INF_FMT("setting %u as PHP_STREAM_OPTION_READ_TIMEOUT", net->data->options.timeout_read);
255 tv.tv_sec = net->data->options.timeout_read;
722 net->data->options.net_read_buffer_size = *(unsigned int*) value;
723 DBG_INF_FMT("new_length="MYSQLND_SZ_T_SPEC, net->data->options.net_read_buffer_size);
727 net->data->options
[all...]
/PHP_TRUNK/ext/fileinfo/
H A Dfileinfo.c47 zend_long options; member in struct:_php_fileinfo
118 ZEND_ARG_INFO(0, options)
128 ZEND_ARG_INFO(0, options)
132 ZEND_ARG_INFO(0, options)
138 ZEND_ARG_INFO(0, options)
144 ZEND_ARG_INFO(0, options)
151 ZEND_ARG_INFO(0, options)
157 ZEND_ARG_INFO(0, options)
177 #define FINFO_SET_OPTION(magic, options) \
178 if (magic_setflags(magic, options)
298 zend_long options = MAGIC_NONE; local
385 zend_long options; local
415 zend_long options = 0; local
[all...]
/PHP_TRUNK/ext/json/
H A Djson.c49 ZEND_ARG_INFO(0, options)
57 ZEND_ARG_INFO(0, options)
170 static void json_escape_string(smart_str *buf, char *s, size_t len, int options TSRMLS_DC);
201 static inline void json_pretty_print_char(smart_str *buf, int options, char c TSRMLS_DC) /* {{{ */ argument
203 if (options & PHP_JSON_PRETTY_PRINT) {
209 static inline void json_pretty_print_indent(smart_str *buf, int options TSRMLS_DC) /* {{{ */
213 if (options & PHP_JSON_PRETTY_PRINT) {
223 static void json_encode_array(smart_str *buf, zval *val, int options TSRMLS_DC) /* {{{ */
230 r = (options & PHP_JSON_FORCE_OBJECT) ? PHP_JSON_OUTPUT_OBJECT : json_determine_array_type(val TSRMLS_CC);
272 json_pretty_print_char(buf, options, '\
667 php_json_decode_ex(zval *return_value, char *str, size_t str_len, zend_long options, zend_long depth TSRMLS_DC) argument
774 zend_long options = 0; local
805 zend_long options = 0; local
[all...]

Completed in 44 milliseconds

123456