198 if (hMapFile ==
NULL)
262 static const char module[] =
"TIFFOpen";
276 default:
return ((
TIFF*)0);
301 static const char module[] =
"TIFFOpenW";
317 default:
return ((
TIFF*)0);
336 "Can't allocate space for filename conversion buffer");
345 (mbname !=
NULL) ? mbname :
"<unknown>",
mode);
360 return ((
void *)
NULL);
367 if( nmemb == 0 || siz == 0 )
368 return ((
void *)
NULL);
370 return calloc((
size_t) nmemb, (
size_t)siz);
400 return (
memcmp(p1, p2, (
size_t)
c));
406# define vsnprintf _vsnprintf
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
#define INVALID_SET_FILE_POINTER
#define ReadFile(a, b, c, d, e)
#define INVALID_HANDLE_VALUE
#define CreateFileA(a, b, c, d, e, f, g)
#define FILE_ATTRIBUTE_NORMAL
#define WideCharToMultiByte
DWORD WINAPI GetFileSize(HANDLE hFile, LPDWORD lpFileSizeHigh)
BOOL WINAPI WriteFile(IN HANDLE hFile, IN LPCVOID lpBuffer, IN DWORD nNumberOfBytesToWrite OPTIONAL, OUT LPDWORD lpNumberOfBytesWritten, IN LPOVERLAPPED lpOverlapped OPTIONAL)
GLenum GLuint GLenum GLsizei const GLchar * buf
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
_Check_return_opt_ _CRTIMP int __cdecl vfprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format, va_list _ArgList)
#define memcpy(s1, s2, n)
#define FILE_ATTRIBUTE_READONLY
_Must_inspect_result_ _Out_ LPSIZE psize
void TIFFErrorExt(thandle_t fd, const char *module, const char *fmt,...)
TIFF * TIFFClientOpen(const char *name, const char *mode, thandle_t clientdata, TIFFReadWriteProc readproc, TIFFReadWriteProc writeproc, TIFFSeekProc seekproc, TIFFCloseProc closeproc, TIFFSizeProc sizeproc, TIFFMapFileProc mapproc, TIFFUnmapFileProc unmapproc)
int _TIFFgetMode(const char *mode, const char *module)
static tmsize_t _tiffReadProc(thandle_t fd, void *buf, tmsize_t size)
TIFF * TIFFFdOpen(int ifd, const char *name, const char *mode)
static void Win32WarningHandler(const char *module, const char *fmt, va_list ap)
TIFFErrorHandler _TIFFwarningHandler
TIFF * TIFFOpen(const char *name, const char *mode)
static void _tiffUnmapProc(thandle_t fd, void *base, toff_t size)
static void _tiffDummyUnmapProc(thandle_t fd, void *base, toff_t size)
static tmsize_t _tiffWriteProc(thandle_t fd, void *buf, tmsize_t size)
static void Win32ErrorHandler(const char *module, const char *fmt, va_list ap)
static uint64 _tiffSeekProc(thandle_t fd, uint64 off, int whence)
void * _TIFFcalloc(tmsize_t nmemb, tmsize_t siz)
TIFF * TIFFOpenW(const wchar_t *name, const char *mode)
void _TIFFmemset(void *p, int v, tmsize_t c)
void * _TIFFmalloc(tmsize_t s)
static int _tiffCloseProc(thandle_t fd)
int _TIFFmemcmp(const void *p1, const void *p2, tmsize_t c)
static int _tiffDummyMapProc(thandle_t fd, void **pbase, toff_t *psize)
static int _tiffMapProc(thandle_t fd, void **pbase, toff_t *psize)
TIFFErrorHandler _TIFFerrorHandler
void _TIFFmemcpy(void *d, const void *s, tmsize_t c)
static uint64 _tiffSizeProc(thandle_t fd)
void * _TIFFrealloc(void *p, tmsize_t s)
void(* TIFFErrorHandler)(const char *, const char *, va_list)
DWORD WINAPI GetLastError(void)
#define CreateFileMapping
void int int ULONGLONG int va_list * ap