TAG_SIZE 68 third_party/libwebp/dec/webp.c if (*data_size >= RIFF_HEADER_SIZE && !memcmp(*data, "RIFF", TAG_SIZE)) { TAG_SIZE 69 third_party/libwebp/dec/webp.c if (memcmp(*data + 8, "WEBP", TAG_SIZE)) { TAG_SIZE 72 third_party/libwebp/dec/webp.c const uint32_t size = get_le32(*data + TAG_SIZE); TAG_SIZE 74 third_party/libwebp/dec/webp.c if (size < TAG_SIZE + CHUNK_HEADER_SIZE) { TAG_SIZE 112 third_party/libwebp/dec/webp.c if (!memcmp(*data, "VP8X", TAG_SIZE)) { TAG_SIZE 115 third_party/libwebp/dec/webp.c const uint32_t chunk_size = get_le32(*data + TAG_SIZE); TAG_SIZE 156 third_party/libwebp/dec/webp.c uint32_t total_size = TAG_SIZE + // "WEBP". TAG_SIZE 180 third_party/libwebp/dec/webp.c chunk_size = get_le32(buf + TAG_SIZE); TAG_SIZE 197 third_party/libwebp/dec/webp.c if (!memcmp(buf, "VP8 ", TAG_SIZE) || TAG_SIZE 198 third_party/libwebp/dec/webp.c !memcmp(buf, "VP8L", TAG_SIZE)) { TAG_SIZE 206 third_party/libwebp/dec/webp.c if (!memcmp(buf, "ALPH", TAG_SIZE)) { // A valid ALPH header. TAG_SIZE 231 third_party/libwebp/dec/webp.c const int is_vp8 = !memcmp(data, "VP8 ", TAG_SIZE); TAG_SIZE 232 third_party/libwebp/dec/webp.c const int is_vp8l = !memcmp(data, "VP8L", TAG_SIZE); TAG_SIZE 234 third_party/libwebp/dec/webp.c TAG_SIZE + CHUNK_HEADER_SIZE; // "WEBP" + "VP8 nnnn" OR TAG_SIZE 247 third_party/libwebp/dec/webp.c const uint32_t size = get_le32(data + TAG_SIZE); TAG_SIZE 339 third_party/libwebp/dec/webp.c if (data_size < TAG_SIZE) return VP8_STATUS_NOT_ENOUGH_DATA; TAG_SIZE 343 third_party/libwebp/dec/webp.c (!found_riff && !found_vp8x && !memcmp(data, "ALPH", TAG_SIZE))) { TAG_SIZE 405 third_party/libwebp/demux/demux.c riff_size = GetLE32(GetBuffer(mem) + TAG_SIZE); TAG_SIZE 569 third_party/libwebp/demux/demux.c Skip(mem, TAG_SIZE); // VP8X TAG_SIZE 738 third_party/libwebp/demux/demux.c if (!memcmp(parser->id, GetBuffer(&dmux->mem_), TAG_SIZE)) { TAG_SIZE 931 third_party/libwebp/demux/demux.c if (!memcmp(header, fourcc, TAG_SIZE)) ++count; TAG_SIZE 943 third_party/libwebp/demux/demux.c if (!memcmp(header, fourcc, TAG_SIZE)) ++count; TAG_SIZE 44 third_party/libwebp/enc/syntax.c PutLE32(riff + TAG_SIZE, (uint32_t)riff_size); TAG_SIZE 66 third_party/libwebp/enc/syntax.c PutLE32(vp8x + TAG_SIZE, VP8X_CHUNK_SIZE); TAG_SIZE 85 third_party/libwebp/enc/syntax.c PutLE32(alpha_chunk_hdr + TAG_SIZE, enc->alpha_data_size_); TAG_SIZE 108 third_party/libwebp/enc/syntax.c PutLE32(vp8_chunk_hdr + TAG_SIZE, (uint32_t)vp8_size); TAG_SIZE 377 third_party/libwebp/enc/syntax.c riff_size = TAG_SIZE + CHUNK_HEADER_SIZE + vp8_size; TAG_SIZE 721 third_party/libwebp/enc/vp8l.c PutLE32(riff + TAG_SIZE, (uint32_t)riff_size); TAG_SIZE 722 third_party/libwebp/enc/vp8l.c PutLE32(riff + RIFF_HEADER_SIZE + TAG_SIZE, (uint32_t)vp8l_size); TAG_SIZE 754 third_party/libwebp/enc/vp8l.c const size_t riff_size = TAG_SIZE + CHUNK_HEADER_SIZE + vp8l_size + pad;