Home
last modified time | relevance | path

Searched refs:GIF_STAMP_LEN (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/images/
DSkImageDecoder_libgif.cpp342 char buf[GIF_STAMP_LEN]; in Factory()
343 if (stream->read(buf, GIF_STAMP_LEN) == GIF_STAMP_LEN) { in Factory()
344 if (memcmp(GIF_STAMP, buf, GIF_STAMP_LEN) == 0 || in Factory()
345 memcmp(GIF87_STAMP, buf, GIF_STAMP_LEN) == 0 || in Factory()
346 memcmp(GIF89_STAMP, buf, GIF_STAMP_LEN) == 0) { in Factory()
DSkMovie_gif.cpp430 char buf[GIF_STAMP_LEN]; in Factory()
431 if (stream->read(buf, GIF_STAMP_LEN) == GIF_STAMP_LEN) { in Factory()
432 if (memcmp(GIF_STAMP, buf, GIF_STAMP_LEN) == 0 || in Factory()
433 memcmp(GIF87_STAMP, buf, GIF_STAMP_LEN) == 0 || in Factory()
434 memcmp(GIF89_STAMP, buf, GIF_STAMP_LEN) == 0) { in Factory()
/external/giflib/
Ddgif_lib.c92 unsigned char Buf[GIF_STAMP_LEN + 1]; in DGifOpenFileHandle()
132 if (READ(GifFile, Buf, GIF_STAMP_LEN) != GIF_STAMP_LEN) { in DGifOpenFileHandle()
142 Buf[GIF_STAMP_LEN] = 0; in DGifOpenFileHandle()
172 unsigned char Buf[GIF_STAMP_LEN + 1]; in DGifOpen()
200 if (READ(GifFile, Buf, GIF_STAMP_LEN) != GIF_STAMP_LEN) { in DGifOpen()
209 Buf[GIF_STAMP_LEN] = 0; in DGifOpen()
Dgif_lib.h40 #define GIF_STAMP_LEN sizeof(GIF_STAMP) - 1 macro