Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 75) sorted by last modified time

123

/PHP-7.4/
H A DNEWS2193 . Fixed bug #77767 (phpdbg break cmd aliases listed in help do not match
H A Drun-tests.php2344 $cmd = "$php $pass_options $ini_settings -f \"$test_file\"$cmdRedirect < \"$tmp_post\"";
2378 $cmd = "$php $pass_options $ini_settings -f \"$test_file\"$cmdRedirect < \"$tmp_post\"";
2395 $cmd = "$php $pass_options $ini_settings -f \"$test_file\"$cmdRedirect < \"$tmp_post\"";
2410 $cmd = "$php $pass_options $ini_settings -f \"$test_file\"$cmdRedirect < \"$tmp_post\"";
2423 $cmd = "$php $pass_options $ini_settings -f \"$test_file\"$cmdRedirect < \"$tmp_post\"";
2431 $cmd = "$php $pass_options $ini_settings -f \"$test_file\" $args$cmdRedirect";
2438 … $cmd = $valgrind->wrapCommand($cmd, $memcheck_filename, strpos($test_file, "pcre") !== false);
2450 COMMAND $cmd
2734 {$cmd}
3643 public function wrapCommand($cmd, $memcheck_filename, $check_all) argument
[all …]
H A DUPGRADING376 proc_open($cmd, [1 => ['pipe', 'w'], 2 => ['redirect', 1]], $pipes);
378 proc_open($cmd, [1 => ['pipe', 'w'], 2 => ['null']], $pipes);
/PHP-7.4/sapi/fpm/tests/
H A Dtester.inc348 $cmd = self::findExecutable() . ' -t -y ' . $configFile . ' 2>&1';
349 exec($cmd, $output, $code);
368 $cmd = [self::findExecutable(), '-F', '-O', '-y', $configFile];
370 $cmd[] = '--allow-to-run-as-root';
372 $cmd = array_merge($cmd, $extraArgs);
374 $this->masterProcess = proc_open($cmd, $desc, $pipes);
/PHP-7.4/TSRM/
H A Dtsrm_win32.c459 char *cmd = NULL; in popen_ex() local
484 if (!cmd) { in popen_ex()
488 sprintf(cmd, "%s /c \"%s\"", TWG(comspec), command); in popen_ex()
489 cmdw = php_win32_cp_any_to_w(cmd); in popen_ex()
491 free(cmd); in popen_ex()
498 free(cmd); in popen_ex()
511 free(cmd); in popen_ex()
555 free(cmd); in popen_ex()
568 free(cmd); in popen_ex()
747 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf) in shmctl() argument
[all …]
/PHP-7.4/ext/pdo_firebird/tests/
H A Dpayload_server.inc4 $cmd = [getenv("TEST_PHP_EXECUTABLE"), "-n", __DIR__ . "/payload_server.php", $payloadFile];
10 $proc = proc_open($cmd, $descriptorspec, $pipes);
/PHP-7.4/ext/ftp/
H A Dftp.c76 const char *cmd,
486 ftp_exec(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len) in ftp_exec() argument
491 if (!ftp_putcmd(ftp, "SITE EXEC", sizeof("SITE EXEC")-1, cmd, cmd_len)) { in ftp_exec()
507 if (ftp == NULL || cmd == NULL) { in ftp_raw()
510 if (!ftp_putcmd(ftp, cmd, cmd_len, NULL, (size_t) 0)) { in ftp_raw()
1254 ftp_site(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len) in ftp_site() argument
1259 if (!ftp_putcmd(ftp, "SITE", sizeof("SITE")-1, cmd, cmd_len)) { in ftp_site()
1280 if (strpbrk(cmd, "\r\n")) { in ftp_putcmd()
1292 size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s %s\r\n", cmd, args); in ftp_putcmd()
1298 size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s\r\n", cmd); in ftp_putcmd()
[all …]
H A Dphp_ftp.c230 ZEND_ARG_INFO(0, cmd)
556 char *cmd; in PHP_FUNCTION() local
559 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
568 if (!ftp_exec(ftp, cmd, cmd_len)) { in PHP_FUNCTION()
585 char *cmd; in PHP_FUNCTION() local
588 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
597 ftp_raw(ftp, cmd, cmd_len, return_value); in PHP_FUNCTION()
1523 char *cmd; in PHP_FUNCTION() local
1526 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
1535 if (!ftp_site(ftp, cmd, cmd_len)) { in PHP_FUNCTION()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_prompt.c220 size_t cmd_len = strlen(cmd); in phpdbg_line_init()
224 while (cmd_len > 0L && isspace(cmd[cmd_len-1])) { in phpdbg_line_init()
228 cmd[cmd_len] = '\0'; in phpdbg_line_init()
230 if (*cmd && cmd_len > 0L && cmd[0] != '#') { in phpdbg_line_init()
232 if (memcmp(cmd, "<:", sizeof("<:")-1) == SUCCESS) { in phpdbg_line_init()
236 if (memcmp(cmd, ":>", sizeof(":>")-1) == SUCCESS) { in phpdbg_line_init()
255 memcpy(&state->code[state->code_len], cmd, cmd_len); in phpdbg_line_init()
263 char *input = phpdbg_read_input(cmd); in phpdbg_line_init()
322 char cmd[PHPDBG_MAX_CMD]; in phpdbg_try_file_init() local
327 while (fgets(cmd, PHPDBG_MAX_CMD, fp) != NULL) { in phpdbg_try_file_init()
[all …]
H A Dphpdbg.c1931 phpdbg_param_t cmd; in main() local
1932 cmd.str = read_from_stdin; in main()
1933 cmd.len = strlen(read_from_stdin); in main()
1934 PHPDBG_COMMAND_HANDLER(stdin)(&cmd); in main()
H A Dphpdbg_cmd.c745 char *cmd = NULL; in phpdbg_read_input() local
760 phpdbg_consume_stdin_line(cmd = buf); in phpdbg_read_input()
764 cmd = readline(phpdbg_get_prompt()); in phpdbg_read_input()
767 if (!cmd) { in phpdbg_read_input()
772 add_history(cmd); in phpdbg_read_input()
776 cmd = buffered; in phpdbg_read_input()
779 buffer = estrdup(cmd); in phpdbg_read_input()
782 …if (!buffered && cmd && !(PHPDBG_G(flags) & PHPDBG_IS_REMOTE) && isatty(PHPDBG_G(io)[PHPDBG_STDIN]… in phpdbg_read_input()
783 free(cmd); in phpdbg_read_input()
/PHP-7.4/build/
H A Dphp.m448 cmd="echo $ac_n \"\$$1$unique$ac_c\""
49 if test -n "$unique" && test "`eval $cmd`" = "" ; then
314 cmd='$CC $1 -c conftest.c'
315 if eval $cmd 2>&1 | $EGREP -e $1 >/dev/null ; 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-7.4/ext/pdo_pgsql/
H A Dpgsql_driver.c492 static int pdo_pgsql_transaction_cmd(const char *cmd, pdo_dbh_t *dbh) in pdo_pgsql_transaction_cmd() argument
498 res = PQexec(H->server, cmd); in pdo_pgsql_transaction_cmd()
/PHP-7.4/sapi/cli/tests/
H A Dsapi_windows_set_ctrl_handler.phpt27 $cmd = PHP_BINARY . " -n " . $argv[0] . " 1";
30 …$proc = proc_open($cmd, $spec, $pipes, NULL, NULL, ["bypass_shell" => true, "create_process_group"…
40 $cmd = "tasklist /FI \"PID eq $child_pid\" /NH";
41 echo "Running `$cmd` to check the process indeed exists:\n";
42 echo trim(shell_exec($cmd)) . "\n";
H A Dphp_cli_server.inc19 $cmd = [$php_executable, '-t', $doc_root, '-n', ...$cmd_args, '-S', PHP_CLI_SERVER_ADDRESS];
21 $cmd[] = $router;
29 …$handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root, null, array("suppress_errors" => tru…
/PHP-7.4/win32/build/
H A Dmkdist.php76 $cmd = "$GLOBALS[build_dir]\\deplister.exe \"$module\" \"$GLOBALS[build_dir]\"";
77 $proc = proc_open($cmd,
/PHP-7.4/ext/standard/
H A Dbasic_functions.c1014 ZEND_ARG_INFO(0, cmd)
H A Dexec.c113 fp = VCWD_POPEN(cmd, "r"); in php_exec()
215 char *cmd; in php_exec_ex() local
297 zend_string *cmd; in php_escape_shell_cmd() local
377 ZSTR_VAL(cmd)[y] = '\0'; in php_escape_shell_cmd() local
388 cmd = zend_string_truncate(cmd, y, 0); in php_escape_shell_cmd()
391 ZSTR_LEN(cmd) = y; in php_escape_shell_cmd()
393 return cmd; in php_escape_shell_cmd()
403 zend_string *cmd; in php_escape_shell_arg() local
475 cmd = zend_string_truncate(cmd, y, 0); in php_escape_shell_arg()
477 ZSTR_LEN(cmd) = y; in php_escape_shell_arg()
[all …]
/PHP-7.4/ext/standard/tests/file/windows_mb_path/
H A Dtest_kartuli_utf8_3.phpt2 Kartuli UTF-8 cmd test
H A Dtest_cp874_to_utf8_1.phpt2 Thai UTF-8 cmd test
H A Dtest_cp1254_3.phpt2 cp1254 cmd test
H A Dtest_cp1254_to_utf8_3.phpt2 cp1254 cmd test
H A Dtest_cp932_3.phpt2 cp932 cmd test
H A Dtest_cp874_1.phpt2 Thai cp874 cmd test

Completed in 88 milliseconds

123