60{
62
63
66
78 INT NumberOfOptions = 0;
81
82
84
85
87 {
89 {
91 {
94 NumberOfOptions++;
95 break;
96
99 NumberOfOptions++;
100 break;
101
105
106 default:
110 }
111 }
112 }
113
114 if (
argc - NumberOfOptions == 3)
115 {
118 }
119 else
120 {
123 }
124
127 {
131 }
132
135 {
139 }
140
142 {
146 }
148 {
152 }
153
155
157 if (FileSizeFile1 == -1)
158 {
162 }
163
165 if (FileSizeFile2 == -1)
166 {
170 }
171
172 if (FileSizeFile1 != FileSizeFile2)
173 {
177 }
178
181 while (1)
182 {
185
187 {
191 }
192
193 if (!BufLen1 && !BufLen2)
194 break;
195
196 assert(BufLen1 == BufLen2);
197 for (
i = 0;
i < BufLen1;
i++)
198 {
199 if (Buff1[
i] != Buff2[
i])
200 {
201 FilesOK = 0;
202
203
204 if (bLineNos)
206 else
208
209 if (bAscii)
210 {
213 }
214 else
215 {
218 }
219 }
220
222
223 if (Buff1[
i] ==
'\n')
225 }
226 }
227
228 if (FilesOK)
230
232 if (fp2)
234 if (fp1)
236
237 if (Buff2)
239 if (Buff1)
241
243}
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 LineNumber
#define IDS_FILESIZEERROR
#define IDS_HEXADECIMALDIFF
#define IDS_INVALIDSWITCH
#define IDS_MISMATCHOFFSET
void ConPuts(FILE *fp, LPCWSTR psz)
#define ConInitStdStreams()
void ConResPrintf(FILE *fp, UINT nID,...)
void ConResPuts(FILE *fp, UINT nID)
INT GetBuff(PBYTE buff, FILE *in)
static const WCHAR Cleanup[]
_Must_inspect_result_ _Out_ PLARGE_INTEGER FileSize
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_Check_return_ _CRTIMP int __cdecl ferror(_In_ FILE *_File)
_Check_return_ _CRTIMP FILE *__cdecl _wfopen(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_Mode)
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
_In_ ULONG _In_ ULONG Offset
_CRTIMP wchar_t *__cdecl wcsncpy(wchar_t *_Dest, const wchar_t *_Source, size_t _Count)