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()
317 char tmp_line[512]; in php_fopen_do_pasv() local
340 tpath = tmp_line; in php_fopen_do_pasv()
377 for (i = 0, tpath = tmp_line + 4; *tpath; tpath++) { in php_fopen_do_pasv()
410 char tmp_line[512]; in php_stream_url_wrap_ftp() local
424 tmp_line[0] = '\0'; in php_stream_url_wrap_ftp()
484 sizestr = strchr(tmp_line, ' '); in php_stream_url_wrap_ftp()
488 php_stream_notify_file_size(context, file_size, tmp_line, result); in php_stream_url_wrap_ftp()
535 memcpy(tmp_line, "RETR", sizeof("RETR")); in php_stream_url_wrap_ftp()
538 memcpy(tmp_line, "STOR", sizeof("STOR")); in php_stream_url_wrap_ftp()
541 memcpy(tmp_line, "APPE", sizeof("APPE")); in php_stream_url_wrap_ftp()
543 …php_stream_printf(stream, "%s %s\r\n", tmp_line, (resource->path != NULL ? ZSTR_VAL(resource->path… in php_stream_url_wrap_ftp()
553 tmp_line[0]='\0'; in php_stream_url_wrap_ftp()
577 tmp_line[0]='\0'; in php_stream_url_wrap_ftp()
592 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_url_wrap_ftp()
595 if (tmp_line[0] != '\0') in php_stream_url_wrap_ftp()
596 php_stream_wrapper_log_error(wrapper, options, "FTP server reports %s", tmp_line); in php_stream_url_wrap_ftp()
689 char *hoststart = NULL, tmp_line[512]; in php_stream_ftp_opendir() local
693 tmp_line[0] = '\0'; in php_stream_ftp_opendir()
707 tmp_line[0] = '\0'; in php_stream_ftp_opendir()
763 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_ftp_opendir()
766 if (tmp_line[0] != '\0') { in php_stream_ftp_opendir()
767 php_stream_wrapper_log_error(wrapper, options, "FTP server reports %s", tmp_line); in php_stream_ftp_opendir()
779 char tmp_line[512]; in php_stream_ftp_url_stat() local
818 ssb->sb.st_size = atoi(tmp_line + 4); in php_stream_ftp_url_stat()
824 char *p = tmp_line + 4; in php_stream_ftp_url_stat()
829 while ((size_t)(p - tmp_line) < sizeof(tmp_line) && !isdigit(*p)) { in php_stream_ftp_url_stat()
833 if ((size_t)(p - tmp_line) > sizeof(tmp_line)) { in php_stream_ftp_url_stat()
901 char tmp_line[512]; in php_stream_ftp_unlink() local
924 php_error_docref(NULL, E_WARNING, "Error Deleting file: %s", tmp_line); in php_stream_ftp_unlink()
950 char tmp_line[512]; in php_stream_ftp_rename() local
987 php_error_docref(NULL, E_WARNING, "Error Renaming file: %s", tmp_line); in php_stream_ftp_rename()
998 php_error_docref(NULL, E_WARNING, "Error Renaming file: %s", tmp_line); in php_stream_ftp_rename()
1028 char tmp_line[512]; in php_stream_ftp_mkdir() local
1081 php_error_docref(NULL, E_WARNING, "%s", tmp_line); in php_stream_ftp_mkdir()
1120 char tmp_line[512]; in php_stream_ftp_rmdir() local
1142 php_error_docref(NULL, E_WARNING, "%s", tmp_line); in php_stream_ftp_rmdir()