Lines Matching refs:tmp_line
73 #define GET_FTP_RESULT(stream) get_ftp_result((stream), tmp_line, sizeof(tmp_line))
112 char tmp_line[512]; in php_stream_ftp_stream_close() local
118 php_error_docref(NULL, E_WARNING, "FTP server error %d:%s", result, tmp_line); in php_stream_ftp_stream_close()
141 char tmp_line[512]; in php_ftp_fopen_connect() local
173 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_ftp_fopen_connect()
264 php_stream_notify_info(context, PHP_STREAM_NOTIFY_AUTH_REQUIRED, tmp_line, 0); in php_ftp_fopen_connect()
286 php_stream_notify_error(context, PHP_STREAM_NOTIFY_AUTH_RESULT, tmp_line, result); in php_ftp_fopen_connect()
288 php_stream_notify_info(context, PHP_STREAM_NOTIFY_AUTH_RESULT, tmp_line, result); in php_ftp_fopen_connect()
327 char tmp_line[512]; in php_fopen_do_pasv() local
350 tpath = tmp_line; in php_fopen_do_pasv()
387 for (i = 0, tpath = tmp_line + 4; *tpath; tpath++) { in php_fopen_do_pasv()
421 char tmp_line[512]; in php_stream_url_wrap_ftp() local
435 tmp_line[0] = '\0'; in php_stream_url_wrap_ftp()
495 sizestr = strchr(tmp_line, ' '); in php_stream_url_wrap_ftp()
499 php_stream_notify_file_size(context, file_size, tmp_line, result); in php_stream_url_wrap_ftp()
546 memcpy(tmp_line, "RETR", sizeof("RETR")); in php_stream_url_wrap_ftp()
549 memcpy(tmp_line, "STOR", sizeof("STOR")); in php_stream_url_wrap_ftp()
552 memcpy(tmp_line, "APPE", sizeof("APPE")); in php_stream_url_wrap_ftp()
554 php_stream_printf(stream, "%s %s\r\n", tmp_line, (resource->path != NULL ? resource->path : "/")); in php_stream_url_wrap_ftp()
564 tmp_line[0]='\0'; in php_stream_url_wrap_ftp()
588 tmp_line[0]='\0'; in php_stream_url_wrap_ftp()
603 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_url_wrap_ftp()
606 if (tmp_line[0] != '\0') in php_stream_url_wrap_ftp()
607 php_stream_wrapper_log_error(wrapper, options, "FTP server reports %s", tmp_line); in php_stream_url_wrap_ftp()
703 char *hoststart = NULL, tmp_line[512]; in php_stream_ftp_opendir() local
707 tmp_line[0] = '\0'; in php_stream_ftp_opendir()
721 tmp_line[0] = '\0'; in php_stream_ftp_opendir()
777 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_ftp_opendir()
780 if (tmp_line[0] != '\0') { in php_stream_ftp_opendir()
781 php_stream_wrapper_log_error(wrapper, options, "FTP server reports %s", tmp_line); in php_stream_ftp_opendir()
794 char tmp_line[512]; in php_stream_ftp_url_stat() local
833 ssb->sb.st_size = atoi(tmp_line + 4); in php_stream_ftp_url_stat()
839 char *p = tmp_line + 4; in php_stream_ftp_url_stat()
844 while ((size_t)(p - tmp_line) < sizeof(tmp_line) && !isdigit(*p)) { in php_stream_ftp_url_stat()
848 if ((size_t)(p - tmp_line) > sizeof(tmp_line)) { in php_stream_ftp_url_stat()
917 char tmp_line[512]; in php_stream_ftp_unlink() local
940 php_error_docref(NULL, E_WARNING, "Error Deleting file: %s", tmp_line); in php_stream_ftp_unlink()
967 char tmp_line[512]; in php_stream_ftp_rename() local
1004 php_error_docref(NULL, E_WARNING, "Error Renaming file: %s", tmp_line); in php_stream_ftp_rename()
1015 php_error_docref(NULL, E_WARNING, "Error Renaming file: %s", tmp_line); in php_stream_ftp_rename()
1046 char tmp_line[512]; in php_stream_ftp_mkdir() local
1101 php_error_docref(NULL, E_WARNING, "%s", tmp_line); in php_stream_ftp_mkdir()
1140 char tmp_line[512]; in php_stream_ftp_rmdir() local
1162 php_error_docref(NULL, E_WARNING, "%s", tmp_line); in php_stream_ftp_rmdir()