Home
last modified time | relevance | path

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

/third_party/giflib/
Ddgif_lib.c79 char Buf[GIF_STAMP_LEN + 1]; in DGifOpenFileHandle()
126 if (InternalRead(GifFile, (unsigned char *)Buf, GIF_STAMP_LEN) != GIF_STAMP_LEN) { in DGifOpenFileHandle()
136 Buf[GIF_STAMP_LEN] = 0; in DGifOpenFileHandle()
167 char Buf[GIF_STAMP_LEN + 1]; in DGifOpen()
203 if (InternalRead(GifFile, (unsigned char *)Buf, GIF_STAMP_LEN) != GIF_STAMP_LEN) { in DGifOpen()
212 Buf[GIF_STAMP_LEN] = '\0'; in DGifOpen()
Dgif_lib.h27 #define GIF_STAMP_LEN sizeof(GIF_STAMP) - 1 macro
/third_party/skia/third_party/externals/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()
/third_party/flutter/skia/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()
/third_party/skia/third_party/externals/libwebp/examples/
Danim_util.c295 return data->size > GIF_STAMP_LEN && in IsGIF()
296 (!memcmp(GIF_STAMP, data->bytes, GIF_STAMP_LEN) || in IsGIF()
297 !memcmp(GIF87_STAMP, data->bytes, GIF_STAMP_LEN) || in IsGIF()
298 !memcmp(GIF89_STAMP, data->bytes, GIF_STAMP_LEN)); in IsGIF()
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Danim_util.c295 return data->size > GIF_STAMP_LEN && in IsGIF()
296 (!memcmp(GIF_STAMP, data->bytes, GIF_STAMP_LEN) || in IsGIF()
297 !memcmp(GIF87_STAMP, data->bytes, GIF_STAMP_LEN) || in IsGIF()
298 !memcmp(GIF89_STAMP, data->bytes, GIF_STAMP_LEN)); in IsGIF()