Home
last modified time | relevance | path

Searched refs:cmd_len (Results 1 – 5 of 5) sorted by relevance

/PHP-7.2/ext/ftp/
H A Dftp.h124 int ftp_exec(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len);
127 void ftp_raw(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len, zval *return_value);
211 int ftp_site(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len);
H A Dftp.c74 const size_t cmd_len,
483 ftp_exec(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len) in ftp_exec() argument
488 if (!ftp_putcmd(ftp, "SITE EXEC", sizeof("SITE EXEC")-1, cmd, cmd_len)) { in ftp_exec()
502 ftp_raw(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len, zval *return_value) in ftp_raw() argument
507 if (!ftp_putcmd(ftp, cmd, cmd_len, NULL, (size_t) 0)) { in ftp_raw()
1248 ftp_site(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len) in ftp_site() argument
1253 if (!ftp_putcmd(ftp, "SITE", sizeof("SITE")-1, cmd, cmd_len)) { in ftp_site()
1269 ftp_putcmd(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len, const char *args, const size_t arg… in ftp_putcmd() argument
1280 if (cmd_len + args_len + 4 > FTP_BUFSIZE) { in ftp_putcmd()
1289 if (cmd_len + 3 > FTP_BUFSIZE) { in ftp_putcmd()
[all …]
H A Dphp_ftp.c549 size_t cmd_len; in PHP_FUNCTION() local
551 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
560 if (!ftp_exec(ftp, cmd, cmd_len)) { in PHP_FUNCTION()
576 size_t cmd_len; in PHP_FUNCTION() local
578 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
587 ftp_raw(ftp, cmd, cmd_len, return_value); in PHP_FUNCTION()
1486 size_t cmd_len; in PHP_FUNCTION() local
1488 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_ftp, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
1497 if (!ftp_site(ftp, cmd, cmd_len)) { in PHP_FUNCTION()
/PHP-7.2/ext/standard/
H A Dexec.c212 size_t cmd_len; in php_exec_ex() local
217 Z_PARAM_STRING(cmd, cmd_len) in php_exec_ex()
225 if (!cmd_len) { in php_exec_ex()
229 if (strlen(cmd) != cmd_len) { in php_exec_ex()
/PHP-7.2/sapi/phpdbg/
H A Dphpdbg_prompt.c220 size_t cmd_len = strlen(cmd); in phpdbg_line_init() local
224 while (cmd_len > 0L && isspace(cmd[cmd_len-1])) { in phpdbg_line_init()
225 cmd_len--; in phpdbg_line_init()
228 cmd[cmd_len] = '\0'; in phpdbg_line_init()
230 if (*cmd && cmd_len > 0L && cmd[0] != '#') { in phpdbg_line_init()
231 if (cmd_len == 2) { in phpdbg_line_init()
249 state->code = malloc(cmd_len + 1); in phpdbg_line_init()
251 state->code = realloc(state->code, state->code_len + cmd_len + 1); in phpdbg_line_init()
255 memcpy(&state->code[state->code_len], cmd, cmd_len); in phpdbg_line_init()
256 state->code_len += cmd_len; in phpdbg_line_init()

Completed in 326 milliseconds