Searched defs:command (Results 1 - 11 of 11) sorted by relevance

/PHP_5_6/TSRM/
H A Dtsrm_nw.c55 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 Dtsrm_win32.c49 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_6/Zend/
H A Dzend_virtual_cwd.c1858 CWD_API FILE *virtual_popen(const char *command, const char *type TSRMLS_DC) /* {{{ */ argument
1860 return popen_ex(command, type, CWDG(cwd).cwd, NULL TSRMLS_CC);
1867 CWD_API FILE *virtual_popen(const char *command, const char *type TSRMLS_DC) /* {{{ */ argument
1883 retval = popen(command, type);
1894 CWD_API FILE *virtual_popen(const char *command, const char *type TSRMLS_DC) /* {{{ */ argument
1902 command_length = strlen(command);
1945 memcpy(ptr, command, command_length+1);
/PHP_5_6/ext/standard/
H A Dexec.c141 /* 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 Dproc_open.h48 char *command; member in struct:php_process_handle
H A Dproc_open.c278 pefree(proc->command, proc->is_persistent);
365 add_assoc_string(return_value, "command", proc->command, 1);
450 /* {{{ proto resource proc_open(string command, array descriptorspec, array &pipes [, string cwd [, array env [, array other_options]]])
454 char *command, *cwd=NULL; local
496 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "saz|s!a!a!", &command,
502 command = pestrdup(command, is_persistent);
522 command_len = strlen(command);
759 newprocok = CreateProcess(NULL, command,
[all...]
H A Dfile.c923 /* {{{ proto resource popen(string command, string mode)
924 Execute a command and open either a read or a write pipe to it */
927 char *command, *mode; local
933 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ps", &command, &command_len, &mode, &mode_len) == FAILURE) {
947 fp = VCWD_POPEN(command, posix_mode);
949 php_error_docref2(NULL TSRMLS_CC, command, posix_mode, E_WARNING, "%s", strerror(errno));
957 php_error_docref2(NULL TSRMLS_CC, command, mode, E_WARNING, "%s", strerror(errno));
/PHP_5_6/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.h159 enum php_mysqlnd_server_command command; member in struct:st_mysqlnd_packet_command
H A Dmysqlnd.c57 "Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will "
62 PHPAPI const char * const mysqlnd_out_of_sync = "Commands out of sync; you can't run this command now";
216 zend_bool silent, enum php_mysqlnd_server_command command,
222 DBG_INF_FMT("silent=%u packet=%u command=%s", silent, ok_packet, mysqlnd_command_to_text[command]);
233 DBG_ERR_FMT("Error while reading %s's OK packet", mysqlnd_command_to_text[command]);
235 mysqlnd_command_to_text[command], getpid());
281 DBG_ERR_FMT("Error while reading %s's EOF packet", mysqlnd_command_to_text[command]);
283 mysqlnd_command_to_text[command], getpid());
315 MYSQLND_METHOD(mysqlnd_conn_data, simple_command_send_request)(MYSQLND_CONN_DATA * conn, enum php_mysqlnd_server_command command,
709 const char * const command = conn->options->init_commands[current_command]; local
[all...]
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg_cmd.c29 static inline const char *phpdbg_command_name(const phpdbg_command_t *command, char *buffer) { argument
32 if (command->parent) {
33 memcpy(&buffer[pos], command->parent->name, command->parent->name_len);
34 pos += command->parent->name_len;
39 memcpy(&buffer[pos], command->name, command->name_len);
40 pos += command->name_len;
540 PHPDBG_API int phpdbg_stack_verify(const phpdbg_command_t *command, phpdbg_param_t **stack, char **why TSRMLS_DC) { argument
541 if (command) {
643 const phpdbg_command_t *command = commands; local
[all...]
H A Dphpdbg_help.c35 PHPDBG_COMMAND_HELP_D(options, "command line options", 0, NULL),
138 /* {{{ summary_print. Print a summary line giving, the command, its alias and tip */
164 /* {{{ get_command. Return number of matching commands from a command table.
165 * Unlike the command parser, the help search is sloppy that is partial matches can occur
169 * * The first matching command is returned as an OUT parameter. *
175 phpdbg_command_t const **command, /* address of first matching command */
176 phpdbg_command_t const * commands /* command table to be scanned */
186 if ( num_matches == 1 && command) {
187 *command
173 get_command( const char *key, size_t len, phpdbg_command_t const **command, phpdbg_command_t const * commands TSRMLS_DC) argument
[all...]

Completed in 17 milliseconds