cmd 469 TSRM/tsrm_win32.c char *cmd; cmd 536 TSRM/tsrm_win32.c cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c ")+2); cmd 537 TSRM/tsrm_win32.c if (!cmd) { cmd 541 TSRM/tsrm_win32.c sprintf(cmd, "%s /c \"%s\"", TWG(comspec), command); cmd 543 TSRM/tsrm_win32.c res = CreateProcessAsUser(token_user, NULL, cmd, &security, &security, security.bInheritHandle, dwCreateFlags, env, cwd, &startup, &process); cmd 546 TSRM/tsrm_win32.c res = CreateProcess(NULL, cmd, &security, &security, security.bInheritHandle, dwCreateFlags, env, cwd, &startup, &process); cmd 548 TSRM/tsrm_win32.c free(cmd); cmd 697 TSRM/tsrm_win32.c TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf) { cmd 704 TSRM/tsrm_win32.c switch (cmd) { cmd 111 TSRM/tsrm_win32.h TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf); cmd 85 ext/ftp/ftp.c const char *cmd, cmd 112 ext/ftp/ftp.c static char** ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path); cmd 485 ext/ftp/ftp.c ftp_exec(ftpbuf_t *ftp, const char *cmd) cmd 490 ext/ftp/ftp.c if (!ftp_putcmd(ftp, "SITE EXEC", cmd)) { cmd 504 ext/ftp/ftp.c ftp_raw(ftpbuf_t *ftp, const char *cmd, zval *return_value) cmd 506 ext/ftp/ftp.c if (ftp == NULL || cmd == NULL) { cmd 509 ext/ftp/ftp.c if (!ftp_putcmd(ftp, cmd, NULL)) { cmd 1110 ext/ftp/ftp.c ftp_site(ftpbuf_t *ftp, const char *cmd) cmd 1115 ext/ftp/ftp.c if (!ftp_putcmd(ftp, "SITE", cmd)) { cmd 1131 ext/ftp/ftp.c ftp_putcmd(ftpbuf_t *ftp, const char *cmd, const char *args) cmd 1136 ext/ftp/ftp.c if (strpbrk(cmd, "\r\n")) { cmd 1142 ext/ftp/ftp.c if (strlen(cmd) + strlen(args) + 4 > FTP_BUFSIZE) { cmd 1148 ext/ftp/ftp.c size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s %s\r\n", cmd, args); cmd 1151 ext/ftp/ftp.c if (strlen(cmd) + 3 > FTP_BUFSIZE) { cmd 1154 ext/ftp/ftp.c size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s\r\n", cmd); cmd 1783 ext/ftp/ftp.c ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path) cmd 1810 ext/ftp/ftp.c if (!ftp_putcmd(ftp, cmd, path)) { cmd 124 ext/ftp/ftp.h int ftp_exec(ftpbuf_t *ftp, const char *cmd); cmd 127 ext/ftp/ftp.h void ftp_raw(ftpbuf_t *ftp, const char *cmd, zval *return_value); cmd 194 ext/ftp/ftp.h int ftp_site(ftpbuf_t *ftp, const char *cmd); cmd 224 ext/ftp/php_ftp.c ZEND_ARG_INFO(0, cmd) cmd 538 ext/ftp/php_ftp.c char *cmd; cmd 541 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) { cmd 550 ext/ftp/php_ftp.c if (!ftp_exec(ftp, cmd)) { cmd 565 ext/ftp/php_ftp.c char *cmd; cmd 568 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) { cmd 577 ext/ftp/php_ftp.c ftp_raw(ftp, cmd, return_value); cmd 1403 ext/ftp/php_ftp.c char *cmd; cmd 1406 ext/ftp/php_ftp.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) { cmd 1415 ext/ftp/php_ftp.c if (!ftp_site(ftp, cmd)) { cmd 859 ext/mysqlnd/mysqlnd_net.c MYSQLND_METHOD(mysqlnd_net, consume_uneaten_data)(MYSQLND_NET * const net, enum php_mysqlnd_server_command cmd) cmd 897 ext/mysqlnd/mysqlnd_net.c net->last_command = cmd; cmd 1329 ext/mysqlnd/mysqlnd_ps.c enum php_mysqlnd_server_command cmd = COM_STMT_SEND_LONG_DATA; cmd 1384 ext/mysqlnd/mysqlnd_ps.c ret = conn->m->simple_command(conn, cmd, cmd_buf, packet_len, PROT_LAST , FALSE, TRUE); cmd 1414 ext/mysqlnd/mysqlnd_ps.c if ((packet_len = conn->net->m.consume_uneaten_data(conn->net, cmd))) { cmd 292 ext/mysqlnd/mysqlnd_structs.h typedef size_t (*func_mysqlnd_net__consume_uneaten_data)(MYSQLND_NET * const net, enum php_mysqlnd_server_command cmd); cmd 203 ext/pdo_dblib/dblib_driver.c static int pdo_dblib_transaction_cmd(const char *cmd, pdo_dbh_t *dbh) cmd 207 ext/pdo_dblib/dblib_driver.c if (FAIL == dbcmd(H->link, cmd)) { cmd 503 ext/pdo_pgsql/pgsql_driver.c static int pdo_pgsql_transaction_cmd(const char *cmd, pdo_dbh_t *dbh) cmd 509 ext/pdo_pgsql/pgsql_driver.c res = PQexec(H->server, cmd); cmd 627 ext/readline/readline_cli.c zend_string *cmd; cmd 629 ext/readline/readline_cli.c cmd = zend_string_init(&line[1], param - &line[1] - 1, 0); cmd 631 ext/readline/readline_cli.c zend_alter_ini_entry_chars_ex(cmd, param, strlen(param), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0); cmd 632 ext/readline/readline_cli.c zend_string_release(cmd); cmd 1015 ext/standard/basic_functions.c ZEND_ARG_INFO(0, cmd) cmd 93 ext/standard/exec.c PHPAPI int php_exec(int type, char *cmd, zval *array, zval *return_value) cmd 111 ext/standard/exec.c fp = VCWD_POPEN(cmd, "rb"); cmd 113 ext/standard/exec.c fp = VCWD_POPEN(cmd, "r"); cmd 116 ext/standard/exec.c php_error_docref(NULL, E_WARNING, "Unable to fork [%s]", cmd); cmd 207 ext/standard/exec.c char *cmd; cmd 213 ext/standard/exec.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|z/", &cmd, &cmd_len, &ret_code) == FAILURE) { cmd 217 ext/standard/exec.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|z/z/", &cmd, &cmd_len, &ret_array, &ret_code) == FAILURE) { cmd 225 ext/standard/exec.c if (strlen(cmd) != cmd_len) { cmd 231 ext/standard/exec.c ret = php_exec(mode, cmd, NULL, return_value); cmd 237 ext/standard/exec.c ret = php_exec(2, cmd, ret_array, return_value); cmd 284 ext/standard/exec.c zend_string *cmd; cmd 295 ext/standard/exec.c cmd = zend_string_safe_alloc(2, l, 0, 0); cmd 304 ext/standard/exec.c memcpy(ZSTR_VAL(cmd) + y, str + x, mb_len); cmd 319 ext/standard/exec.c ZSTR_VAL(cmd)[y++] = '\\'; cmd 321 ext/standard/exec.c ZSTR_VAL(cmd)[y++] = str[x]; cmd 354 ext/standard/exec.c ZSTR_VAL(cmd)[y++] = '^'; cmd 356 ext/standard/exec.c ZSTR_VAL(cmd)[y++] = '\\'; cmd 360 ext/standard/exec.c ZSTR_VAL(cmd)[y++] = str[x]; cmd 364 ext/standard/exec.c ZSTR_VAL(cmd)[y] = '\0'; cmd 368 ext/standard/exec.c zend_string_release(cmd); cmd 375 ext/standard/exec.c cmd = zend_string_truncate(cmd, y, 0); cmd 378 ext/standard/exec.c ZSTR_LEN(cmd) = y; cmd 380 ext/standard/exec.c return cmd; cmd 390 ext/standard/exec.c zend_string *cmd; cmd 399 ext/standard/exec.c cmd = zend_string_safe_alloc(4, l, 2, 0); /* worst case */ cmd 402 ext/standard/exec.c ZSTR_VAL(cmd)[y++] = '"'; cmd 404 ext/standard/exec.c ZSTR_VAL(cmd)[y++] = '\''; cmd 414 ext/standard/exec.c memcpy(ZSTR_VAL(cmd) + y, str + x, mb_len); cmd 425 ext/standard/exec.c ZSTR_VAL(cmd)[y++] = ' '; cmd 429 ext/standard/exec.c ZSTR_VAL(cmd)[y++] = '\''; cmd 430 ext/standard/exec.c ZSTR_VAL(cmd)[y++] = '\\'; cmd 431 ext/standard/exec.c ZSTR_VAL(cmd)[y++] = '\''; cmd 435 ext/standard/exec.c ZSTR_VAL(cmd)[y++] = str[x]; cmd 439 ext/standard/exec.c if (y > 0 && '\\' == ZSTR_VAL(cmd)[y - 1]) { cmd 441 ext/standard/exec.c for (; n >= 0 && '\\' == ZSTR_VAL(cmd)[n]; n--, k++); cmd 443 ext/standard/exec.c ZSTR_VAL(cmd)[y++] = '\\'; cmd 447 ext/standard/exec.c ZSTR_VAL(cmd)[y++] = '"'; cmd 449 ext/standard/exec.c ZSTR_VAL(cmd)[y++] = '\''; cmd 451 ext/standard/exec.c ZSTR_VAL(cmd)[y] = '\0'; cmd 455 ext/standard/exec.c zend_string_release(cmd); cmd 462 ext/standard/exec.c cmd = zend_string_truncate(cmd, y, 0); cmd 464 ext/standard/exec.c ZSTR_LEN(cmd) = y; cmd 465 ext/standard/exec.c return cmd; cmd 40 ext/standard/exec.h PHPAPI int php_exec(int type, char *cmd, zval *array, zval *return_value); cmd 228 ext/zip/lib/zip.h #define ZIP_SOURCE_MAKE_COMMAND_BITMASK(cmd) (1<<(cmd)) cmd 121 ext/zip/lib/zip_source_buffer.c read_data(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd) cmd 125 ext/zip/lib/zip_source_buffer.c switch (cmd) { cmd 81 ext/zip/lib/zip_source_crc.c crc_read(zip_source_t *src, void *_ctx, void *data, zip_uint64_t len, zip_source_cmd_t cmd) cmd 88 ext/zip/lib/zip_source_crc.c switch (cmd) { cmd 278 ext/zip/lib/zip_source_deflate.c deflate_compress(zip_source_t *src, void *ud, void *data, zip_uint64_t len, zip_source_cmd_t cmd) cmd 285 ext/zip/lib/zip_source_deflate.c switch (cmd) { cmd 346 ext/zip/lib/zip_source_deflate.c zip_uint64_t len, zip_source_cmd_t cmd) cmd 354 ext/zip/lib/zip_source_deflate.c switch (cmd) { cmd 84 ext/zip/lib/zip_source_filep.c static zip_int64_t read_file(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd); cmd 222 ext/zip/lib/zip_source_filep.c read_file(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd) cmd 232 ext/zip/lib/zip_source_filep.c switch (cmd) { cmd 165 ext/zip/lib/zip_source_pkware.c zip_uint64_t len, zip_source_cmd_t cmd) cmd 172 ext/zip/lib/zip_source_pkware.c switch (cmd) { cmd 59 ext/zip/lib/zip_source_supports.c int cmd = va_arg(ap, int); cmd 60 ext/zip/lib/zip_source_supports.c if (cmd < 0) { cmd 63 ext/zip/lib/zip_source_supports.c bitmap |= ZIP_SOURCE_MAKE_COMMAND_BITMASK(cmd); cmd 42 ext/zip/lib/zip_source_win32handle.c static zip_int64_t _win32_read_file(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd); cmd 143 ext/zip/lib/zip_source_win32handle.c _win32_read_file(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd) cmd 153 ext/zip/lib/zip_source_win32handle.c switch (cmd) { cmd 114 ext/zip/lib/zip_source_window.c window_read(zip_source_t *src, void *_ctx, void *data, zip_uint64_t len, zip_source_cmd_t cmd) cmd 123 ext/zip/lib/zip_source_window.c switch (cmd) { cmd 57 sapi/apache2handler/apache_config.c static const char *real_value_hnd(cmd_parms *cmd, void *dummy, const char *name, const char *value, int status) cmd 68 sapi/apache2handler/apache_config.c e.value = apr_pstrdup(cmd->pool, value); cmd 71 sapi/apache2handler/apache_config.c e.htaccess = ((cmd->override & (RSRC_CONF|ACCESS_CONF)) == 0); cmd 77 sapi/apache2handler/apache_config.c static const char *php_apache_value_handler(cmd_parms *cmd, void *dummy, const char *name, const char *value) cmd 79 sapi/apache2handler/apache_config.c return real_value_hnd(cmd, dummy, name, value, PHP_INI_PERDIR); cmd 82 sapi/apache2handler/apache_config.c static const char *php_apache_admin_value_handler(cmd_parms *cmd, void *dummy, const char *name, const char *value) cmd 84 sapi/apache2handler/apache_config.c return real_value_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM); cmd 87 sapi/apache2handler/apache_config.c static const char *real_flag_hnd(cmd_parms *cmd, void *dummy, const char *arg1, const char *arg2, int status) cmd 98 sapi/apache2handler/apache_config.c return real_value_hnd(cmd, dummy, arg1, bool_val, status); cmd 101 sapi/apache2handler/apache_config.c static const char *php_apache_flag_handler(cmd_parms *cmd, void *dummy, const char *name, const char *value) cmd 103 sapi/apache2handler/apache_config.c return real_flag_hnd(cmd, dummy, name, value, PHP_INI_PERDIR); cmd 106 sapi/apache2handler/apache_config.c static const char *php_apache_admin_flag_handler(cmd_parms *cmd, void *dummy, const char *name, const char *value) cmd 108 sapi/apache2handler/apache_config.c return real_flag_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM); cmd 111 sapi/apache2handler/apache_config.c static const char *php_apache_phpini_set(cmd_parms *cmd, void *mconfig, const char *arg) cmd 116 sapi/apache2handler/apache_config.c apache2_php_ini_path_override = ap_server_root_relative(cmd->pool, arg); cmd 745 sapi/phpdbg/phpdbg_cmd.c char *cmd = NULL; cmd 761 sapi/phpdbg/phpdbg_cmd.c phpdbg_consume_stdin_line(cmd = buf); cmd 765 sapi/phpdbg/phpdbg_cmd.c cmd = readline(phpdbg_get_prompt()); cmd 768 sapi/phpdbg/phpdbg_cmd.c if (!cmd) { cmd 773 sapi/phpdbg/phpdbg_cmd.c add_history(cmd); cmd 777 sapi/phpdbg/phpdbg_cmd.c cmd = buffered; cmd 780 sapi/phpdbg/phpdbg_cmd.c buffer = estrdup(cmd); cmd 783 sapi/phpdbg/phpdbg_cmd.c if (!buffered && cmd && !(PHPDBG_G(flags) & PHPDBG_IS_REMOTE) && isatty(PHPDBG_G(io)[PHPDBG_STDIN].fd)) { cmd 784 sapi/phpdbg/phpdbg_cmd.c free(cmd); cmd 145 sapi/phpdbg/phpdbg_help.c void summary_print(phpdbg_command_t const * const cmd) cmd 148 sapi/phpdbg/phpdbg_help.c spprintf(&summary, 0, "Command: **%s** Alias: **%c** **%s**\n", cmd->name, cmd->alias, cmd->tip); cmd 214 sapi/phpdbg/phpdbg_help.c phpdbg_command_t const *cmd; cmd 223 sapi/phpdbg/phpdbg_help.c n = get_command(param->str, param->len, &cmd, phpdbg_prompt_commands); cmd 226 sapi/phpdbg/phpdbg_help.c summary_print(cmd); cmd 227 sapi/phpdbg/phpdbg_help.c pretty_print(get_help(cmd->name)); cmd 232 sapi/phpdbg/phpdbg_help.c for (cmd=phpdbg_prompt_commands; cmd->name; cmd++) { cmd 233 sapi/phpdbg/phpdbg_help.c if (!strncmp(cmd->name, param->str, param->len)) { cmd 234 sapi/phpdbg/phpdbg_help.c summary_print(cmd); cmd 245 sapi/phpdbg/phpdbg_help.c n = get_command( param->str, param->len, &cmd, phpdbg_help_commands); cmd 248 sapi/phpdbg/phpdbg_help.c if (cmd->alias == 'a') { /* help aliases executes a canned routine */ cmd 249 sapi/phpdbg/phpdbg_help.c return cmd->handler(param); cmd 251 sapi/phpdbg/phpdbg_help.c pretty_print(get_help(cmd->name)); cmd 220 sapi/phpdbg/phpdbg_prompt.c static void phpdbg_line_init(char *cmd, struct phpdbg_init_state *state) { cmd 221 sapi/phpdbg/phpdbg_prompt.c size_t cmd_len = strlen(cmd); cmd 225 sapi/phpdbg/phpdbg_prompt.c while (cmd_len > 0L && isspace(cmd[cmd_len-1])) { cmd 229 sapi/phpdbg/phpdbg_prompt.c cmd[cmd_len] = '\0'; cmd 231 sapi/phpdbg/phpdbg_prompt.c if (*cmd && cmd_len > 0L && cmd[0] != '#') { cmd 233 sapi/phpdbg/phpdbg_prompt.c if (memcmp(cmd, "<:", sizeof("<:")-1) == SUCCESS) { cmd 237 sapi/phpdbg/phpdbg_prompt.c if (memcmp(cmd, ":>", sizeof(":>")-1) == SUCCESS) { cmd 256 sapi/phpdbg/phpdbg_prompt.c memcpy(&state->code[state->code_len], cmd, cmd_len); cmd 264 sapi/phpdbg/phpdbg_prompt.c char *input = phpdbg_read_input(cmd); cmd 323 sapi/phpdbg/phpdbg_prompt.c char cmd[PHPDBG_MAX_CMD]; cmd 328 sapi/phpdbg/phpdbg_prompt.c while (fgets(cmd, PHPDBG_MAX_CMD, fp) != NULL) { cmd 329 sapi/phpdbg/phpdbg_prompt.c phpdbg_line_init(cmd, &state);