| /PHP_5_4/TSRM/ |
| H A D | tsrm_nw.c | 55 char *command = NULL, *argv[MAX_ARGS] = {'\0'}, **env = NULL; local 130 command = (char*)malloc(ptrLen + 1); 131 if (!command) { 136 strcpy (command, ptr); 145 if (command) 146 free (command); 215 if (command) 216 free (command);
|
| H A D | tsrm_virtual_cwd.c | 1829 CWD_API FILE *virtual_popen(const char *command, const char *type TSRMLS_DC) /* {{{ */ argument 1831 return popen_ex(command, type, CWDG(cwd).cwd, NULL TSRMLS_CC); 1838 CWD_API FILE *virtual_popen(const char *command, const char *type TSRMLS_DC) /* {{{ */ argument 1854 retval = popen(command, type); 1865 CWD_API FILE *virtual_popen(const char *command, const char *type TSRMLS_DC) /* {{{ */ argument 1873 command_length = strlen(command); 1916 memcpy(ptr, command, command_length+1);
|
| H A D | tsrm_win32.c | 49 globals->comspec = _strdup((GetVersion()<0x80000000)?"cmd.exe":"command.com"); 450 TSRM_API FILE *popen(const char *command, const char *type) argument 454 return popen_ex(command, type, NULL, NULL TSRMLS_CC); 457 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env TSRMLS_DC) argument 535 cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c ")+2); 540 sprintf(cmd, "%s /c \"%s\"", TWG(comspec), command);
|
| /PHP_5_4/ext/standard/ |
| H A D | exec.c | 141 /* Return last line from the shell command */ 188 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot execute a blank command"); 208 /* {{{ proto string exec(string command [, array &output [, int &return_value]]) 216 /* {{{ proto int system(string command [, int &return_value]) 224 /* {{{ proto void passthru(string command [, int &return_value]) 234 break out of a shell command 394 /* {{{ proto string escapeshellcmd(string command) 398 char *command; local 402 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &command, &command_len) == FAILURE) { 407 cmd = php_escape_shell_cmd(command); 440 char *command; local [all...] |
| H A D | proc_open.c | 246 pefree(proc->command, proc->is_persistent); 331 add_assoc_string(return_value, "command", proc->command, 1); 416 /* {{{ proto resource proc_open(string command, array descriptorspec, array &pipes [, string cwd [, array env [, array other_options]]]) 420 char *command, *cwd=NULL; local 461 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "saz|s!a!a!", &command, 467 command = pestrdup(command, is_persistent); 487 command_len = strlen(command); 724 newprocok = CreateProcess(NULL, command, [all...] |
| H A D | proc_open.h | 48 char *command; member in struct:php_process_handle
|
| H A D | file.c | 906 /* {{{ proto resource popen(string command, string mode) 907 Execute a command and open either a read or a write pipe to it */ 910 char *command, *mode; local 916 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ps", &command, &command_len, &mode, &mode_len) == FAILURE) { 930 fp = VCWD_POPEN(command, posix_mode); 932 php_error_docref2(NULL TSRMLS_CC, command, posix_mode, E_WARNING, "%s", strerror(errno)); 940 php_error_docref2(NULL TSRMLS_CC, command, mode, E_WARNING, "%s", strerror(errno));
|
| /PHP_5_4/ext/mysqlnd/ |
| H A D | mysqlnd_wireprotocol.h | 159 enum php_mysqlnd_server_command command; member in struct:st_mysqlnd_packet_command
|
| H A D | mysqlnd.c | 56 "Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will " 61 PHPAPI const char * const mysqlnd_out_of_sync = "Commands out of sync; you can't run this command now"; 210 zend_bool silent, enum php_mysqlnd_server_command command, 216 DBG_INF_FMT("silent=%u packet=%u command=%s", silent, ok_packet, mysqlnd_command_to_text[command]); 227 DBG_ERR_FMT("Error while reading %s's OK packet", mysqlnd_command_to_text[command]); 229 mysqlnd_command_to_text[command], getpid()); 274 DBG_ERR_FMT("Error while reading %s's EOF packet", mysqlnd_command_to_text[command]); 276 mysqlnd_command_to_text[command], getpid()); 308 MYSQLND_METHOD(mysqlnd_conn_data, simple_command)(MYSQLND_CONN_DATA * conn, enum php_mysqlnd_server_command command, 909 const char * const command = conn->options->init_commands[current_command]; local [all...] |