Home
last modified time | relevance | path

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

/external/skia/src/images/
DSkImageDecoder_libgif.cpp514 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) {
DSkMovie_gif.cpp439 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/
Ddgif_lib.c73 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()
Dgif_lib.h25 #define GIF_STAMP_LEN sizeof(GIF_STAMP) - 1 macro
/external/skia/src/codec/
DSkGifCodec.cpp22 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()