Home
last modified time | relevance | path

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

/PHP-7.3/ext/mbstring/oniguruma/src/
H A Dascii.c41 OnigValue opts[4]; in init() local
51 opts[0].c = 'X'; in init()
52 BC_B_O(name, max, 2, args, 1, opts); in init()
55 args[0] = ONIG_TYPE_LONG; opts[0].l = ONIG_ABORT; in init()
56 BC_P_O(name, error, 1, args, 1, opts); in init()
59 args[0] = ONIG_TYPE_CHAR; opts[0].c = '>'; in init()
60 BC_B_O(name, count, 1, args, 1, opts); in init()
63 args[0] = ONIG_TYPE_CHAR; opts[0].c = '>'; in init()
64 BC_B_O(name, total_count, 1, args, 1, opts); in init()
H A Dutf16_be.c42 OnigValue opts[4]; in init() local
52 opts[0].c = 'X'; in init()
53 BC_B_O(name, max, 2, args, 1, opts); in init()
56 args[0] = ONIG_TYPE_LONG; opts[0].l = ONIG_ABORT; in init()
57 BC_P_O(name, error, 1, args, 1, opts); in init()
60 args[0] = ONIG_TYPE_CHAR; opts[0].c = '>'; in init()
61 BC_B_O(name, count, 1, args, 1, opts); in init()
64 args[0] = ONIG_TYPE_CHAR; opts[0].c = '>'; in init()
65 BC_B_O(name, total_count, 1, args, 1, opts); in init()
H A Dutf16_le.c40 OnigValue opts[4]; in init() local
50 opts[0].c = 'X'; in init()
51 BC_B_O(name, max, 2, args, 1, opts); in init()
54 args[0] = ONIG_TYPE_LONG; opts[0].l = ONIG_ABORT; in init()
55 BC_P_O(name, error, 1, args, 1, opts); in init()
58 args[0] = ONIG_TYPE_CHAR; opts[0].c = '>'; in init()
59 BC_B_O(name, count, 1, args, 1, opts); in init()
62 args[0] = ONIG_TYPE_CHAR; opts[0].c = '>'; in init()
63 BC_B_O(name, total_count, 1, args, 1, opts); in init()
H A Dregint.h971 #define BC_P_O(name, func, nts, ts, nopts, opts) do {\ argument
976 onig_builtin_ ## func, 0, (nts), (ts), (nopts), (opts));\
989 #define BC_B_O(name, func, nts, ts, nopts, opts) do {\ argument
994 onig_builtin_ ## func, 0, (nts), (ts), (nopts), (opts));\
H A Dregexec.c6469 OnigValue opts[4]; in onig_setup_builtin_monitors_by_ascii_encoded_name() local
6480 opts[0].c = '>'; in onig_setup_builtin_monitors_by_ascii_encoded_name()
6481 BC_B_O(name, monitor, 1, ts, 1, opts); in onig_setup_builtin_monitors_by_ascii_encoded_name()
/PHP-7.3/main/
H A Dgetopt.c57 PHPAPI int php_getopt(int argc, char* const *argv, const opt_struct opts[], char **optarg, int *opt… in php_getopt() argument
111 if (opts[php_optidx].opt_char == '-') { in php_getopt()
114 …} else if (opts[php_optidx].opt_name && !strncmp(&argv[*optind][2], opts[php_optidx].opt_name, arg… in php_getopt()
121 arg_start += (int)strlen(opts[php_optidx].opt_name); in php_getopt()
138 if (opts[php_optidx].opt_char == '-') { in php_getopt()
150 } else if (argv[*optind][optchr] == opts[php_optidx].opt_char) { in php_getopt()
155 if (opts[php_optidx].need_param) { in php_getopt()
163 if (opts[php_optidx].need_param == 1) { in php_getopt()
167 } else if (opts[php_optidx].need_param == 1) { in php_getopt()
178 return opts[php_optidx].opt_char; in php_getopt()
[all …]
H A Dphp_getopt.h35 PHPAPI int php_getopt(int argc, char* const *argv, const opt_struct opts[], char **optarg, int *opt…
/PHP-7.3/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.3/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.3/win32/
H A Dioutil.c78 opts->attributes = 0; in php_win32_ioutil_posix_to_open_opts()
88 opts->access = FILE_GENERIC_READ; in php_win32_ioutil_posix_to_open_opts()
93 opts->access = FILE_GENERIC_WRITE; in php_win32_ioutil_posix_to_open_opts()
105 opts->access |= FILE_APPEND_DATA; in php_win32_ioutil_posix_to_open_opts()
120 opts->disposition = OPEN_EXISTING; in php_win32_ioutil_posix_to_open_opts()
123 opts->disposition = OPEN_ALWAYS; in php_win32_ioutil_posix_to_open_opts()
127 opts->disposition = CREATE_NEW; in php_win32_ioutil_posix_to_open_opts()
131 opts->disposition = TRUNCATE_EXISTING; in php_win32_ioutil_posix_to_open_opts()
134 opts->disposition = CREATE_ALWAYS; in php_win32_ioutil_posix_to_open_opts()
140 opts->attributes |= FILE_ATTRIBUTE_NORMAL; in php_win32_ioutil_posix_to_open_opts()
[all …]
H A Dioutil.h259 PW32IO BOOL php_win32_ioutil_posix_to_open_opts(int flags, mode_t mode, php_ioutil_open_opts *opts);
/PHP-7.3/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.3/ext/opcache/tests/
H A Dget_configuration_matches_ini.phpt11 $opts = opcache_get_configuration()['directives'];
13 var_dump(array_diff_key($inis, $opts));
/PHP-7.3/ext/standard/tests/http/
H A Dbug79265_2.phpt17 $opts = array(
24 $context = stream_context_create($opts);
H A Dbug79265.phpt17 $opts = array(
25 $context = stream_context_create($opts);
/PHP-7.3/tests/basic/
H A Dbug67198.phpt26 $opts = array('http' =>
34 $context = stream_context_create($opts);
/PHP-7.3/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.3/ext/standard/
H A Dbasic_functions.c4328 if ((opts[i] >= 48 && opts[i] <= 57) ||
4329 (opts[i] >= 65 && opts[i] <= 90) ||
4330 (opts[i] >= 97 && opts[i] <= 122)
4339 while ( (*opts >= 48 && *opts <= 57) || /* 0 - 9 */
4340 (*opts >= 65 && *opts <= 90) || /* A - Z */
4341 (*opts >= 97 && *opts <= 122) /* a - z */
4347 opts++;
4350 opts++;
4437 opts += len;
4458 opts++;
[all …]
H A Dfilters.c738 int opts; member
783 int opts; in php_conv_qprint_encode_convert() local
787 opts = inst->opts; in php_conv_qprint_encode_convert()
802 if (!(opts & PHP_CONV_QPRINT_OPT_BINARY) && inst->lbchars != NULL && inst->lbchars_len > 0) { in php_conv_qprint_encode_convert()
836 if (!(opts & PHP_CONV_QPRINT_OPT_BINARY) && in php_conv_qprint_encode_convert()
979 inst->opts = opts; in php_conv_qprint_encode_ctor()
1340 int opts = 0; in php_conv_open() local
1362 opts |= (opt_binary ? PHP_CONV_QPRINT_OPT_BINARY : 0); in php_conv_open()
1363 opts |= (opt_force_encode_first ? PHP_CONV_QPRINT_OPT_FORCE_ENCODE_FIRST : 0); in php_conv_open()
1367 …code_ctor((php_conv_qprint_encode *)retval, line_len, lbchars, lbchars_len, 1, opts, persistent)) { in php_conv_open()
[all …]
/PHP-7.3/ext/fileinfo/libmagic/
H A Dfuncs.c474 uint32_t opts = 0; in file_replace() local
480 opts |= PCRE2_MULTILINE; in file_replace()
481 convert_libmagic_pattern(&patt, (char*)pat, strlen(pat), opts); in file_replace()
/PHP-7.3/ext/xmlrpc/
H A Dxmlrpc-epi-php.c752 STRUCT_XMLRPC_REQUEST_INPUT_OPTIONS opts = {{0}}; in decode_request_worker() local
754opts.xml_elem_opts.encoding = encoding_in ? utf8_get_encoding_id_from_string(encoding_in) : ENCODI… in decode_request_worker()
757 response = XMLRPC_REQUEST_FromXML(xml_in, xml_in_len, &opts); in decode_request_worker()
1088 XMLRPC_REQUEST_OUTPUT_OPTIONS opts = XMLRPC_RequestGetOutputOptions(xRequest); in PHP_FUNCTION() local
1089 if (opts) { in PHP_FUNCTION()
1090 out.xmlrpc_out.version = opts->version; in PHP_FUNCTION()
/PHP-7.3/ext/fileinfo/
H A Dlibmagic.patch3079 + uint32_t opts = 0;
3085 + opts |= PCRE2_MULTILINE;
3086 + convert_libmagic_pattern(&patt, (char*)pat, strlen(pat), opts);
/PHP-7.3/
H A Dltmain.sh5842 opts=

Completed in 105 milliseconds