Searched refs:cmd (Results 1 - 25 of 41) sorted by relevance

12

/PHP_TRUNK/build/
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 Dmkdep.awk29 cmd=$4
34 cmd=cmd " " $i
57 cmdx=cmd " " filenames[i]
/PHP_TRUNK/ext/standard/tests/file/windows_acls/
H A Dcommon.inc71 $cmd = $icacls . ' ' . $path_escaped . ' /inheritance:r /deny ' . $user . ':(F,M,R,RX,W)';
72 exec($cmd);
80 $cmd = $icacls . ' ' . $path_escaped . ' /remove:d ' . $user;
81 exec($cmd);
82 $cmd = $icacls . ' ' . $path_escaped . ' /remove:g ' . $user;
83 exec($cmd);
95 $cmd = $icacls . ' ' . $path_escaped . ' /deny ' . $user . ':(F,M,R,RX,W)';
96 exec($cmd);
103 $cmd = $icacls . ' ' . $path_escaped . ' /remove:d ' . $user;
104 exec($cmd);
[all...]
/PHP_TRUNK/sapi/cli/tests/
H A Dphp_cli_server.inc22 $cmd = "{$php_executable} -t {$doc_root} -n {$cmd_args} -S " . PHP_CLI_SERVER_ADDRESS;
24 $cmd .= " {$router}";
27 $handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shell" => true, "suppress_errors" => true));
29 $cmd = "exec {$php_executable} -t {$doc_root} -n {$cmd_args} -S " . PHP_CLI_SERVER_ADDRESS;
31 $cmd .= " {$router}";
33 $cmd .= " 2>/dev/null";
35 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
/PHP_TRUNK/ext/zip/lib/
H A Dzip_source_buffer.c89 read_data(void *state, void *data, zip_uint64_t len, enum zip_source_cmd cmd)
98 switch (cmd) {
86 read_data(void *state, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument
H A Dzip_source_crc.c85 zip_uint64_t len, enum zip_source_cmd cmd)
92 switch (cmd) {
81 crc_read(struct zip_source *src, void *_ctx, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument
H A Dzip_source_deflate.c252 zip_uint64_t len, enum zip_source_cmd cmd)
259 switch (cmd) {
324 zip_uint64_t len, enum zip_source_cmd cmd)
332 switch (cmd) {
246 deflate_compress(struct zip_source *src, void *ud, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument
317 deflate_decompress(struct zip_source *src, void *ud, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument
H A Dzip_source_pkware.c181 zip_uint64_t len, enum zip_source_cmd cmd)
188 switch (cmd) {
174 pkware_decrypt(struct zip_source *src, void *ud, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument
H A Dzip_source_window.c82 zip_uint64_t len, enum zip_source_cmd cmd)
91 switch (cmd) {
78 window_read(struct zip_source *src, void *_ctx, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument
/PHP_TRUNK/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_shell" => true, "suppress_errors" => true));
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_TRUNK/ext/openssl/tests/
H A DServerClientTestCase.inc51 $cmd = sprintf('%s "%s" %s', PHP_BINARY, __FILE__, WORKER_ARGV_VALUE);
53 $this->workerHandle = proc_open($cmd, [['pipe', 'r'], ['pipe', 'w'], STDERR], $pipes);
/PHP_TRUNK/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_shell" => true, "suppress_errors" => true));
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_TRUNK/sapi/apache2handler/
H A Dapache_config.c57 static const char *real_value_hnd(cmd_parms *cmd, void *dummy, const char *name, const char *value, int status) argument
68 e.value = apr_pstrdup(cmd->pool, value);
71 e.htaccess = ((cmd->override & (RSRC_CONF|ACCESS_CONF)) == 0);
77 static const char *php_apache_value_handler(cmd_parms *cmd, void *dummy, const char *name, const char *value) argument
79 return real_value_hnd(cmd, dummy, name, value, PHP_INI_PERDIR);
82 static const char *php_apache_admin_value_handler(cmd_parms *cmd, void *dummy, const char *name, const char *value) argument
84 return real_value_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM);
87 static const char *real_flag_hnd(cmd_parms *cmd, void *dummy, const char *arg1, const char *arg2, int status) argument
98 return real_value_hnd(cmd, dummy, arg1, bool_val, status);
101 static const char *php_apache_flag_handler(cmd_parms *cmd, voi argument
106 php_apache_admin_flag_handler(cmd_parms *cmd, void *dummy, const char *name, const char *value) argument
111 php_apache_phpini_set(cmd_parms *cmd, void *mconfig, const char *arg) argument
[all...]
/PHP_TRUNK/ext/ftp/
H A Dftp.c81 * it sends the string "cmd args\r\n" if args is non-null, or
82 * "cmd\r\n" if args is null
85 const char *cmd,
112 static char** ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path TSRMLS_DC);
453 ftp_exec(ftpbuf_t *ftp, const char *cmd) argument
458 if (!ftp_putcmd(ftp, "SITE EXEC", cmd)) {
472 ftp_raw(ftpbuf_t *ftp, const char *cmd, zval *return_value) argument
474 if (ftp == NULL || cmd == NULL) {
477 if (!ftp_putcmd(ftp, cmd, NULL)) {
1076 ftp_site(ftpbuf_t *ftp, const char *cmd) argument
1097 ftp_putcmd(ftpbuf_t *ftp, const char *cmd, const char *args) argument
1607 ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path TSRMLS_DC) argument
[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);
/PHP_TRUNK/ext/standard/
H A Dexec.h39 PHPAPI int php_exec(int type, char *cmd, zval *array, zval *return_value TSRMLS_DC);
H A Dexec.c60 PHPAPI int php_exec(int type, char *cmd, zval *array, zval *return_value TSRMLS_DC) argument
78 fp = VCWD_POPEN(cmd, "rb");
80 fp = VCWD_POPEN(cmd, "r");
83 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to fork [%s]", cmd);
174 char *cmd; local
180 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z/", &cmd, &cmd_len, &ret_code) == FAILURE) {
184 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z/z/", &cmd, &cmd_len, &ret_array, &ret_code) == FAILURE) {
194 ret = php_exec(mode, cmd, NULL, return_value TSRMLS_CC);
200 ret = php_exec(2, cmd, ret_array, return_value TSRMLS_CC);
246 zend_string *cmd; local
340 zend_string *cmd; local
[all...]
/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.c315 if (result->sybase_ptr->cmd) {
316 ct_cancel(NULL, result->sybase_ptr->cmd, CS_CANCEL_ALL);
352 ct_cmd_drop(sybase_ptr->cmd);
718 if (ct_cmd_alloc(sybase->connection, &sybase->cmd)!=CS_SUCCEED) {
1000 if (ct_command(sybase_ptr->cmd, CS_LANG_CMD, cmdbuf, CS_NULLTERM, CS_UNUSED)!=CS_SUCCEED) {
1004 if (ct_send(sybase_ptr->cmd)!=CS_SUCCEED) {
1009 while ((retcode = ct_results(sybase_ptr->cmd, &restype))==CS_SUCCEED) {
1020 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_CURRENT);
1028 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL);
1045 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_AL
[all...]
H A Dphp_sybase_ct.h81 CS_COMMAND *cmd; member in struct:__anon265
/PHP_TRUNK/sapi/apache2filter/
H A Dapache_config.c57 static const char *real_value_hnd(cmd_parms *cmd, void *dummy, const char *name, const char *value, int status) argument
68 e.value = apr_pstrdup(cmd->pool, value);
71 e.htaccess = ((cmd->override & (RSRC_CONF|ACCESS_CONF)) == 0);
77 static const char *php_apache_value_handler(cmd_parms *cmd, void *dummy, const char *name, const char *value) argument
79 return real_value_hnd(cmd, dummy, name, value, PHP_INI_PERDIR);
82 static const char *php_apache_admin_value_handler(cmd_parms *cmd, void *dummy, const char *name, const char *value) argument
84 return real_value_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM);
87 static const char *real_flag_hnd(cmd_parms *cmd, void *dummy, const char *arg1, const char *arg2, int status) argument
98 return real_value_hnd(cmd, dummy, arg1, bool_val, status);
101 static const char *php_apache_flag_handler(cmd_parms *cmd, voi argument
106 php_apache_admin_flag_handler(cmd_parms *cmd, void *dummy, const char *name, const char *value) argument
111 php_apache_phpini_set(cmd_parms *cmd, void *mconfig, const char *arg) argument
[all...]
/PHP_TRUNK/sapi/apache/
H A Dmod_php7.c56 static CONST_PREFIX char *php_apache_value_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode);
57 static CONST_PREFIX char *php_apache_value_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2);
58 static CONST_PREFIX char *php_apache_admin_value_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2);
59 static CONST_PREFIX char *php_apache_flag_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2);
60 static CONST_PREFIX char *php_apache_flag_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode);
61 static CONST_PREFIX char *php_apache_admin_flag_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2);
806 static CONST_PREFIX char *php_apache_value_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode) argument
819 per_dir_entry.htaccess = ((cmd->override & (RSRC_CONF|ACCESS_CONF)) == 0);
843 static CONST_PREFIX char *php_apache_value_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2) argument
845 return php_apache_value_handler_ex(cmd, con
851 php_apache_admin_value_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2) argument
859 php_apache_flag_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode) argument
876 php_apache_flag_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2) argument
884 php_apache_admin_flag_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2) argument
892 php_apache_phpini_set(cmd_parms *cmd, HashTable *conf, char *arg) argument
[all...]
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php7.c80 static CONST_PREFIX char *php_apache_value_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode);
81 static CONST_PREFIX char *php_apache_value_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2);
82 static CONST_PREFIX char *php_apache_admin_value_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2);
83 static CONST_PREFIX char *php_apache_flag_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2);
84 static CONST_PREFIX char *php_apache_flag_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode);
85 static CONST_PREFIX char *php_apache_admin_flag_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2);
895 static CONST_PREFIX char *php_apache_value_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode) argument
991 static CONST_PREFIX char *php_set_uri_handler(cmd_parms *cmd, void *dummy, char *arg1) argument
993 return php_set_server_handler(cmd->server, arg1, AP_URI_TRANS, AP_HANDLER_TYPE_FILE);
998 static CONST_PREFIX char *php_set_uri_handler_code(cmd_parms *cmd, voi argument
1006 php_set_header_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1010 php_set_header_handler_code(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1018 php_set_auth_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1022 php_set_auth_handler_code(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1031 php_set_access_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1035 php_set_access_handler_code(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1044 php_set_type_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1048 php_set_type_handler_code(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1057 php_set_fixup_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1061 php_set_fixup_handler_code(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1069 php_set_logger_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1073 php_set_logger_handler_code(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1082 php_set_post_read_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1086 php_set_post_read_handler_code(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1097 php_set_require(cmd_parms *cmd, void *dummy, char *arg1) argument
1105 php_set_response_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1109 php_set_response_handler_code(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1117 php_apache_value_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2) argument
1125 php_apache_admin_value_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2) argument
1133 php_apache_flag_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode) argument
1150 php_apache_flag_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2) argument
1158 php_apache_admin_flag_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2) argument
1166 php_apache_phpini_set(cmd_parms *cmd, HashTable *conf, char *arg) argument
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_help.c145 void summary_print(phpdbg_command_t const * const cmd TSRMLS_DC)
148 spprintf(&summary, 0, "Command: **%s** Alias: **%c** **%s**\n", cmd->name, cmd->alias, cmd->tip);
214 phpdbg_command_t const *cmd; local
223 n = get_command(param->str, param->len, &cmd, phpdbg_prompt_commands TSRMLS_CC);
226 summary_print(cmd TSRMLS_CC);
227 pretty_print(get_help(cmd->name TSRMLS_CC) TSRMLS_CC);
232 for (cmd=phpdbg_prompt_commands; cmd
[all...]
H A Dphpdbg_cmd.c707 char *cmd = NULL; local
724 phpdbg_consume_stdin_line(cmd = buf TSRMLS_CC);
728 cmd = readline(phpdbg_get_prompt(TSRMLS_C));
732 if (!cmd) {
737 add_history(cmd);
741 cmd = buffered;
744 buffer = estrdup(cmd);
747 if (!buffered && cmd && !(PHPDBG_G(flags) & PHPDBG_IS_REMOTE)) {
748 free(cmd);
/PHP_TRUNK/sapi/phpdbg/tests/
H A Drun-tests.php49 public function __construct($config, $cmd) {
51 while (($key = array_shift($cmd))) {
61 $value = array_shift($cmd);
563 $cmd = $_SERVER['argv']; variable
569 'exec' => realpath(array_shift($cmd)),
578 ), $cmd);

Completed in 44 milliseconds

12