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

/PHP_TRUNK/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";
215 zend_bool silent, enum php_mysqlnd_server_command command,
221 DBG_INF_FMT("silent=%u packet=%u command=%s", silent, ok_packet, mysqlnd_command_to_text[command]);
232 DBG_ERR_FMT("Error while reading %s's OK packet", mysqlnd_command_to_text[command]);
234 mysqlnd_command_to_text[command], getpid());
280 DBG_ERR_FMT("Error while reading %s's EOF packet", mysqlnd_command_to_text[command]);
282 mysqlnd_command_to_text[command], getpid());
314 MYSQLND_METHOD(mysqlnd_conn_data, simple_command_send_request)(MYSQLND_CONN_DATA * conn, enum php_mysqlnd_server_command command,
720 const char * const command = conn->options->init_commands[current_command]; local
[all...]
/PHP_TRUNK/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.c52 globals->comspec = _strdup((GetVersion()<0x80000000)?"cmd.exe":"command.com");
451 TSRM_API FILE *popen(const char *command, const char *type) argument
454 return popen_ex(command, type, NULL, NULL);
457 TSRM_API FILE *popen_ex(const char *command, const char *type, const char *cwd, char *env) argument
535 cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c ")+2);
540 sprintf(cmd, "%s /c \"%s\"", TWG(comspec), command);
/PHP_TRUNK/ext/zip/lib/
H A Dzip_source_call.c2 zip_source_call.c -- invoke callback command on zip_source
39 _zip_source_call(zip_source_t *src, void *data, zip_uint64_t length, zip_source_cmd_t command) argument
43 if ((src->supports & ZIP_SOURCE_MAKE_COMMAND_BITMASK(command)) == 0) {
49 ret = src->cb.f(src->ud, data, length, command);
52 ret = src->cb.l(src->src, src->ud, data, length, command);
56 if (command != ZIP_SOURCE_ERROR && command != ZIP_SOURCE_SUPPORTS) {
/PHP_TRUNK/ext/standard/
H A Dproc_open.h46 char *command; member in struct:php_process_handle
H A Dfile.c908 /* {{{ proto resource popen(string command, string mode)
909 Execute a command and open either a read or a write pipe to it */
912 char *command, *mode; local
918 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ps", &command, &command_len, &mode, &mode_len) == FAILURE) {
932 fp = VCWD_POPEN(command, posix_mode);
934 php_error_docref2(NULL, command, posix_mode, E_WARNING, "%s", strerror(errno));
942 php_error_docref2(NULL, command, mode, E_WARNING, "%s", strerror(errno));
H A Dproc_open.c244 pefree(proc->command, proc->is_persistent);
337 add_assoc_string(return_value, "command", proc->command);
422 /* {{{ proto resource proc_open(string command, array descriptorspec, array &pipes [, string cwd [, array env [, array other_options]]])
426 char *command, *cwd=NULL; local
471 if (zend_parse_parameters(ZEND_NUM_ARGS(), "saz/|s!a!a!", &command,
477 command = pestrdup(command, is_persistent);
504 command_len = strlen(command);
736 newprocok = CreateProcess(NULL, command,
[all...]
H A Dexec.c142 /* Return last line from the shell command */
189 php_error_docref(NULL, E_WARNING, "Cannot execute a blank command");
213 /* {{{ proto string exec(string command [, array &output [, int &return_value]])
221 /* {{{ proto int system(string command [, int &return_value])
229 /* {{{ proto void passthru(string command [, int &return_value])
239 break out of a shell command
412 /* {{{ proto string escapeshellcmd(string command)
416 char *command; local
419 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &command, &command_len) == FAILURE) {
424 RETVAL_STR(php_escape_shell_cmd(command));
453 char *command; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.c1800 CWD_API FILE *virtual_popen(const char *command, const char *type) /* {{{ */ argument
1802 return popen_ex(command, type, CWDG(cwd).cwd, NULL);
1809 CWD_API FILE *virtual_popen(const char *command, const char *type) /* {{{ */ argument
1825 retval = popen(command, type);
1836 CWD_API FILE *virtual_popen(const char *command, const char *type) /* {{{ */ argument
1844 command_length = strlen(command);
1887 memcpy(ptr, command, command_length+1);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_help.c36 PHPDBG_COMMAND_HELP_D(options, "command line options", 0, NULL),
144 /* {{{ summary_print. Print a summary line giving, the command, its alias and tip */
170 /* {{{ get_command. Return number of matching commands from a command table.
171 * Unlike the command parser, the help search is sloppy that is partial matches can occur
175 * * The first matching command is returned as an OUT parameter. *
181 phpdbg_command_t const **command, /* address of first matching command */
182 phpdbg_command_t const * commands /* command table to be scanned */
192 if ( num_matches == 1 && command) {
193 *command
179 get_command( const char *key, size_t len, phpdbg_command_t const **command, phpdbg_command_t const * commands ) argument
[all...]
H A Dphpdbg_cmd.c30 static inline const char *phpdbg_command_name(const phpdbg_command_t *command, char *buffer) { argument
33 if (command->parent) {
34 memcpy(&buffer[pos], command->parent->name, command->parent->name_len);
35 pos += command->parent->name_len;
40 memcpy(&buffer[pos], command->name, command->name_len);
41 pos += command->name_len;
457 PHPDBG_API int phpdbg_stack_verify(const phpdbg_command_t *command, phpdbg_param_t **stack) { argument
458 if (command) {
556 const phpdbg_command_t *command = commands; local
[all...]

Completed in 17 milliseconds