Searched refs:GIF_STAMP_LEN (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/images/ |
D | SkImageDecoder_libgif.cpp | 514 char buf[GIF_STAMP_LEN]; 515 if (stream->read(buf, GIF_STAMP_LEN) == GIF_STAMP_LEN) { 516 if (memcmp(GIF_STAMP, buf, GIF_STAMP_LEN) == 0 || 517 memcmp(GIF87_STAMP, buf, GIF_STAMP_LEN) == 0 || 518 memcmp(GIF89_STAMP, buf, GIF_STAMP_LEN) == 0) {
|
D | SkMovie_gif.cpp | 439 char buf[GIF_STAMP_LEN]; in Factory() 440 if (stream->read(buf, GIF_STAMP_LEN) == GIF_STAMP_LEN) { in Factory() 441 if (memcmp(GIF_STAMP, buf, GIF_STAMP_LEN) == 0 || in Factory() 442 memcmp(GIF87_STAMP, buf, GIF_STAMP_LEN) == 0 || in Factory() 443 memcmp(GIF89_STAMP, buf, GIF_STAMP_LEN) == 0) { in Factory()
|
/external/giflib/ |
D | dgif_lib.c | 73 char Buf[GIF_STAMP_LEN + 1]; in DGifOpenFileHandle() 117 if (READ(GifFile, (unsigned char *)Buf, GIF_STAMP_LEN) != GIF_STAMP_LEN) { in DGifOpenFileHandle() 127 Buf[GIF_STAMP_LEN] = 0; in DGifOpenFileHandle() 158 char Buf[GIF_STAMP_LEN + 1]; in DGifOpen() 193 if (READ(GifFile, (unsigned char *)Buf, GIF_STAMP_LEN) != GIF_STAMP_LEN) { in DGifOpen() 202 Buf[GIF_STAMP_LEN] = '\0'; in DGifOpen()
|
D | gif_lib.h | 25 #define GIF_STAMP_LEN sizeof(GIF_STAMP) - 1 macro
|
/external/skia/src/codec/ |
D | SkGifCodec.cpp | 22 if (bytesRead >= GIF_STAMP_LEN) { in IsGif() 23 if (memcmp(GIF_STAMP, buf, GIF_STAMP_LEN) == 0 || in IsGif() 24 memcmp(GIF87_STAMP, buf, GIF_STAMP_LEN) == 0 || in IsGif() 25 memcmp(GIF89_STAMP, buf, GIF_STAMP_LEN) == 0) in IsGif()
|