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

123456

/PHP_5_5/ext/ereg/regex/
H A Dmain.ih9 int options(int type, char *s);
/PHP_5_5/ext/pcntl/
H A Dtest-pcntl.php39 pcntl_waitpid($pid, &$status, $options);
/PHP_5_5/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_5/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_5/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_5/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_5/ext/session/
H A Dmod_files.sh36 options="\"Delete directory contents\" \"Choose another directory\" \"Quit\""
37 eval set $options
/PHP_5_5/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...]
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);
/PHP_5_5/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); \
413 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
437 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "FTP does not support simultaneous read/write connections");
448 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Unknown file open mode");
456 return php_stream_url_wrap_http(wrapper, path, mode, options, opened_path, context STREAMS_CC TSRMLS_CC);
459 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "FTP proxy may only be used in read mode");
464 stream = php_ftp_fopen_connect(wrapper, path, mode, options, opened_path, context, &reuseid, &resource, &use_ssl, &use_ssl_on_data TSRMLS_CC);
511 php_stream_wrapper_log_error(wrapper, options TSRMLS_C
694 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
906 php_stream_ftp_unlink(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
956 php_stream_ftp_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int options, php_stream_context *context TSRMLS_DC) argument
1035 php_stream_ftp_mkdir(php_stream_wrapper *wrapper, char *url, int mode, int options, php_stream_context *context TSRMLS_DC) argument
1129 php_stream_ftp_rmdir(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
[all...]
H A Dpassword.c180 zval *options; local
191 ALLOC_INIT_ZVAL(options);
192 array_init(options);
202 add_assoc_long(options, "cost", cost);
214 add_assoc_zval(return_value, "options", options);
223 HashTable *options = 0; local
226 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|H", &hash, &hash_len, &new_algo, &options) == FAILURE) {
246 if (options && zend_symtable_find(options, "cos
314 HashTable *options = 0; local
[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_5/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)
/PHP_5_5/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_5_5/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_5/ext/curl/
H A Dshare.c99 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_5_5/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_5/ext/pcre/pcrelib/
H A Dpcreposix.c140 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_5_5/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, int len, int options TSRMLS_DC);
209 static inline void json_pretty_print_char(smart_str *buf, int options, char c TSRMLS_DC) /* {{{ */ argument
211 if (options & PHP_JSON_PRETTY_PRINT) {
217 static inline void json_pretty_print_indent(smart_str *buf, int options TSRMLS_DC) /* {{{ */
221 if (options & PHP_JSON_PRETTY_PRINT) {
231 static void json_encode_array(smart_str *buf, zval **val, int options TSRMLS_DC) /* {{{ */
238 r = (options & PHP_JSON_FORCE_OBJECT) ? PHP_JSON_OUTPUT_OBJECT : json_determine_array_type(val TSRMLS_CC);
288 json_pretty_print_char(buf, options, '\
666 php_json_decode_ex(zval *return_value, char *str, int str_len, int options, long depth TSRMLS_DC) argument
781 long options = 0; local
812 long options = 0; local
[all...]
/PHP_5_5/ext/mysqlnd/
H A Dmysqlnd_net.c78 net_stream->chunk_size = MIN(to_read, net->data->options.net_read_buffer_size);
173 if (net->data->options.timeout_connect) {
174 tv.tv_sec = net->data->options.timeout_connect;
180 hashed_details, (net->data->options.timeout_connect) ? &tv : NULL,
243 if (net->data->options.timeout_read) {
245 DBG_INF_FMT("setting %u as PHP_STREAM_OPTION_READ_TIMEOUT", net->data->options.timeout_read);
246 tv.tv_sec = net->data->options.timeout_read;
709 net->data->options.net_read_buffer_size = *(unsigned int*) value;
710 DBG_INF_FMT("new_length="MYSQLND_SZ_T_SPEC, net->data->options.net_read_buffer_size);
714 net->data->options
[all...]
/PHP_5_5/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...]

Completed in 37 milliseconds

123456