Home
last modified time | relevance | path

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

/external/skia/third_party/libgifcodec/
DSkLibGifCodec.cpp44 #define GIF_STAMP_LEN 6 macro
50 if (bytesRead >= GIF_STAMP_LEN) { in IsGif()
51 if (memcmp(GIF87_STAMP, buf, GIF_STAMP_LEN) == 0 || in IsGif()
52 memcmp(GIF89_STAMP, buf, GIF_STAMP_LEN) == 0) in IsGif()
/external/skqp/src/codec/
DSkGifCodec.cpp46 #define GIF_STAMP_LEN 6 macro
52 if (bytesRead >= GIF_STAMP_LEN) { in IsGif()
53 if (memcmp(GIF87_STAMP, buf, GIF_STAMP_LEN) == 0 || in IsGif()
54 memcmp(GIF89_STAMP, buf, GIF_STAMP_LEN) == 0) in IsGif()
/external/giflib/
Ddgif_lib.c73 char Buf[GIF_STAMP_LEN + 1]; in DGifOpenFileHandle()
120 if (READ(GifFile, (unsigned char *)Buf, GIF_STAMP_LEN) != GIF_STAMP_LEN) { in DGifOpenFileHandle()
130 Buf[GIF_STAMP_LEN] = 0; in DGifOpenFileHandle()
161 char Buf[GIF_STAMP_LEN + 1]; in DGifOpen()
197 if (READ(GifFile, (unsigned char *)Buf, GIF_STAMP_LEN) != GIF_STAMP_LEN) { in DGifOpen()
206 Buf[GIF_STAMP_LEN] = '\0'; in DGifOpen()
Dgif_lib.h25 #define GIF_STAMP_LEN sizeof(GIF_STAMP) - 1 macro