Home
last modified time | relevance | path

Searched refs:cmd (Results 51 – 75 of 82) sorted by relevance

1234

/php-src/ext/standard/tests/file/windows_mb_path/
H A Dtest_cp874_1.phpt2 Thai cp874 cmd test
H A Dtest_cp1252_0.phpt2 cp1252 cmd test
H A Dtest_cp1254_to_utf8_3.phpt2 cp1254 cmd test
H A Dtest_cp1254_3.phpt2 cp1254 cmd test
H A Dtest_cp932_3.phpt2 cp932 cmd test
H A Dutil.inc36 $cmd = "powershell -command \"Get-Item -Path '$path' | Format-Table -HideTableHeaders Name\"";
37 $out = trim(shell_exec($cmd));
/php-src/ext/curl/tests/
H A Dserver.inc7 $cmd = [$php_executable, '-t', $doc_root, '-n', '-S', 'localhost:0', $router];
13 …$handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root, null, array("suppress_errors" => tru…
H A Dcurl_setopt_ssl.phpt64 $cmd = "openssl s_server -key $serverKeyPath -cert $serverCertPath -accept $port -www -CAfile $clie…
65 $process = proc_open($cmd, [["pipe", "r"], ["pipe", "w"], ["pipe", "w"]], $pipes);
/php-src/ext/openssl/tests/
H A Dstream_server_reneg_limit.phpt76 $cmd = 'openssl s_client -connect 127.0.0.1:64321';
78 $process = proc_open($cmd, $descriptorSpec, $pipes);
/php-src/build/
H A Dshtool792 cmd="$0 mkdir -f -p -m 755"
794 cmd="$cmd -o '$opt_o'"
797 cmd="$cmd -g '$opt_g'"
800 cmd="$cmd -v"
803 cmd="$cmd -t"
806 eval "$cmd $dir" || shtool_exit $?
H A Dltmain.sh2709 $show "$cmd"
4355 $show "$cmd"
4392 $show "$cmd"
5656 $show "$cmd"
6084 eval cmd=\"$cmd\"
6085 $show "$cmd"
6305 eval cmd=\"$cmd\"
6306 $show "$cmd"
6632 eval cmd=\"$cmd\"
6633 $show "$cmd"
[all …]
/php-src/ext/standard/tests/streams/
H A Dstream_cast_loses_data.phpt5 …_FAMILY === "Windows") die("skip non-Windows tests (popen cannot delete file as open in cmd.exe)");
/php-src/sapi/cli/tests/
H A D024.phpt8 function run_and_output($cmd) {
9 exec($cmd, $output, $exit_code);
H A Dcli_process_title_windows.phpt39 …$loaded_title = shell_exec("PowerShell -NoProfile \"get-process cmd*,powershell* | Select-Object m…
48 // the run-tests.php is executed forks a php.exe, which forks a cmd.exe, which then forks
/php-src/ext/ftp/
H A Dphp_ftp.c316 char *cmd; in PHP_FUNCTION() local
319 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &z_ftp, php_ftp_ce, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
325 if (!ftp_exec(ftp, cmd, cmd_len)) { in PHP_FUNCTION()
341 char *cmd; in PHP_FUNCTION() local
344 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &z_ftp, php_ftp_ce, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
350 ftp_raw(ftp, cmd, cmd_len, return_value); in PHP_FUNCTION()
1183 char *cmd; in PHP_FUNCTION() local
1186 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &z_ftp, php_ftp_ce, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
1192 if (!ftp_site(ftp, cmd, cmd_len)) { in PHP_FUNCTION()
H A Dftp.c72 const char *cmd,
493 ftp_exec(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len) in ftp_exec() argument
498 if (!ftp_putcmd(ftp, "SITE EXEC", sizeof("SITE EXEC")-1, cmd, cmd_len)) { in ftp_exec()
513 if (ftp == NULL || cmd == NULL) { in ftp_raw()
516 if (!ftp_putcmd(ftp, cmd, cmd_len, NULL, (size_t) 0)) { in ftp_raw()
1261 ftp_site(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len) in ftp_site() argument
1266 if (!ftp_putcmd(ftp, "SITE", sizeof("SITE")-1, cmd, cmd_len)) { in ftp_site()
1286 if (strpbrk(cmd, "\r\n")) { in ftp_putcmd()
1298 size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s %s\r\n", cmd, args); in ftp_putcmd()
1304 size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s\r\n", cmd); in ftp_putcmd()
[all …]
/php-src/TSRM/
H A Dtsrm_win32.h105 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf);
/php-src/sapi/phpdbg/
H A Dphpdbg_prompt.c211 size_t cmd_len = strlen(cmd); in phpdbg_line_init()
215 while (cmd_len > 0L && isspace(cmd[cmd_len-1])) { in phpdbg_line_init()
219 cmd[cmd_len] = '\0'; in phpdbg_line_init()
221 if (*cmd && cmd_len > 0L && cmd[0] != '#') { in phpdbg_line_init()
223 if (memcmp(cmd, "<:", sizeof("<:")-1) == SUCCESS) { in phpdbg_line_init()
227 if (memcmp(cmd, ":>", sizeof(":>")-1) == SUCCESS) { in phpdbg_line_init()
246 memcpy(&state->code[state->code_len], cmd, cmd_len); in phpdbg_line_init()
254 char *input = phpdbg_read_input(cmd); in phpdbg_line_init()
313 char cmd[PHPDBG_MAX_CMD]; in phpdbg_try_file_init() local
318 while (fgets(cmd, PHPDBG_MAX_CMD, fp) != NULL) { in phpdbg_try_file_init()
[all …]
H A Dphpdbg_cmd.c748 char *cmd = readline(phpdbg_get_prompt()); in phpdbg_read_input() local
751 if (!cmd) { in phpdbg_read_input()
756 add_history(cmd); in phpdbg_read_input()
757 buffer = estrdup(cmd); in phpdbg_read_input()
758 free(cmd); in phpdbg_read_input()
H A Dphpdbg.c1539 phpdbg_param_t cmd; in main() local
1540 cmd.str = read_from_stdin; in main()
1541 cmd.len = strlen(read_from_stdin); in main()
1542 PHPDBG_COMMAND_HANDLER(stdin)(&cmd); in main()
/php-src/.github/scripts/windows/
H A Dbuild.bat44 cmd /c %SDK_RUNNER% -t .github\scripts\windows\build_task.bat
/php-src/ext/readline/
H A Dreadline_cli.c660 zend_string *cmd; in readline_shell_run() local
662 cmd = zend_string_init(&line[1], param - &line[1] - 1, 0); in readline_shell_run()
664 … zend_alter_ini_entry_chars_ex(cmd, param, strlen(param), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0); in readline_shell_run()
665 zend_string_release_ex(cmd, 0); in readline_shell_run()
/php-src/sapi/fpm/tests/
H A Dtester.inc452 $this->trace('Testing config using command', $cmd, true);
453 exec($cmd, $output, $code);
523 $cmd = [self::findExecutable(), '-n', '-y', $configFile];
526 $cmd[] = '-O';
531 $cmd[] = '-F';
536 $cmd[] = '-dextension_dir=' . $extensionDir;
538 $cmd[] = '-dextension=' . $extension;
547 $cmd[] = '--allow-to-run-as-root';
549 $cmd = array_merge($cmd, $extraArgs);
550 $this->trace('Starting FPM using command:', $cmd, true);
[all …]
/php-src/win32/build/
H A Dmkdist.php76 $cmd = "$GLOBALS[build_dir]\\deplister.exe \"$module\" \"$GLOBALS[build_dir]\"";
77 $proc = proc_open($cmd,
/php-src/ext/pdo_dblib/
H A Ddblib_driver.c195 static bool pdo_dblib_transaction_cmd(const char *cmd, pdo_dbh_t *dbh) in pdo_dblib_transaction_cmd() argument
199 if (FAIL == dbcmd(H->link, cmd)) { in pdo_dblib_transaction_cmd()

Completed in 114 milliseconds

1234