Searched defs:cmd (Results 1 - 22 of 22) sorted by relevance

/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_driver.c203 static int pdo_dblib_transaction_cmd(const char *cmd, pdo_dbh_t *dbh) argument
207 if (FAIL == dbcmd(H->link, cmd)) {
/PHP_TRUNK/sapi/apache2handler/
H A Dapache_config.c57 static const char *real_value_hnd(cmd_parms *cmd, void *dummy, const char *name, const char *value, int status) argument
68 e.value = apr_pstrdup(cmd->pool, value);
71 e.htaccess = ((cmd->override & (RSRC_CONF|ACCESS_CONF)) == 0);
77 static const char *php_apache_value_handler(cmd_parms *cmd, void *dummy, const char *name, const char *value) argument
79 return real_value_hnd(cmd, dummy, name, value, PHP_INI_PERDIR);
82 static const char *php_apache_admin_value_handler(cmd_parms *cmd, void *dummy, const char *name, const char *value) argument
84 return real_value_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM);
87 static const char *real_flag_hnd(cmd_parms *cmd, void *dummy, const char *arg1, const char *arg2, int status) argument
98 return real_value_hnd(cmd, dummy, arg1, bool_val, status);
101 static const char *php_apache_flag_handler(cmd_parms *cmd, voi argument
106 php_apache_admin_flag_handler(cmd_parms *cmd, void *dummy, const char *name, const char *value) argument
111 php_apache_phpini_set(cmd_parms *cmd, void *mconfig, const char *arg) argument
[all...]
/PHP_TRUNK/ext/ftp/
H A Dphp_ftp.c224 ZEND_ARG_INFO(0, cmd)
535 char *cmd; local
538 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) {
547 if (!ftp_exec(ftp, cmd)) {
562 char *cmd; local
565 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) {
574 ftp_raw(ftp, cmd, return_value);
1394 /* {{{ proto bool ftp_site(resource stream, string cmd)
1400 char *cmd; local
1403 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_ftp, &cmd,
[all...]
H A Dftp.c81 * it sends the string "cmd args\r\n" if args is non-null, or
82 * "cmd\r\n" if args is null
85 const char *cmd,
112 static char** ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path);
485 ftp_exec(ftpbuf_t *ftp, const char *cmd) argument
490 if (!ftp_putcmd(ftp, "SITE EXEC", cmd)) {
504 ftp_raw(ftpbuf_t *ftp, const char *cmd, zval *return_value) argument
506 if (ftp == NULL || cmd == NULL) {
509 if (!ftp_putcmd(ftp, cmd, NULL)) {
1108 ftp_site(ftpbuf_t *ftp, const char *cmd) argument
1129 ftp_putcmd(ftpbuf_t *ftp, const char *cmd, const char *args) argument
1781 ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path) argument
[all...]
/PHP_TRUNK/ext/zip/lib/
H A Dzip_source_buffer.c122 read_data(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd) argument
126 switch (cmd) {
H A Dzip_source_crc.c78 crc_read(zip_source_t *src, void *_ctx, void *data, zip_uint64_t len, zip_source_cmd_t cmd) argument
85 switch (cmd) {
H A Dzip_source_deflate.c278 deflate_compress(zip_source_t *src, void *ud, void *data, zip_uint64_t len, zip_source_cmd_t cmd) argument
285 switch (cmd) {
346 zip_uint64_t len, zip_source_cmd_t cmd)
354 switch (cmd) {
345 deflate_decompress(zip_source_t *src, void *ud, void *data, zip_uint64_t len, zip_source_cmd_t cmd) argument
H A Dzip_source_pkware.c165 zip_uint64_t len, zip_source_cmd_t cmd)
172 switch (cmd) {
164 pkware_decrypt(zip_source_t *src, void *ud, void *data, zip_uint64_t len, zip_source_cmd_t cmd) argument
H A Dzip_source_supports.c59 int cmd = va_arg(ap, int); local
60 if (cmd < 0) {
63 bitmap |= ZIP_SOURCE_MAKE_COMMAND_BITMASK(cmd);
H A Dzip_source_win32handle.c43 static zip_int64_t _win32_read_file(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd);
144 _win32_read_file(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd) argument
154 switch (cmd) {
H A Dzip_source_window.c114 window_read(zip_source_t *src, void *_ctx, void *data, zip_uint64_t len, zip_source_cmd_t cmd) argument
123 switch (cmd) {
H A Dzip_source_filep.c81 static zip_int64_t read_file(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd);
225 read_file(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd) argument
235 switch (cmd) {
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_ps.c1327 enum php_mysqlnd_server_command cmd = COM_STMT_SEND_LONG_DATA; local
1382 ret = conn->m->simple_command(conn, cmd, cmd_buf, packet_len, PROT_LAST , FALSE, TRUE);
1412 if ((packet_len = conn->net->m.consume_uneaten_data(conn->net, cmd))) {
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_driver.c503 static int pdo_pgsql_transaction_cmd(const char *cmd, pdo_dbh_t *dbh) argument
509 res = PQexec(H->server, cmd);
/PHP_TRUNK/ext/standard/
H A Dexec.c60 PHPAPI int php_exec(int type, char *cmd, zval *array, zval *return_value) argument
78 fp = VCWD_POPEN(cmd, "rb");
80 fp = VCWD_POPEN(cmd, "r");
83 php_error_docref(NULL, E_WARNING, "Unable to fork [%s]", cmd);
174 char *cmd; local
180 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|z/", &cmd, &cmd_len, &ret_code) == FAILURE) {
184 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|z/z/", &cmd, &cmd_len, &ret_array, &ret_code) == FAILURE) {
192 if (strlen(cmd) != cmd_len) {
198 ret = php_exec(mode, cmd, NULL, return_value);
204 ret = php_exec(2, cmd, ret_arra
250 zend_string *cmd; local
344 zend_string *cmd; local
[all...]
/PHP_TRUNK/ext/readline/
H A Dreadline_cli.c623 zend_string *cmd; local
625 cmd = zend_string_init(&line[1], param - &line[1] - 1, 0);
627 zend_alter_ini_entry_chars_ex(cmd, param, strlen(param), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0);
628 zend_string_release(cmd);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_help.c145 void summary_print(phpdbg_command_t const * const cmd) argument
148 spprintf(&summary, 0, "Command: **%s** Alias: **%c** **%s**\n", cmd->name, cmd->alias, cmd->tip);
214 phpdbg_command_t const *cmd; local
223 n = get_command(param->str, param->len, &cmd, phpdbg_prompt_commands);
226 summary_print(cmd);
227 pretty_print(get_help(cmd->name));
232 for (cmd=phpdbg_prompt_commands; cmd
[all...]
H A Dphpdbg_cmd.c715 char *cmd = NULL; local
731 phpdbg_consume_stdin_line(cmd = buf);
735 cmd = readline(phpdbg_get_prompt());
738 if (!cmd) {
743 add_history(cmd);
747 cmd = buffered;
750 buffer = estrdup(cmd);
753 if (!buffered && cmd && !(PHPDBG_G(flags) & PHPDBG_IS_REMOTE) && isatty(PHPDBG_G(io)[PHPDBG_STDIN].fd)) {
754 free(cmd);
H A Dphpdbg_prompt.c219 static void phpdbg_line_init(char *cmd, struct phpdbg_init_state *state) { argument
220 size_t cmd_len = strlen(cmd);
224 while (cmd_len > 0L && isspace(cmd[cmd_len-1])) {
228 cmd[cmd_len] = '\0';
230 if (*cmd && cmd_len > 0L && cmd[0] != '#') {
232 if (memcmp(cmd, "<:", sizeof("<:")-1) == SUCCESS) {
236 if (memcmp(cmd, ":>", sizeof(":>")-1) == SUCCESS) {
255 memcpy(&state->code[state->code_len], cmd, cmd_len);
263 char *input = phpdbg_read_input(cmd);
322 char cmd[PHPDBG_MAX_CMD]; local
[all...]
/PHP_TRUNK/win32/build/
H A Dmkdist.php75 $cmd = "$GLOBALS[build_dir]\\deplister.exe \"$module\" \"$GLOBALS[build_dir]\""; variable
76 $proc = proc_open($cmd,
/PHP_TRUNK/
H A Drun-tests.php1785 $cmd = "$php $pass_options $ini_settings -f \"$test_file\" 2>&1 < \"$tmp_post\""; variable
1819 $cmd = "$php $pass_options $ini_settings -f \"$test_file\" 2>&1 < \"$tmp_post\""; variable
1836 $cmd = "$php $pass_options $ini_settings -f \"$test_file\" 2>&1 < \"$tmp_post\""; variable
1851 $cmd = "$php $pass_options $ini_settings -f \"$test_file\" 2>&1 < \"$tmp_post\""; variable
1864 $cmd = "$php $pass_options $ini_settings -f \"$test_file\" 2>&1 < \"$tmp_post\""; variable
1872 $cmd = "$php $pass_options $ini_settings -f \"$test_file\" $args 2>&1"; variable
1882 $cmd = "valgrind -q --tool=memcheck --trace-children=yes --vex-iropt-register-updates=allregs-at-mem-access --log-file=$memcheck_filename $cmd"; variable
1884 $cmd = "valgrind -q --tool=memcheck --trace-children=yes --vex-iropt-register-updates=allregs-at-mem-access --log-file-exactly=$memcheck_filename $cmd"; variable
[all...]
/PHP_TRUNK/TSRM/
H A Dtsrm_win32.c52 globals->comspec = _strdup("cmd.exe");
468 char *cmd; local
535 cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c ")+2);
536 if (!cmd) {
540 sprintf(cmd, "%s /c \"%s\"", TWG(comspec), command);
542 res = CreateProcessAsUser(token_user, NULL, cmd, &security, &security, security.bInheritHandle, dwCreateFlags, env, cwd, &startup, &process);
545 res = CreateProcess(NULL, cmd, &security, &security, security.bInheritHandle, dwCreateFlags, env, cwd, &startup, &process);
547 free(cmd);
685 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf) { argument
692 switch (cmd) {
[all...]

Completed in 91 milliseconds