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
434 tmp_line[0] = '\0'; in php_stream_url_wrap_ftp()
494 sizestr = strchr(tmp_line, ' '); in php_stream_url_wrap_ftp()
498 php_stream_notify_file_size(context, file_size, tmp_line, result); in php_stream_url_wrap_ftp()
545 memcpy(tmp_line, "RETR", sizeof("RETR")); in php_stream_url_wrap_ftp()
548 memcpy(tmp_line, "STOR", sizeof("STOR")); in php_stream_url_wrap_ftp()
551 memcpy(tmp_line, "APPE", sizeof("APPE")); in php_stream_url_wrap_ftp()
553 php_stream_printf(stream, "%s %s\r\n", tmp_line, (resource->path != NULL ? resource->path : "/")); in php_stream_url_wrap_ftp()
600 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_url_wrap_ftp()
603 if (tmp_line[0] != '\0') in php_stream_url_wrap_ftp()
604 php_stream_wrapper_log_error(wrapper, options, "FTP server reports %s", tmp_line); in php_stream_url_wrap_ftp()
695 char *hoststart = NULL, tmp_line[512]; in php_stream_ftp_opendir() local
699 tmp_line[0] = '\0'; in php_stream_ftp_opendir()
713 tmp_line[0] = '\0'; in php_stream_ftp_opendir()
769 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_ftp_opendir()
772 if (tmp_line[0] != '\0') { in php_stream_ftp_opendir()
773 php_stream_wrapper_log_error(wrapper, options, "FTP server reports %s", tmp_line); in php_stream_ftp_opendir()
786 char tmp_line[512]; in php_stream_ftp_url_stat() local
825 ssb->sb.st_size = atoi(tmp_line + 4); in php_stream_ftp_url_stat()
831 char *p = tmp_line + 4; in php_stream_ftp_url_stat()
836 while (p - tmp_line < sizeof(tmp_line) && !isdigit(*p)) { in php_stream_ftp_url_stat()
840 if (p - tmp_line > sizeof(tmp_line)) { in php_stream_ftp_url_stat()
909 char tmp_line[512]; in php_stream_ftp_unlink() local
932 php_error_docref(NULL, E_WARNING, "Error Deleting file: %s", tmp_line); in php_stream_ftp_unlink()
959 char tmp_line[512]; in php_stream_ftp_rename() local
996 php_error_docref(NULL, E_WARNING, "Error Renaming file: %s", tmp_line); in php_stream_ftp_rename()
1007 php_error_docref(NULL, E_WARNING, "Error Renaming file: %s", tmp_line); in php_stream_ftp_rename()
1038 char tmp_line[512]; in php_stream_ftp_mkdir() local
1093 php_error_docref(NULL, E_WARNING, "%s", tmp_line); in php_stream_ftp_mkdir()
1132 char tmp_line[512]; in php_stream_ftp_rmdir() local
1154 php_error_docref(NULL, E_WARNING, "%s", tmp_line); in php_stream_ftp_rmdir()