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

/PHP_5_6/ext/zip/lib/
H A Dzip_source_buffer.c89 read_data(void *state, void *data, zip_uint64_t len, enum zip_source_cmd cmd)
98 switch (cmd) {
86 read_data(void *state, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument
H A Dzip_source_crc.c85 zip_uint64_t len, enum zip_source_cmd cmd)
92 switch (cmd) {
81 crc_read(struct zip_source *src, void *_ctx, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument
H A Dzip_source_deflate.c252 zip_uint64_t len, enum zip_source_cmd cmd)
259 switch (cmd) {
324 zip_uint64_t len, enum zip_source_cmd cmd)
332 switch (cmd) {
246 deflate_compress(struct zip_source *src, void *ud, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument
317 deflate_decompress(struct zip_source *src, void *ud, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument
H A Dzip_source_filep.c58 enum zip_source_cmd cmd);
128 read_file(void *state, void *data, zip_uint64_t len, enum zip_source_cmd cmd)
138 switch (cmd) {
124 read_file(void *state, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument
H A Dzip_source_pkware.c181 zip_uint64_t len, enum zip_source_cmd cmd)
188 switch (cmd) {
174 pkware_decrypt(struct zip_source *src, void *ud, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument
H A Dzip_source_window.c82 zip_uint64_t len, enum zip_source_cmd cmd)
91 switch (cmd) {
78 window_read(struct zip_source *src, void *_ctx, void *data, zip_uint64_t len, enum zip_source_cmd cmd) argument
/PHP_5_6/TSRM/
H A Dtsrm_win32.c49 globals->comspec = _strdup((GetVersion()<0x80000000)?"cmd.exe":"command.com");
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);
686 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf) { argument
693 switch (cmd) {
[all...]
/PHP_5_6/ext/ftp/
H A Dphp_ftp.c224 ZEND_ARG_INFO(0, cmd)
511 char *cmd; local
514 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) {
521 if (!ftp_exec(ftp, cmd)) {
536 char *cmd; local
539 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) {
546 ftp_raw(ftp, cmd, return_value);
1321 /* {{{ proto bool ftp_site(resource stream, string cmd)
1327 char *cmd; local
1330 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "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 TSRMLS_DC);
453 ftp_exec(ftpbuf_t *ftp, const char *cmd) argument
458 if (!ftp_putcmd(ftp, "SITE EXEC", cmd)) {
472 ftp_raw(ftpbuf_t *ftp, const char *cmd, zval *return_value) argument
474 if (ftp == NULL || cmd == NULL) {
477 if (!ftp_putcmd(ftp, cmd, NULL)) {
1076 ftp_site(ftpbuf_t *ftp, const char *cmd) argument
1097 ftp_putcmd(ftpbuf_t *ftp, const char *cmd, const char *args) argument
1607 ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path TSRMLS_DC) argument
[all...]
/PHP_5_6/ext/pdo_dblib/
H A Ddblib_driver.c172 static int pdo_dblib_transaction_cmd(const char *cmd, pdo_dbh_t *dbh TSRMLS_DC) argument
177 if (FAIL == dbcmd(H->link, cmd)) {
/PHP_5_6/ext/standard/
H A Dexec.c60 PHPAPI int php_exec(int type, char *cmd, zval *array, zval *return_value TSRMLS_DC) argument
77 fp = VCWD_POPEN(cmd, "rb");
79 fp = VCWD_POPEN(cmd, "r");
82 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to fork [%s]", cmd);
173 char *cmd; local
179 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z/", &cmd, &cmd_len, &ret_code) == FAILURE) {
183 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|z/z/", &cmd, &cmd_len, &ret_array, &ret_code) == FAILURE) {
193 ret = php_exec(mode, cmd, NULL, return_value TSRMLS_CC);
199 ret = php_exec(2, cmd, ret_array, return_value TSRMLS_CC);
244 char *cmd; local
335 char *cmd; local
400 char *cmd = NULL; local
421 char *cmd = NULL; local
[all...]
/PHP_5_6/ext/sybase_ct/
H A Dphp_sybase_ct.h81 CS_COMMAND *cmd; member in struct:__anon272
/PHP_5_6/sapi/apache2filter/
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_5_6/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_5_6/sapi/apache/
H A Dmod_php5.c56 static CONST_PREFIX char *php_apache_value_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode);
57 static CONST_PREFIX char *php_apache_value_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2);
58 static CONST_PREFIX char *php_apache_admin_value_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2);
59 static CONST_PREFIX char *php_apache_flag_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2);
60 static CONST_PREFIX char *php_apache_flag_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode);
61 static CONST_PREFIX char *php_apache_admin_flag_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2);
796 static CONST_PREFIX char *php_apache_value_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode) argument
809 per_dir_entry.htaccess = ((cmd->override & (RSRC_CONF|ACCESS_CONF)) == 0);
833 static CONST_PREFIX char *php_apache_value_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2) argument
835 return php_apache_value_handler_ex(cmd, con
841 php_apache_admin_value_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2) argument
849 php_apache_flag_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode) argument
866 php_apache_flag_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2) argument
874 php_apache_admin_flag_handler(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2) argument
882 php_apache_phpini_set(cmd_parms *cmd, HashTable *conf, char *arg) argument
[all...]
/PHP_5_6/sapi/apache_hooks/
H A Dmod_php5.c80 static CONST_PREFIX char *php_apache_value_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode);
81 static CONST_PREFIX char *php_apache_value_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2);
82 static CONST_PREFIX char *php_apache_admin_value_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2);
83 static CONST_PREFIX char *php_apache_flag_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2);
84 static CONST_PREFIX char *php_apache_flag_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode);
85 static CONST_PREFIX char *php_apache_admin_flag_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2);
895 static CONST_PREFIX char *php_apache_value_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode) argument
991 static CONST_PREFIX char *php_set_uri_handler(cmd_parms *cmd, void *dummy, char *arg1) argument
993 return php_set_server_handler(cmd->server, arg1, AP_URI_TRANS, AP_HANDLER_TYPE_FILE);
998 static CONST_PREFIX char *php_set_uri_handler_code(cmd_parms *cmd, voi argument
1006 php_set_header_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1010 php_set_header_handler_code(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1018 php_set_auth_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1022 php_set_auth_handler_code(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1031 php_set_access_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1035 php_set_access_handler_code(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1044 php_set_type_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1048 php_set_type_handler_code(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1057 php_set_fixup_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1061 php_set_fixup_handler_code(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1069 php_set_logger_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1073 php_set_logger_handler_code(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1082 php_set_post_read_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1086 php_set_post_read_handler_code(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1097 php_set_require(cmd_parms *cmd, void *dummy, char *arg1) argument
1105 php_set_response_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1109 php_set_response_handler_code(cmd_parms *cmd, php_per_dir_config *conf, char *arg1) argument
1117 php_apache_value_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2) argument
1125 php_apache_admin_value_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2) argument
1133 php_apache_flag_handler_ex(cmd_parms *cmd, HashTable *conf, char *arg1, char *arg2, int mode) argument
1150 php_apache_flag_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2) argument
1158 php_apache_admin_flag_handler(cmd_parms *cmd, php_per_dir_config *conf, char *arg1, char *arg2) argument
1166 php_apache_phpini_set(cmd_parms *cmd, HashTable *conf, char *arg) argument
[all...]
/PHP_5_6/sapi/phpdbg/tests/
H A Drun-tests.php49 public function __construct($config, $cmd) {
51 while (($key = array_shift($cmd))) {
61 $value = array_shift($cmd);
563 $cmd = $_SERVER['argv']; variable
569 'exec' => realpath(array_shift($cmd)),
578 ), $cmd);
/PHP_5_6/win32/build/
H A Dmkdist.php75 $cmd = "$GLOBALS[build_dir]\\deplister.exe \"$module\" \"$GLOBALS[build_dir]\""; variable
76 $proc = proc_open($cmd,
/PHP_5_6/ext/readline/
H A Dreadline_cli.c630 char *cmd; local
634 cmd = estrndup(&line[1], cmd_len);
636 zend_alter_ini_entry_ex(cmd, cmd_len + 1, param, strlen(param), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0 TSRMLS_CC);
637 efree(cmd);
/PHP_5_6/ext/mysqlnd/
H A Dmysqlnd_ps.c1296 enum php_mysqlnd_server_command cmd = COM_STMT_SEND_LONG_DATA; local
1351 ret = conn->m->simple_command(conn, cmd, cmd_buf, packet_len, PROT_LAST , FALSE, TRUE TSRMLS_CC);
1381 if ((packet_len = conn->net->m.consume_uneaten_data(conn->net, cmd TSRMLS_CC))) {
/PHP_5_6/ext/pdo_pgsql/
H A Dpgsql_driver.c477 static int pdo_pgsql_transaction_cmd(const char *cmd, pdo_dbh_t *dbh TSRMLS_DC) argument
483 res = PQexec(H->server, cmd);
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg_cmd.c721 char *cmd = NULL; local
757 cmd = buf;
764 cmd = buf;
766 } else cmd = readline(phpdbg_get_prompt(TSRMLS_C));
768 if (!cmd) {
773 add_history(cmd);
776 } else cmd = buffered;
778 buffer = estrdup(cmd);
781 if (!buffered && cmd &&
783 free(cmd);
[all...]
H A Dphpdbg_help.c139 void summary_print(phpdbg_command_t const * const cmd TSRMLS_DC)
142 spprintf(&summary, 0, "Command: **%s** Alias: **%c** **%s**\n", cmd->name, cmd->alias, cmd->tip);
208 phpdbg_command_t const *cmd; local
217 n = get_command(param->str, param->len, &cmd, phpdbg_prompt_commands TSRMLS_CC);
220 summary_print(cmd TSRMLS_CC);
221 pretty_print(get_help(cmd->name TSRMLS_CC) TSRMLS_CC);
226 for (cmd=phpdbg_prompt_commands; cmd
[all...]
H A Dphpdbg_prompt.c198 char cmd[PHPDBG_MAX_CMD]; local
204 while (fgets(cmd, PHPDBG_MAX_CMD, fp) != NULL) {
205 cmd_len = strlen(cmd)-1;
207 while (cmd_len > 0L && isspace(cmd[cmd_len-1]))
210 cmd[cmd_len] = '\0';
212 if (*cmd && cmd_len > 0L && cmd[0] != '#') {
214 if (memcmp(cmd, "<:", sizeof("<:")-1) == SUCCESS) {
218 if (memcmp(cmd, ":>", sizeof(":>")-1) == SUCCESS) {
239 &code[code_len], cmd, cmd_le
[all...]
/PHP_5_6/
H A Drun-tests.php1699 $cmd = "$php $pass_options $ini_settings -f \"$test_file\" 2>&1 < \"$tmp_post\""; variable
1733 $cmd = "$php $pass_options $ini_settings -f \"$test_file\" 2>&1 < \"$tmp_post\""; variable
1745 $cmd = "$php $pass_options $ini_settings -f \"$test_file\" 2>&1 < \"$tmp_post\""; variable
1760 $cmd = "$php $pass_options $ini_settings -f \"$test_file\" 2>&1 < \"$tmp_post\""; variable
1773 $cmd = "$php $pass_options $ini_settings -f \"$test_file\" 2>&1 < \"$tmp_post\""; variable
1782 $cmd = "$php $pass_options $ini_settings -f \"$test_file\" $args 2>&1"; variable
1791 $cmd = "valgrind -q --tool=memcheck --trace-children=yes --log-file=$memcheck_filename $cmd"; variable
1793 $cmd = "valgrind -q --tool=memcheck --trace-children=yes --log-file-exactly=$memcheck_filename $cmd"; variable
[all...]

Completed in 138 milliseconds