/PHP-5.3/ext/standard/ |
H A D | exec.c | 100 cmd_p = cmd; in php_exec() 211 char *cmd; in php_exec_ex() local 282 char *cmd; in php_escape_shell_cmd() local 356 cmd[y] = '\0'; in php_escape_shell_cmd() 361 cmd = erealloc(cmd, y + 1); in php_escape_shell_cmd() 364 return cmd; in php_escape_shell_cmd() 373 char *cmd; in php_escape_shell_arg() local 381 cmd[y++] = '"'; in php_escape_shell_arg() 421 cmd[y] = '\0'; in php_escape_shell_arg() 426 cmd = erealloc(cmd, y + 1); in php_escape_shell_arg() [all …]
|
H A D | exec.h | 39 PHPAPI int php_exec(int type, char *cmd, zval *array, zval *return_value TSRMLS_DC);
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | bug22414.phpt | 21 $cmd = $php . $args . ' -r \"readfile(@getenv(\'TEST_PHP_EXECUTABLE\')); \"'; 22 $cmd = $php . $args . ' -r \' passthru("'.$cmd.'"); \' > '.$tmpfile ; 24 $cmd = $php . $args . ' -r \"readfile(@getenv(\\\\\\"TEST_PHP_EXECUTABLE\\\\\\")); \"'; 25 $cmd = $php . $args . ' -r " passthru(\''.$cmd.'\');" > '.$tmpfile ; 27 exec($cmd);
|
H A D | bug60120.phpt | 22 $cmd = 'php -r "fwrite(STDOUT, $in = file_get_contents(\'php://stdin\')); fwrite(STDERR, $in);"'; 28 $process = proc_open($cmd, $descriptors, $pipes, getcwd(), array(), $options);
|
/PHP-5.3/sapi/apache2filter/ |
H A D | apache_config.c | 68 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.3/ext/standard/tests/file/windows_acls/ |
H A D | common.inc | 72 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.3/sapi/apache2handler/ |
H A D | apache_config.c | 68 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.3/build/ |
H A D | mkdep.awk | 29 cmd=$4 34 cmd=cmd " " $i 57 cmdx=cmd " " filenames[i]
|
H A D | order_by_dep.awk | 9 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.3/ext/sqlite3/tests/ |
H A D | sqlite3_15_open_error-win.phpt | 18 $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.3/sapi/apache_hooks/ |
H A D | mod_php5.c | 996 static CONST_PREFIX char *php_set_uri_handler(cmd_parms *cmd, void *dummy, char *arg1) in php_set_uri_handler() argument 998 return php_set_server_handler(cmd->server, arg1, AP_URI_TRANS, AP_HANDLER_TYPE_FILE); in php_set_uri_handler() 1005 return php_set_server_handler(cmd->server, arg1, AP_URI_TRANS, AP_HANDLER_TYPE_METHOD); in php_set_uri_handler_code() 1102 static CONST_PREFIX char *php_set_require(cmd_parms *cmd, void *dummy, char *arg1) in php_set_require() argument 1104 return php_set_server_handler(cmd->server, arg1, 0, AP_HANDLER_TYPE_FILE); in php_set_require() 1124 return php_apache_value_handler_ex(cmd, conf->ini_settings, arg1, arg2, PHP_INI_PERDIR); in php_apache_value_handler() 1132 return php_apache_value_handler_ex(cmd, conf->ini_settings, arg1, arg2, PHP_INI_SYSTEM); in php_apache_admin_value_handler() 1149 return php_apache_value_handler_ex(cmd, conf, arg1, bool_val, mode); in php_apache_flag_handler_ex() 1157 return php_apache_flag_handler_ex(cmd, conf->ini_settings, arg1, arg2, PHP_INI_PERDIR); in php_apache_flag_handler() 1165 return php_apache_flag_handler_ex(cmd, conf->ini_settings, arg1, arg2, PHP_INI_SYSTEM); in php_apache_admin_flag_handler() [all …]
|
/PHP-5.3/sapi/apache/ |
H A D | mod_php5.c | 57 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… 813 per_dir_entry.htaccess = ((cmd->override & (RSRC_CONF|ACCESS_CONF)) == 0); in php_apache_value_handler_ex() 839 return php_apache_value_handler_ex(cmd, conf, arg1, arg2, PHP_INI_PERDIR); in php_apache_value_handler() 847 return php_apache_value_handler_ex(cmd, conf, arg1, arg2, PHP_INI_SYSTEM); in php_apache_admin_value_handler() 864 return php_apache_value_handler_ex(cmd, conf, arg1, bool_val, mode); in php_apache_flag_handler_ex() 870 static CONST_PREFIX char *php_apache_flag_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char… in php_apache_flag_handler() argument 872 return php_apache_flag_handler_ex(cmd, conf, arg1, arg2, PHP_INI_PERDIR); in php_apache_flag_handler() 880 return php_apache_flag_handler_ex(cmd, conf, arg1, arg2, PHP_INI_SYSTEM); in php_apache_admin_flag_handler() 886 static CONST_PREFIX char *php_apache_phpini_set(cmd_parms *cmd, HashTable *conf, char *arg) in php_apache_phpini_set() argument [all …]
|
/PHP-5.3/Zend/tests/ |
H A D | bug40236.phpt | 11 $cmd = "\"$php\" -n -d memory_limit=4M -a \"".dirname(__FILE__)."\"/bug40236.inc"; 12 echo `$cmd`;
|
/PHP-5.3/ext/standard/tests/streams/ |
H A D | stream_get_meta_data_process_basic.phpt | 7 $cmd = "echo here is some output"; 9 $handle = popen($cmd, $mode);
|
H A D | bug64770.phpt | 14 $cmd = (substr(PHP_OS, 0, 3) == 'WIN') ? 'dir' : 'ls'; 15 $p = proc_open($cmd, $descs, $pipes, '.', NULL, $other_opts);
|
/PHP-5.3/ext/ftp/ |
H A D | ftp.h | 122 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 D | ftp.c | 85 const char *cmd, 443 ftp_exec(ftpbuf_t *ftp, const char *cmd) in ftp_exec() argument 448 if (!ftp_putcmd(ftp, "SITE EXEC", cmd)) { in ftp_exec() 464 if (ftp == NULL || cmd == NULL) { in ftp_raw() 467 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 …]
|
/PHP-5.3/ext/sybase_ct/ |
H A D | php_sybase_ct.c | 315 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() 1467 if (sybase_ptr->cmd) { in php_sybase_query() 1468 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query() 1509 if (ct_send(sybase_ptr->cmd)!=CS_SUCCEED) { in php_sybase_query() 1510 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query() 1523 ct_cancel(NULL, sybase_ptr->cmd, CS_CANCEL_ALL); in php_sybase_query() [all …]
|
/PHP-5.3/ext/sqlite/libsqlite/src/ |
H A D | parse.y | 72 cmdx ::= cmd. { sqliteExec(pParse); } 89 cmd ::= create_table create_table_args. 271 cmd ::= CREATE(X) temp(T) VIEW nm(Y) AS select(S). { 274 cmd ::= DROP VIEW nm(X). { 280 cmd ::= select(X). { 478 cmd ::= DELETE FROM nm(X) dbnm(D) where_opt(Y). { 731 cmd ::= CREATE(S) uniqueflag(U) INDEX nm(X) 758 cmd ::= DROP INDEX nm(X) dbnm(Y). { 767 cmd ::= COPY orconf(R) nm(X) dbnm(D) FROM nm(Y). 879 cmd ::= DROP TRIGGER nm(X) dbnm(D). { [all …]
|
/PHP-5.3/ext/zip/lib/ |
H A D | zip_source_zip.c | 49 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()
|
H A D | zip_source_crc.c | 78 zip_uint64_t len, enum zip_source_cmd cmd) in crc_read() argument 85 switch (cmd) { in crc_read()
|
H A D | zip_source_buffer.c | 86 read_data(void *state, void *data, zip_uint64_t len, enum zip_source_cmd cmd) in read_data() argument 95 switch (cmd) { in read_data()
|
H A D | zip_source_filep.c | 57 enum zip_source_cmd cmd); 124 read_file(void *state, void *data, zip_uint64_t len, enum zip_source_cmd cmd) in read_file() argument 133 switch (cmd) { in read_file()
|
/PHP-5.3/ext/standard/tests/file/windows_links/ |
H A D | bug48746.phpt | 13 $cmd = "mklink /?"; 14 $ret = @exec($cmd, $output, $return_val);
|
/PHP-5.3/TSRM/ |
H A D | tsrm_win32.c | 468 char *cmd; in popen_ex() local 537 cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c ")+2); in popen_ex() 538 if (!cmd) { in popen_ex() 542 sprintf(cmd, "%s /c \"%s\"", TWG(comspec), command); in popen_ex() 544 …res = CreateProcessAsUser(token_user, NULL, cmd, &security, &security, security.bInheritHandle, dw… in popen_ex() 547 …res = CreateProcess(NULL, cmd, &security, &security, security.bInheritHandle, dwCreateFlags, env, … in popen_ex() 549 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()
|