Home
last modified time | relevance | path

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

/PHP-7.0/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.0/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.0/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.0/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.0/tests/basic/
H A Dbug67198.phpt26 $opts = array('http' =>
34 $context = stream_context_create($opts);
/PHP-7.0/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.0/ext/standard/
H A Dbasic_functions.c4222 if ((opts[i] >= 48 && opts[i] <= 57) ||
4223 (opts[i] >= 65 && opts[i] <= 90) ||
4224 (opts[i] >= 97 && opts[i] <= 122)
4233 while ( (*opts >= 48 && *opts <= 57) || /* 0 - 9 */
4234 (*opts >= 65 && *opts <= 90) || /* A - Z */
4235 (*opts >= 97 && *opts <= 122) /* a - z */
4241 opts++;
4244 opts++;
4320 opts += len;
4340 opts++;
[all …]
H A Dfilters.c740 int opts; member
785 int opts; in php_conv_qprint_encode_convert() local
789 opts = inst->opts; in php_conv_qprint_encode_convert()
804 if (!(opts & PHP_CONV_QPRINT_OPT_BINARY) && inst->lbchars != NULL && inst->lbchars_len > 0) { in php_conv_qprint_encode_convert()
838 if (!(opts & PHP_CONV_QPRINT_OPT_BINARY) && in php_conv_qprint_encode_convert()
981 inst->opts = opts; in php_conv_qprint_encode_ctor()
1345 int opts = 0; in php_conv_open() local
1367 opts |= (opt_binary ? PHP_CONV_QPRINT_OPT_BINARY : 0); in php_conv_open()
1368 opts |= (opt_force_encode_first ? PHP_CONV_QPRINT_OPT_FORCE_ENCODE_FIRST : 0); in php_conv_open()
1372 …code_ctor((php_conv_qprint_encode *)retval, line_len, lbchars, lbchars_len, 1, opts, persistent)) { in php_conv_open()
[all …]
/PHP-7.0/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.0/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.0/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.0/
H A Dltmain.sh5842 opts=

Completed in 65 milliseconds