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

12345

/PHP_5_3/ext/ereg/regex/
H A Dmain.ih9 int options(int type, char *s);
/PHP_5_3/ext/pcntl/
H A Dtest-pcntl.php39 pcntl_waitpid($pid, &$status, $options);
/PHP_5_3/ext/sqlite3/tests/
H A Dstream_test.inc9 public function stream_open($path, $mode, $options, &$opened_path)
/PHP_5_3/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_5_3/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_3/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_3/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_5_3/ext/bz2/
H A Dphp_bz2.h50 PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper, char *path, 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_5_3/ext/fileinfo/
H A Dfileinfo.c47 long options; member in struct:php_fileinfo
121 ZEND_ARG_INFO(0, options)
131 ZEND_ARG_INFO(0, options)
135 ZEND_ARG_INFO(0, options)
141 ZEND_ARG_INFO(0, options)
147 ZEND_ARG_INFO(0, options)
154 ZEND_ARG_INFO(0, options)
160 ZEND_ARG_INFO(0, options)
180 #define FINFO_SET_OPTION(magic, options) \
181 if (magic_setflags(magic, options)
293 long options = MAGIC_NONE; local
388 long options; local
418 long options = 0; local
[all...]
/PHP_5_3/ext/json/
H A Djson.c45 ZEND_ARG_INFO(0, options)
132 static void json_escape_string(smart_str *buf, char *s, int len, int options TSRMLS_DC);
169 static void json_encode_array(smart_str *buf, zval **val, int options TSRMLS_DC) /* {{{ */
176 r = (options & PHP_JSON_FORCE_OBJECT) ? PHP_JSON_OUTPUT_OBJECT : json_determine_array_type(val TSRMLS_CC);
225 php_json_encode(buf, *data, options TSRMLS_CC);
242 json_escape_string(buf, key, key_len - 1, options & ~PHP_JSON_NUMERIC_CHECK TSRMLS_CC);
245 php_json_encode(buf, *data, options TSRMLS_CC);
258 php_json_encode(buf, *data, options TSRMLS_CC);
279 static void json_escape_string(smart_str *buf, char *s, int len, int options TSRMLS_DC) /* {{{ */
290 if (options
564 long options = 0; local
[all...]
/PHP_5_3/ext/standard/
H A Dftp_fopen_wrapper.c133 static php_stream *php_ftp_fopen_connect(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context, argument
207 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Unable to activate SSL mode");
238 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, err_msg, val); \
414 php_stream * php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
438 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "FTP does not support simultaneous read/write connections");
449 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Unknown file open mode");
457 return php_stream_url_wrap_http(wrapper, path, mode, options, opened_path, context STREAMS_CC TSRMLS_CC);
460 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "FTP proxy may only be used in read mode");
465 stream = php_ftp_fopen_connect(wrapper, path, mode, options, opened_path, context, &reuseid, &resource, &use_ssl, &use_ssl_on_data TSRMLS_CC);
512 php_stream_wrapper_log_error(wrapper, options TSRMLS_C
695 php_stream_ftp_opendir(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
907 php_stream_ftp_unlink(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
957 php_stream_ftp_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int options, php_stream_context *context TSRMLS_DC) argument
1036 php_stream_ftp_mkdir(php_stream_wrapper *wrapper, char *url, int mode, int options, php_stream_context *context TSRMLS_DC) argument
1130 php_stream_ftp_rmdir(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
[all...]
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...]
H A Dphp_fopen_wrappers.h26 php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, char *path, 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, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
/PHP_5_3/main/
H A Dphp_streams.h66 #define php_stream_fopen_rel(filename, mode, opened, options) _php_stream_fopen((filename), (mode), (opened), (options) STREAMS_REL_CC TSRMLS_CC)
68 #define php_stream_fopen_with_path_rel(filename, mode, path, opened, options) _php_stream_fopen_with_path((filename), (mode), (path), (opened), (options) STREAMS_REL_CC TSRMLS_CC)
79 #define php_stream_open_wrapper_rel(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_REL_CC TSRMLS_CC)
80 #define php_stream_open_wrapper_ex_rel(path, mode, options, opened, context) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), (context) STREAMS_REL_CC TSRMLS_CC)
135 int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
144 int options, cha
[all...]
/PHP_5_3/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(char *filename, char *mode, 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)
H A Dplain_wrapper.c853 int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC)
859 if (options & STREAM_USE_GLOB_DIR_OPEN) {
860 return php_glob_stream_wrapper.wops->dir_opener(&php_glob_stream_wrapper, path, mode, options, opened_path, context STREAMS_REL_CC TSRMLS_CC);
864 if (((options & STREAM_DISABLE_OPEN_BASEDIR) == 0) && php_check_open_basedir(path TSRMLS_CC)) {
895 PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, char **opened_path, int options STREAMS_DC TSRMLS_DC)
901 int persistent = options & STREAM_OPEN_PERSISTENT;
905 if (options & REPORT_ERRORS) {
911 if (options & STREAM_ASSUME_REALPATH) {
942 if (options & STREAM_OPEN_FOR_INCLUDE) {
965 if (options
852 php_plain_files_dir_opener(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
994 php_plain_files_stream_opener(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
1045 php_plain_files_unlink(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
1080 php_plain_files_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int options, php_stream_context *context TSRMLS_DC) argument
1174 php_plain_files_mkdir(php_stream_wrapper *wrapper, char *dir, int mode, int options, php_stream_context *context TSRMLS_DC) argument
1269 php_plain_files_rmdir(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
[all...]
/PHP_5_3/Zend/
H A Dzend_builtin_functions.h28 ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last, int options TSRMLS_DC);
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_net.c71 conn->net->stream->chunk_size = MIN(to_read, conn->net->options.net_read_buffer_size);
134 if (net->options.timeout_connect) {
135 tv.tv_sec = net->options.timeout_connect;
141 hashed_details, (net->options.timeout_connect) ? &tv : NULL,
185 if (!net->options.timeout_read) {
187 net->options.timeout_read = (unsigned int) MYSQLND_G(net_read_timeout);
189 if (net->options.timeout_read) {
190 DBG_INF_FMT("setting %u as PHP_STREAM_OPTION_READ_TIMEOUT", net->options.timeout_read);
191 tv.tv_sec = net->options.timeout_read;
607 net->options
[all...]
/PHP_5_3/ext/phar/
H A Ddirstream.c322 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
334 if ((resource = phar_parse_url(wrapper, path, mode, options TSRMLS_CC)) == NULL) {
335 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar url \"%s\" is unknown", path);
342 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);
347 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url \"%s\", must have at least phar://%s/", path, path);
353 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: not a phar url \"%s\"", path);
363 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", error);
366 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar file \"%s\" is unknown", resource->host);
395 return php_stream_opendir(entry->tmp, options, context);
435 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, char *url_from, int mode, int options, php_stream_contex argument
567 phar_wrapper_rmdir(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
[all...]
H A Ddirstream.h23 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, char *url_from, int mode, int options, php_stream_context *context TSRMLS_DC);
24 int phar_wrapper_rmdir(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC);
27 php_url* phar_parse_url(php_stream_wrapper *wrapper, char *filename, char *mode, int options TSRMLS_DC);
36 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);
H A Dstream.h24 php_url* phar_parse_url(php_stream_wrapper *wrapper, char *filename, char *mode, int options TSRMLS_DC);
27 static php_stream* phar_wrapper_open_url(php_stream_wrapper *wrapper, char *path, 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, char *url_from, char *url_to, int options, php_stream_context *context TSRMLS_DC);
29 static int phar_wrapper_unlink(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC);
H A Dstream.c59 php_url* phar_parse_url(php_stream_wrapper *wrapper, char *filename, char *mode, int options TSRMLS_DC) /* {{{ */
69 if (!(options & PHP_STREAM_URL_STAT_QUIET)) {
70 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: open mode append not supported");
75 if (!(options & PHP_STREAM_URL_STAT_QUIET)) {
77 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)", filename, arch);
80 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url or non-existent phar \"%s\"", filename);
110 if (!(options & PHP_STREAM_URL_STAT_QUIET)) {
111 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: write operations disabled by the php.ini setting phar.readonly");
116 if (phar_open_or_create_filename(resource->host, arch_len, NULL, 0, 0, options, &phar, &error TSRMLS_CC) == FAILURE)
119 if (!(options
158 phar_wrapper_open_url(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
689 phar_wrapper_unlink(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
765 phar_wrapper_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int options, php_stream_context *context TSRMLS_DC) argument
[all...]
/PHP_5_3/ext/pcre/pcrelib/
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...]

Completed in 207 milliseconds

12345