Lines Matching refs:tmp_line
68 #define GET_FTP_RESULT(stream) get_ftp_result((stream), tmp_line, sizeof(tmp_line))
104 char tmp_line[512]; in php_stream_ftp_stream_close() local
110 php_error_docref(NULL, E_WARNING, "FTP server error %d:%s", result, tmp_line); in php_stream_ftp_stream_close()
132 char tmp_line[512]; in php_ftp_fopen_connect() local
164 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_ftp_fopen_connect()
255 php_stream_notify_info(context, PHP_STREAM_NOTIFY_AUTH_REQUIRED, tmp_line, 0); in php_ftp_fopen_connect()
277 php_stream_notify_error(context, PHP_STREAM_NOTIFY_AUTH_RESULT, tmp_line, result); in php_ftp_fopen_connect()
279 php_stream_notify_info(context, PHP_STREAM_NOTIFY_AUTH_RESULT, tmp_line, result); in php_ftp_fopen_connect()
315 char tmp_line[512]; in php_fopen_do_pasv() local
338 tpath = tmp_line; in php_fopen_do_pasv()
375 for (i = 0, tpath = tmp_line + 4; *tpath; tpath++) { in php_fopen_do_pasv()
408 char tmp_line[512]; in php_stream_url_wrap_ftp() local
422 tmp_line[0] = '\0'; in php_stream_url_wrap_ftp()
482 sizestr = strchr(tmp_line, ' '); in php_stream_url_wrap_ftp()
486 php_stream_notify_file_size(context, file_size, tmp_line, result); in php_stream_url_wrap_ftp()
533 memcpy(tmp_line, "RETR", sizeof("RETR")); in php_stream_url_wrap_ftp()
536 memcpy(tmp_line, "STOR", sizeof("STOR")); in php_stream_url_wrap_ftp()
539 memcpy(tmp_line, "APPE", sizeof("APPE")); in php_stream_url_wrap_ftp()
541 …php_stream_printf(stream, "%s %s\r\n", tmp_line, (resource->path != NULL ? ZSTR_VAL(resource->path… in php_stream_url_wrap_ftp()
551 tmp_line[0]='\0'; in php_stream_url_wrap_ftp()
575 tmp_line[0]='\0'; in php_stream_url_wrap_ftp()
590 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_url_wrap_ftp()
593 if (tmp_line[0] != '\0') in php_stream_url_wrap_ftp()
594 php_stream_wrapper_log_error(wrapper, options, "FTP server reports %s", tmp_line); in php_stream_url_wrap_ftp()
688 char *hoststart = NULL, tmp_line[512]; in php_stream_ftp_opendir() local
692 tmp_line[0] = '\0'; in php_stream_ftp_opendir()
706 tmp_line[0] = '\0'; in php_stream_ftp_opendir()
762 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_ftp_opendir()
765 if (tmp_line[0] != '\0') { in php_stream_ftp_opendir()
766 php_stream_wrapper_log_error(wrapper, options, "FTP server reports %s", tmp_line); in php_stream_ftp_opendir()
778 char tmp_line[512]; in php_stream_ftp_url_stat() local
817 ssb->sb.st_size = atoi(tmp_line + 4); in php_stream_ftp_url_stat()
823 char *p = tmp_line + 4; in php_stream_ftp_url_stat()
828 while ((size_t)(p - tmp_line) < sizeof(tmp_line) && !isdigit(*p)) { in php_stream_ftp_url_stat()
832 if ((size_t)(p - tmp_line) > sizeof(tmp_line)) { in php_stream_ftp_url_stat()
900 char tmp_line[512]; in php_stream_ftp_unlink() local
923 php_error_docref(NULL, E_WARNING, "Error Deleting file: %s", tmp_line); in php_stream_ftp_unlink()
949 char tmp_line[512]; in php_stream_ftp_rename() local
986 php_error_docref(NULL, E_WARNING, "Error Renaming file: %s", tmp_line); in php_stream_ftp_rename()
997 php_error_docref(NULL, E_WARNING, "Error Renaming file: %s", tmp_line); in php_stream_ftp_rename()
1027 char tmp_line[512]; in php_stream_ftp_mkdir() local
1080 php_error_docref(NULL, E_WARNING, "%s", tmp_line); in php_stream_ftp_mkdir()
1119 char tmp_line[512]; in php_stream_ftp_rmdir() local
1141 php_error_docref(NULL, E_WARNING, "%s", tmp_line); in php_stream_ftp_rmdir()