/php-src/main/ |
H A D | getopt.c | 55 PHPAPI int php_getopt(int argc, char* const *argv, const opt_struct opts[], char **optarg, int *opt… in php_getopt() argument 109 if (opts[php_optidx].opt_char == '-') { in php_getopt() 112 …} else if (opts[php_optidx].opt_name && !strncmp(&argv[*optind][2], opts[php_optidx].opt_name, arg… in php_getopt() 119 arg_start += (int)strlen(opts[php_optidx].opt_name); in php_getopt() 136 if (opts[php_optidx].opt_char == '-') { in php_getopt() 148 } else if (argv[*optind][optchr] == opts[php_optidx].opt_char) { in php_getopt() 153 if (opts[php_optidx].need_param) { in php_getopt() 161 if (opts[php_optidx].need_param == 1) { in php_getopt() 165 } else if (opts[php_optidx].need_param == 1) { in php_getopt() 176 return opts[php_optidx].opt_char; in php_getopt() [all …]
|
H A D | php_getopt.h | 33 PHPAPI int php_getopt(int argc, char* const *argv, const opt_struct opts[], char **optarg, int *opt…
|
/php-src/ext/openssl/tests/ |
H A D | openssl_pkcs12_export_basic.phpt | 18 $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 D | openssl_pkcs12_export_to_file_basic.phpt | 20 $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));
|
H A D | openssl_password_compat2.phpt | 24 $opts = [ 33 $hash = password_hash($pass, PASSWORD_ARGON2ID, $opts); 37 $hash = openssl_password_hash($algo, $pass, $opts);
|
H A D | openssl_password.phpt | 19 $opts = [ 26 $hash = openssl_password_hash($algo, $pass, $opts);
|
H A D | openssl_password_compat.phpt | 24 $opts = [ 37 $hash = openssl_password_hash($algo, $pass, $opts);
|
/php-src/ext/standard/tests/url/ |
H A D | get_headers_error_003.phpt | 9 $opts = array( 15 $context = stream_context_create($opts); 19 stream_context_set_default($opts);
|
/php-src/ext/intl/tests/ |
H A D | uconverter_func_subst.phpt | 10 $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-src/ext/opcache/tests/ |
H A D | get_configuration_matches_ini.phpt | 11 $opts = opcache_get_configuration()['directives']; 13 var_dump(array_diff_key($inis, $opts));
|
/php-src/ext/standard/ |
H A D | basic_functions.c | 899 if ((opts[i] >= 48 && opts[i] <= 57) || 900 (opts[i] >= 65 && opts[i] <= 90) || 901 (opts[i] >= 97 && opts[i] <= 122) 910 while ( (*opts >= 48 && *opts <= 57) || /* 0 - 9 */ 911 (*opts >= 65 && *opts <= 90) || /* A - Z */ 912 (*opts >= 97 && *opts <= 122) /* a - z */ 918 opts++; 921 opts++; 1006 opts += len; 1027 opts++; [all …]
|
H A D | filters.c | 607 int opts; member 652 int opts; in php_conv_qprint_encode_convert() local 656 opts = inst->opts; in php_conv_qprint_encode_convert() 671 if (!(opts & PHP_CONV_QPRINT_OPT_BINARY) && inst->lbchars != NULL && inst->lbchars_len > 0) { in php_conv_qprint_encode_convert() 705 if (!(opts & PHP_CONV_QPRINT_OPT_BINARY) && in php_conv_qprint_encode_convert() 764 …} else if ((!(opts & PHP_CONV_QPRINT_OPT_FORCE_ENCODE_FIRST) || line_ccnt < inst->line_len) && ((c… in php_conv_qprint_encode_convert() 845 inst->opts = opts; in php_conv_qprint_encode_ctor() 1203 int opts = 0; in php_conv_open() local 1225 opts |= (opt_binary ? PHP_CONV_QPRINT_OPT_BINARY : 0); in php_conv_open() 1226 opts |= (opt_force_encode_first ? PHP_CONV_QPRINT_OPT_FORCE_ENCODE_FIRST : 0); in php_conv_open() [all …]
|
/php-src/win32/ |
H A D | ioutil.c | 74 opts->attributes = 0; in php_win32_ioutil_posix_to_open_opts() 84 opts->access = FILE_GENERIC_READ; in php_win32_ioutil_posix_to_open_opts() 89 opts->access = FILE_GENERIC_WRITE; in php_win32_ioutil_posix_to_open_opts() 101 opts->access |= FILE_APPEND_DATA; in php_win32_ioutil_posix_to_open_opts() 116 opts->disposition = OPEN_EXISTING; in php_win32_ioutil_posix_to_open_opts() 119 opts->disposition = OPEN_ALWAYS; in php_win32_ioutil_posix_to_open_opts() 123 opts->disposition = CREATE_NEW; in php_win32_ioutil_posix_to_open_opts() 127 opts->disposition = TRUNCATE_EXISTING; in php_win32_ioutil_posix_to_open_opts() 130 opts->disposition = CREATE_ALWAYS; in php_win32_ioutil_posix_to_open_opts() 136 opts->attributes |= FILE_ATTRIBUTE_NORMAL; in php_win32_ioutil_posix_to_open_opts() [all …]
|
H A D | ioutil.h | 279 PW32IO BOOL php_win32_ioutil_posix_to_open_opts(int flags, mode_t mode, php_ioutil_open_opts *opts);
|
/php-src/ext/standard/tests/http/ |
H A D | bug79265.phpt | 17 $opts = array( 25 $context = stream_context_create($opts);
|
H A D | bug79265_2.phpt | 17 $opts = array( 24 $context = stream_context_create($opts);
|
/php-src/tests/basic/ |
H A D | bug67198.phpt | 26 $opts = array('http' => 34 $context = stream_context_create($opts);
|
/php-src/ext/zip/ |
H A D | php_zip.c | 362 memset(opts, 0, sizeof(zip_options)); in php_zip_parse_options() 363 opts->flags = ZIP_FL_OVERWRITE; in php_zip_parse_options() 458 opts->flags = Z_LVAL_P(option); in php_zip_parse_options() 1738 zip_options opts; local 1783 if (opts.remove_all_path) { 1787 …} else if (opts.remove_path && !memcmp(Z_STRVAL_P(zval_file), opts.remove_path, opts.remove_path_l… 1800 if (opts.add_path) { 1824 if (opts.comp_method >= 0) { 1825 if (zip_set_file_compression(ze_obj->za, ze_obj->last_id, opts.comp_method, opts.comp_flags)) { 1831 if (opts.enc_method >= 0) { [all …]
|
/php-src/ext/sodium/tests/ |
H A D | php_password_hash_argon2i.phpt | 22 $opts = [ 30 $hash = password_hash($password, 'argon2i', $opts);
|
H A D | php_password_hash_argon2id.phpt | 22 $opts = [ 30 $hash = password_hash($password, 'argon2id', $opts);
|
/php-src/ext/fileinfo/libmagic/ |
H A D | funcs.c | 658 uint32_t opts = 0; in file_replace() local 664 opts |= PCRE2_MULTILINE; in file_replace() 665 pattern = convert_libmagic_pattern((char*)pat, strlen(pat), opts); in file_replace()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit.c | 3408 int opts = PROT_READ | PROT_WRITE; in zend_jit_unprotect() local 3415 opts |= PROT_EXEC; in zend_jit_unprotect() 3417 if (mprotect(dasm_buf, dasm_size, opts) != 0) { in zend_jit_unprotect()
|
/php-src/ext/fileinfo/ |
H A D | libmagic.patch | 2047 + uint32_t opts = 0; 2053 + opts |= PCRE2_MULTILINE; 2054 + pattern = convert_libmagic_pattern((char*)pat, strlen(pat), opts);
|
/php-src/build/ |
H A D | ltmain.sh | 5855 opts=
|