Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 62) sorted by path

123

/PHP-5.5/TSRM/
H A Dtsrm.m47 cmd='$CC $1 -c conftest.c'
8 if eval $cmd 2>&1 | egrep -e $1 >/dev/null ; then
H A Dtsrm_win32.c468 char *cmd; in popen_ex() local
535 cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c ")+2); in popen_ex()
536 if (!cmd) { in popen_ex()
540 sprintf(cmd, "%s /c \"%s\"", TWG(comspec), command); in popen_ex()
542 …res = CreateProcessAsUser(token_user, NULL, cmd, &security, &security, security.bInheritHandle, dw… in popen_ex()
545 …res = CreateProcess(NULL, cmd, &security, &security, security.bInheritHandle, dwCreateFlags, env, … in popen_ex()
547 free(cmd); in popen_ex()
686 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf) { in shmctl() argument
693 switch (cmd) { in shmctl()
H A Dtsrm_win32.h107 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf);
/PHP-5.5/Zend/tests/
H A Dbug40236.phpt11 $cmd = "\"$php\" -n -d memory_limit=4M -a \"".dirname(__FILE__)."\"/bug40236.inc";
12 echo `$cmd`;
/PHP-5.5/Zend/
H A Dzend_compile.c5696 void zend_do_shell_exec(znode *result, const znode *cmd TSRMLS_DC) /* {{{ */ in zend_do_shell_exec()
5700 switch (cmd->op_type) { in zend_do_shell_exec()
5709 SET_NODE(opline->op1, cmd); in zend_do_shell_exec()
H A Dzend_compile.h581 void zend_do_shell_exec(znode *result, const znode *cmd TSRMLS_DC);
/PHP-5.5/
H A Dacinclude.m452 cmd="echo $ac_n \"\$$1$unique$ac_c\""
53 if test -n "$unique" && test "`eval $cmd`" = "" ; then
338 cmd='$CC $1 -c conftest.c'
339 if eval $cmd 2>&1 | $EGREP -e $1 >/dev/null ; then
/PHP-5.5/build/
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"
H A Dmkdep.awk29 cmd=$4
34 cmd=cmd " " $i
57 cmdx=cmd " " filenames[i]
H A Dorder_by_dep.awk9 function get_deps(module_name, depline, cmd)
14 cmd = "grep PHP_ADD_EXTENSION_DEP ext/" module_name "/config*.m4"
15 while (cmd | getline) {
22 close(cmd)
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 $?
/PHP-5.5/ext/curl/tests/
H A Dserver.inc23 $cmd = "{$php_executable} -t {$doc_root} -n -S " . PHP_CURL_SERVER_ADDRESS;
24 $cmd .= " {$router}";
25 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel…
27 $cmd = "exec {$php_executable} -t {$doc_root} -n -S " . PHP_CURL_SERVER_ADDRESS;
28 $cmd .= " {$router}";
29 $cmd .= " 2>/dev/null";
31 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
/PHP-5.5/ext/fileinfo/tests/
H A Dmagic12207 0 string/t #\ Magic magic text file for file(1) cmd
12208 0 lelong 0xF11E041C magic binary file for file(1) cmd
12210 0 belong 0xF11E041C magic binary file for file(1) cmd
/PHP-5.5/ext/ftp/
H A Dftp.c85 const char *cmd,
453 ftp_exec(ftpbuf_t *ftp, const char *cmd) in ftp_exec() argument
458 if (!ftp_putcmd(ftp, "SITE EXEC", cmd)) { in ftp_exec()
474 if (ftp == NULL || cmd == NULL) { in ftp_raw()
477 if (!ftp_putcmd(ftp, cmd, NULL)) { in ftp_raw()
1076 ftp_site(ftpbuf_t *ftp, const char *cmd) in ftp_site() argument
1081 if (!ftp_putcmd(ftp, "SITE", cmd)) { in ftp_site()
1102 if (strpbrk(cmd, "\r\n")) { in ftp_putcmd()
1108 if (strlen(cmd) + strlen(args) + 4 > FTP_BUFSIZE) { in ftp_putcmd()
1117 if (strlen(cmd) + 3 > FTP_BUFSIZE) { in ftp_putcmd()
[all …]
H A Dftp.h122 int ftp_exec(ftpbuf_t *ftp, const char *cmd);
125 void ftp_raw(ftpbuf_t *ftp, const char *cmd, zval *return_value);
192 int ftp_site(ftpbuf_t *ftp, const char *cmd);
H A Dphp_ftp.c224 ZEND_ARG_INFO(0, cmd)
511 char *cmd; in PHP_FUNCTION() local
514 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
521 if (!ftp_exec(ftp, cmd)) { in PHP_FUNCTION()
536 char *cmd; in PHP_FUNCTION() local
539 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
546 ftp_raw(ftp, cmd, return_value); in PHP_FUNCTION()
1327 char *cmd; in PHP_FUNCTION() local
1330 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
1337 if (!ftp_site(ftp, cmd)) { in PHP_FUNCTION()
/PHP-5.5/ext/imap/
H A DIMAP_Win32_HOWTO.txt4 Note 1: You *must* use NT's cmd.exe for this job; 4NT.exe will NOT work properly.
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_net.c802 …_net, consume_uneaten_data)(MYSQLND_NET * const net, enum php_mysqlnd_server_command cmd TSRMLS_DC) in MYSQLND_METHOD()
840 net->last_command = cmd; in MYSQLND_METHOD()
H A Dmysqlnd_ps.c1269 enum php_mysqlnd_server_command cmd = COM_STMT_SEND_LONG_DATA; in MYSQLND_METHOD() local
1324 ret = conn->m->simple_command(conn, cmd, cmd_buf, packet_len, PROT_LAST , FALSE, TRUE TSRMLS_CC); in MYSQLND_METHOD()
1354 if ((packet_len = conn->net->m.consume_uneaten_data(conn->net, cmd TSRMLS_CC))) { in MYSQLND_METHOD()
H A Dmysqlnd_structs.h283 …net__consume_uneaten_data)(MYSQLND_NET * const net, enum php_mysqlnd_server_command cmd TSRMLS_DC);
/PHP-5.5/ext/opcache/tests/
H A Dphp_cli_server.inc17 $cmd = "{$php_executable} -t {$doc_root} $ini -S " . PHP_CLI_SERVER_ADDRESS;
18 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel…
20 $cmd = "exec {$php_executable} -t {$doc_root} $ini -S " . PHP_CLI_SERVER_ADDRESS . " 2>/dev/null";
21 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
/PHP-5.5/ext/pdo_dblib/
H A Ddblib_driver.c172 static int pdo_dblib_transaction_cmd(const char *cmd, pdo_dbh_t *dbh TSRMLS_DC) in pdo_dblib_transaction_cmd() argument
177 if (FAIL == dbcmd(H->link, cmd)) { in pdo_dblib_transaction_cmd()
/PHP-5.5/ext/pdo_pgsql/
H A Dpgsql_driver.c497 static int pdo_pgsql_transaction_cmd(const char *cmd, pdo_dbh_t *dbh TSRMLS_DC) in pdo_pgsql_transaction_cmd() argument
503 res = PQexec(H->server, cmd); in pdo_pgsql_transaction_cmd()
/PHP-5.5/ext/readline/
H A Dreadline_cli.c630 char *cmd; in readline_shell_run() local
634 cmd = estrndup(&line[1], cmd_len); in readline_shell_run()
636 …zend_alter_ini_entry_ex(cmd, cmd_len + 1, param, strlen(param), PHP_INI_USER, PHP_INI_STAGE_RUNTIM… in readline_shell_run()
637 efree(cmd); in readline_shell_run()
/PHP-5.5/ext/sqlite3/tests/
H A Dsqlite3_15_open_error-win.phpt18 $cmd = $icacls . ' ' . $unreadable . ' /inheritance:r /deny ' . $user . ':(F,M,R,RX,W)';
19 exec($cmd);
28 $cmd = $icacls . ' ' . $unreadable . ' /grant ' . $user . ':(F,M,R,RX,W)';
29 exec($cmd);

Completed in 124 milliseconds

123