Lines Matching refs:tmp_line

73 #define GET_FTP_RESULT(stream)	get_ftp_result((stream), tmp_line, sizeof(tmp_line) TSRMLS_CC)
111 char tmp_line[512]; in php_stream_ftp_stream_close() local
117 php_error_docref(NULL TSRMLS_CC, E_WARNING, "FTP server error %d:%s", result, tmp_line); in php_stream_ftp_stream_close()
139 char tmp_line[512]; in php_ftp_fopen_connect() local
171 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_ftp_fopen_connect()
261 php_stream_notify_info(context, PHP_STREAM_NOTIFY_AUTH_REQUIRED, tmp_line, 0); in php_ftp_fopen_connect()
283 php_stream_notify_error(context, PHP_STREAM_NOTIFY_AUTH_RESULT, tmp_line, result); in php_ftp_fopen_connect()
285 php_stream_notify_info(context, PHP_STREAM_NOTIFY_AUTH_RESULT, tmp_line, result); in php_ftp_fopen_connect()
324 char tmp_line[512]; in php_fopen_do_pasv() local
347 tpath = tmp_line; in php_fopen_do_pasv()
384 for (i = 0, tpath = tmp_line + 4; *tpath; tpath++) { in php_fopen_do_pasv()
417 char tmp_line[512]; in php_stream_url_wrap_ftp() local
430 tmp_line[0] = '\0'; in php_stream_url_wrap_ftp()
490 sizestr = strchr(tmp_line, ' '); in php_stream_url_wrap_ftp()
494 php_stream_notify_file_size(context, file_size, tmp_line, result); in php_stream_url_wrap_ftp()
541 memcpy(tmp_line, "RETR", sizeof("RETR")); in php_stream_url_wrap_ftp()
544 memcpy(tmp_line, "STOR", sizeof("STOR")); in php_stream_url_wrap_ftp()
547 memcpy(tmp_line, "APPE", sizeof("APPE")); in php_stream_url_wrap_ftp()
549 …php_stream_printf(stream TSRMLS_CC, "%s %s\r\n", tmp_line, (resource->path != NULL ? resource->pat… in php_stream_url_wrap_ftp()
596 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_url_wrap_ftp()
599 if (tmp_line[0] != '\0') in php_stream_url_wrap_ftp()
600 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "FTP server reports %s", tmp_line); in php_stream_url_wrap_ftp()
700 char *hoststart = NULL, tmp_line[512]; in php_stream_ftp_opendir() local
704 tmp_line[0] = '\0'; in php_stream_ftp_opendir()
771 php_stream_notify_error(context, PHP_STREAM_NOTIFY_FAILURE, tmp_line, result); in php_stream_ftp_opendir()
774 if (tmp_line[0] != '\0') { in php_stream_ftp_opendir()
775 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "FTP server reports %s", tmp_line); in php_stream_ftp_opendir()
788 char tmp_line[512]; in php_stream_ftp_url_stat() local
827 ssb->sb.st_size = atoi(tmp_line + 4); in php_stream_ftp_url_stat()
833 char *p = tmp_line + 4; in php_stream_ftp_url_stat()
838 while (p - tmp_line < sizeof(tmp_line) && !isdigit(*p)) { in php_stream_ftp_url_stat()
842 if (p - tmp_line > sizeof(tmp_line)) { in php_stream_ftp_url_stat()
911 char tmp_line[512]; in php_stream_ftp_unlink() local
934 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error Deleting file: %s", tmp_line); in php_stream_ftp_unlink()
961 char tmp_line[512]; in php_stream_ftp_rename() local
998 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error Renaming file: %s", tmp_line); in php_stream_ftp_rename()
1009 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error Renaming file: %s", tmp_line); in php_stream_ftp_rename()
1040 char tmp_line[512]; in php_stream_ftp_mkdir() local
1095 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", tmp_line); in php_stream_ftp_mkdir()
1134 char tmp_line[512]; in php_stream_ftp_rmdir() local
1156 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", tmp_line); in php_stream_ftp_rmdir()