Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 18 of 18) sorted by relevance

/PHP-7.1/main/
H A Dgetopt.c58 PHPAPI int php_getopt(int argc, char* const *argv, const opt_struct opts[], char **optarg, int *opt… in php_getopt() argument
112 if (opts[php_optidx].opt_char == '-') { in php_getopt()
115 …} else if (opts[php_optidx].opt_name && !strncmp(&argv[*optind][2], opts[php_optidx].opt_name, arg… in php_getopt()
122 arg_start += (int)strlen(opts[php_optidx].opt_name); in php_getopt()
139 if (opts[php_optidx].opt_char == '-') { in php_getopt()
151 } else if (argv[*optind][optchr] == opts[php_optidx].opt_char) { in php_getopt()
156 if (opts[php_optidx].need_param) { in php_getopt()
164 if (opts[php_optidx].need_param == 1) { in php_getopt()
168 } else if (opts[php_optidx].need_param == 1) { in php_getopt()
179 return opts[php_optidx].opt_char; in php_getopt()
[all …]
H A Dphp_getopt.h45 PHPAPI int php_getopt(int argc, char* const *argv, const opt_struct opts[], char **optarg, int *opt…
/PHP-7.1/win32/
H A Dioutil.c77 opts->attributes = 0; in php_win32_ioutil_posix_to_open_opts()
87 opts->access = FILE_GENERIC_READ; in php_win32_ioutil_posix_to_open_opts()
92 opts->access = FILE_GENERIC_WRITE; in php_win32_ioutil_posix_to_open_opts()
104 opts->access |= FILE_APPEND_DATA; in php_win32_ioutil_posix_to_open_opts()
122 opts->disposition = OPEN_EXISTING; in php_win32_ioutil_posix_to_open_opts()
125 opts->disposition = OPEN_ALWAYS; in php_win32_ioutil_posix_to_open_opts()
129 opts->disposition = CREATE_NEW; in php_win32_ioutil_posix_to_open_opts()
133 opts->disposition = TRUNCATE_EXISTING; in php_win32_ioutil_posix_to_open_opts()
136 opts->disposition = CREATE_ALWAYS; in php_win32_ioutil_posix_to_open_opts()
142 opts->attributes |= FILE_ATTRIBUTE_NORMAL; in php_win32_ioutil_posix_to_open_opts()
[all …]
H A Dioutil.h232 PW32IO BOOL php_win32_ioutil_posix_to_open_opts(int flags, mode_t mode, php_ioutil_open_opts *opts);
/PHP-7.1/ext/openssl/tests/
H A Dopenssl_pkcs12_export_basic.phpt18 $opts = [];
21 var_dump(openssl_pkcs12_read($output, $opts, $pass));
23 var_dump(openssl_pkcs12_read($output, $opts, $pass));
25 var_dump(openssl_pkcs12_read($output, $opts, $pass));
27 var_dump(openssl_pkcs12_read($output, $opts, $pass));
28 var_dump(count($opts)); // should be 3 certificates, priv, pub, extra optional cert
H A Dopenssl_pkcs12_export_to_file_basic.phpt20 $opts = [];
23 var_dump(openssl_pkcs12_read(file_get_contents($pkcsfile), $opts, $pass));
25 var_dump(openssl_pkcs12_read(file_get_contents($pkcsfile), $opts, $pass));
27 var_dump(openssl_pkcs12_read(file_get_contents($pkcsfile), $opts, $pass));
29 var_dump(openssl_pkcs12_read(file_get_contents($pkcsfile), $opts, $pass));
/PHP-7.1/ext/standard/tests/url/
H A Dget_headers_error_003.phpt9 $opts = array(
15 $context = stream_context_create($opts);
19 stream_context_set_default($opts);
/PHP-7.1/ext/intl/tests/
H A Duconverter_func_subst.phpt10 $opts = array('to_subst' => $subst);
11 $ret = UConverter::transcode("This is an ascii string", 'ascii', 'utf-8', $opts);
17 $ret = UConverter::transcode("Snowman: (\xE2\x98\x83)", 'ascii', 'utf-8', $opts);
/PHP-7.1/ext/mcrypt/tests/
H A Dmcrypt_filters.phpt19 $opts = array('iv'=>$iv, 'key'=>$key);
22 stream_filter_append($fp, 'mcrypt.tripledes', STREAM_FILTER_WRITE, $opts);
29 stream_filter_append($fp, 'mdecrypt.tripledes', STREAM_FILTER_READ, $opts);
H A Dbug72535.phpt13 $opts = array('iv' => $iv, 'key' => $key, 'mode' => 'stream');
18 stream_filter_append($fp, 'mcrypt.arcfour', STREAM_FILTER_WRITE, $opts);
/PHP-7.1/tests/basic/
H A Dbug67198.phpt26 $opts = array('http' =>
34 $context = stream_context_create($opts);
/PHP-7.1/ext/interbase/
H A Dibase_service.c428 zend_long opts = 0; in _php_ibase_backup_restore() local
435 &res, &db, &dblen, &bk, &bklen, &opts, &verbose)) { in _php_ibase_backup_restore()
446 (char)opts,(char)(opts >> 8), (char)(opts >> 16), (char)(opts >> 24)); in _php_ibase_backup_restore()
/PHP-7.1/ext/standard/
H A Dbasic_functions.c4293 if ((opts[i] >= 48 && opts[i] <= 57) ||
4294 (opts[i] >= 65 && opts[i] <= 90) ||
4295 (opts[i] >= 97 && opts[i] <= 122)
4304 while ( (*opts >= 48 && *opts <= 57) || /* 0 - 9 */
4305 (*opts >= 65 && *opts <= 90) || /* A - Z */
4306 (*opts >= 97 && *opts <= 122) /* a - z */
4312 opts++;
4315 opts++;
4398 opts += len;
4418 opts++;
[all …]
H A Dfilters.c743 int opts; member
788 int opts; in php_conv_qprint_encode_convert() local
792 opts = inst->opts; in php_conv_qprint_encode_convert()
807 if (!(opts & PHP_CONV_QPRINT_OPT_BINARY) && inst->lbchars != NULL && inst->lbchars_len > 0) { in php_conv_qprint_encode_convert()
841 if (!(opts & PHP_CONV_QPRINT_OPT_BINARY) && in php_conv_qprint_encode_convert()
984 inst->opts = opts; in php_conv_qprint_encode_ctor()
1348 int opts = 0; in php_conv_open() local
1370 opts |= (opt_binary ? PHP_CONV_QPRINT_OPT_BINARY : 0); in php_conv_open()
1371 opts |= (opt_force_encode_first ? PHP_CONV_QPRINT_OPT_FORCE_ENCODE_FIRST : 0); in php_conv_open()
1375 …code_ctor((php_conv_qprint_encode *)retval, line_len, lbchars, lbchars_len, 1, opts, persistent)) { in php_conv_open()
[all …]
/PHP-7.1/ext/fileinfo/libmagic/
H A Dfuncs.c433 int opts = 0; in file_replace() local
441 opts |= PCRE_MULTILINE; in file_replace()
442 convert_libmagic_pattern(&patt, (char*)pat, strlen(pat), opts); in file_replace()
/PHP-7.1/ext/xmlrpc/
H A Dxmlrpc-epi-php.c750 STRUCT_XMLRPC_REQUEST_INPUT_OPTIONS opts = {{0}}; in decode_request_worker() local
752opts.xml_elem_opts.encoding = encoding_in ? utf8_get_encoding_id_from_string(encoding_in) : ENCODI… in decode_request_worker()
755 response = XMLRPC_REQUEST_FromXML(xml_in, xml_in_len, &opts); in decode_request_worker()
1090 XMLRPC_REQUEST_OUTPUT_OPTIONS opts = XMLRPC_RequestGetOutputOptions(xRequest); in PHP_FUNCTION() local
1091 if (opts) { in PHP_FUNCTION()
1092 out.xmlrpc_out.version = opts->version; in PHP_FUNCTION()
/PHP-7.1/ext/fileinfo/
H A Dlibmagic.patch2262 + int opts = 0;
2270 + opts |= PCRE_MULTILINE;
2271 + convert_libmagic_pattern(&patt, (char*)pat, strlen(pat), opts);
/PHP-7.1/
H A Dltmain.sh5842 opts=

Completed in 69 milliseconds