Home
last modified time | relevance | path

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

1234

/PHP-8.0/ext/curl/tests/
H A Dserver.inc11 $cmd = [$php_executable, '-t', $doc_root, '-n', '-S', 'localhost:0', $router];
17 …$handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root, null, array("suppress_errors" => tru…
/PHP-8.0/ext/standard/tests/file/windows_mb_path/
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-8.0/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 …]
H A Dphp.m448 cmd="echo $ac_n \"\$$1$unique$ac_c\""
49 if test -n "$unique" && test "`eval $cmd`" = "" ; then
H A Dlibtool.m4450 for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
452 if (echo_test_string=`eval $cmd`) 2>/dev/null &&
453 echo_test_string=`eval $cmd` &&
526 for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
527 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
531 prev="$cmd"
/PHP-8.0/ext/openssl/tests/
H A Dstream_server_reneg_limit.phpt75 $cmd = 'openssl s_client -connect 127.0.0.1:64321';
77 $process = proc_open($cmd, $descriptorSpec, $pipes);
/PHP-8.0/ext/ftp/
H A Dftp.c72 const char *cmd,
473 ftp_exec(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len) in ftp_exec() argument
478 if (!ftp_putcmd(ftp, "SITE EXEC", sizeof("SITE EXEC")-1, cmd, cmd_len)) { in ftp_exec()
493 if (ftp == NULL || cmd == NULL) { in ftp_raw()
496 if (!ftp_putcmd(ftp, cmd, cmd_len, NULL, (size_t) 0)) { in ftp_raw()
1220 ftp_site(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len) in ftp_site() argument
1225 if (!ftp_putcmd(ftp, "SITE", sizeof("SITE")-1, cmd, cmd_len)) { in ftp_site()
1245 if (strpbrk(cmd, "\r\n")) { in ftp_putcmd()
1257 size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s %s\r\n", cmd, args); in ftp_putcmd()
1263 size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s\r\n", cmd); in ftp_putcmd()
[all …]
H A Dphp_ftp.c297 char *cmd; in PHP_FUNCTION() local
300 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
309 if (!ftp_exec(ftp, cmd, cmd_len)) { in PHP_FUNCTION()
325 char *cmd; in PHP_FUNCTION() local
328 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
337 ftp_raw(ftp, cmd, cmd_len, return_value); in PHP_FUNCTION()
1239 char *cmd; in PHP_FUNCTION() local
1242 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
1251 if (!ftp_site(ftp, cmd, cmd_len)) { in PHP_FUNCTION()
/PHP-8.0/sapi/cli/tests/
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-8.0/TSRM/
H A Dtsrm_win32.h106 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf);
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_prompt.c217 size_t cmd_len = strlen(cmd); in phpdbg_line_init()
221 while (cmd_len > 0L && isspace(cmd[cmd_len-1])) { in phpdbg_line_init()
225 cmd[cmd_len] = '\0'; in phpdbg_line_init()
227 if (*cmd && cmd_len > 0L && cmd[0] != '#') { in phpdbg_line_init()
229 if (memcmp(cmd, "<:", sizeof("<:")-1) == SUCCESS) { in phpdbg_line_init()
233 if (memcmp(cmd, ":>", sizeof(":>")-1) == SUCCESS) { in phpdbg_line_init()
252 memcpy(&state->code[state->code_len], cmd, cmd_len); in phpdbg_line_init()
260 char *input = phpdbg_read_input(cmd); in phpdbg_line_init()
319 char cmd[PHPDBG_MAX_CMD]; in phpdbg_try_file_init() local
324 while (fgets(cmd, PHPDBG_MAX_CMD, fp) != NULL) { in phpdbg_try_file_init()
[all …]
H A Dphpdbg_cmd.c762 char *cmd = readline(phpdbg_get_prompt()); in phpdbg_read_input() local
765 if (!cmd) { in phpdbg_read_input()
770 add_history(cmd); in phpdbg_read_input()
771 buffer = estrdup(cmd); in phpdbg_read_input()
772 free(cmd); in phpdbg_read_input()
H A Dphpdbg.c1871 phpdbg_param_t cmd; in main() local
1872 cmd.str = read_from_stdin; in main()
1873 cmd.len = strlen(read_from_stdin); in main()
1874 PHPDBG_COMMAND_HANDLER(stdin)(&cmd); in main()
/PHP-8.0/.github/scripts/windows/
H A Dbuild.bat41 cmd /c %SDK_RUNNER% -t %APPVEYOR_BUILD_FOLDER%\.github\scripts\windows\build_task.bat
/PHP-8.0/sapi/fpm/tests/
H A Dtester.inc368 exec($cmd, $output, $code);
396 $cmd = [self::findExecutable(), '-y', $configFile];
399 $cmd[] = '-O';
404 $cmd[] = '-F';
409 $cmd[] = '-dextension_dir=' . $extensionDir;
411 $cmd[] = '-dextension=' . $extension;
416 $cmd[] = '--allow-to-run-as-root';
418 $cmd = array_merge($cmd, $extraArgs);
419 $this->trace('Starting FPM using command:', $cmd, true);
421 $this->masterProcess = proc_open($cmd, $desc, $pipes);
[all …]
/PHP-8.0/ext/readline/
H A Dreadline_cli.c640 zend_string *cmd; in readline_shell_run() local
642 cmd = zend_string_init(&line[1], param - &line[1] - 1, 0); in readline_shell_run()
644 … zend_alter_ini_entry_chars_ex(cmd, param, strlen(param), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0); in readline_shell_run()
645 zend_string_release_ex(cmd, 0); in readline_shell_run()
/PHP-8.0/
H A Drun-tests.php2422 $cmd = "$php $pass_options $ini_settings -f \"$test_file\"$cmdRedirect < \"$tmp_post\"";
2453 $cmd = "$php $pass_options $ini_settings -f \"$test_file\"$cmdRedirect < \"$tmp_post\"";
2468 $cmd = "$php $pass_options $ini_settings -f \"$test_file\"$cmdRedirect < \"$tmp_post\"";
2481 $cmd = "$php $pass_options $ini_settings -f \"$test_file\"$cmdRedirect < \"$tmp_post\"";
2499 $cmd = "$php $pass_options $ini_settings -f \"$test_file\" $args$cmdRedirect";
2506 … $cmd = $valgrind->wrapCommand($cmd, $memcheck_filename, strpos($test_file, "pcre") !== false);
2519 COMMAND $cmd
2802 gdb --args {$cmd}
2805 USE_ZEND_ALLOC=0 valgrind $2 ${cmd}
2808 rr record $2 ${cmd}
[all …]
H A DNEWS1542 . Made quoting of cmd execution functions consistent. (cmb)
/PHP-8.0/win32/build/
H A Dmkdist.php76 $cmd = "$GLOBALS[build_dir]\\deplister.exe \"$module\" \"$GLOBALS[build_dir]\"";
77 $proc = proc_open($cmd,
/PHP-8.0/ext/pdo_dblib/
H A Ddblib_driver.c198 static int pdo_dblib_transaction_cmd(const char *cmd, pdo_dbh_t *dbh) in pdo_dblib_transaction_cmd() argument
202 if (FAIL == dbcmd(H->link, cmd)) { in pdo_dblib_transaction_cmd()
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_vio.c434 …OD(mysqlnd_vio, consume_uneaten_data)(MYSQLND_VIO * const net, enum php_mysqlnd_server_command cmd) in MYSQLND_METHOD()
476 net->last_command = cmd; in MYSQLND_METHOD()
H A Dmysqlnd_structs.h385 …c_mysqlnd_vio__consume_uneaten_data)(MYSQLND_VIO * const vio, enum php_mysqlnd_server_command cmd);
/PHP-8.0/ext/pdo_pgsql/
H A Dpgsql_driver.c538 static int pdo_pgsql_transaction_cmd(const char *cmd, pdo_dbh_t *dbh) in pdo_pgsql_transaction_cmd() argument
544 res = PQexec(H->server, cmd); in pdo_pgsql_transaction_cmd()

Completed in 134 milliseconds

1234