Home
last modified time | relevance | path

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

123

/PHP-5.5/ext/standard/
H A Dexec.c216 char *cmd; in php_exec_ex() local
293 char *cmd; in php_escape_shell_cmd() local
373 cmd[y] = '\0'; in php_escape_shell_cmd()
377 efree(cmd); in php_escape_shell_cmd()
384 cmd = erealloc(cmd, y + 1); in php_escape_shell_cmd()
387 return cmd; in php_escape_shell_cmd()
397 char *cmd; in php_escape_shell_arg() local
460 cmd[y] = '\0'; in php_escape_shell_arg()
464 efree(cmd); in php_escape_shell_arg()
471 cmd = erealloc(cmd, y + 1); in php_escape_shell_arg()
[all …]
/PHP-5.5/ext/standard/tests/file/
H A Dbug22414.phpt20 $cmd = $php . $args . ' -r \"readfile(@getenv(\'TEST_PHP_EXECUTABLE\')); \"';
21 $cmd = $php . $args . ' -r \' passthru("'.$cmd.'"); \' > '.$tmpfile ;
23 $cmd = $php . $args . ' -r \"readfile(@getenv(\\\\\\"TEST_PHP_EXECUTABLE\\\\\\")); \"';
24 $cmd = $php . $args . ' -r " passthru(\''.$cmd.'\');" > '.$tmpfile ;
26 exec($cmd);
/PHP-5.5/sapi/apache2filter/
H A Dapache_config.c68 e.value = apr_pstrdup(cmd->pool, value); in real_value_hnd()
71 e.htaccess = ((cmd->override & (RSRC_CONF|ACCESS_CONF)) == 0); in real_value_hnd()
77 static const char *php_apache_value_handler(cmd_parms *cmd, void *dummy, const char *name, const ch… in php_apache_value_handler() argument
79 return real_value_hnd(cmd, dummy, name, value, PHP_INI_PERDIR); in php_apache_value_handler()
84 return real_value_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM); in php_apache_admin_value_handler()
98 return real_value_hnd(cmd, dummy, arg1, bool_val, status); in real_flag_hnd()
101 static const char *php_apache_flag_handler(cmd_parms *cmd, void *dummy, const char *name, const cha… in php_apache_flag_handler() argument
103 return real_flag_hnd(cmd, dummy, name, value, PHP_INI_PERDIR); in php_apache_flag_handler()
108 return real_flag_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM); in php_apache_admin_flag_handler()
111 static const char *php_apache_phpini_set(cmd_parms *cmd, void *mconfig, const char *arg) in php_apache_phpini_set() argument
[all …]
/PHP-5.5/ext/standard/tests/file/windows_acls/
H A Dcommon.inc72 exec($cmd);
81 exec($cmd);
83 exec($cmd);
96 exec($cmd);
103 $cmd = $icacls . ' ' . $path_escaped . ' /remove:d ' . $user;
104 exec($cmd);
106 exec($cmd);
121 exec($cmd);
123 exec($cmd);
126 $cmd .= ':' . '(' . implode($perm_entry, ',') . ')';
[all …]
/PHP-5.5/sapi/apache2handler/
H A Dapache_config.c68 e.value = apr_pstrdup(cmd->pool, value); in real_value_hnd()
71 e.htaccess = ((cmd->override & (RSRC_CONF|ACCESS_CONF)) == 0); in real_value_hnd()
77 static const char *php_apache_value_handler(cmd_parms *cmd, void *dummy, const char *name, const ch… in php_apache_value_handler() argument
79 return real_value_hnd(cmd, dummy, name, value, PHP_INI_PERDIR); in php_apache_value_handler()
84 return real_value_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM); in php_apache_admin_value_handler()
98 return real_value_hnd(cmd, dummy, arg1, bool_val, status); in real_flag_hnd()
101 static const char *php_apache_flag_handler(cmd_parms *cmd, void *dummy, const char *name, const cha… in php_apache_flag_handler() argument
103 return real_flag_hnd(cmd, dummy, name, value, PHP_INI_PERDIR); in php_apache_flag_handler()
108 return real_flag_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM); in php_apache_admin_flag_handler()
111 static const char *php_apache_phpini_set(cmd_parms *cmd, void *mconfig, const char *arg) in php_apache_phpini_set() argument
[all …]
/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/sapi/cli/tests/
H A Dphp_cli_server.inc21 $cmd = "{$php_executable} -t {$doc_root} -n -S " . PHP_CLI_SERVER_ADDRESS;
23 $cmd .= " {$router}";
26 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel…
28 $cmd = "exec {$php_executable} -t {$doc_root} -n -S " . PHP_CLI_SERVER_ADDRESS;
30 $cmd .= " {$router}";
32 $cmd .= " 2>/dev/null";
34 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
/PHP-5.5/build/
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)
/PHP-5.5/ext/standard/tests/misc/
H A Dexec_basic1.phpt10 $cmd = "echo abc\n\0command";
11 var_dump(exec($cmd, $output));
13 var_dump(system($cmd));
14 var_dump(passthru($cmd));
/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);
/PHP-5.5/sapi/apache_hooks/
H A Dmod_php5.c991 static CONST_PREFIX char *php_set_uri_handler(cmd_parms *cmd, void *dummy, char *arg1) in php_set_uri_handler() argument
993 return php_set_server_handler(cmd->server, arg1, AP_URI_TRANS, AP_HANDLER_TYPE_FILE); in php_set_uri_handler()
1000 return php_set_server_handler(cmd->server, arg1, AP_URI_TRANS, AP_HANDLER_TYPE_METHOD); in php_set_uri_handler_code()
1097 static CONST_PREFIX char *php_set_require(cmd_parms *cmd, void *dummy, char *arg1) in php_set_require() argument
1099 return php_set_server_handler(cmd->server, arg1, 0, AP_HANDLER_TYPE_FILE); in php_set_require()
1119 return php_apache_value_handler_ex(cmd, conf->ini_settings, arg1, arg2, PHP_INI_PERDIR); in php_apache_value_handler()
1127 return php_apache_value_handler_ex(cmd, conf->ini_settings, arg1, arg2, PHP_INI_SYSTEM); in php_apache_admin_value_handler()
1144 return php_apache_value_handler_ex(cmd, conf, arg1, bool_val, mode); in php_apache_flag_handler_ex()
1152 return php_apache_flag_handler_ex(cmd, conf->ini_settings, arg1, arg2, PHP_INI_PERDIR); in php_apache_flag_handler()
1160 return php_apache_flag_handler_ex(cmd, conf->ini_settings, arg1, arg2, PHP_INI_SYSTEM); in php_apache_admin_flag_handler()
[all …]
/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/sapi/apache/
H A Dmod_php5.c57 static CONST_PREFIX char *php_apache_value_handler(cmd_parms *cmd, HashTable *conf, char *arg1, cha…
59 static CONST_PREFIX char *php_apache_flag_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char…
809 per_dir_entry.htaccess = ((cmd->override & (RSRC_CONF|ACCESS_CONF)) == 0); in php_apache_value_handler_ex()
835 return php_apache_value_handler_ex(cmd, conf, arg1, arg2, PHP_INI_PERDIR); in php_apache_value_handler()
843 return php_apache_value_handler_ex(cmd, conf, arg1, arg2, PHP_INI_SYSTEM); in php_apache_admin_value_handler()
860 return php_apache_value_handler_ex(cmd, conf, arg1, bool_val, mode); in php_apache_flag_handler_ex()
866 static CONST_PREFIX char *php_apache_flag_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char… in php_apache_flag_handler() argument
868 return php_apache_flag_handler_ex(cmd, conf, arg1, arg2, PHP_INI_PERDIR); in php_apache_flag_handler()
876 return php_apache_flag_handler_ex(cmd, conf, arg1, arg2, PHP_INI_SYSTEM); in php_apache_admin_flag_handler()
882 static CONST_PREFIX char *php_apache_phpini_set(cmd_parms *cmd, HashTable *conf, char *arg) in php_apache_phpini_set() argument
[all …]
/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/ext/standard/tests/streams/
H A Dstream_get_meta_data_process_basic.phpt7 $cmd = "echo here is some output";
9 $handle = popen($cmd, $mode);
H A Dproc_open_bug60120.phpt8 …$cmd = PHP_BINARY . ' -n -r "fwrite(STDOUT, $in = file_get_contents(\'php://stdin\')); fwrite(STDE…
10 …$cmd = PHP_BINARY . ' -n -r \'fwrite(STDOUT, $in = file_get_contents("php://stdin")); fwrite(STDER…
17 $process = proc_open($cmd, $descriptors, $pipes, getcwd(), array(), $options);
H A Dproc_open_bug64438.phpt9 …$cmd = PHP_BINARY . ' -n -r "fwrite(STDOUT, $in = file_get_contents(\'php://stdin\')); fwrite(STDE…
11 …$cmd = PHP_BINARY . ' -n -r \'fwrite(STDOUT, $in = file_get_contents("php://stdin")); fwrite(STDER…
17 $process = proc_open($cmd, $descriptors, $pipes, getcwd(), array(), $options);
H A Dbug64770.phpt14 $cmd = (substr(PHP_OS, 0, 3) == 'WIN') ? 'dir' : 'ls';
15 $p = proc_open($cmd, $descs, $pipes, '.', NULL, $other_opts);
H A Dbug60602.phpt14 $cmd = (substr(PHP_OS, 0, 3) == 'WIN') ? 'dir' : 'ls';
15 $p = proc_open($cmd, $descs, $pipes, '.', $environment);
H A Dproc_open_bug51800_right.phpt7 $cmd = "$php $callee";
37 $process = proc_open($cmd, $descriptors, $pipes);
/PHP-5.5/ext/standard/tests/general_functions/
H A Dbug69646.phpt27 $cmd = PHP_BINARY . " " . $script . " " . escapeshellarg($a) . " " . escapeshellarg($b);
29 system($cmd);
/PHP-5.5/ext/ftp/
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-5.5/ext/sybase_ct/
H A Dphp_sybase_ct.c315 if (result->sybase_ptr->cmd) { in php_free_sybase_result()
352 ct_cmd_drop(sybase_ptr->cmd); in _close_sybase_link()
1004 if (ct_send(sybase_ptr->cmd)!=CS_SUCCEED) { in exec_cmd()
1028 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in exec_cmd()
1045 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in exec_cmd()
1466 if (sybase_ptr->cmd) { in php_sybase_query()
1467 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
1508 if (ct_send(sybase_ptr->cmd)!=CS_SUCCEED) { in php_sybase_query()
1509 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
1522 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query()
[all …]
/PHP-5.5/ext/zip/lib/
H A Dzip_source_zip.c49 enum zip_source_cmd cmd);
120 read_zip(void *state, void *data, zip_uint64_t len, enum zip_source_cmd cmd) in read_zip() argument
130 switch (cmd) { in read_zip()

Completed in 108 milliseconds

123