Searched refs:cmd_len (Results 1 – 5 of 5) sorted by relevance
/php-src/ext/ftp/ |
H A D | ftp.h | 121 int ftp_exec(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len); 124 void ftp_raw(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len, zval *return_value); 208 int ftp_site(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len);
|
H A D | php_ftp.c | 317 size_t cmd_len; in PHP_FUNCTION() local 319 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &z_ftp, php_ftp_ce, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION() 325 if (!ftp_exec(ftp, cmd, cmd_len)) { in PHP_FUNCTION() 342 size_t cmd_len; in PHP_FUNCTION() local 344 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &z_ftp, php_ftp_ce, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION() 350 ftp_raw(ftp, cmd, cmd_len, return_value); in PHP_FUNCTION() 1184 size_t cmd_len; in PHP_FUNCTION() local 1186 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &z_ftp, php_ftp_ce, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION() 1192 if (!ftp_site(ftp, cmd, cmd_len)) { in PHP_FUNCTION()
|
H A D | ftp.c | 73 const size_t cmd_len, 493 ftp_exec(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len) in ftp_exec() argument 498 if (!ftp_putcmd(ftp, "SITE EXEC", sizeof("SITE EXEC")-1, cmd, cmd_len)) { in ftp_exec() 511 ftp_raw(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len, zval *return_value) in ftp_raw() argument 516 if (!ftp_putcmd(ftp, cmd, cmd_len, NULL, (size_t) 0)) { in ftp_raw() 1261 ftp_site(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len) in ftp_site() argument 1266 if (!ftp_putcmd(ftp, "SITE", sizeof("SITE")-1, cmd, cmd_len)) { in ftp_site() 1281 ftp_putcmd(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len, const char *args, const size_t arg… in ftp_putcmd() argument 1292 if (cmd_len + args_len + 4 > FTP_BUFSIZE) { in ftp_putcmd() 1301 if (cmd_len + 3 > FTP_BUFSIZE) { in ftp_putcmd() [all …]
|
/php-src/ext/standard/ |
H A D | exec.c | 203 size_t cmd_len; in php_exec_ex() local 208 Z_PARAM_STRING(cmd, cmd_len) in php_exec_ex() 216 if (!cmd_len) { in php_exec_ex() 220 if (strlen(cmd) != cmd_len) { in php_exec_ex()
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_prompt.c | 211 size_t cmd_len = strlen(cmd); in phpdbg_line_init() local 215 while (cmd_len > 0L && isspace(cmd[cmd_len-1])) { in phpdbg_line_init() 216 cmd_len--; in phpdbg_line_init() 219 cmd[cmd_len] = '\0'; in phpdbg_line_init() 221 if (*cmd && cmd_len > 0L && cmd[0] != '#') { in phpdbg_line_init() 222 if (cmd_len == 2) { in phpdbg_line_init() 240 state->code = malloc(cmd_len + 1); in phpdbg_line_init() 242 state->code = realloc(state->code, state->code_len + cmd_len + 1); in phpdbg_line_init() 246 memcpy(&state->code[state->code_len], cmd, cmd_len); in phpdbg_line_init() 247 state->code_len += cmd_len; in phpdbg_line_init()
|
Completed in 42 milliseconds